body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #e0e5ec; /* Soft, light background */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
}

.game-container {
    display: flex;
    width: 95%;
    max-width: 1200px;
    background-color: #e0e5ec;
    border-radius: 20px;
    /* Neumorphism effect: two shadows, one light, one dark */
    box-shadow: 12px 12px 24px #babecc, -12px -12px 24px #ffffff;
    overflow: hidden;
}

.sidebar {
    width: 300px;
    padding: 20px;
    background-color: #e0e5ec;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 90vh;
}

.stocks-section {
    border-right: none;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.main-content {
    flex-grow: 1;
    padding: 40px;
    text-align: center;
}

h1, h2 {
    color: #555;
    text-shadow: 1px 1px 1px #fff;
}

p {
    color: #555;
}

.resource-display p {
    font-size: 1.4em;
    font-weight: bold;
    margin: 10px 0;
    padding: 5px 15px;
    background: #e0e5ec;
    border-radius: 10px;
    box-shadow: inset 5px 5px 10px #babecc, inset -5px -5px 10px #ffffff;
}

button {
    font-size: 1em;
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: bold;
    /* Soft UI button base style */
    box-shadow: 6px 6px 12px #babecc, -6px -6px 12px #ffffff;
    color: #555;
    position: relative;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 8px 8px 16px #babecc, -8px -8px 16px #ffffff;
}

/* Pressed state simulation (inset shadow) */
button:active {
    transform: translateY(0);
    box-shadow: inset 4px 4px 8px #babecc, inset -4px -4px 8px #ffffff;
}

#clickPaper {
    background: linear-gradient(145deg, #60d394, #4CAF50); /* Green gradient */
    font-size: 2.5em;
    padding: 30px 60px;
    color: white;
    box-shadow: 8px 8px 16px #babecc, -8px -8px 16px #ffffff;
}

#clickPaper:active {
    box-shadow: inset 5px 5px 10px #3c9d6d, inset -5px -5px 10px #60d394;
}

#printMoney {
    background: linear-gradient(145deg, #64b5f6, #2196F3); /* Blue gradient */
    margin-top: 20px;
    color: white;
}

#printMoney:active {
    box-shadow: inset 4px 4px 8px #1a7bbd, inset -4px -4px 8px #64b5f6;
}

.upgrade-item button {
    background: #e0e5ec;
    color: #555;
    width: 100%;
}

.upgrade-item button:disabled {
    background-color: #c0c0c0;
    color: #888;
    cursor: not-allowed;
    box-shadow: 4px 4px 8px #babecc, -4px -4px 8px #ffffff;
    transform: none;
}

.upgrade-item {
    background-color: #e0e5ec;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: inset 6px 6px 12px #babecc, inset -6px -6px 12px #ffffff;
    text-align: left;
}

/* Animations */
.click-animation {
    animation: fade-out 0.8s ease-out;
    position: absolute;
    font-size: 1.8em;
    font-weight: bold;
    color: #4CAF50; /* primary-color */
    pointer-events: none;
    user-select: none;
    text-shadow: 1px 1px 2px #fff;
}

@keyframes fade-out {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-80px) scale(0.5); opacity: 0; }
}

/* Stock styles */
.stock-item {
    background-color: #e0e5ec;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: inset 6px 6px 12px #babecc, inset -6px -6px 12px #ffffff;
    text-align: left;
}

.stock-item button {
    width: calc(50% - 10px);
    display: inline-block;
    box-sizing: border-box;
}

.stock-item .buy-btn {
    background: linear-gradient(145deg, #60d394, #4CAF50);
    color: white;
}

.stock-item .sell-btn {
    background: linear-gradient(145deg, #ff6b6b, #dc3545);
    color: white;
}
