body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
    margin: 0;
}

.game-container {
    background: #2d2d2d;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 800px;
}

h1 {
    color: #d4a855;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 30px;
    font-size: 0.9em;
}

.shop-display {
    background: #3d3d3d;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.shop-name {
    font-size: 1.5em;
    color: #d4a855;
    margin-bottom: 10px;
}

.shop-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat {
    background: #4a4a4a;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
}

.stat-value {
    font-weight: bold;
    color: #d4a855;
}

.coffee-cup {
    font-size: 3em;
    cursor: pointer;
    transition: transform 0.1s;
    margin: 10px 0;
}

.coffee-cup:hover {
    transform: scale(1.1);
}

.coffee-cup:active {
    transform: scale(0.95);
}

.upgrades {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.upgrade {
    background: #3d3d3d;
    border-radius: 8px;
    padding: 15px;
    border: 2px solid #4a4a4a;
    transition: all 0.2s;
}

.upgrade:hover {
    border-color: #d4a855;
    transform: translateY(-2px);
}

.upgrade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.upgrade-name {
    font-weight: bold;
    color: #fff;
}

.upgrade-cost {
    color: #d4a855;
    font-weight: bold;
}

.upgrade-description {
    color: #aaa;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.upgrade-level {
    color: #888;
    font-size: 0.8em;
    margin-bottom: 10px;
}

.upgrade-button {
    width: 100%;
    background: #4a4a4a;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.upgrade-button:hover {
    background: #5a5a5a;
}

.upgrade-button:disabled {
    background: #2d2d2d;
    cursor: not-allowed;
}

.prestige-section {
    background: #3d3d3d;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.prestige-button {
    background: #8b0000;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    margin: 10px 0;
    transition: background 0.2s;
}

.prestige-button:hover {
    background: #a00000;
}

.prestige-button:disabled {
    background: #2d2d2d;
    cursor: not-allowed;
}

.prestige-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.prestige-stat {
    background: #4a4a4a;
    padding: 8px 15px;
    border-radius: 5px;
}

.save-load {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.save-load button {
    background: #4a4a4a;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}

.save-load button:hover {
    background: #5a5a5a;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(300px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #4a4a4a;
    border-radius: 10px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #d4a855;
    transition: width 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8em;
}

@media (max-width: 600px) {
    .upgrades {
        grid-template-columns: 1fr;
    }

    .shop-stats {
        gap: 15px;
    }

    .stat {
        padding: 8px 15px;
    }
}