/* ============================================
   ROYAL WAGER - Main Stylesheet
   Dark Purple & Gold Premium Theme
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Primary Colors */
    --bg-primary: #0a0a1a;
    --bg-secondary: #12122a;
    --bg-tertiary: #1a1a3e;
    --bg-card: #161638;
    --bg-card-hover: #1e1e4a;

    /* Accent Colors */
    --gold-primary: #d4a532;
    --gold-light: #f0c850;
    --gold-dark: #b8860b;
    --gold-gradient: linear-gradient(135deg, #d4a532 0%, #f0c850 50%, #d4a532 100%);

    --purple-primary: #6b21a8;
    --purple-light: #9333ea;
    --purple-dark: #4c1d95;
    --purple-glow: rgba(147, 51, 234, 0.3);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8b8d0;
    --text-muted: #6b6b8d;
    --text-gold: #d4a532;

    /* Status Colors */
    --green: #22c55e;
    --green-glow: rgba(34, 197, 94, 0.3);
    --red: #ef4444;
    --red-glow: rgba(239, 68, 68, 0.3);
    --blue: #3b82f6;
    --orange: #f59e0b;

    /* Border */
    --border-color: rgba(107, 33, 168, 0.3);
    --border-gold: rgba(212, 165, 50, 0.4);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 20px rgba(212, 165, 50, 0.3);
    --shadow-purple: 0 0 20px rgba(147, 51, 234, 0.3);

    /* Spacing */
    --header-height: 70px;
    --footer-height: 56px;
    --ticker-height: 36px;
    --sidebar-width: 280px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50%;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--purple-primary);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--purple-light);
}

/* ---------- Background Effects ---------- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(107, 33, 168, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(107, 33, 168, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(212, 165, 50, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: linear-gradient(180deg, rgba(18, 18, 42, 0.98) 0%, rgba(10, 10, 26, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.05);
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--bg-primary);
    border: 2px solid var(--gold-primary);
    position: relative;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info .username {
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vip-badge {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.vip-badge i {
    font-size: 8px;
}

.user-balance {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.user-balance .amount {
    color: var(--gold-light);
    font-weight: 600;
}

.balance-icon {
    width: 20px;
    height: 20px;
    background: var(--green);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: white;
}

.add-money-btn {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background: var(--gold-primary);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.add-money-btn:hover {
    background: var(--gold-light);
    transform: scale(1.1);
}

/* Logo Center */
.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--bg-primary);
    border: 2px solid var(--gold-light);
    box-shadow: var(--shadow-gold);
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Header Right Nav */
.header-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.nav-item:hover {
    background: rgba(107, 33, 168, 0.2);
}

.nav-item i {
    font-size: 20px;
    color: var(--text-secondary);
}

.nav-item:hover i {
    color: var(--gold-primary);
}

.nav-item span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-item:hover span {
    color: var(--text-primary);
}

.nav-badge {
    position: absolute;
    top: 4px;
    right: 10px;
    background: var(--red);
    color: white;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ============ MAIN LAYOUT ============ */
.main-wrapper {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
    position: relative;
    z-index: 1;
}

/* ============ CASINO PAGE ============ */
.casino-page {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr var(--sidebar-width);
    gap: 0;
    padding-bottom: calc(var(--footer-height) + var(--ticker-height));
}

/* Left Sidebar */
.sidebar-left {
    padding: 20px 16px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    transition: var(--transition-normal);
}

.sidebar-card:hover {
    border-color: var(--purple-light);
    box-shadow: var(--shadow-purple);
}

.sidebar-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.sidebar-card-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-light);
}

.sidebar-card-icon {
    font-size: 28px;
}

.sidebar-card p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.sidebar-card .amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--gold-light);
    display: block;
    margin: 4px 0 10px;
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    border: none;
}

.btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--purple-light);
    background: rgba(107, 33, 168, 0.15);
}

/* Leaderboard Podium */
.leaderboard-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
}

.podium-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.podium-block {
    width: 32px;
    background: var(--purple-primary);
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--gold-light);
}

.podium-block.first { height: 40px; background: var(--gold-primary); color: var(--bg-primary); }
.podium-block.second { height: 30px; }
.podium-block.third { height: 22px; }

/* Center Content Area */
.center-content {
    padding: 20px 24px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b69 30%, #1a0a2e 60%, #0d0521 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-effects::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(147, 51, 234, 0.15) 0%, transparent 60%);
    animation: heroRotate 20s linear infinite;
}

@keyframes heroRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold-primary);
    border-radius: var(--radius-full);
    opacity: 0;
    animation: particleFloat 4s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100px) scale(0); }
    50% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-100px) scale(1.5); }
}

.hero-players {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    opacity: 0.6;
}

.hero-player-silhouette {
    width: 200px;
    height: 300px;
    background: linear-gradient(180deg, transparent 0%, rgba(107, 33, 168, 0.2) 100%);
    clip-path: polygon(30% 0%, 70% 0%, 80% 100%, 20% 100%);
}

.hero-center {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-crown {
    font-size: 40px;
    margin-bottom: -8px;
    filter: drop-shadow(0 0 10px rgba(212, 165, 50, 0.5));
    animation: crownFloat 3s ease-in-out infinite;
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-logo-badge {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #1a1a3e 40%, #0d0521 100%);
    border: 3px solid var(--gold-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-weight: 800;
    font-size: 24px;
    color: var(--gold-light);
    box-shadow: 0 0 30px rgba(212, 165, 50, 0.4), inset 0 0 20px rgba(212, 165, 50, 0.1);
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(180deg, #f0c850 0%, #d4a532 40%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.1;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-top: 8px;
}

.hero-cards {
    position: absolute;
    bottom: 40px;
    display: flex;
    gap: -10px;
}

.hero-card-img {
    width: 50px;
    height: 70px;
    background: white;
    border-radius: 6px;
    border: 2px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transform: rotate(var(--rotation));
    box-shadow: var(--shadow-md);
}

.hero-dice {
    position: absolute;
    bottom: 30px;
    right: 30%;
    display: flex;
    gap: 8px;
}

.hero-chips {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 60px;
    background: radial-gradient(ellipse at bottom, rgba(212, 165, 50, 0.3) 0%, transparent 70%);
}

/* Games Grid */
.games-section {
    margin-top: 8px;
}

.games-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
}

.games-grid::-webkit-scrollbar {
    height: 4px;
}

.game-card {
    flex: 0 0 160px;
    scroll-snap-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(107, 33, 168, 0.15) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    border-color: var(--purple-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-purple);
}

.game-card.featured {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(212, 165, 50, 0.08) 100%);
}

.game-card-icon {
    font-size: 64px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.game-card-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.game-card-players {
    font-size: 11px;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.game-card-players span {
    color: var(--green);
    font-weight: 600;
}

/* Scroll Arrows */
.games-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition-fast);
}

.games-scroll-arrow:hover {
    background: var(--purple-primary);
    border-color: var(--purple-light);
}

.games-scroll-arrow.left { left: -16px; }
.games-scroll-arrow.right { right: -16px; }

/* Right Sidebar - Online Players */
.sidebar-right {
    padding: 20px 16px;
    border-left: 1px solid var(--border-color);
}

.online-players-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.online-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}

.online-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.online-header-left i {
    color: var(--text-secondary);
    font-size: 16px;
}

.online-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.online-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
}

.online-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.online-player-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(107, 33, 168, 0.1);
    transition: var(--transition-fast);
}

.online-player-item:hover {
    background: rgba(107, 33, 168, 0.1);
}

.online-player-item:last-child {
    border-bottom: none;
}

.player-avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    margin-right: 10px;
    border: 2px solid var(--border-color);
}

.player-info-sm {
    flex: 1;
}

.player-name-sm {
    font-size: 13px;
    font-weight: 600;
}

.player-balance-sm {
    font-size: 11px;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.player-level-badge {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--purple-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid var(--purple-light);
}

.player-status {
    font-size: 9px;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Invite & Earn Button */
.invite-earn-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--purple-primary);
    border: 1px solid var(--purple-light);
    border-radius: var(--radius-lg);
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 16px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.invite-earn-btn:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

/* ============ BOTTOM BAR ============ */
.bottom-bar {
    position: fixed;
    bottom: var(--ticker-height);
    left: 0;
    right: 0;
    height: var(--footer-height);
    background: linear-gradient(180deg, rgba(18, 18, 42, 0.98), rgba(10, 10, 26, 0.99));
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 999;
}

.bottom-nav-left {
    display: flex;
    gap: 4px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.bottom-nav-item:hover {
    background: rgba(107, 33, 168, 0.2);
}

.bottom-nav-item i {
    font-size: 18px;
    color: var(--text-secondary);
}

.bottom-nav-item span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

.bottom-nav-item:hover i { color: var(--gold-primary); }
.bottom-nav-item:hover span { color: var(--text-primary); }

/* Play Now Button */
.play-now-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 48px;
    background: var(--gold-gradient);
    border-radius: var(--radius-md);
    border: 2px solid var(--gold-light);
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-gold);
}

.play-now-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(212, 165, 50, 0.5);
}

.play-now-text {
    text-align: left;
}

.play-now-text .primary {
    font-size: 20px;
    font-weight: 800;
    color: var(--bg-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.play-now-text .secondary {
    font-size: 10px;
    color: rgba(10, 10, 26, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Refer & Earn */
.bottom-refer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.bottom-refer:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 165, 50, 0.1);
}

.bottom-refer-text .title {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-light);
}

.bottom-refer-text .subtitle {
    font-size: 10px;
    color: var(--text-muted);
}

.bottom-refer .invite-btn-sm {
    padding: 4px 12px;
    background: var(--gold-gradient);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--bg-primary);
    text-transform: uppercase;
}

/* Safe & Fair */
.bottom-safe {
    display: flex;
    align-items: center;
    gap: 10px;
}

.safe-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
}

.safe-text .title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.safe-text .subtitle {
    font-size: 10px;
    color: var(--text-muted);
}

/* ============ TICKER / MARQUEE ============ */
.ticker-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--ticker-height);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 999;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    font-size: 12px;
    color: var(--text-secondary);
}

.ticker-item i {
    color: var(--gold-primary);
}

/* ============ SPORTS PAGE ============ */
.sports-page {
    display: grid;
    grid-template-columns: 220px 1fr 300px;
    gap: 0;
    padding-bottom: calc(var(--footer-height) + 8px);
}

/* Sports Sidebar */
.sports-sidebar {
    padding: 16px 0;
    border-right: 1px solid var(--border-color);
}

.sports-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.sports-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold-primary);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transition: var(--transition-fast);
}

.sports-nav-item:hover {
    background: rgba(107, 33, 168, 0.15);
    color: var(--text-primary);
}

.sports-nav-item.active {
    background: linear-gradient(90deg, rgba(107, 33, 168, 0.3), transparent);
    color: var(--gold-light);
    font-weight: 600;
}

.sports-nav-item.active::before {
    opacity: 1;
}

.sports-nav-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.sports-nav-item .live-badge {
    background: var(--red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

/* Sports Main Content */
.sports-content {
    padding: 20px;
}

/* Sports Hero Banner */
.sports-hero {
    position: relative;
    width: 100%;
    height: 260px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #0d1b2a 100%);
}

.sports-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sports-hero-label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.sports-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.1;
    margin: 8px 0 16px;
}

.sports-hero-title span {
    display: block;
    color: var(--text-primary);
    font-size: 24px;
    letter-spacing: 1px;
}

.btn-place-bet {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gold-gradient);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    color: var(--bg-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    width: fit-content;
}

.btn-place-bet:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.sports-hero-players {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 50%;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

/* Sport Category Tabs */
.sport-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.sport-tab {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    min-width: 100px;
}

.sport-tab:hover {
    border-color: var(--purple-light);
    background: var(--bg-card-hover);
}

.sport-tab.active {
    border-color: var(--gold-primary);
    background: linear-gradient(180deg, rgba(212, 165, 50, 0.15) 0%, var(--bg-card) 100%);
}

.sport-tab i {
    font-size: 24px;
    color: var(--text-secondary);
}

.sport-tab.active i {
    color: var(--gold-primary);
}

.sport-tab-name {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sport-tab-count {
    font-size: 10px;
    color: var(--gold-primary);
    font-weight: 600;
}

/* Live Events Section */
.live-section {
    margin-bottom: 24px;
}

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

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: white;
    animation: pulse 1.5s ease-in-out infinite;
}

.section-link {
    font-size: 12px;
    color: var(--gold-primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.section-link:hover {
    color: var(--gold-light);
}

/* Live Event Cards */
.live-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.live-event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.live-event-card:hover {
    border-color: var(--purple-light);
    box-shadow: var(--shadow-purple);
}

.live-event-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    font-size: 11px;
}

.live-event-league {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-event-status {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--red);
    font-weight: 700;
}

.live-event-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--red);
    animation: pulse 1.5s ease-in-out infinite;
}

.live-event-body {
    padding: 14px;
}

.live-event-teams {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.live-event-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-logo {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.team-name {
    font-size: 13px;
    font-weight: 600;
}

.team-score {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold-light);
}

.live-event-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.live-event-odds {
    display: flex;
    gap: 6px;
}

.odds-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 12px;
}

.odds-btn:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 165, 50, 0.15);
}

.odds-btn.selected {
    border-color: var(--gold-primary);
    background: rgba(212, 165, 50, 0.2);
}

.odds-label {
    color: var(--text-muted);
    font-weight: 600;
}

.odds-value {
    color: var(--gold-light);
    font-weight: 700;
}

.odds-more {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--gold-primary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.odds-more:hover {
    border-color: var(--gold-primary);
}

/* Popular Games Section */
.popular-games-section {
    margin-top: 24px;
}

.popular-games-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.popular-game-card {
    flex: 0 0 140px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
}

.popular-game-card:hover {
    border-color: var(--purple-light);
    transform: translateY(-3px);
}

.popular-game-image {
    height: 100px;
    background: linear-gradient(135deg, var(--purple-dark), var(--bg-tertiary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.popular-game-name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px;
}

.popular-game-play {
    display: block;
    padding: 6px;
    background: var(--gold-gradient);
    color: var(--bg-primary);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sports Right Sidebar - Bet Slip */
.sports-right-sidebar {
    padding: 16px;
    border-left: 1px solid var(--border-color);
}

.bet-slip-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
}

.bet-slip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}

.bet-slip-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bet-count {
    background: var(--gold-primary);
    color: var(--bg-primary);
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bet-slip-tabs {
    display: flex;
    gap: 0;
}

.bet-slip-tab {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.bet-slip-tab.active {
    color: var(--gold-primary);
    border-bottom-color: var(--gold-primary);
}

.bet-slip-body {
    padding: 14px 16px;
}

.bet-slip-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.bet-slip-item:last-child {
    border-bottom: none;
}

.bet-slip-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.bet-slip-team {
    font-size: 13px;
    font-weight: 600;
}

.bet-slip-close {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 14px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.bet-slip-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red);
}

.bet-slip-selection {
    font-size: 11px;
    color: var(--text-muted);
}

.bet-slip-odds-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold-light);
    text-align: right;
}

.bet-slip-footer {
    padding: 14px 16px;
    border-top: 1px solid var(--border-color);
}

.bet-slip-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.bet-slip-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.bet-slip-row .label {
    color: var(--text-muted);
}

.bet-slip-row .value {
    font-weight: 600;
    color: var(--gold-light);
}

.btn-place-bet-full {
    width: 100%;
    padding: 12px;
    background: var(--gold-gradient);
    border: 2px solid var(--gold-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    color: var(--bg-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-place-bet-full:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

/* Welcome Bonus Panel */
.bonus-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.bonus-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(147, 51, 234, 0.15), transparent 70%);
}

.bonus-percentage {
    font-size: 42px;
    font-weight: 900;
    color: var(--gold-light);
    position: relative;
    z-index: 1;
}

.bonus-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}

.btn-claim {
    padding: 8px 24px;
    background: var(--gold-gradient);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    color: var(--bg-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

/* Top Events */
.top-events-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.top-events-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}

.top-events-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.top-event-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(107, 33, 168, 0.1);
    cursor: pointer;
    transition: var(--transition-fast);
}

.top-event-item:hover {
    background: rgba(107, 33, 168, 0.1);
}

.top-event-item:last-child {
    border-bottom: none;
}

.top-event-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-event-icon {
    font-size: 16px;
}

.top-event-name {
    font-size: 12px;
    font-weight: 600;
}

.top-event-markets {
    font-size: 12px;
    color: var(--gold-primary);
    font-weight: 600;
}

/* ============ SPORTS BOTTOM NAV ============ */
.sports-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--footer-height);
    background: linear-gradient(180deg, rgba(18, 18, 42, 0.98), rgba(10, 10, 26, 0.99));
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 999;
}

.sports-nav-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 28px;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: var(--radius-md);
    position: relative;
}

.sports-nav-bottom-item:hover {
    background: rgba(107, 33, 168, 0.2);
}

.sports-nav-bottom-item.active {
    background: rgba(212, 165, 50, 0.1);
}

.sports-nav-bottom-item.active i {
    color: var(--gold-primary);
}

.sports-nav-bottom-item.active span {
    color: var(--gold-primary);
}

.sports-nav-bottom-item i {
    font-size: 18px;
    color: var(--text-secondary);
}

.sports-nav-bottom-item span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-muted);
}

.sports-nav-center-logo {
    width: 44px;
    height: 44px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: var(--bg-primary);
    border: 2px solid var(--gold-light);
    margin: 0 16px;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-gold);
}

.sports-nav-center-logo:hover {
    transform: scale(1.1);
}

/* Download App Card */
.download-app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-top: 16px;
}

.download-app-card h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.download-app-card .subtitle {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.download-app-card .app-name {
    color: var(--gold-primary);
    font-weight: 600;
}

.download-icons {
    display: flex;
    gap: 10px;
}

.download-icon-btn {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.download-icon-btn:hover {
    border-color: var(--gold-primary);
}

/* ============ SECTION TRANSITION ============ */
.section-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.section-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.transition-content {
    text-align: center;
}

.transition-logo {
    width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    color: var(--bg-primary);
    margin: 0 auto 20px;
    border: 3px solid var(--gold-light);
    box-shadow: var(--shadow-gold);
    animation: transitionPulse 1s ease-in-out infinite;
}

@keyframes transitionPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(212, 165, 50, 0.3); }
    50% { transform: scale(1.1); box-shadow: 0 0 40px rgba(212, 165, 50, 0.6); }
}

.transition-text {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.transition-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.transition-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--gold-primary);
    animation: dotBounce 1.2s ease-in-out infinite;
}

.transition-dot:nth-child(2) { animation-delay: 0.2s; }
.transition-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* ============ AUTH MODALS ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-header .logo-icon {
    margin: 0 auto 16px;
    width: 56px;
    height: 56px;
    font-size: 20px;
}

.modal-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 165, 50, 0.15);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--gold-gradient);
    border: 2px solid var(--gold-light);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    color: var(--bg-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition-normal);
    margin-top: 8px;
}

.btn-submit:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

.modal-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.modal-footer a {
    color: var(--gold-primary);
    font-weight: 600;
    cursor: pointer;
}

.modal-footer a:hover {
    color: var(--gold-light);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red);
}

/* ============ SPORTS AUTH HEADER ============ */
.header-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.balance-display i {
    color: var(--gold-primary);
}

.balance-display .label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.balance-display .amount {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-light);
}

.btn-auth {
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-login {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-login:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 165, 50, 0.1);
}

.btn-register {
    background: var(--gold-gradient);
    border: none;
    color: var(--bg-primary);
}

.btn-register:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

/* ============ UTILITY ============ */
.hidden { display: none !important; }
.text-gold { color: var(--gold-primary); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }
.fw-bold { font-weight: 700; }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }

/* Coin Animation */
.coin-spin {
    display: inline-block;
    animation: coinSpin 3s linear infinite;
}

@keyframes coinSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}
