* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom right, #0f172a, #1e293b);
    color: white;
    min-height: 100vh;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Cards */
.card {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #334155;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Grid */
.grid {
    display: grid;
    gap: 16px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Stats Box */
.stat-box {
    background: #334155;
    padding: 16px;
    border-radius: 8px;
}

.stat-label {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
}

.stat-value-large {
    font-size: 32px;
}

/* Buttons */
button {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-blue {
    background: #2563eb;
}

.btn-blue:hover:not(:disabled) {
    background: #1d4ed8;
}

.btn-green {
    background: #16a34a;
}

.btn-green:hover:not(:disabled) {
    background: #15803d;
}

.btn-purple {
    background: #9333ea;
}

.btn-purple:hover:not(:disabled) {
    background: #7e22ce;
}

.btn-red {
    background: #dc2626;
}

.btn-red:hover:not(:disabled) {
    background: #b91c1c;
}

.btn-yellow {
    background: #ca8a04;
}

.btn-yellow:hover:not(:disabled) {
    background: #a16207;
}

.btn-orange {
    background: #ea580c;
}

.btn-orange:hover:not(:disabled) {
    background: #c2410c;
}

/* Badge */
.badge {
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.badge-locked {
    background: #334155;
    opacity: 0.5;
}

.badge-yellow {
    background: #ca8a04;
}

.badge-gold {
    background: #eab308;
}

.badge-green {
    background: #16a34a;
}

.badge-blue {
    background: #2563eb;
}

.badge-purple {
    background: #9333ea;
}

.badge-red {
    background: #dc2626;
}

/* Menu Screen */
.menu-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.menu-card {
    max-width: 500px;
    width: 100%;
    background: #1e293b;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #334155;
}

.menu-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 8px;
}

.menu-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 32px;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Revenue List */
.revenue-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.revenue-item {
    display: flex;
    justify-content: space-between;
    background: #334155;
    padding: 12px;
    border-radius: 8px;
}

.revenue-positive {
    color: #4ade80;
}

.revenue-negative {
    color: #f87171;
}

/* Stock Price Display */
.stock-price {
    background: #334155;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.stock-price-value {
    font-size: 36px;
    font-weight: bold;
    color: #4ade80;
}

/* Spacing */
.space-y-3 > * + * {
    margin-top: 12px;
}

.space-y-4 > * + * {
    margin-top: 16px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mb-8 {
    margin-bottom: 32px;
}

/* Age Display */
.age-display {
    text-align: right;
}

.age-label {
    font-size: 14px;
    color: #94a3b8;
}

.age-value {
    font-size: 24px;
    font-weight: bold;
}

/* Hidden */
.hidden {
    display: none;
}