/* ============================================================
   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;
    overflow-x: hidden;
}

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 16px; }
.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; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-break { word-wrap: break-word; overflow-wrap: break-word; }

/* === 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; }
.navbar-logo { height: 38px; width: auto; object-fit: contain; }
.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; align-items: center; }
.navbar-menu::-webkit-scrollbar { display: none; }
.nav-link {
    padding: 6px 10px; border-radius: var(--radius-sm); color: var(--text-secondary);
    font-weight: 500; font-size: 0.82rem; 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: 0.3s; display: block; }
.navbar-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Bouton fermer menu mobile */
.mobile-menu-close {
    display: none; background: none; border: none; color: #718096;
    font-size: 2rem; cursor: pointer; padding: 4px 12px;
    align-self: flex-end; line-height: 1;
}
.mobile-menu-close:hover { color: #e2e8f0; }
.mobile-menu-close-bottom { display: none; }

/* Mobile nav extras (visible uniquement quand menu ouvert) */
.mobile-nav-divider { border: none; border-top: 1px solid var(--border); margin: 4px 0; display: none; }
.nav-link-mobile { display: none; }
@media (max-width: 1280px) {
    .nav-link { padding: 5px 7px; font-size: 0.78rem; }
    .nav-gamif { display: none; }
}
@media (max-width: 1024px) {
    .navbar-menu.show .mobile-nav-divider { display: block; }
    .navbar-menu.show .nav-link-mobile { display: block; }
    .nav-more { display: none; }
}

/* User Dropdown */
/* === NAV MORE DROPDOWN === */
.nav-more { position: relative; }
.nav-more-btn { background: none; border: none; cursor: pointer; font-family: inherit; }
.nav-more-menu {
    position: absolute; top: calc(100% + 8px); left: 0; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    min-width: 200px; display: none; box-shadow: var(--shadow); z-index: 9999;
}
.nav-more-menu.show { display: block; }
.nav-more-item {
    display: block; padding: 10px 16px; color: var(--text-primary);
    text-decoration: none; font-size: 0.9rem; transition: background 0.2s;
}
.nav-more-item:hover { background: rgba(240,180,41,0.1); }
.nav-more-item.active { color: var(--gold); }

.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: 9999;
}
.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; }
@media (max-width: 768px) {
    .btn-sm { min-height: 44px; display: inline-flex; align-items: center; }
}
.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; word-wrap: break-word; overflow-wrap: break-word; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 32px; word-wrap: break-word; overflow-wrap: break-word; }
.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;
    max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.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; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }
.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; overflow: hidden; flex-wrap: wrap; }
.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; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.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); overflow: hidden;
}
.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; overflow: hidden; max-width: 100%;
}
.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-fill, minmax(200px, 1fr)); gap: 12px; 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; }

/* === USER STATUS === */
.user-status { font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.user-online { color: #00d4aa; }
.user-offline { color: #718096; }
.user-never { color: #4a5568; font-style: italic; }

/* === DEBUG PAGE === */
.debug-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 6px; }
.debug-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; background: rgba(10,15,30,0.5); border-radius: 6px; }
.debug-label { color: #718096; font-size: 0.85rem; }
.debug-value { color: #e2e8f0; font-weight: 600; font-size: 0.85rem; font-family: 'Rajdhani', monospace; }
.debug-value.text-danger { color: #ff4757; }

/* === LEADERBOARD BADGES === */
.lb-badge-icon { font-size: 1.1rem; margin: 0 1px; cursor: default; }
.lb-badge-more { font-size: 0.7rem; color: #718096; margin-left: 2px; }

/* === 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: fixed; top: 56px; left: 0; right: 0;
        background: var(--bg-primary); border-top: 1px solid var(--border);
        padding: 10px 16px 20px; z-index: 9998; gap: 0;
        overflow-y: auto; -webkit-overflow-scrolling: touch;
        max-height: calc(100vh - 56px);
    }
    .navbar-menu.show .nav-link { padding: 10px 14px; font-size: 0.95rem; border-radius: 6px; }
    .navbar-menu.show .nav-link:hover, .navbar-menu.show .nav-link.active { background: rgba(240,180,41,0.1); }
    .navbar-menu.show .mobile-menu-close { display: none; }
    .navbar-menu.show .mobile-menu-close-bottom {
        display: block; margin: 10px auto 0; padding: 10px 40px;
        background: rgba(42,58,96,0.5); border: 1px solid var(--border);
        color: #a0aec0; border-radius: 8px; font-size: 0.9rem;
        cursor: pointer; text-align: center;
    }
    .nav-more { display: none; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-stats { gap: 20px; }
    .predictions-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 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; }

/* === LANGUAGE SWITCHER === */
.lang-switcher { display: flex; gap: 4px; align-items: center; margin-left: 8px; }
.lang-btn {
    font-size: 1.2rem; text-decoration: none; padding: 2px 4px;
    border-radius: 4px; opacity: 0.5; transition: opacity 0.2s;
    cursor: pointer; line-height: 1;
}
.lang-btn:hover { opacity: 0.8; }
.lang-active { opacity: 1; background: rgba(240,180,41,0.15); }

/* === ADMIN ACTIONS === */
.admin-actions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.admin-action-btn {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: rgba(26,37,64,0.5); border: 1px solid rgba(42,58,96,0.4);
    border-radius: 10px; padding: 20px 16px; text-decoration: none; color: #e2e8f0;
    transition: all 0.2s; cursor: pointer; font-family: inherit; font-size: inherit;
    width: 100;
}
.admin-action-btn:hover { border-color: #f0b429; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.admin-action-alert { border-color: rgba(255,71,87,0.4); }
.admin-action-icon { font-size: 2rem; margin-bottom: 8px; }
.admin-action-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.admin-action-desc { font-size: 0.75rem; color: #718096; }

/* === INJURIES & ABSENCES === */
.injuries-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.injuries-team-name { color: #e2e8f0; font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(42,58,96,0.3); }
.injuries-none { font-size: 0.85rem; font-style: italic; }
.injuries-list { display: flex; flex-direction: column; gap: 6px; }
.injury-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; border-radius: 6px; background: rgba(10,15,30,0.5);
    border-left: 3px solid transparent;
}
.injury-out { border-left-color: #ff4757; }
.injury-suspended { border-left-color: #f0b429; }
.injury-doubtful { border-left-color: #718096; }
.injury-status-icon { flex-shrink: 0; }
.injury-icon-out, .injury-icon-suspended, .injury-icon-doubtful {
    width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 0.7rem; font-weight: 800;
}
.injury-icon-out { background: rgba(255,71,87,0.2); color: #ff4757; }
.injury-icon-suspended { background: rgba(240,180,41,0.2); color: #f0b429; }
.injury-icon-doubtful { background: rgba(113,128,150,0.2); color: #718096; }
.injury-info { flex: 1; min-width: 0; }
.injury-player { display: block; color: #e2e8f0; font-size: 0.9rem; font-weight: 600; }
.injury-key-badge { background: #ff4757; color: #fff; font-size: 0.6rem; padding: 1px 5px; border-radius: 3px; margin-left: 6px; font-weight: 700; }
.injury-detail { display: block; font-size: 0.8rem; color: #718096; }
.injury-pos { background: rgba(42,58,96,0.5); padding: 1px 6px; border-radius: 3px; margin-right: 4px; font-size: 0.75rem; }
.injuries-impact {
    margin-top: 16px; padding: 10px 16px; background: rgba(255,71,87,0.05);
    border: 1px solid rgba(255,71,87,0.15); border-radius: 8px; font-size: 0.85rem;
}
.injuries-impact-label { color: #a0aec0; margin-right: 8px; }
@media (max-width: 768px) { .injuries-grid { grid-template-columns: 1fr; } }

/* === ADMIN LANGUAGE CARDS === */
.lang-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.lang-admin-card {
    display: flex; align-items: center; gap: 14px;
    background: rgba(26,37,64,0.5); border: 1px solid rgba(42,58,96,0.4);
    border-radius: 10px; padding: 16px; transition: all 0.2s;
}
.lang-admin-card.lang-enabled { border-color: rgba(0,212,170,0.3); }
.lang-admin-card.lang-disabled { opacity: 0.5; }
.lang-admin-flag { font-size: 2rem; }
.lang-admin-info { flex: 1; }
.lang-admin-info strong { display: block; color: #e2e8f0; font-size: 0.95rem; }
.lang-admin-info .text-muted { font-size: 0.8rem; }
.lang-admin-controls { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }

/* Toggle switch */
.lang-toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.lang-toggle input { opacity: 0; width: 0; height: 0; }
.lang-toggle-slider {
    position: absolute; cursor: pointer; inset: 0;
    background: #2a3a60; border-radius: 24px; transition: 0.3s;
}
.lang-toggle-slider::before {
    content: ''; position: absolute; height: 18px; width: 18px;
    left: 3px; bottom: 3px; background: #718096;
    border-radius: 50%; transition: 0.3s;
}
.lang-toggle input:checked + .lang-toggle-slider { background: #00d4aa; }
.lang-toggle input:checked + .lang-toggle-slider::before { transform: translateX(20px); background: #fff; }
.lang-toggle input:disabled + .lang-toggle-slider { cursor: not-allowed; }

.lang-default-radio { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; cursor: pointer; }
.lang-default-radio input[type="radio"] { accent-color: #f0b429; }

/* === RTL SUPPORT === */
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="rtl"] .navbar-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .navbar-actions { flex-direction: row-reverse; }
[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .match-card-header { flex-direction: row-reverse; }
[dir="rtl"] .match-card-footer { flex-direction: row-reverse; }
[dir="rtl"] .prob-labels { flex-direction: row-reverse; }
[dir="rtl"] .section-divider { border-left: none; border-right: 3px solid #f0b429; }
[dir="rtl"] .finished-divider { border-right-color: #4a5568; }
[dir="rtl"] .results-row { border-left: none; border-right: 3px solid transparent; }
[dir="rtl"] .results-row-win { border-right-color: #00d4aa; }
[dir="rtl"] .results-row-loss { border-right-color: #ff4757; }
[dir="rtl"] .prediction-correct { border-left: none; border-right: 3px solid #00d4aa; }
[dir="rtl"] .prediction-wrong { border-left: none; border-right: 3px solid #ff4757; }
[dir="rtl"] .result-card-win { border-left: none; border-right: 3px solid #00d4aa; }
[dir="rtl"] .result-card-loss { border-left: none; border-right: 3px solid #ff4757; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .mobile-nav-items { flex-direction: row-reverse; }

/* === 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-counters { padding: 16px 8px; }
    .counter-divider { display: none; }
    .results-ticker { grid-template-columns: 1fr; }
    .result-label { max-width: 80px; }
}

/* === MOBILE GLOBAL FIX === */
@media (max-width: 768px) {
    /* Toutes les tables scrollables horizontalement */
    .data-table { min-width: 500px; }
    .detail-section { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* Grids */
    .predictions-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; }

    /* Grids admin en 1 colonne */
    .dashboard-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .admin-actions-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .admin-pricing-grid { grid-template-columns: 1fr !important; }
    .admin-nav { flex-wrap: wrap; gap: 6px; }
    .admin-nav .btn { font-size: 0.75rem; padding: 4px 10px; }

    /* Dashboard cards plus compacts */
    .dash-card { padding: 12px; }
    .dash-big-value { font-size: 1.4rem; }
    .dash-card h4 { font-size: 0.75rem; }

    /* Debug grid */
    .debug-grid { grid-template-columns: 1fr !important; }

    /* Lang admin */
    .lang-admin-grid { grid-template-columns: 1fr !important; }

    /* Section padding réduit */
    .section { padding: 20px 0; }
    .container { padding: 0 12px; }
    .page-title { font-size: 1.5rem; }

    /* Edit panel */
    .admin-edit-panel { width: 100%; overflow-x: auto; }
    .admin-edit-info { grid-template-columns: 1fr !important; }
    .edit-info-item { flex-direction: column; gap: 4px; }

    /* Hero counters 2x2 grid */
    .hero-counters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; justify-items: center; }
    .counter-divider { display: none; }
    .counter-item { padding: 8px 0; }

    /* Navbar */
    .navbar-actions { gap: 4px; }
    .navbar-menu { overflow-x: hidden; }

    /* Match cards */
    .match-card-teams { padding: 8px 0; }
    .prob-bar span { font-size: 0.6rem; }

    /* Formulaires */
    .form-row-inline { flex-direction: column; gap: 8px; }
    .referral-code-box { flex-direction: column; }
    [style*="display:flex"][style*="gap"] { flex-direction: column; }
}

@media (max-width: 480px) {
    .dashboard-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .admin-actions-grid { grid-template-columns: 1fr !important; }
    .navbar-logo { height: 28px; }
    .badge-live { font-size: 0.55rem; padding: 1px 4px; }

    /* Grids single column */
    .predictions-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .sure-bets-grid { grid-template-columns: 1fr; }
    .soon-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: 1fr; }
    .hiw-output-grid { grid-template-columns: 1fr; }

    /* Hero */
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-counters { grid-template-columns: repeat(2, 1fr); }
    .counter-number { font-size: 1.3rem; }

    /* Section dividers */
    .section-divider { font-size: 0.9rem; flex-wrap: wrap; }

    /* Cards */
    .match-card-extras { flex-wrap: wrap; }
    .pricing-features li { font-size: 0.85rem; }

    /* Forms */
    .form-input, input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea { width: 100% !important; max-width: 100%; }
    .search-form .form-input { width: 100% !important; }
    .search-form { flex-direction: column; }
    .share-link-input { width: 100% !important; }
    .stake-input { width: 100% !important; }
}

/* === 375px - SMALL PHONE (iPhone SE) === */
@media (max-width: 375px) {
    .hero-title { font-size: 1.4rem; }
    .page-title { font-size: 1.3rem; }
    .section { padding: 16px 0; }
    .match-card { padding: 14px; }
    .btn-lg { padding: 10px 20px; font-size: 0.9rem; }
    .dashboard-grid { grid-template-columns: 1fr !important; }
}

/* === COMBI FLOAT BASKET === */
.combi-float {
    position: fixed; bottom: 80px; right: 16px; z-index: 9000;
    width: 300px; max-width: calc(100vw - 32px);
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    display: none; overflow: hidden;
    animation: combiSlideUp 0.3s ease;
}
@keyframes combiSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.combi-float-visible { display: block; }
.combi-float-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; background: rgba(240,180,41,0.1); cursor: pointer;
    border-bottom: 1px solid var(--border); user-select: none;
}
.combi-float-header span:first-child { font-weight: 700; color: #f0b429; }
.combi-float-count {
    background: #f0b429; color: #0a0f1e; width: 24px; height: 24px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 800;
}
.combi-float-arrow { color: #718096; font-size: 0.75rem; }
.combi-float-body { display: none; max-height: 300px; overflow-y: auto; }
.combi-float-body.combi-float-open { display: block; }
.combi-float-list { padding: 8px; }
.combi-float-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 10px; margin-bottom: 4px;
    background: rgba(10,15,30,0.5); border-radius: 6px;
}
.combi-float-label { font-size: 0.8rem; color: #e2e8f0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combi-float-remove {
    background: none; border: none; color: #ff4757; font-size: 1.2rem;
    cursor: pointer; padding: 0 4px; line-height: 1;
}
.combi-float-empty { padding: 16px; text-align: center; color: #718096; font-size: 0.85rem; }
.combi-float-actions { padding: 8px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.btn-block { width: 100%; text-align: center; }

@media (max-width: 768px) {
    .combi-float { bottom: 76px; right: 8px; left: 8px; width: auto; }
}

/* === SUPPORT SYSTEM === */
.support-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.support-back-link { margin-bottom: 20px; }
.support-back-link a { color: var(--gold); font-weight: 500; }

/* Ticket cards */
.support-tickets-list { display: flex; flex-direction: column; gap: 12px; }
.support-ticket-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-primary);
}
.support-ticket-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold);
    color: var(--text-primary);
    transform: translateY(-1px);
}
.support-ticket-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.support-ticket-id { color: var(--text-muted); font-size: 0.85rem; font-family: monospace; }
.support-ticket-card-subject { font-weight: 600; font-size: 1rem; margin-bottom: 10px; }
.support-ticket-card-footer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.support-date { color: var(--text-muted); font-size: 0.8rem; }

/* Status badges */
.support-status-badge {
    padding: 3px 10px; border-radius: 4px; font-size: 0.72rem;
    font-weight: 700; text-transform: uppercase; display: inline-block;
}
.support-status-badge.status-open { background: rgba(240,180,41,0.15); color: var(--gold); }
.support-status-badge.status-in_progress { background: rgba(59,130,246,0.15); color: var(--blue); }
.support-status-badge.status-resolved { background: rgba(0,212,170,0.15); color: var(--green); }
.support-status-badge.status-closed { background: rgba(100,116,139,0.15); color: var(--text-muted); }

/* Category badges */
.support-category-badge {
    padding: 2px 8px; border-radius: 4px; font-size: 0.72rem;
    font-weight: 600; background: rgba(100,116,139,0.15); color: var(--text-secondary);
    display: inline-block;
}

/* Priority badges */
.support-priority-badge {
    padding: 2px 8px; border-radius: 4px; font-size: 0.72rem;
    font-weight: 600; display: inline-block;
}
.support-priority-badge.priority-basse { background: rgba(0,212,170,0.15); color: var(--green); }
.support-priority-badge.priority-normale { background: rgba(59,130,246,0.15); color: var(--blue); }
.support-priority-badge.priority-haute { background: rgba(255,71,87,0.15); color: var(--red); }

/* Ticket detail */
.support-ticket-detail {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.support-ticket-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: 16px;
}
.support-ticket-header h2 { margin-bottom: 8px; font-size: 1.3rem; }
.support-ticket-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.support-ticket-user-info { margin-top: 8px; color: var(--text-secondary); font-size: 0.85rem; }
.support-ticket-header-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form { display: inline-flex; }
.form-input-sm { padding: 6px 10px; font-size: 0.85rem; min-width: 120px; }

/* Conversation thread */
.support-conversation { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.support-message {
    border-radius: var(--radius-sm);
    padding: 16px;
    max-width: 85%;
}
.support-message-user {
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    align-self: flex-start;
}
.support-message-admin {
    background: rgba(240,180,41,0.08);
    border: 1px solid rgba(240,180,41,0.2);
    align-self: flex-end;
}
.support-message-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px; gap: 12px;
}
.support-message-author { font-weight: 600; font-size: 0.9rem; }
.support-admin-badge {
    background: var(--gold); color: var(--bg-primary);
    padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700;
}
.support-message-date { color: var(--text-muted); font-size: 0.8rem; white-space: nowrap; }
.support-message-body { color: var(--text-primary); line-height: 1.7; font-size: 0.95rem; }

/* Reply form */
.support-reply-form {
    padding: 24px;
    border-top: 1px solid var(--border);
}
.support-reply-form h3 { margin-bottom: 12px; font-size: 1.1rem; }
.support-closed-notice {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* Support form */
.support-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-form .form-group { margin-bottom: 16px; }
.support-form .form-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; color: var(--text-secondary); }
.support-form .form-input,
.support-reply-form .form-input {
    width: 100%; padding: 10px 14px;
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text-primary);
    font-size: 0.95rem; font-family: inherit; transition: var(--transition);
}
.support-form .form-input:focus,
.support-reply-form .form-input:focus {
    border-color: var(--gold); outline: none;
    box-shadow: 0 0 0 2px rgba(240,180,41,0.15);
}
.support-form select.form-input { cursor: pointer; appearance: auto; }

/* Admin filters */
.support-filters { margin-bottom: 16px; }
.support-filter-form { display: flex; flex-wrap: wrap; gap: 12px; }
.support-filter-form .form-input-sm {
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text-primary);
    font-family: inherit; cursor: pointer; appearance: auto;
}

/* Table responsive */
.table-responsive { overflow-x: auto; }
.clickable-row:hover { background: var(--bg-card-hover); }

/* Responsive */
@media (max-width: 900px) {
    .support-layout { grid-template-columns: 1fr; }
    .support-ticket-header { flex-direction: column; }
    .support-message { max-width: 95%; }
    .support-form .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Help / FAQ Page
   ============================================================ */

/* Search */
.help-search-wrap {
    max-width: 600px; margin: 0 auto 40px; position: relative;
}
.help-search-box {
    display: flex; align-items: center; gap: 12px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px 20px;
    transition: var(--transition);
}
.help-search-box:focus-within {
    border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.15);
}
.help-search-icon { font-size: 1.2rem; color: var(--text-muted); flex-shrink: 0; }
.help-search-input {
    flex: 1; background: none; border: none; outline: none;
    color: var(--text-primary); font-family: inherit; font-size: 1rem;
}
.help-search-input::placeholder { color: var(--text-muted); }
.help-search-clear {
    font-size: 1.4rem; color: var(--text-muted); cursor: pointer;
    line-height: 1; padding: 0 4px; flex-shrink: 0;
}
.help-search-clear:hover { color: var(--text-primary); }

/* No results */
.help-no-results {
    text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 1rem;
}

/* Categories */
.help-categories { max-width: 800px; margin: 0 auto; }
.help-category { margin-bottom: 32px; }
.help-category-title {
    font-size: 1.3rem; font-family: 'Rajdhani', sans-serif; font-weight: 700;
    color: var(--text-primary); margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
    padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.help-cat-icon { font-size: 1.4rem; }

/* Accordion items */
.help-accordion { display: flex; flex-direction: column; gap: 8px; }
.help-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); overflow: hidden;
    transition: var(--transition);
}
.help-item:hover { border-color: var(--border-light); }
.help-item.open { border-color: var(--gold); }

.help-question {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; padding: 16px 20px; background: none; border: none;
    color: var(--text-primary); font-family: inherit; font-size: 0.95rem;
    font-weight: 600; text-align: left; cursor: pointer;
    transition: var(--transition);
}
[dir="rtl"] .help-question { text-align: right; }
.help-question:hover { color: var(--gold); }
.help-item.open .help-question { color: var(--gold); }

.help-chevron {
    font-size: 0.7rem; color: var(--text-muted); transition: transform 0.3s ease;
    flex-shrink: 0;
}
.help-item.open .help-chevron { transform: rotate(180deg); }

.help-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
}
.help-answer p {
    padding: 0 20px 16px; color: var(--text-secondary); font-size: 0.9rem;
    line-height: 1.7;
}
.help-answer a { color: var(--gold); text-decoration: underline; }
.help-answer a:hover { color: var(--gold-dark); }
.help-answer strong { color: var(--text-primary); }

/* Contact section */
.help-contact-actions {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .help-category-title { font-size: 1.1rem; }
    .help-question { padding: 14px 16px; font-size: 0.9rem; }
    .help-answer p { padding: 0 16px 14px; font-size: 0.85rem; }
    .help-contact-actions { flex-direction: column; align-items: center; }
}

/* ============================================================
   MONTANTE VIP - Progressive Betting System
   ============================================================ */

.montante-page { padding-top: 20px; }

/* Header */
.montante-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px; padding: 24px 28px;
    background: linear-gradient(135deg, #1a2540 0%, #0f1829 100%);
    border: 1px solid var(--border); border-radius: var(--radius);
    position: relative; overflow: hidden;
}
.montante-header::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(240,180,41,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.montante-header-content { flex: 1; }
.montante-title {
    font-size: 1.8rem; color: var(--text-primary); margin-bottom: 4px;
    display: flex; align-items: center; gap: 10px;
}
.montante-icon { font-size: 1.5rem; }
.montante-subtitle { color: var(--text-secondary); font-size: 0.95rem; max-width: 600px; }
.montante-vip-badge {
    background: linear-gradient(135deg, #f0b429, #d4a017);
    color: #0a0f1e; font-weight: 700; padding: 6px 16px;
    border-radius: 20px; font-size: 0.85rem; letter-spacing: 1px;
}

/* Objective Card */
.montante-objective-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
}
.montante-objective-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.montante-objective-target {
    display: flex; align-items: center; gap: 10px;
}
.montante-objective-icon { font-size: 1.5rem; }
.montante-objective-label {
    font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 1px; font-weight: 600;
}
.montante-objective-amount {
    font-family: 'Rajdhani', sans-serif; font-size: 1.6rem;
    font-weight: 700; color: var(--gold);
}
.montante-status {
    padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}
.montante-status-active { background: rgba(0,212,170,0.15); color: var(--green); }
.montante-status-paused { background: rgba(240,180,41,0.15); color: var(--gold); }
.montante-status-won { background: rgba(0,212,170,0.2); color: var(--green); }
.montante-status-lost { background: rgba(255,71,87,0.15); color: var(--red); }

/* Progress Bar */
.montante-progress-bar-container { margin-bottom: 20px; }
.montante-progress-bar {
    height: 28px; background: #0f1829; border-radius: 14px;
    overflow: hidden; border: 1px solid var(--border); position: relative;
}
.montante-progress-bar-sm { height: 8px; border-radius: 4px; }
.montante-progress-fill {
    height: 100%; border-radius: 14px;
    background: linear-gradient(90deg, #f0b429, #00d4aa);
    transition: width 1s ease; display: flex; align-items: center; justify-content: center;
    min-width: 0;
}
.montante-progress-won { background: linear-gradient(90deg, #00d4aa, #00b894); }
.montante-progress-lost { background: linear-gradient(90deg, #ff4757, #c0392b); }
.montante-progress-text {
    color: #0a0f1e; font-weight: 700; font-size: 0.8rem;
    text-shadow: 0 0 4px rgba(255,255,255,0.3);
}
.montante-progress-labels {
    display: flex; justify-content: space-between;
    margin-top: 8px; font-size: 0.8rem; color: var(--text-secondary);
}

/* Stats Grid (6 items) */
.montante-stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px; margin-bottom: 16px;
}
.montante-stat {
    background: #0f1829; border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 12px; text-align: center;
}
.montante-stat-icon { font-size: 1.1rem; display: block; margin-bottom: 4px; }
.montante-stat-label {
    display: block; font-size: 0.7rem; color: var(--text-muted);
    margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px;
}
.montante-stat-value {
    font-family: 'Rajdhani', sans-serif; font-size: 1.15rem;
    font-weight: 700; color: var(--text-primary);
}
.montante-stat-value small {
    font-size: 0.7rem; color: var(--text-muted); font-weight: 400;
}

/* Conservative Mode Alert */
.montante-conservative-alert {
    display: flex; align-items: center; gap: 10px;
    background: rgba(0,212,170,0.08); border: 1px solid rgba(0,212,170,0.2);
    border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 16px;
    font-size: 0.85rem; color: var(--green); font-weight: 600;
}

/* Milestones */
.montante-milestones { margin-bottom: 16px; }
.montante-milestones h4 {
    font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 10px;
}
.montante-milestones-row {
    display: flex; flex-wrap: wrap; gap: 12px;
}
.montante-milestone {
    display: flex; align-items: center; gap: 6px;
    background: #0f1829; border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 8px 14px; font-size: 0.85rem;
    color: var(--text-secondary);
}
.montante-milestone-reached {
    border-color: rgba(0,212,170,0.3); background: rgba(0,212,170,0.05);
    color: var(--green);
}
.montante-milestone-icon { font-size: 0.9rem; }
.montante-milestone-pct { font-weight: 700; }
.montante-milestone-amount { font-size: 0.75rem; color: var(--text-muted); }

/* Actions */
.montante-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.montante-action-form { display: inline; }

/* Pause Alert */
.montante-pause-alert {
    display: flex; gap: 16px; align-items: flex-start;
    background: rgba(255,71,87,0.06); border: 1px solid rgba(255,71,87,0.2);
    border-radius: var(--radius); padding: 20px; margin-bottom: 20px;
}
.montante-pause-icon { font-size: 1.5rem; flex-shrink: 0; }
.montante-pause-content h4 {
    font-size: 1rem; color: var(--red); margin-bottom: 6px;
}
.montante-pause-content p {
    font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5;
}

/* Next Match / Recommendation Card */
.montante-next-match {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
}
.montante-next-match h3 {
    font-size: 1.1rem; color: var(--gold); margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
}
.montante-pending-step {
    background: var(--bg-card); border: 1px solid rgba(240,180,41,0.3);
    border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
}
.montante-pending-step h3 {
    font-size: 1.1rem; color: var(--gold); margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
}
.montante-match-card {
    background: #0f1829; border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 20px;
}

/* Badge Row */
.montante-match-badge-row {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-bottom: 14px;
}
.montante-match-type-badge {
    padding: 3px 10px; border-radius: 12px; font-size: 0.75rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.montante-badge-simple {
    background: rgba(0,212,170,0.15); color: var(--green);
}
.montante-badge-combo {
    background: rgba(100,120,240,0.15); color: #7b8cff;
}
.montante-match-confidence-badge {
    padding: 3px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600;
}
.montante-risk-low { background: rgba(0,212,170,0.1); color: var(--green); }
.montante-risk-moderate { background: rgba(240,180,41,0.1); color: var(--gold); }
.montante-risk-high { background: rgba(255,71,87,0.1); color: var(--red); }
.montante-combo-odds {
    font-size: 0.8rem; color: var(--gold); font-weight: 600;
}
.montante-combo-prob {
    font-size: 0.8rem; color: var(--text-secondary);
}

.montante-match-competition {
    font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 12px;
}
.montante-match-teams {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; margin-bottom: 16px;
}
.montante-combo-teams { margin-bottom: 8px; }
.montante-team {
    display: flex; align-items: center; gap: 8px; font-weight: 600;
    font-size: 1rem;
}
.montante-team-crest { width: 28px; height: 28px; object-fit: contain; }
.montante-match-vs {
    color: var(--text-muted); font-size: 0.85rem; font-weight: 700;
}
.montante-match-details {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
.montante-match-detail {
    display: flex; flex-direction: column; gap: 2px;
    padding: 8px 12px; background: rgba(26,37,64,0.5);
    border-radius: var(--radius-sm);
}
.montante-detail-label {
    font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase;
}
.montante-match-stake {
    background: rgba(240,180,41,0.08); border: 1px solid rgba(240,180,41,0.2);
}
.montante-stake-value { color: var(--gold); font-weight: 700; font-size: 1.1rem; }

/* Combo match sections */
.montante-combo-match { padding: 10px 0; }
.montante-combo-separator { border-top: 1px dashed rgba(42,58,96,0.5); padding-top: 12px; }
.montante-combo-details {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    font-size: 0.85rem; justify-content: center;
}
.montante-combo-summary {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin-top: 16px; padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* Validate Button */
.montante-validate-form { margin-top: 16px; text-align: center; }
.montante-validate-btn { width: 100%; font-size: 1rem; padding: 12px; }

/* No Match Today */
.montante-no-match {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px; text-align: center;
    margin-bottom: 20px; color: var(--text-secondary);
}
.montante-no-match-icon { font-size: 2rem; margin-bottom: 10px; }

/* Step Combo Tag */
.montante-step-combo-tag {
    padding: 2px 8px; border-radius: 10px; font-size: 0.7rem;
    font-weight: 600; background: rgba(100,120,240,0.15); color: #7b8cff;
}

/* Steps Timeline */
.montante-history {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
}
.montante-history h3 {
    font-size: 1.1rem; color: var(--text-primary); margin-bottom: 20px;
}
.montante-timeline { position: relative; padding-left: 30px; }
.montante-timeline::before {
    content: ''; position: absolute; left: 10px; top: 0; bottom: 0;
    width: 2px; background: var(--border);
}
.montante-timeline-item {
    position: relative; margin-bottom: 16px; padding-bottom: 16px;
    border-bottom: 1px solid rgba(42,58,96,0.3);
}
.montante-timeline-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.montante-timeline-dot {
    position: absolute; left: -24px; top: 4px;
    width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--border);
    background: var(--bg-card);
}
.montante-step-won .montante-timeline-dot { background: var(--green); border-color: var(--green); }
.montante-step-lost .montante-timeline-dot { background: var(--red); border-color: var(--red); }
.montante-step-pending .montante-timeline-dot { background: var(--gold); border-color: var(--gold); animation: montante-pulse 2s infinite; }
@keyframes montante-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(240,180,41,0.4); } 50% { box-shadow: 0 0 0 6px rgba(240,180,41,0); } }

.montante-timeline-content { }
.montante-step-header {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-bottom: 4px;
}
.montante-step-num { font-weight: 700; color: var(--text-primary); font-size: 0.9rem; }
.montante-step-date { color: var(--text-muted); font-size: 0.8rem; }
.montante-step-result {
    padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; font-weight: 600;
}
.montante-result-won { background: rgba(0,212,170,0.15); color: var(--green); }
.montante-result-lost { background: rgba(255,71,87,0.15); color: var(--red); }
.montante-result-pending { background: rgba(240,180,41,0.15); color: var(--gold); }
.montante-step-match { color: var(--text-primary); font-size: 0.9rem; margin-bottom: 4px; }
.montante-step-details {
    display: flex; gap: 12px; flex-wrap: wrap;
    font-size: 0.8rem; color: var(--text-secondary);
}

/* Create Montante */
.montante-create-section { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.montante-create-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
}
.montante-create-card h2 {
    font-size: 1.4rem; color: var(--gold); margin-bottom: 8px;
}
.montante-create-desc {
    color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 24px;
}
.montante-form .form-group { margin-bottom: 18px; }
.montante-select {
    background: #0f1829; border: 1px solid var(--border);
    color: var(--text-primary); padding: 10px 14px; border-radius: var(--radius-sm);
    font-size: 1rem; width: 100%; cursor: pointer;
}
.montante-select option { background: #0f1829; color: var(--text-primary); }

/* Odds Grid */
.montante-odds-grid {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.montante-odds-option { cursor: pointer; }
.montante-odds-option input { display: none; }
.montante-odds-label {
    display: inline-block; padding: 8px 16px;
    background: #0f1829; border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text-secondary);
    font-weight: 600; font-size: 0.95rem; transition: var(--transition);
}
.montante-odds-option input:checked + .montante-odds-label {
    background: rgba(240,180,41,0.15); border-color: var(--gold);
    color: var(--gold);
}
.montante-odds-label:hover {
    border-color: var(--border-light); color: var(--text-primary);
}

/* Style Grid (Progression & Selection) */
.montante-style-grid {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.montante-style-option { cursor: pointer; flex: 1; min-width: 150px; }
.montante-style-option input { display: none; }
.montante-style-card {
    padding: 12px 16px; background: #0f1829;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    transition: var(--transition);
}
.montante-style-option input:checked + .montante-style-card {
    background: rgba(240,180,41,0.08); border-color: var(--gold);
}
.montante-style-card:hover {
    border-color: var(--border-light);
}
.montante-style-name {
    display: block; font-weight: 700; font-size: 0.9rem;
    color: var(--text-primary); margin-bottom: 4px;
}
.montante-style-desc {
    display: block; font-size: 0.75rem; color: var(--text-muted);
    line-height: 1.4;
}

/* Estimate */
.montante-estimate {
    display: flex; align-items: center; gap: 12px;
    background: rgba(240,180,41,0.06); border: 1px solid rgba(240,180,41,0.15);
    border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px;
}
.montante-estimate-icon { font-size: 1.5rem; }
.montante-estimate-label {
    display: block; font-size: 0.75rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.montante-estimate-value {
    font-family: 'Rajdhani', sans-serif; font-size: 1.2rem;
    font-weight: 700; color: var(--gold);
}

.montante-submit { width: 100%; font-size: 1.1rem; padding: 14px; }

/* How To */
.montante-howto {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
}
.montante-howto h3 {
    font-size: 1.2rem; color: var(--text-primary); margin-bottom: 20px;
}
.montante-howto-steps { display: flex; flex-direction: column; gap: 16px; }
.montante-howto-step {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 14px; background: #0f1829; border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.montante-howto-num {
    flex-shrink: 0; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0f1e; border-radius: 50%; font-weight: 800; font-size: 0.9rem;
}
.montante-howto-step h4 { font-size: 0.95rem; color: var(--text-primary); margin-bottom: 2px; }
.montante-howto-step p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; }

/* Disclaimer */
.montante-disclaimer {
    margin-top: 20px; padding: 14px 16px;
    background: rgba(240,180,41,0.04); border: 1px solid rgba(240,180,41,0.1);
    border-radius: var(--radius-sm);
}
.montante-disclaimer p {
    font-size: 0.8rem; color: var(--text-muted); line-height: 1.5;
    font-style: italic;
}

/* Past Montantes */
.montante-past { margin-top: 28px; }
.montante-past h3 { font-size: 1.2rem; color: var(--text-primary); margin-bottom: 16px; }
.montante-past-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px;
}
.montante-past-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px;
}
.montante-past-won { border-color: rgba(0,212,170,0.3); }
.montante-past-lost { border-color: rgba(255,71,87,0.2); }
.montante-past-header {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
}
.montante-past-target { font-weight: 700; font-size: 1.1rem; color: var(--text-primary); }
.montante-past-progress { margin-bottom: 10px; }
.montante-past-balance {
    display: block; font-size: 0.8rem; color: var(--text-secondary); margin-top: 6px;
}
.montante-past-info {
    display: flex; flex-wrap: wrap; gap: 10px;
    font-size: 0.8rem; color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .montante-header { flex-direction: column; gap: 12px; text-align: center; padding: 18px; }
    .montante-title { font-size: 1.4rem; justify-content: center; }
    .montante-objective-header { flex-direction: column; gap: 10px; align-items: flex-start; }
    .montante-objective-amount { font-size: 1.3rem; }
    .montante-create-section { grid-template-columns: 1fr; }
    .montante-match-teams { flex-direction: column; gap: 8px; }
    .montante-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .montante-match-details { grid-template-columns: 1fr; }
    .montante-past-grid { grid-template-columns: 1fr; }
    .montante-milestones-row { flex-direction: column; }
    .montante-style-grid { flex-direction: column; }
    .montante-style-option { min-width: 100%; }
    .montante-combo-summary { grid-template-columns: 1fr; }
}

/* ============================================ */
/* FLASHSCORE-STYLE MATCH DETAIL               */
/* ============================================ */

/* Match Header */
.fs-match-header {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    margin-bottom: 0;
}
.fs-match-league {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}
.fs-league-name {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.fs-match-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.fs-match-score-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.fs-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.fs-team-crest {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.fs-team-crest-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 2px solid var(--border);
}
.fs-team-name {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}
.fs-score-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 120px;
    padding: 0 16px;
}
.fs-score {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.fs-score-live {
    color: #ff4757;
    animation: scorePulse 1.5s ease infinite;
}
@keyframes scorePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.fs-score-upcoming {
    color: var(--gold);
    font-size: 2.2rem;
}
.fs-status {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}
.fs-status-ft { background: var(--text-muted); color: #fff; }
.fs-status-live { background: #ff4757; color: #fff; animation: scorePulse 1.5s ease infinite; }
.fs-status-ns { background: rgba(240,180,41,0.2); color: var(--gold); }

.fs-team-positions {
    display: flex;
    justify-content: space-between;
    padding: 12px 10%;
    margin-top: 12px;
}
.fs-pos-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    padding: 2px 10px;
    border-radius: 4px;
}

/* Tab Navigation */
.fs-tabs {
    display: flex;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.fs-tabs::-webkit-scrollbar { display: none; }
.fs-tab {
    flex: 1;
    min-width: max-content;
    padding: 14px 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.fs-tab:hover { color: var(--text-primary); background: rgba(255,255,255,0.03); }
.fs-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Tab Content */
.fs-tab-content {
    display: none;
}
.fs-tab-content.active {
    display: block;
}

/* Section (inside tabs) */
.fs-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: none;
    padding: 24px;
}
.fs-section + .fs-section {
    border-top: 1px solid var(--border);
}
.fs-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Probability Bar (horizontal) */
.fs-prob-bar-container { margin-bottom: 20px; }
.fs-prob-bar {
    display: flex;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}
.fs-prob-seg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    transition: width 0.5s ease;
}
.fs-prob-home { background: #3b82f6; }
.fs-prob-draw { background: #64748b; }
.fs-prob-away { background: #f59e0b; }
.fs-prob-winner { filter: brightness(1.3); box-shadow: inset 0 0 20px rgba(255,255,255,0.2); }
.fs-prob-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Confidence */
.fs-confidence {
    text-align: center;
    margin-top: 12px;
}

/* Main Prediction Box */
.fs-prediction-main {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0,212,170,0.1), rgba(240,180,41,0.1));
    border: 1px solid rgba(0,212,170,0.3);
    border-radius: var(--radius-sm);
}
.fs-pred-icon { font-size: 2rem; }
.fs-pred-info { display: flex; flex-direction: column; gap: 4px; }
.fs-pred-bet {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green);
}
.fs-pred-odds { font-size: 0.85rem; color: var(--text-muted); }

/* Markets Grid */
.fs-markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.fs-market-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}
.fs-market-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 10px;
}
.fs-market-bar-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.fs-market-bar-bg {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}
.fs-market-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}
.fs-fill-green { background: var(--green); }
.fs-fill-default { background: var(--text-muted); }
.fs-market-val {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 36px;
    text-align: right;
}
.fs-market-verdict {
    font-weight: 700;
    color: var(--gold);
    font-size: 0.95rem;
}
.fs-market-verdict-lg {
    font-size: 1.3rem;
    font-family: 'Rajdhani', sans-serif;
    display: block;
    margin-top: 8px;
}

/* Exact Scores */
.fs-exact-scores {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.fs-exact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.fs-exact-rank {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
}
.fs-exact-val {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

/* Expert Factors */
.fs-expert-text {
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
}
.fs-factors {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fs-factor {
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--gold);
}
.fs-factor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.fs-factor-name {
    font-weight: 700;
    font-size: 0.9rem;
}
.fs-factor-weight {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: var(--gold);
    font-size: 0.9rem;
}
.fs-factor-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}
.fs-factor-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
}
.fs-factor-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== STATISTICS TAB (FlashScore bars) ===== */
.fs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 16px;
}
.fs-form-team { text-align: center; }
.fs-form-name {
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.fs-form-badges {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}
.fs-form-badge {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: #fff;
}
.fs-form-w { background: var(--green); }
.fs-form-d { background: var(--gold); }
.fs-form-l { background: #ff4757; }
.fs-form-mini {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FlashScore-style horizontal stat bars */
.fs-stat-row {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.fs-stat-row:last-child { border-bottom: none; }
.fs-stat-val {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 42px;
    text-align: center;
    color: var(--text-secondary);
}
.fs-stat-left { text-align: right; }
.fs-stat-right { text-align: left; }
.fs-stat-better { color: var(--green); }
.fs-stat-center {
    flex: 1;
    padding: 0 12px;
}
.fs-stat-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.fs-stat-bars {
    display: flex;
    gap: 2px;
    height: 8px;
}
.fs-stat-bar-left {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    background: rgba(255,255,255,0.06);
    border-radius: 4px 0 0 4px;
    overflow: hidden;
}
.fs-stat-bar-right {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border-radius: 0 4px 4px 0;
    overflow: hidden;
}
.fs-stat-bar-fill-left {
    height: 100%;
    border-radius: 4px 0 0 4px;
    transition: width 0.5s ease;
    margin-left: auto;
}
.fs-stat-bar-fill-right {
    height: 100%;
    border-radius: 0 4px 4px 0;
    transition: width 0.5s ease;
}
.fs-bar-green { background: #00d4aa; }
.fs-bar-gold { background: #f0b429; }
.fs-bar-muted { background: rgba(255,255,255,0.15); }

/* ===== LINEUPS TAB ===== */
.fs-lineups-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.fs-lineup-team {}
.fs-lineup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
}
.fs-lineup-name {
    font-weight: 700;
    font-size: 0.95rem;
}
.fs-lineup-formation {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: var(--gold);
    font-size: 0.9rem;
    background: rgba(240,180,41,0.15);
    padding: 2px 8px;
    border-radius: 4px;
}
.fs-lineup-section { margin-bottom: 16px; }
.fs-lineup-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.fs-player {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.85rem;
}
.fs-player:hover { background: rgba(255,255,255,0.03); }
.fs-player-sub { opacity: 0.7; }
.fs-player-num {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    color: var(--gold);
}
.fs-player-name { flex: 1; }
.fs-player-pos {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255,255,255,0.06);
    padding: 1px 6px;
    border-radius: 3px;
}

/* ===== H2H TAB ===== */
.fs-h2h-summary {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 24px;
    padding: 20px 0;
}
.fs-h2h-team {
    text-align: center;
}
.fs-h2h-count {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.fs-h2h-draws .fs-h2h-count { color: var(--text-muted); }
.fs-h2h-name {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.fs-h2h-list {
    display: flex;
    flex-direction: column;
}
.fs-h2h-match {
    display: grid;
    grid-template-columns: 70px 1fr 60px 1fr;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.85rem;
}
.fs-h2h-match:last-child { border-bottom: none; }
.fs-h2h-date { color: var(--text-muted); font-size: 0.8rem; }
.fs-h2h-home { text-align: right; }
.fs-h2h-score {
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gold);
}
.fs-h2h-away { text-align: left; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .fs-match-header { padding: 16px 12px; }
    .fs-team-crest, .fs-team-crest-placeholder { width: 48px; height: 48px; }
    .fs-team-name { font-size: 0.9rem; }
    .fs-score { font-size: 2.2rem; }
    .fs-score-center { min-width: 80px; padding: 0 8px; }
    .fs-tab { padding: 10px 12px; font-size: 0.7rem; }
    .fs-section { padding: 16px 12px; }
    .fs-markets-grid { grid-template-columns: 1fr; }
    .fs-exact-scores { flex-wrap: wrap; }
    .fs-form-row { grid-template-columns: 1fr; gap: 16px; }
    .fs-lineups-grid { grid-template-columns: 1fr; }
    .fs-h2h-summary { gap: 24px; }
    .fs-h2h-count { font-size: 2rem; }
    .fs-h2h-match { grid-template-columns: 55px 1fr 50px 1fr; font-size: 0.8rem; }
    .fs-stat-val { font-size: 1rem; min-width: 32px; }
    .fs-team-positions { padding: 8px 4%; }
    .fs-prediction-main { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .fs-team-crest, .fs-team-crest-placeholder { width: 40px; height: 40px; }
    .fs-team-name { font-size: 0.8rem; }
    .fs-score { font-size: 1.8rem; }
    .fs-score-center { min-width: 60px; }
    .fs-prob-seg { font-size: 0.75rem; }
    .fs-tab { padding: 8px 8px; font-size: 0.65rem; letter-spacing: 0.3px; }
}

/* ===== EVENTS TIMELINE ===== */
.fs-events-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}
.fs-events-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}
.fs-event {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.fs-event:last-child { border-bottom: none; }

/* Home events align left, away events align right */
.fs-ev-home {
    flex-direction: row;
    padding-right: 52%;
}
.fs-ev-away {
    flex-direction: row-reverse;
    padding-left: 52%;
    text-align: right;
}
.fs-ev-away .fs-ev-info { align-items: flex-end; }

.fs-ev-time {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    min-width: 40px;
    text-align: center;
}
.fs-ev-icon {
    font-size: 1rem;
    min-width: 28px;
    text-align: center;
    z-index: 1;
}
.fs-ev-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
}
.fs-ev-player {
    font-weight: 700;
    font-size: 0.85rem;
}
.fs-ev-assist {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.fs-ev-detail {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Event type colors */
.fs-ev-goal .fs-ev-player { color: var(--green); }
.fs-ev-goal .fs-ev-time { color: var(--green); }
.fs-ev-owngoal .fs-ev-player { color: #ff4757; }
.fs-ev-yellow .fs-ev-icon { color: #ffd32a; }
.fs-ev-red .fs-ev-icon { color: #ff4757; }
.fs-ev-red .fs-ev-player { color: #ff4757; }
.fs-ev-sub .fs-ev-player { color: var(--text-secondary); }
.fs-ev-sub .fs-ev-assist { color: #ff4757; }
.fs-ev-var .fs-ev-icon { color: #3b82f6; }

@media (max-width: 768px) {
    .fs-events-timeline::before { left: 32px; }
    .fs-ev-home, .fs-ev-away {
        flex-direction: row;
        padding-left: 0;
        padding-right: 0;
        text-align: left;
    }
    .fs-ev-away .fs-ev-info { align-items: flex-start; }
    .fs-ev-time { min-width: 32px; font-size: 0.8rem; }
}

/* Live Scores Widget */
.live-widget {
    margin-bottom: 32px;
}
.live-widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.live-widget-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
}
.live-widget-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    padding-bottom: 6px;
}
.live-widget-grid::-webkit-scrollbar { height: 4px; }
.live-widget-grid::-webkit-scrollbar-track { background: transparent; }
.live-widget-grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.live-match-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    min-width: 180px;
    max-width: 220px;
    flex-shrink: 0;
}
@media (max-width: 400px) { .live-match-card { width: 100%; } }
.live-match-active { border-left: 3px solid #ff4757; }
.live-match-ft { border-left: 3px solid var(--text-muted); opacity: 0.85; }
.live-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.live-match-comp {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}
.live-badge-sm {
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    background: #ff4757;
    padding: 1px 6px;
    border-radius: 3px;
    animation: scorePulse 1.5s ease infinite;
}
.ft-badge-sm {
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    background: var(--text-muted);
    padding: 1px 6px;
    border-radius: 3px;
}
.live-match-teams {
    display: flex;
    align-items: center;
    gap: 8px;
}
.live-team {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.live-team:last-child { flex-direction: row-reverse; }
.live-crest { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.live-team-name {
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.live-score-box {
    min-width: 44px;
    text-align: center;
}
.live-score {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}
.live-score-pulse { color: #ff4757; animation: scorePulse 1.5s ease infinite; }
.live-match-result {
    text-align: center;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 480px) {
    .live-match-card { padding: 6px 8px; }
    .live-crest { width: 16px; height: 16px; }
    .live-team-name { font-size: 0.65rem; }
    .live-score { font-size: 0.95rem; }
    .live-match-comp { font-size: 0.55rem; max-width: 100px; }
}

/* API-Football Advice */
.fs-api-advice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(59,130,246,0.05));
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: var(--radius-sm);
}
.fs-api-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: #3b82f6;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}
.fs-api-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fs-api-text {
    font-size: 0.9rem;
    font-weight: 600;
}
.fs-api-probs {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
}

/* Context Factors (fatigue, injuries) */
.fs-context-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}
.fs-context-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.fs-context-icon {
    font-size: 1.5rem;
    min-width: 32px;
    text-align: center;
}
.fs-context-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.fs-context-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}
.fs-context-val {
    font-size: 0.85rem;
}
.fs-context-warn {
    font-size: 0.8rem;
    color: #ff4757;
    font-weight: 600;
}

/* Top Scorers page */
.rank-gold { color: #ffd700; }
.rank-silver { color: #c0c0c0; }
.rank-bronze { color: #cd7f32; }
.scorer-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.team-logo-sm {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 4px;
}

/* Standings page */
.league-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.league-selector a {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}
.league-selector a:hover { border-color: var(--gold); color: var(--gold); }
.league-selector a.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    font-weight: 700;
}
.standing-zone-top { border-left: 3px solid var(--green) !important; }
.standing-zone-mid { border-left: 3px solid #3b82f6 !important; }
.standing-zone-bot { border-left: 3px solid #ff4757 !important; }

@media (max-width: 768px) {
    .fs-api-advice { flex-direction: column; text-align: center; }
    .fs-context-grid { grid-template-columns: 1fr; }
    .league-selector { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
}

/* Sure Bets Real Odds */
.sure-bet-real-odds {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.sure-odds-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 0.8rem;
}
.sure-odds-bm {
    color: var(--text-muted);
    font-size: 0.75rem;
    min-width: 80px;
}
.sure-odds-vals {
    display: flex;
    gap: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}
.sure-odds-vals span { min-width: 50px; text-align: center; }

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Team profile links */
.team-link { color: inherit; text-decoration: none; }
.team-link:hover { color: var(--gold); text-decoration: underline; }
