/* THEME: ULTRA-PROFESSIONAL CASINO-FINTECH (STAKE/KRAKEN STYLE) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #00E701;
    /* Stake/Crypto Green */
    --primary-hover: #00FF01;
    --bg-0: #0F1216;
    /* True Dark */
    --bg-1: #1A1D23;
    /* Surface */
    --bg-2: #21252B;
    /* Card */
    --border: rgba(255, 255, 255, 0.05);
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --radius: 8px;
    /* Sharper, more professional */
    --transition: 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-0);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* --- LAYOUT COMPONENTS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER (STRICT BAR) --- */
.main-header {
    height: 64px;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #FFF;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* WALLET & BAL (CRISP PILLS) */
.h-pill {
    height: 36px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    /* More rectangular/professional */
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

.h-pill.wallet {
    color: var(--primary);
    border-color: rgba(0, 231, 1, 0.2);
}

/* --- HERO (PROFESSIONAL SPLIT) --- */
.hero {
    height: 500px;
    background: linear-gradient(90deg, #0F1216 40%, rgba(15, 18, 22, 0) 100%),
        url('casino_hero_lux_1774611899813.png');
    background-size: cover;
    background-position: right center;
    display: flex;
    align-items: center;
    margin-top: 64px;
}

.hero-content {
    max-width: 550px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* --- BUTTONS --- */
.btn {
    height: 44px;
    padding: 0 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.1s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline {
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: #FFF;
}

.btn-outline:hover {
    background: #2D333B;
}

/* --- GAME GRID (STAKE CARD STYLE) --- */
.section-header {
    margin: 4rem 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFF;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.game-card {
    background: var(--bg-1);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    border: 1px solid var(--border);
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.game-thumb {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-info {
    padding: 1rem;
}

.game-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.game-info .meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- STATS BAR --- */
.stats-bar {
    background: var(--bg-1);
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-container {
    display: flex;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFF;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FOOTER (CORPORATE GRID) --- */
.main-footer {
    padding: 5rem 0 3rem;
    background: #080A0F;
    border-top: 1px solid var(--border);
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 0.9rem;
    color: #FFF;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--primary);
}

.copyright {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero {
        background: var(--bg-0);
        height: auto;
        padding: 6rem 0;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .game-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}