/* ============================================================
   PredictWin - Dark Theme Premium
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-primary: #0a0f1e;
    --bg-card: #1a2540;
    --bg-card-hover: #1f2d4d;
    --border: #2a3a60;
    --border-light: #354670;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --gold: #f0b429;
    --gold-dark: #d4a017;
    --green: #00d4aa;
    --green-dark: #00b894;
    --red: #ff4757;
    --blue: #3b82f6;
    --prob-home: #3b82f6;
    --prob-draw: #64748b;
    --prob-away: #f59e0b;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4 { font-family: 'Rajdhani', sans-serif; font-weight: 700; line-height: 1.2; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-danger { color: var(--red); }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 24px; }

/* === NAVBAR === */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 0;
}
.navbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 64px; gap: 16px;
}
.navbar-brand { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 700; flex-shrink: 0; }
.logo-icon { font-size: 1.5rem; }
.logo-text { font-family: 'Rajdhani', sans-serif; color: var(--text-primary); }
.badge-live {
    font-size: 0.6rem; padding: 2px 6px; background: var(--red); color: #fff;
    border-radius: 4px; font-weight: 700; animation: livePulse 2s infinite;
    text-transform: uppercase; letter-spacing: 1px;
}
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.navbar-menu { display: flex; gap: 2px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.navbar-menu::-webkit-scrollbar { display: none; }
.nav-link {
    padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text-secondary);
    font-weight: 500; font-size: 0.85rem; transition: var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); background: var(--bg-card); }
.badge-vip {
    font-size: 0.6rem; padding: 1px 5px; background: var(--gold); color: var(--bg-primary);
    border-radius: 3px; font-weight: 700; margin-left: 4px; vertical-align: top;
}
.navbar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Hamburger */
.navbar-toggle {
    display: none; background: none; border: none; cursor: pointer; padding: 8px;
    flex-direction: column; gap: 5px;
}
.navbar-toggle span { width: 24px; height: 2px; background: var(--text-primary); transition: var(--transition); }

/* Mobile nav extras (visible uniquement quand menu ouvert) */
.mobile-nav-divider { border: none; border-top: 1px solid var(--border); margin: 8px 0; display: none; }
.nav-link-mobile { display: none; }
@media (max-width: 1024px) {
    .navbar-menu.show .mobile-nav-divider { display: block; }
    .navbar-menu.show .nav-link-mobile { display: block; }
}

/* User Dropdown */
.user-dropdown { position: relative; }
.user-btn {
    display: flex; align-items: center; gap: 8px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 6px 12px; cursor: pointer; color: var(--text-primary); font-size: 0.9rem;
}
.user-avatar {
    width: 28px; height: 28px; border-radius: 50%; background: var(--gold);
    color: var(--bg-primary); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.8rem;
}
.user-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown-menu {
    position: absolute; top: calc(100% + 8px); right: 0; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    min-width: 180px; display: none; box-shadow: var(--shadow); z-index: 200;
}
.dropdown-menu.show { display: block; }
.dropdown-item {
    display: block; padding: 10px 16px; color: var(--text-primary);
    font-size: 0.9rem; transition: var(--transition);
}
.dropdown-item:hover { background: var(--bg-card-hover); color: var(--gold); }
.dropdown-divider { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 24px; border-radius: var(--radius-sm); font-weight: 600;
    font-size: 0.9rem; border: none; cursor: pointer; transition: var(--transition);
    text-decoration: none; line-height: 1.4;
}
.btn-gold { background: var(--gold); color: var(--bg-primary); }
.btn-gold:hover { background: var(--gold-dark); color: var(--bg-primary); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-disabled { opacity: 0.5; pointer-events: none; }

/* Plan badges */
.plan-badge {
    display: inline-block; padding: 2px 10px; border-radius: 4px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.plan-free { background: var(--text-muted); color: #fff; }
.plan-pro { background: var(--blue); color: #fff; }
.plan-vip { background: var(--gold); color: var(--bg-primary); }
.plan-admin { background: var(--red); color: #fff; }

/* === HERO === */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #0f1a35 50%, var(--bg-primary) 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(240,180,41,0.05), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0,212,170,0.05), transparent 50%);
}
.hero-content { position: relative; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-title { font-size: 3rem; margin-bottom: 16px; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 32px; }
.hero-stats {
    display: flex; justify-content: center; gap: 40px; margin-bottom: 32px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number { display: block; font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* === SECTIONS === */
.section { padding: 48px 0; }
.section-dark { background: rgba(0,0,0,0.2); }
.section-title { font-size: 1.8rem; text-align: center; margin-bottom: 32px; }
.section-subtitle { color: var(--text-secondary); text-align: center; margin-bottom: 24px; }
.page-header { margin-bottom: 32px; }
.page-title { font-size: 2rem; margin-bottom: 8px; }
.page-subtitle { color: var(--text-secondary); }
.cta-section {
    background: linear-gradient(135deg, #0f1a35, #1a2540);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* === FEATURES === */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px; text-align: center; transition: var(--transition);
}
.feature-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* === MATCH CARDS === */
.predictions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.match-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; transition: var(--transition); position: relative; overflow: hidden;
}
.match-card:hover { border-color: var(--border-light); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.match-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.competition-badge {
    font-size: 0.75rem; padding: 3px 8px; background: rgba(59,130,246,0.15);
    color: var(--blue); border-radius: 4px; font-weight: 600;
}
.match-time { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

/* Confidence badges */
.confidence-badge {
    font-size: 0.7rem; padding: 3px 10px; border-radius: 4px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.confidence-high { background: rgba(0,212,170,0.15); color: var(--green); }
.confidence-medium { background: rgba(240,180,41,0.15); color: var(--gold); }
.confidence-low { background: rgba(255,71,87,0.15); color: var(--red); }
.confidence-lg { font-size: 0.9rem; padding: 6px 16px; }

/* Teams */
.match-card-teams { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.team { display: flex; flex-direction: column; align-items: center; flex: 1; text-align: center; gap: 6px; }
.team-crest { width: 40px; height: 40px; object-fit: contain; }
.team-crest-placeholder { font-size: 1.5rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.team-name { font-size: 0.85rem; font-weight: 600; }
.vs-badge { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--text-muted); font-size: 0.9rem; }
.vs-section { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.final-score { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--gold); }

/* Probability bars */
.match-card-probs { margin-bottom: 12px; }
.prob-bar-group { }
.prob-bar {
    display: flex; height: 28px; border-radius: 6px; overflow: hidden;
    background: rgba(255,255,255,0.05);
}
.prob-fill {
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 700; color: #fff; transition: width 1s ease;
    min-width: 0;
}
.prob-fill span { white-space: nowrap; overflow: hidden; }
.prob-home { background: var(--prob-home); }
.prob-draw { background: var(--prob-draw); }
.prob-away { background: var(--prob-away); }
.prob-labels {
    display: flex; justify-content: space-between; margin-top: 4px;
    font-size: 0.7rem; color: var(--text-muted);
}

/* Card extras */
.match-card-extras { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.extra-pill {
    display: flex; align-items: center; gap: 6px; padding: 4px 10px;
    background: rgba(255,255,255,0.05); border-radius: 6px; font-size: 0.8rem;
}
.extra-label { color: var(--text-muted); font-weight: 600; }
.extra-value { font-weight: 700; }

/* Card footer */
.match-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.recommended-bet {
    font-size: 0.8rem; color: var(--green); font-weight: 600;
    flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card-actions { display: flex; gap: 6px; }

/* Locked card */
.match-locked { min-height: 200px; }
.locked-overlay {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 32px 16px; gap: 12px;
}
.lock-icon { font-size: 2rem; }

/* === FILTERS === */
.filters-bar {
    display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
    padding: 16px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius);
}
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-group label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.filter-select {
    background: var(--bg-primary); color: var(--text-primary); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 8px 12px; font-size: 0.85rem;
    cursor: pointer; min-width: 160px;
}

/* === MATCH DETAIL === */
.breadcrumb { margin-bottom: 24px; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 8px; }

.match-detail-header {
    text-align: center; padding: 32px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 32px;
}
.match-detail-teams { display: flex; align-items: center; justify-content: center; gap: 40px; margin-top: 24px; }
.detail-team { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.detail-crest { width: 72px; height: 72px; object-fit: contain; }
.detail-team h2 { font-size: 1.3rem; }
.team-position { font-size: 0.85rem; color: var(--text-muted); }
.detail-vs { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.detail-vs-text { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; color: var(--text-muted); }
.detail-score { font-family: 'Rajdhani', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--gold); }
.badge-finished { font-size: 0.7rem; padding: 2px 8px; background: var(--text-muted); color: #fff; border-radius: 4px; }
.match-datetime { font-size: 0.9rem; color: var(--text-secondary); }

/* Detail sections */
.detail-section {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; margin-bottom: 24px;
}
.detail-section-title { font-size: 1.2rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 24px; }
.detail-card {
    background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 20px;
}
.detail-card h4 { margin-bottom: 16px; color: var(--text-secondary); font-size: 0.9rem; text-transform: uppercase; }

/* Probabilities display */
.probs-display { display: flex; justify-content: center; gap: 40px; margin-bottom: 20px; }
.prob-block { text-align: center; }
.prob-circle {
    width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700;
    background: conic-gradient(var(--gold) calc(var(--prob) * 1%), var(--border) 0);
    margin: 0 auto 8px;
}
.prob-circle span { background: var(--bg-card); width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.prob-label { font-size: 0.8rem; color: var(--text-muted); }
.prob-winner .prob-circle { background: conic-gradient(var(--green) calc(var(--prob) * 1%), var(--border) 0); }
.confidence-display { text-align: center; margin-top: 16px; }

/* Prediction result */
.prediction-result { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.prediction-icon { font-size: 2rem; }
.prediction-text { font-size: 1.1rem; font-weight: 700; color: var(--green); }
.prediction-odds { font-size: 0.9rem; color: var(--text-secondary); }

/* Markets */
.markets-list { display: flex; flex-direction: column; gap: 12px; }
.market-item { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; }
.market-item span:first-child { flex: 1; color: var(--text-secondary); }
.market-bar { flex: 1; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
.market-fill { height: 100%; border-radius: 4px; transition: width 1s ease; }
.fill-green { background: var(--green); }
.fill-default { background: var(--text-muted); }
.market-pct { font-weight: 700; min-width: 40px; text-align: right; }
.market-value { font-weight: 700; color: var(--gold); }

/* Exact scores */
.exact-scores { display: flex; gap: 16px; }
.exact-score-item { text-align: center; flex: 1; padding: 12px; background: rgba(255,255,255,0.05); border-radius: var(--radius-sm); }
.score-rank { display: block; font-size: 0.7rem; color: var(--text-muted); margin-bottom: 4px; }
.score-value { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); }

/* Form badges */
.form-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-team { text-align: center; }
.form-team h4 { margin-bottom: 12px; }
.form-badges { display: flex; justify-content: center; gap: 4px; margin-bottom: 8px; }
.form-badge {
    width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; color: #fff;
}
.form-w { background: var(--green); }
.form-d { background: var(--gold); }
.form-l { background: var(--red); }
.form-stats-mini { font-size: 0.8rem; color: var(--text-muted); display: flex; flex-direction: column; gap: 2px; }

/* Chart */
.chart-container { position: relative; max-height: 300px; }

/* H2H */
.h2h-summary { display: flex; justify-content: center; gap: 40px; margin-bottom: 20px; }
.h2h-stat { text-align: center; }
.h2h-number { display: block; font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: var(--gold); }
.h2h-label { font-size: 0.8rem; color: var(--text-muted); }

/* Stats comparison */
.stats-comparison { max-width: 500px; margin: 0 auto; }
.stat-row {
    display: flex; align-items: center; justify-content: space-between; padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stat-val { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; min-width: 60px; text-align: center; }
.stat-name { font-size: 0.85rem; color: var(--text-muted); text-align: center; flex: 1; }
.stat-better { color: var(--green); }

/* Algo explanation */
.algo-explanation p { margin-bottom: 16px; }
.algo-factors { list-style: none; }
.algo-factors li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; color: var(--text-secondary); }
.algo-factors strong { color: var(--text-primary); }

/* Detail actions */
.detail-actions { display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* === DATA TABLE === */
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 16px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 600px; }
.data-table thead th {
    padding: 12px; text-align: left; background: rgba(255,255,255,0.05);
    color: var(--text-muted); font-weight: 600; border-bottom: 1px solid var(--border);
}
.data-table tbody td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.03); }
.data-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.score-cell { font-family: 'Rajdhani', sans-serif; font-weight: 700; text-align: center; }

/* Status badges */
.status-badge { padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.status-active { background: rgba(0,212,170,0.15); color: var(--green); }
.status-expired { background: rgba(100,116,139,0.15); color: var(--text-muted); }
.status-pending { background: rgba(240,180,41,0.15); color: var(--gold); }
.status-completed { background: rgba(0,212,170,0.15); color: var(--green); }
.status-failed { background: rgba(255,71,87,0.15); color: var(--red); }
.status-won { background: rgba(0,212,170,0.15); color: var(--green); }
.status-lost { background: rgba(255,71,87,0.15); color: var(--red); }

/* === COMBI BUILDER === */
.combi-builder-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; }
.combi-matches-panel, .combi-ticket-panel {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
}
.combi-matches-panel h3, .combi-ticket-panel h3 { margin-bottom: 16px; font-size: 1.1rem; }
.combi-matches-list { display: flex; flex-direction: column; gap: 8px; max-height: 600px; overflow-y: auto; }
.combi-match-item {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px; background: rgba(255,255,255,0.03); border-radius: var(--radius-sm);
    flex-wrap: wrap;
}
.combi-match-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.combi-match-comp { font-size: 0.7rem; color: var(--blue); font-weight: 600; }
.combi-match-teams { font-size: 0.85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.combi-match-time { font-size: 0.75rem; color: var(--text-muted); }
.combi-match-bets { display: flex; gap: 8px; align-items: center; }
.bet-type-select {
    background: var(--bg-primary); color: var(--text-primary); border: 1px solid var(--border);
    border-radius: 6px; padding: 4px 8px; font-size: 0.8rem;
}

/* Combi ticket */
.combi-selections-list { min-height: 80px; margin-bottom: 16px; }
.combi-ticket-item {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 10px; background: rgba(255,255,255,0.03); border-radius: 6px; margin-bottom: 6px;
}
.ticket-match { font-size: 0.8rem; font-weight: 600; flex: 1; }
.ticket-bet { font-size: 0.75rem; color: var(--gold); }
.btn-remove-sel {
    background: none; border: none; color: var(--red); cursor: pointer;
    font-size: 1.2rem; padding: 2px 6px;
}
.combi-ticket-summary { border-top: 1px solid var(--border); padding-top: 16px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 0.9rem; }
.gain-row { font-size: 1rem; }
.stake-input {
    background: var(--bg-primary); border: 1px solid var(--border); border-radius: 6px;
    padding: 6px 10px; color: var(--text-primary); width: 120px; text-align: right;
}
.share-link-input {
    background: var(--bg-primary); border: 1px solid var(--border); border-radius: 6px;
    padding: 6px 10px; color: var(--text-primary); width: 300px; font-size: 0.8rem;
}

/* Shared combi */
.shared-combi-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px; max-width: 600px; margin: 0 auto;
}
.shared-combi-card h3 { margin-bottom: 8px; }
.shared-by { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }
.combi-sel-item {
    display: flex; justify-content: space-between; padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem;
}
.combi-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.summary-item { text-align: center; padding: 12px; background: rgba(255,255,255,0.03); border-radius: 8px; }
.summary-item span { display: block; font-size: 0.75rem; color: var(--text-muted); }
.summary-item strong { font-size: 1.1rem; }

/* === SURE BETS === */
.sure-stats-bar {
    display: flex; justify-content: center; gap: 40px; margin-bottom: 32px;
    padding: 20px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); flex-wrap: wrap;
}
.sure-stat { text-align: center; }
.sure-stat-number { display: block; font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; }
.sure-stat-label { font-size: 0.8rem; color: var(--text-muted); }

.sure-bets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.sure-bet-card {
    background: var(--bg-card); border: 1px solid var(--gold); border-radius: var(--radius);
    padding: 24px; position: relative; overflow: hidden;
}
.sure-bet-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--green));
}
.sure-bet-rank {
    position: absolute; top: 12px; right: 12px; font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem; font-weight: 700; color: var(--gold); opacity: 0.3;
}
.sure-bet-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.sure-bet-teams { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sure-bet-prediction {
    display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
    padding: 12px; background: rgba(0,212,170,0.08); border-radius: var(--radius-sm);
}
.verified-badge {
    font-size: 0.65rem; padding: 2px 6px; background: var(--green); color: var(--bg-primary);
    border-radius: 3px; font-weight: 700;
}
.sure-pick { font-weight: 700; flex: 1; }
.sure-odds { color: var(--gold); font-weight: 700; }

.sure-bets-preview { margin: 24px 0; }
.blurred { filter: blur(6px); pointer-events: none; user-select: none; }

/* VIP Wall */
.vip-wall { text-align: center; padding: 40px; }
.vip-wall-content { max-width: 600px; margin: 0 auto; }
.vip-icon { font-size: 4rem; margin-bottom: 16px; }

/* VIP Combi */
.vip-combi-section { margin-top: 32px; }
.vip-combi-card {
    background: var(--bg-card); border: 1px solid var(--gold); border-radius: var(--radius);
    padding: 24px;
}
.vip-combi-items { margin-bottom: 16px; }
.vip-combi-item {
    display: flex; justify-content: space-between; padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem;
}
.vip-combi-summary { display: flex; justify-content: center; gap: 32px; padding-top: 16px; border-top: 1px solid var(--border); }

/* === PRICING === */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 960px; margin: 0 auto 48px; }
.pricing-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px; text-align: center; position: relative; transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-popular { border-color: var(--gold); }
.pricing-popular::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--green));
}
.pricing-vip { border-color: var(--gold); }
.pricing-current { box-shadow: 0 0 0 2px var(--green); }
.pricing-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    padding: 4px 16px; background: var(--gold); color: var(--bg-primary);
    border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}
.pricing-header { margin-bottom: 24px; }
.pricing-icon { font-size: 2.5rem; display: block; margin-bottom: 8px; }
.pricing-name { font-size: 1.3rem; margin-bottom: 12px; }
.pricing-price { }
.price-amount { font-family: 'Rajdhani', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--gold); }
.price-currency { font-size: 0.9rem; color: var(--text-muted); }

.pricing-features { list-style: none; margin-bottom: 24px; text-align: left; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 0.9rem; }
.feature-yes::before { content: '✓ '; color: var(--green); font-weight: 700; }
.feature-no { color: var(--text-muted); }
.feature-no::before { content: '✗ '; color: var(--red); font-weight: 700; }

/* FAQ */
.pricing-faq { max-width: 700px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 20px;
}
.faq-item h4 { margin-bottom: 8px; color: var(--gold); }
.faq-item p { color: var(--text-secondary); font-size: 0.9rem; }

/* === AUTH === */
.auth-container { max-width: 440px; margin: 0 auto; }
.auth-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 40px;
}
.auth-title { text-align: center; margin-bottom: 8px; }
.auth-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 24px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-footer { text-align: center; margin-top: 20px; color: var(--text-muted); font-size: 0.9rem; }

/* Forms */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.form-input {
    background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 12px 16px; color: var(--text-primary); font-size: 0.9rem; transition: var(--transition);
    width: 100%;
}
.form-input:focus { outline: none; border-color: var(--gold); }
.form-input:disabled { opacity: 0.5; }
.form-row { display: flex; justify-content: space-between; align-items: center; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; }
.input-password-wrapper { position: relative; }
.btn-toggle-password {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; font-size: 1rem;
}

/* Alerts */
.alert {
    padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.9rem;
}
.alert-success { background: rgba(0,212,170,0.1); border: 1px solid rgba(0,212,170,0.3); color: var(--green); }
.alert-error { background: rgba(255,71,87,0.1); border: 1px solid rgba(255,71,87,0.3); color: var(--red); }
.alert-warning { background: rgba(240,180,41,0.1); border: 1px solid rgba(240,180,41,0.3); color: var(--gold); }

/* === DASHBOARD === */
.dashboard-header { margin-bottom: 24px; }
.dashboard-welcome { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dashboard-welcome h1 { font-size: 1.5rem; }
.sub-expiry { font-size: 0.85rem; color: var(--text-muted); }
.dashboard-tabs {
    display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--border);
    padding-bottom: 0; overflow-x: auto;
}
.tab-link {
    padding: 10px 20px; color: var(--text-muted); font-weight: 600; font-size: 0.9rem;
    border-bottom: 2px solid transparent; transition: var(--transition);
    white-space: nowrap;
}
.tab-link:hover { color: var(--text-primary); }
.tab-link.active { color: var(--gold); border-bottom-color: var(--gold); }

.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.dash-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; text-align: center;
}
.dash-card h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; }
.dash-big-value { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; }
.dash-sub { font-size: 0.8rem; color: var(--text-muted); }

/* Settings */
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 24px; }
.settings-form { display: flex; flex-direction: column; gap: 16px; }

/* Referral */
.referral-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px; text-align: center;
}
.referral-code-box {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin: 20px 0; padding: 16px; background: var(--bg-primary); border-radius: var(--radius-sm);
}
.referral-code { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); letter-spacing: 2px; }
.referral-stats-grid { display: flex; justify-content: center; gap: 32px; margin-top: 20px; }
.ref-stat { text-align: center; }
.ref-number { display: block; font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: var(--green); }

/* Combis list */
.combis-list { display: flex; flex-direction: column; gap: 16px; }
.combi-card {
    background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px;
}
.combi-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.combi-card-header h4 { flex: 1; }
.combi-date { font-size: 0.8rem; color: var(--text-muted); }
.combi-card-sels { margin-bottom: 12px; }
.combi-mini-sel { display: flex; justify-content: space-between; padding: 4px 0; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.03); }
.combi-card-footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; }
.combi-actions { display: flex; gap: 8px; margin-left: auto; }
.inline-form { display: inline; }

/* === ADMIN === */
.admin-nav { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-toolbar { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.search-form { display: flex; gap: 8px; }
.search-form .form-input { width: 300px; }
.admin-plans-grid { display: flex; gap: 16px; flex-wrap: wrap; }
.admin-pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px;
    align-items: end;
}
.pricing-field .form-label { font-size: 0.85rem; color: #a0aec0; margin-bottom: 6px; display: block; }
.pricing-field .form-input { width: 100%; }
.admin-plan-card {
    display: flex; align-items: center; gap: 12px; padding: 12px 20px;
    background: rgba(255,255,255,0.03); border-radius: var(--radius-sm);
}
.plan-count { font-size: 0.9rem; color: var(--text-secondary); }

/* Admin Edit Panel */
.admin-edit-panel {
    background: var(--bg-card); border: 1px solid var(--gold); border-radius: var(--radius);
    padding: 24px; margin-bottom: 24px;
}
.admin-edit-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.admin-edit-header h3 { font-size: 1.2rem; color: var(--gold); }
.admin-edit-info {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px; margin-bottom: 24px;
}
.edit-info-item {
    display: flex; align-items: center; gap: 10px; padding: 8px 12px;
    background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); font-size: 0.9rem;
}
.edit-label { color: var(--text-muted); font-weight: 600; min-width: 110px; font-size: 0.8rem; text-transform: uppercase; }
.admin-edit-actions {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px;
}
.edit-action-card {
    padding: 16px; background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.edit-action-card h4 { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px; }
.edit-action-form { }
.form-row-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.form-row-inline .form-input { flex: 1; min-width: 120px; padding: 8px 12px; font-size: 0.85rem; }
.edit-action-danger { border-color: rgba(255,71,87,0.3); }
.edit-action-danger h4 { color: var(--red); }
.row-editing { background: rgba(240,180,41,0.05); }
.inline-form { display: inline; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 24px; }
.page-link {
    padding: 8px 14px; border-radius: 6px; background: var(--bg-card);
    border: 1px solid var(--border); color: var(--text-primary); font-size: 0.85rem;
}
.page-link.active { background: var(--gold); color: var(--bg-primary); border-color: var(--gold); }

/* === UPGRADE BANNER === */
.upgrade-banner {
    text-align: center; padding: 48px 32px; background: var(--bg-card);
    border: 1px solid var(--gold); border-radius: var(--radius);
}
.upgrade-banner h3 { color: var(--gold); margin-bottom: 12px; }
.upgrade-banner p { color: var(--text-secondary); margin-bottom: 20px; }

/* === EMPTY STATE === */
.empty-state { text-align: center; padding: 48px 20px; }
.empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* === MAINTENANCE === */
.maintenance-banner {
    background: var(--gold); color: var(--bg-primary); text-align: center;
    padding: 10px; font-weight: 700; font-size: 0.9rem;
}

/* === TOAST === */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
    padding: 14px 24px; border-radius: var(--radius-sm); font-size: 0.9rem;
    font-weight: 600; animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    max-width: 360px;
}
.toast-success { background: var(--green); color: var(--bg-primary); }
.toast-error { background: var(--red); color: #fff; }
.toast-info { background: var(--blue); color: #fff; }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { to { transform: translateX(100%); opacity: 0; } }

/* === FOOTER === */
.footer { padding: 48px 0 24px; border-top: 1px solid var(--border); background: rgba(0,0,0,0.2); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col { }
.footer-title { font-size: 1.1rem; margin-bottom: 16px; }
.footer-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.footer-disclaimer { font-size: 0.8rem; font-style: italic; }
.footer-link { display: block; color: var(--text-secondary); font-size: 0.85rem; padding: 4px 0; transition: var(--transition); }
.footer-link:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.8rem; }

/* === LOADING SKELETON === */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}
.skeleton-text { height: 16px; margin-bottom: 8px; }
.skeleton-title { height: 24px; width: 60%; margin-bottom: 12px; }
.skeleton-card { height: 200px; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .combi-builder-layout { grid-template-columns: 1fr; }
    .match-detail-teams { gap: 24px; }
    .form-comparison { grid-template-columns: 1fr; }
    .probs-display { gap: 24px; }
    /* Passer en menu hamburger dès 1024px quand connecté */
    .navbar-menu { display: none; }
    .navbar-toggle { display: flex; }
    .navbar-menu.show {
        display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
        background: var(--bg-primary); border-bottom: 1px solid var(--border);
        padding: 16px; z-index: 200; gap: 4px;
    }
    .navbar-menu.show .nav-link { padding: 12px 16px; font-size: 1rem; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-stats { gap: 20px; }
    .predictions-grid { grid-template-columns: 1fr; }
    .match-detail-teams { flex-direction: column; }
    .detail-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    .h2h-summary { gap: 20px; }
    .settings-grid { grid-template-columns: 1fr; }
    .filters-bar { flex-direction: column; }
    .filter-select { min-width: 100%; }
    .auth-card { padding: 24px; }
    .navbar-actions .btn { display: none; }
    .navbar-actions .user-dropdown { display: block; }
    .nav-gamif { display: none; }
    .combi-match-item { flex-direction: column; align-items: flex-start; }
    .referral-stats-grid { flex-direction: column; gap: 16px; }
    .vip-combi-summary { flex-direction: column; gap: 12px; }
    .search-form .form-input { width: 200px; }
    .admin-edit-actions { grid-template-columns: 1fr; }
    .admin-edit-info { grid-template-columns: 1fr; }
    .form-row-inline { flex-direction: column; }
    .form-row-inline .form-input { min-width: 100%; }
    .user-name { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem; }
    .stat-number { font-size: 1.5rem; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .container { padding: 0 12px; }
}

/* ============================================================
   GAMIFICATION - XP, NIVEAUX, BADGES, CLASSEMENT
   ============================================================ */

/* Nav gamif bar (dans la navbar) */
.nav-gamif { display: flex; align-items: center; gap: 10px; margin-right: 8px; }
.nav-streak {
    font-size: 0.8rem; font-weight: 700; padding: 3px 8px;
    background: rgba(240,180,41,0.15); border-radius: 6px; color: var(--gold);
    white-space: nowrap;
}
.nav-xp-bar {
    display: flex; align-items: center; gap: 6px; padding: 4px 10px;
    background: rgba(255,255,255,0.05); border-radius: 6px; text-decoration: none;
    transition: var(--transition);
}
.nav-xp-bar:hover { background: rgba(255,255,255,0.1); }
.nav-level { font-size: 0.7rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.nav-xp-track { width: 50px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.nav-xp-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--green)); border-radius: 2px; transition: width 1s ease; }

/* My rank bar */
.my-rank-bar {
    display: flex; align-items: center; gap: 24px; padding: 20px 24px;
    background: linear-gradient(135deg, rgba(240,180,41,0.08), rgba(0,212,170,0.05));
    border: 1px solid var(--gold); border-radius: var(--radius);
    margin-bottom: 20px; flex-wrap: wrap;
}
.my-rank-left { display: flex; align-items: center; gap: 16px; }
.my-rank-pos {
    font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700;
    color: var(--gold); min-width: 50px;
}
.my-rank-info { display: flex; flex-direction: column; gap: 4px; }
.my-rank-name { font-weight: 700; font-size: 1.1rem; }
.my-rank-stats { display: flex; gap: 20px; }
.my-stat { text-align: center; }
.my-stat-val { display: block; font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700; }
.my-stat-lbl { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; }
.my-rank-xp-bar { flex: 1; min-width: 200px; }
.xp-bar-track { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin-bottom: 4px; }
.xp-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--green)); border-radius: 4px; transition: width 1s ease; }
.xp-bar-text { font-size: 0.75rem; color: var(--text-muted); }

/* My badges bar */
.my-badges-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.badge-item {
    padding: 5px 12px; background: rgba(240,180,41,0.1); border: 1px solid rgba(240,180,41,0.2);
    border-radius: 20px; font-size: 0.8rem; font-weight: 600; color: var(--gold);
    cursor: default; transition: var(--transition);
}
.badge-item:hover { background: rgba(240,180,41,0.2); transform: scale(1.05); }

/* Level badges */
.level-badge {
    display: inline-block; padding: 2px 10px; border-radius: 4px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    background: rgba(100,116,139,0.2); color: var(--text-secondary);
}
.level-1, .level-2, .level-3 { background: rgba(100,116,139,0.2); color: var(--text-secondary); }
.level-4, .level-5, .level-6 { background: rgba(59,130,246,0.2); color: var(--blue); }
.level-7, .level-8, .level-9 { background: rgba(240,180,41,0.2); color: var(--gold); }
.level-10, .level-11, .level-12 { background: rgba(0,212,170,0.2); color: var(--green); }
.level-13, .level-14, .level-15 { background: linear-gradient(135deg, rgba(240,180,41,0.3), rgba(255,71,87,0.3)); color: #fff; }

/* Leaderboard table */
.leaderboard-table { margin-bottom: 32px; }
.rank-num { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; }
.rank-gold { color: var(--gold); font-size: 1.4rem; }
.rank-silver { color: #c0c0c0; font-size: 1.3rem; }
.rank-bronze { color: #cd7f32; font-size: 1.2rem; }
.lb-player { display: flex; align-items: center; gap: 8px; }
.lb-name { font-weight: 600; }
.streak-fire { color: var(--gold); font-weight: 700; }

/* XP rules grid */
.xp-rules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.xp-rule {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); font-size: 0.85rem;
}
.xp-rule-icon { font-size: 1.2rem; min-width: 28px; text-align: center; }
.xp-rule span:nth-child(2) { flex: 1; color: var(--text-secondary); }

/* Countdown timer (for matches) */
.match-countdown {
    font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; color: var(--green);
    font-weight: 700; letter-spacing: 1px;
}
.match-live-pulse {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px; background: rgba(255,71,87,0.15); border-radius: 4px;
    color: var(--red); font-weight: 700; font-size: 0.8rem;
}
.match-live-pulse::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red);
    animation: livePulse 1.5s infinite;
}

@media (max-width: 768px) {
    .nav-gamif { display: none; }
    .my-rank-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
    .my-rank-stats { gap: 12px; }
    .xp-rules-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ODDS / COTES COMPARATEUR
   ============================================================ */
.odds-list { display: flex; flex-direction: column; gap: 24px; }
.odds-match-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; transition: var(--transition);
}
.odds-match-card:hover { border-color: var(--border-light); }
.odds-match-header { margin-bottom: 20px; }
.odds-match-info { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.odds-match-teams-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.odds-team { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; }
.odds-prediction-mini { display: flex; align-items: center; gap: 8px; }
.odds-pred-text { font-size: 0.85rem; color: var(--green); font-weight: 600; }

/* Best odds bar */
.best-odds-bar {
    display: flex; justify-content: center; gap: 16px; margin-bottom: 20px;
    padding: 16px; background: rgba(240,180,41,0.05); border: 1px solid rgba(240,180,41,0.15);
    border-radius: var(--radius-sm); flex-wrap: wrap;
}
.best-odd { text-align: center; min-width: 80px; }
.best-odd-label {
    display: block; font-size: 0.7rem; color: var(--text-muted); font-weight: 700;
    text-transform: uppercase; margin-bottom: 4px;
}
.best-odd-value {
    display: block; font-family: 'Rajdhani', sans-serif; font-size: 1.5rem;
    font-weight: 700; color: var(--gold);
}
.best-odd-bm { display: block; font-size: 0.7rem; color: var(--text-muted); }

/* Odds table */
.odds-table-wrapper { overflow-x: auto; margin-bottom: 16px; }
.odds-table { font-size: 0.85rem; }
.odds-table .text-center { text-align: center; }
.odds-best { color: var(--green) !important; font-weight: 700; background: rgba(0,212,170,0.08); }
.odds-avg-row { background: rgba(255,255,255,0.03); }
.odds-avg-row td { border-top: 2px solid var(--border); }

/* Source badge */
.source-badge {
    font-size: 0.65rem; padding: 2px 6px; background: rgba(59,130,246,0.15);
    color: var(--blue); border-radius: 3px; font-weight: 600;
}

/* Value bets */
.value-bets-section {
    margin-top: 16px; padding: 16px; background: rgba(0,212,170,0.05);
    border: 1px solid rgba(0,212,170,0.15); border-radius: var(--radius-sm);
}
.value-bets-title { font-size: 0.95rem; margin-bottom: 12px; color: var(--green); }
.value-bets-list { display: flex; flex-direction: column; gap: 8px; }
.value-bet-item {
    display: flex; align-items: center; gap: 12px; padding: 8px 12px;
    background: rgba(255,255,255,0.03); border-radius: 6px; font-size: 0.85rem;
    flex-wrap: wrap;
}
.vb-market { font-weight: 700; min-width: 130px; }
.vb-bookmaker { color: var(--text-secondary); min-width: 100px; }
.vb-odds { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--gold); }
.vb-fair { color: var(--text-muted); font-size: 0.8rem; }
.vb-value { font-weight: 700; }

/* Odds match footer */
.odds-match-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border);
}
.odds-no-data { padding: 20px; text-align: center; }

@media (max-width: 768px) {
    .best-odds-bar { gap: 8px; }
    .best-odd { min-width: 60px; }
    .best-odd-value { font-size: 1.2rem; }
    .value-bet-item { font-size: 0.8rem; }
    .vb-market { min-width: auto; }
}

/* === SECTION DIVIDERS === */
.section-divider {
    color: #e2e8f0;
    font-size: 1.1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    margin: 30px 0 20px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(26,37,64,0.8), rgba(10,15,30,0.9));
    border-left: 3px solid #f0b429;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.live-dot {
    width: 10px; height: 10px;
    background: #00d4aa;
    border-radius: 50%;
    display: inline-block;
    animation: livePulse 1.5s ease-in-out infinite;
}
.finished-divider {
    border-left-color: #4a5568;
    opacity: 0.85;
    margin-top: 50px;
    flex-wrap: wrap;
}
.finished-rate {
    font-size: 0.85rem;
    color: #a0aec0;
    margin-left: auto;
    font-weight: 400;
}

/* === LIVE BADGE === */
.live-badge {
    background: #ff4757 !important;
    color: #fff !important;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    animation: livePulse 1.5s ease-in-out infinite;
}
.match-live {
    border: 1px solid rgba(255,71,87,0.4) !important;
    box-shadow: 0 0 15px rgba(255,71,87,0.1);
}

/* === FINISHED MATCHES === */
.match-finished {
    opacity: 0.9;
    border: 1px solid rgba(74,85,104,0.3) !important;
}
.prediction-correct {
    border-left: 3px solid #00d4aa !important;
}
.prediction-wrong {
    border-left: 3px solid #ff4757 !important;
}
.finished-time {
    background: #4a5568;
    color: #a0aec0;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.result-badge {
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.result-correct {
    background: rgba(0,212,170,0.15);
    color: #00d4aa;
    border: 1px solid rgba(0,212,170,0.3);
}
.result-wrong {
    background: rgba(255,71,87,0.15);
    color: #ff4757;
    border: 1px solid rgba(255,71,87,0.3);
}

/* === FINAL SCORE === */
.final-score-large {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Rajdhani', sans-serif;
    color: #f0b429;
    letter-spacing: 2px;
}
.team-winner .team-name {
    color: #00d4aa;
    font-weight: 700;
}

/* === FINISHED DETAILS === */
.match-finished-details {
    padding: 10px 16px;
    border-top: 1px solid rgba(74,85,104,0.2);
}
.finished-prediction {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.finished-label {
    color: #a0aec0;
    font-size: 0.8rem;
}
.finished-value {
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 600;
}
.finished-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.finished-grid .match-card-footer {
    justify-content: center;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* === HERO PREMIUM === */
.hero-premium { position: relative; overflow: hidden; padding: 80px 0 60px; }
.hero-bg-effects { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-glow {
    position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15;
}
.hero-glow-1 { width: 500px; height: 500px; background: #f0b429; top: -150px; right: -100px; }
.hero-glow-2 { width: 400px; height: 400px; background: #00d4aa; bottom: -100px; left: -80px; }
.hero-grid-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(240,180,41,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,212,170,0.1); border: 1px solid rgba(0,212,170,0.2);
    padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; color: #00d4aa;
    margin-bottom: 20px;
}
.hero-title { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero-subtitle { font-size: 1.1rem; color: #a0aec0; max-width: 600px; margin-bottom: 30px; line-height: 1.7; }
.hero-subtitle strong { color: #f0b429; }

/* === ANIMATED COUNTERS === */
.hero-counters {
    display: flex; align-items: center; gap: 0;
    background: rgba(26,37,64,0.6); border: 1px solid rgba(42,58,96,0.5);
    border-radius: 12px; padding: 20px 10px; margin-bottom: 30px;
    backdrop-filter: blur(10px); flex-wrap: wrap; justify-content: center;
}
.counter-item {
    display: flex; flex-direction: column; align-items: center; padding: 0 24px; position: relative;
}
.counter-number {
    font-family: 'Rajdhani', sans-serif; font-size: 2.4rem; font-weight: 800; color: #e2e8f0; line-height: 1;
}
.counter-green { color: #00d4aa; }
.counter-gold { color: #f0b429; }
.counter-suffix { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; color: inherit; display: inline; }
.counter-label { font-size: 0.75rem; color: #718096; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }
.counter-divider { width: 1px; height: 40px; background: rgba(42,58,96,0.8); }

/* === BUTTON GLOW === */
.btn-glow {
    position: relative; overflow: hidden;
    box-shadow: 0 0 20px rgba(240,180,41,0.3);
}
.btn-glow:hover { box-shadow: 0 0 30px rgba(240,180,41,0.5); }
.btn-glow svg { display: inline; vertical-align: middle; margin-left: 6px; }

/* === SOON SECTION === */
.soon-section {
    background: rgba(26,37,64,0.4); border-top: 1px solid rgba(42,58,96,0.4);
    border-bottom: 1px solid rgba(42,58,96,0.4); padding: 24px 0;
}
.soon-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.soon-title { font-size: 1rem; font-weight: 700; color: #f0b429; text-transform: uppercase; letter-spacing: 0.5px; font-family: 'Rajdhani', sans-serif; }
.soon-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px;
}
.soon-card {
    background: rgba(10,15,30,0.7); border: 1px solid rgba(42,58,96,0.5);
    border-radius: 10px; padding: 14px; text-decoration: none; color: #e2e8f0;
    transition: all 0.25s; display: flex; flex-direction: column; gap: 10px;
}
.soon-card:hover { border-color: #f0b429; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.soon-card-top { display: flex; justify-content: space-between; align-items: center; }
.soon-comp { font-size: 0.7rem; color: #718096; text-transform: uppercase; letter-spacing: 0.3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.soon-card-teams { display: flex; align-items: center; gap: 8px; justify-content: center; }
.soon-crest { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; }
.soon-card-info { text-align: center; flex: 1; min-width: 0; }
.soon-team-name { display: block; font-size: 0.85rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soon-vs { font-size: 0.7rem; color: #718096; }
.soon-card-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(42,58,96,0.3); padding-top: 8px; }
.soon-countdown { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: #f0b429; font-size: 0.95rem; }
.soon-bet { font-size: 0.75rem; color: #00d4aa; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* === SECTION HEADER FLEX === */
.section-header-flex {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.section-subtitle-sm { color: #718096; font-size: 0.9rem; margin-top: 4px; }

/* === RESULTS STREAK === */
.results-streak { display: flex; gap: 4px; align-items: center; }
.streak-dot {
    width: 12px; height: 12px; border-radius: 50%;
    transition: transform 0.2s;
}
.streak-dot:hover { transform: scale(1.5); }
.streak-win { background: #00d4aa; }
.streak-loss { background: #ff4757; }

/* === RESULTS GRID (Cards) === */
.results-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px;
}
.result-card {
    background: rgba(26,37,64,0.5); border: 1px solid rgba(42,58,96,0.4);
    border-radius: 10px; padding: 14px; transition: all 0.25s;
}
.result-card:hover { background: rgba(26,37,64,0.8); transform: translateY(-2px); }
.result-card-win { border-left: 3px solid #00d4aa; }
.result-card-loss { border-left: 3px solid #ff4757; }
.result-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.result-comp { font-size: 0.7rem; color: #718096; text-transform: uppercase; letter-spacing: 0.3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.result-card-teams { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 10px; }
.result-crest { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; }
.result-card-score { text-align: center; flex: 1; }
.result-team-sm { display: block; font-size: 0.8rem; color: #a0aec0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-score-big { display: block; font-family: 'Rajdhani', sans-serif; font-size: 1.6rem; font-weight: 800; color: #f0b429; line-height: 1.2; }
.result-card-prediction {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid rgba(42,58,96,0.3); padding-top: 8px; margin-top: 4px;
}
.result-label { font-size: 0.75rem; color: #718096; }
.result-bet { font-size: 0.8rem; color: #e2e8f0; font-weight: 600; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* === FEATURE HOVER === */
.feature-card-hover {
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-icon-wrap {
    width: 60px; height: 60px; border-radius: 12px;
    background: rgba(240,180,41,0.08); border: 1px solid rgba(240,180,41,0.15);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-icon-wrap .feature-icon { margin-bottom: 0; font-size: 1.5rem; }

/* === MATCH CARD COUNTDOWN === */
.match-countdown {
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 0.85rem;
    color: #f0b429; background: rgba(240,180,41,0.1); padding: 2px 10px;
    border-radius: 4px; border: 1px solid rgba(240,180,41,0.2);
}

/* === CARD APPEAR ANIMATION === */
.match-card-animated {
    opacity: 0; transform: translateY(20px);
    animation: cardAppear 0.5s ease forwards;
}
.match-card-animated:nth-child(1) { animation-delay: 0.05s; }
.match-card-animated:nth-child(2) { animation-delay: 0.1s; }
.match-card-animated:nth-child(3) { animation-delay: 0.15s; }
.match-card-animated:nth-child(4) { animation-delay: 0.2s; }
.match-card-animated:nth-child(5) { animation-delay: 0.25s; }
.match-card-animated:nth-child(6) { animation-delay: 0.3s; }

@keyframes cardAppear {
    to { opacity: 1; transform: translateY(0); }
}

/* === MOBILE BOTTOM NAV === */
.mobile-bottom-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(10,15,30,0.97); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(42,58,96,0.5);
    z-index: 1000; padding: 6px 0 env(safe-area-inset-bottom, 6px);
}
.mobile-nav-items {
    display: flex; justify-content: space-around; align-items: center;
}
.mobile-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    text-decoration: none; color: #718096; font-size: 0.65rem; padding: 4px 8px;
    transition: color 0.2s;
}
.mobile-nav-item.active { color: #f0b429; }
.mobile-nav-item:hover { color: #e2e8f0; }
.mobile-nav-icon { font-size: 1.2rem; }

/* === PWA INSTALL BANNER === */
.pwa-banner {
    position: fixed; bottom: -100px; left: 0; right: 0; z-index: 9999;
    transition: bottom 0.4s ease;
}
.pwa-banner.pwa-show { bottom: 70px; }
@media (min-width: 769px) { .pwa-banner.pwa-show { bottom: 0; } }
.pwa-banner-content {
    display: flex; align-items: center; gap: 12px;
    background: rgba(26,37,64,0.97); backdrop-filter: blur(10px);
    border-top: 2px solid #f0b429;
    padding: 12px 16px; max-width: 600px; margin: 0 auto;
}
.pwa-banner-icon { font-size: 1.8rem; }
.pwa-banner-text { flex: 1; }
.pwa-banner-text strong { display: block; color: #e2e8f0; font-size: 0.95rem; }
.pwa-banner-text span { color: #718096; font-size: 0.8rem; }
.pwa-close {
    background: none; border: none; color: #718096; font-size: 1.4rem;
    cursor: pointer; padding: 4px 8px;
}

/* === HOW IT WORKS === */
.hiw-steps { max-width: 700px; margin: 0 auto; }
.hiw-step {
    background: rgba(26,37,64,0.5); border: 1px solid rgba(42,58,96,0.4);
    border-radius: 12px; padding: 28px; position: relative;
}
.hiw-step-number {
    position: absolute; top: -14px; left: 24px;
    width: 28px; height: 28px; background: #f0b429; color: #0a0f1e;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.85rem; font-family: 'Rajdhani', sans-serif;
}
.hiw-step-icon { font-size: 2rem; margin-bottom: 10px; }
.hiw-step h3 { color: #e2e8f0; font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; margin: 0 0 8px; }
.hiw-weight {
    background: rgba(240,180,41,0.15); color: #f0b429; padding: 2px 10px;
    border-radius: 20px; font-size: 0.8rem; font-weight: 700; margin-left: 8px;
}
.hiw-step p { color: #a0aec0; font-size: 0.9rem; line-height: 1.6; margin: 0 0 12px; }
.hiw-details { display: flex; gap: 8px; flex-wrap: wrap; }
.hiw-details span {
    background: rgba(0,212,170,0.08); border: 1px solid rgba(0,212,170,0.15);
    color: #00d4aa; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem;
}
.hiw-connector {
    width: 2px; height: 30px; background: linear-gradient(to bottom, #f0b429, #2a3a60);
    margin: 0 auto;
}

.hiw-output-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px; margin-top: 24px;
}
.hiw-output-card {
    background: rgba(26,37,64,0.4); border: 1px solid rgba(42,58,96,0.3);
    border-radius: 10px; padding: 20px; text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}
.hiw-output-card:hover { transform: translateY(-3px); border-color: rgba(240,180,41,0.3); }
.hiw-output-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.hiw-output-card h4 { color: #e2e8f0; font-size: 0.95rem; margin: 0 0 6px; }
.hiw-output-card p { color: #718096; font-size: 0.8rem; margin: 0; }

.hiw-trust-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px;
}
.hiw-trust-card {
    background: rgba(26,37,64,0.5); border: 1px solid rgba(42,58,96,0.4);
    border-radius: 10px; padding: 24px; text-align: center;
}
.hiw-trust-number { font-family: 'Rajdhani', sans-serif; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.hiw-trust-label { color: #a0aec0; font-size: 0.85rem; margin-top: 6px; }

@media (max-width: 768px) {
    .hiw-trust-grid { grid-template-columns: 1fr; }
    .hiw-output-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === RESULTS PAGE === */
.results-stats-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px; margin-bottom: 30px;
}
.results-stat-card {
    background: rgba(26,37,64,0.5); border: 1px solid rgba(42,58,96,0.4);
    border-radius: 10px; padding: 20px; text-align: center;
}
.results-stat-main { grid-column: span 1; border-color: rgba(240,180,41,0.3); }
.results-stat-number { font-family: 'Rajdhani', sans-serif; font-size: 2.2rem; font-weight: 800; line-height: 1; }
.results-stat-label { color: #a0aec0; font-size: 0.8rem; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.results-stat-detail { color: #718096; font-size: 0.8rem; margin-top: 4px; }

.results-date-header {
    font-family: 'Rajdhani', sans-serif; font-weight: 700; color: #f0b429;
    padding: 12px 0 8px; border-bottom: 1px solid rgba(42,58,96,0.3); margin-top: 16px;
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.results-list { display: flex; flex-direction: column; gap: 4px; }
.results-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; border-radius: 8px; border-left: 3px solid transparent;
    transition: background 0.2s;
}
.results-row:hover { background: rgba(26,37,64,0.5); }
.results-row-win { border-left-color: #00d4aa; }
.results-row-loss { border-left-color: #ff4757; }
.results-row-status { flex-shrink: 0; }
.result-icon {
    width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 0.85rem; font-weight: 700;
}
.result-icon-win { background: rgba(0,212,170,0.15); color: #00d4aa; }
.result-icon-loss { background: rgba(255,71,87,0.15); color: #ff4757; }
.results-row-match { flex: 1; min-width: 0; }
.results-row-teams { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; flex-wrap: wrap; }
.results-row-crest { width: 20px; height: 20px; object-fit: contain; border-radius: 2px; }
.results-row-score { color: #f0b429; font-family: 'Rajdhani', sans-serif; font-size: 1.05rem; margin: 0 4px; }
.results-row-comp { color: #718096; font-size: 0.75rem; margin-top: 2px; }
.results-row-prediction { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.results-row-bet { font-size: 0.8rem; color: #a0aec0; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 768px) {
    .results-row { flex-wrap: wrap; }
    .results-row-prediction { width: 100%; margin-top: 4px; }
    .results-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === SIGNUP BANNER === */
.signup-banner {
    background: linear-gradient(135deg, rgba(240,180,41,0.08), rgba(0,212,170,0.05));
    border: 1px solid rgba(240,180,41,0.2);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 24px;
}
.signup-banner-content {
    display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.signup-banner-text h3 { color: #f0b429; font-size: 1.1rem; margin: 0 0 6px; font-family: 'Rajdhani', sans-serif; }
.signup-banner-text p { color: #a0aec0; font-size: 0.9rem; margin: 0; }
.signup-banner-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

/* === SIGNUP WALL (match_detail) === */
.signup-wall {
    position: relative; border-radius: 12px; overflow: hidden; margin: 20px 0;
    border: 1px solid rgba(42,58,96,0.4);
}
.signup-wall-blur {
    padding: 30px; filter: blur(8px); opacity: 0.3; pointer-events: none;
}
.signup-wall-fake-content { display: flex; flex-direction: column; gap: 16px; }
.fake-bar {
    height: 14px; background: linear-gradient(90deg, #2a3a60 30%, #1a2540 60%, #2a3a60 90%);
    border-radius: 7px; animation: fakeShimmer 2s infinite;
}
@keyframes fakeShimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}
.signup-wall-content {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 30px;
    background: rgba(10,15,30,0.85); backdrop-filter: blur(4px);
}
.signup-wall-content h3 { color: #f0b429; font-size: 1.3rem; margin: 0 0 10px; font-family: 'Rajdhani', sans-serif; }
.signup-wall-content p { color: #a0aec0; font-size: 0.9rem; margin: 0 0 16px; max-width: 450px; }
.signup-wall-features {
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px;
}
.signup-wall-features span {
    background: rgba(240,180,41,0.1); border: 1px solid rgba(240,180,41,0.2);
    color: #f0b429; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}

@media (max-width: 768px) {
    .signup-banner-content { flex-direction: column; text-align: center; }
    .signup-banner-actions { justify-content: center; }
}

/* === 404 PAGE === */
.section-404 { padding: 80px 0; }
.error-404 { text-align: center; max-width: 600px; margin: 0 auto; }
.error-404-graphic {
    display: flex; align-items: center; justify-content: center; gap: 0;
    margin-bottom: 30px;
}
.error-404-number {
    font-family: 'Rajdhani', sans-serif; font-size: 8rem; font-weight: 800;
    color: #1a2540; text-shadow: 0 0 40px rgba(240,180,41,0.15);
    line-height: 1;
}
.error-404-ball {
    display: inline-flex; animation: ballBounce 2s ease-in-out infinite;
}
@keyframes ballBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.error-404-title {
    font-family: 'Rajdhani', sans-serif; font-size: 2.2rem; font-weight: 700;
    color: #f0b429; margin-bottom: 12px;
}
.error-404-text { color: #a0aec0; font-size: 1.1rem; margin-bottom: 30px; }
.error-404-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.error-404-links { border-top: 1px solid rgba(42,58,96,0.4); padding-top: 24px; }
.error-404-links p { color: #718096; font-size: 0.9rem; margin-bottom: 12px; }
.error-404-suggestions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.error-404-suggestions a {
    color: #e2e8f0; text-decoration: none; padding: 6px 14px;
    background: rgba(26,37,64,0.5); border: 1px solid rgba(42,58,96,0.4);
    border-radius: 6px; font-size: 0.85rem; transition: all 0.2s;
}
.error-404-suggestions a:hover { border-color: #f0b429; color: #f0b429; }

@media (max-width: 768px) {
    .error-404-number { font-size: 5rem; }
    .error-404-ball svg { width: 80px; height: 80px; }
}

@media (max-width: 768px) {
    .mobile-bottom-nav { display: block; }
    body { padding-bottom: 70px; }
    .hero-title { font-size: 2rem; }
    .hero-counters { padding: 16px 8px; }
    .counter-item { padding: 0 12px; }
    .counter-number { font-size: 1.6rem; }
    .counter-divider { height: 30px; }
    .results-ticker { grid-template-columns: 1fr; }
    .result-label { max-width: 80px; }
}
