:root {
    --primary-gradient: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    --header-bg: #0f172a;
    --tab-active-bg: #1e3a8a;
    --tab-inactive-bg: #e2e8f0;
    --btn-gradient: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    --btn-border-color: #2563eb;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bonus-color: #dc2626;
    --withdraw-color: #16a34a;
}

body {
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
    padding-top: 0; /* Header handling */
}

/* Header Styles */
.main-header {
    background: linear-gradient(to bottom, #1e3c72, #2a5298); /* Match screenshot blue gradient */
    color: white;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.yono-banner {
    background-color: #0f172a; /* Fallback */
    background: linear-gradient(to bottom, #0f172a, #1e3a8a); /* Dark blue/purple background */
    border-bottom: 4px solid #facc15; /* Yellow border at bottom if needed, or inside */
}

/* Tabs Section */
.app-tabs {
    display: flex;
    background-color: #f1f5f9;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #e2e8f0;
}

.app-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    background-color: #e2e8f0;
    border-right: 1px solid #cbd5e1;
    transition: all 0.2s;
}

.app-tab:last-child {
    border-right: none;
}

.app-tab.active {
    background: linear-gradient(to bottom, #1e40af, #1e3a8a); /* Active Blue Gradient */
    color: white;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1);
}

/* Game List Styles */
.game-list-item {
    display: flex;
    align-items: center;
    padding: 10px 15px; /* Slightly more compact */
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

/* Alternate Row Colors - Match screenshot: White and very light grey */
.game-list-item:nth-child(odd) {
    background-color: #ffffff;
}

.game-list-item:nth-child(even) {
    background-color: #f8fafc; /* Very light grey */
}

.game-number {
    font-weight: bold;
    font-size: 1rem;
    color: #334155;
    width: 25px;
    text-align: center;
    margin-right: 5px;
}

.game-icon-img {
    width: 45px;
    height: 45px;
    border-radius: 8px; /* Slightly less rounded */
    margin-right: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.game-info {
    flex: 1;
}

.game-title {
    font-weight: 800; /* Bolder */
    font-size: 0.95rem;
    color: #000000; /* Pure black */
    margin-bottom: 2px;
}

.game-meta {
    font-size: 0.7rem; /* Smaller meta text */
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.meta-bonus {
    color: #ef4444; /* Red */
    font-weight: 700;
}

.meta-withdraw {
    color: #22c55e; /* Green */
    font-weight: 700;
}

.download-btn-custom {
    background: var(--btn-gradient);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--btn-border-color);
    min-width: 80px;
    justify-content: center;
}

.download-btn-custom:hover {
    background: var(--btn-gradient);
    color: white;
}

/* Modal Animations */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Download Page Styles */
.download-card {
    border: none;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.download-card-header {
    background: linear-gradient(to right, #1e3a8a, #1e40af);
    color: white;
    padding: 20px;
    text-align: center;
}

.download-stats {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 15px;
}

.btn-download-large {
    background: var(--btn-gradient);
    color: white;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.1s;
}

.btn-download-large:hover {
    background: var(--btn-gradient);
    color: white;
    transform: translateY(-1px);
}

.btn-download-large:active {
    transform: translateY(1px);
}

/* Footer overrides */
.footer {
    background-color: #0f172a !important;
}
