*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0f1123;
    --bg-secondary: #1a1a2e;
    --bg-surface: #16213e;
    --text-primary: #e0e0e0;
    --text-secondary: #8892a4;
    --accent: #4a9eff;
    --accent-hover: #6db3ff;
    --accent-dim: rgba(74, 158, 255, 0.15);
    --border: rgba(255, 255, 255, 0.08);
    --radius: 12px;
    --transition: 0.25s ease;
}

html, body {
    height: 100%;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    overflow: hidden;
}

.landing {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

/* Faint court lines background */
.court-lines {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: rgba(74, 158, 255, 0.08);
    overflow: hidden;
    animation: court-drift 20s ease-in-out infinite;
}

@keyframes court-drift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.02) rotate(0.5deg); }
}

.court-lines svg {
    width: 120%;
    max-width: 1400px;
    height: auto;
}

/* Main content */
.landing-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    padding: 24px;
    animation: fadeUp 0.6s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Logo / branding */
.logo-area {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.logo-area::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.12) 0%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

.basketball-icon {
    width: 72px;
    height: 72px;
    color: var(--accent);
    filter: drop-shadow(0 0 20px rgba(74, 158, 255, 0.25));
    margin-bottom: 4px;
}

.brand-name {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 8vw, 56px);
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent) 0%, #6db3ff 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.brand-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Menu cards */
.menu-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.menu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 260px;
    padding: 36px 28px 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.menu-card:hover {
    background: var(--bg-surface);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(74, 158, 255, 0.15), 0 0 0 1px rgba(74, 158, 255, 0.3);
}

.menu-icon {
    width: 36px;
    height: 36px;
    color: var(--accent);
    transition: color var(--transition);
}

.menu-card:hover .menu-icon {
    color: var(--accent-hover);
}

.menu-label {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.menu-sub {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.4;
}

/* Version badge on landing page */
.app-version-landing {
    font-family: var(--font-mono, 'SF Mono', Consolas, monospace);
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    opacity: 0.6;
    margin-top: 4px;
}

/* Brand stats tagline */
.brand-stats {
    font-family: var(--font-mono, 'SF Mono', Consolas, monospace);
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    opacity: 0.7;
    margin-top: 4px;
}

.brand-stats span {
    color: var(--accent);
    font-weight: 700;
}

/* Stats ticker bar */
.stats-ticker {
    position: fixed;
    bottom: 40px;
    left: 0;
    right: 0;
    overflow: hidden;
    height: 32px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.stats-ticker-track {
    display: flex;
    gap: 48px;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
    padding: 0 24px;
}

.stats-ticker-item {
    font-family: var(--font-mono, 'SF Mono', Consolas, monospace);
    font-size: 11px;
    color: var(--text-secondary);
    opacity: 0.5;
    white-space: nowrap;
    flex-shrink: 0;
}

.stats-ticker-item .ticker-label {
    color: rgba(74, 158, 255, 0.6);
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.8px;
    margin-right: 6px;
}

.stats-ticker-item .ticker-value {
    color: var(--text-primary);
    opacity: 0.7;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile: stack cards vertically */
@media (max-width: 520px) {
    .menu-cards {
        flex-direction: column;
        gap: 14px;
    }

    .menu-card {
        width: 260px;
        padding: 28px 22px 24px;
    }

    .basketball-icon {
        width: 56px;
        height: 56px;
    }

    .brand-tagline {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .landing-content {
        gap: 36px;
    }

    .stats-ticker {
        bottom: 28px;
    }

    .stats-ticker-item {
        font-size: 10px;
    }
}
