/* ═══════════════════════════════════════════════════════
   ElitePronos.fr — Production CSS
   Police: Sora + Fira Code
   Theme: Light default, dark toggle
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;500;600;700&display=swap');

:root {
  --bg: #f3f4f9; --bg2: #ffffff; --bg3: #ffffff; --bg4: #eef0f5;
  --brd: rgba(0,0,0,.06); --brdH: rgba(0,0,0,.12);
  --t1: #181a30; --t2: #696c85; --t3: #9a9db5;
  --acc: #6d5bd0; --accL: #5a48c0; --accG: rgba(109,91,208,.1);
  --ok: #1aad72; --okBg: rgba(26,173,114,.07);
  --no: #d4384f; --noBg: rgba(212,56,79,.07);
  --warn: #c88a10; --warnBg: rgba(200,138,16,.07);
  --info: #1898c0; --infoBg: rgba(24,152,192,.07);
  --gold: #c88a10; --goldBg: rgba(200,138,16,.07);
  --live: #e85454; --liveBg: rgba(232,84,84,.07);
  --g1: linear-gradient(135deg,#6d5bd0,#b06af0);
  --glass: rgba(255,255,255,.94);
  --shadow: rgba(0,0,0,.08);
}

[data-theme="dark"] {
  --bg: #060812; --bg2: #0c0e1c; --bg3: #13162c; --bg4: #1b1f3a;
  --brd: rgba(255,255,255,.05); --brdH: rgba(255,255,255,.1);
  --t1: #eef0f8; --t2: #8e91a8; --t3: #585b72;
  --acc: #6d5bd0; --accL: #8f7ff0; --accG: rgba(109,91,208,.18);
  --ok: #22c68e; --okBg: rgba(34,198,142,.1);
  --no: #e85454; --noBg: rgba(232,84,84,.1);
  --warn: #e8a020; --warnBg: rgba(232,160,32,.1);
  --info: #3eb8d4; --infoBg: rgba(62,184,212,.1);
  --gold: #eab830; --goldBg: rgba(234,184,48,.1);
  --live: #e85454; --liveBg: rgba(232,84,84,.12);
  --glass: rgba(12,14,28,.92);
  --shadow: rgba(0,0,0,.4);
}

/* ─── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Sora', sans-serif; background: var(--bg); color: var(--t1); transition: background .3s, color .3s; -webkit-font-smoothing: antialiased; }
input, select, textarea, button { font-family: 'Sora', sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(109,91,208,.25); border-radius: 2px; }

/* ─── ANIMATIONS ─────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.4); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes toastIn { 0% { transform: translateX(120%); } 8% { transform: translateX(0); } 85% { transform: translateX(0); } 100% { transform: translateX(120%); } }

.fade-in { animation: fadeIn .4s ease both; }
.d1 { animation-delay: .04s; } .d2 { animation-delay: .08s; } .d3 { animation-delay: .12s; }
.d4 { animation-delay: .16s; } .d5 { animation-delay: .2s; } .d6 { animation-delay: .24s; }
.pulse { animation: pulse 1.5s infinite; }
.float { animation: float 3s ease-in-out infinite; }

/* ─── LAYOUT ─────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.mono { font-family: 'Fira Code', monospace; }
.tg { background: var(--g1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ─── TYPOGRAPHY ─────────────────────────────────── */
h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 800; line-height: 1.08; letter-spacing: -1px; }
h2 { font-size: clamp(20px, 3.5vw, 32px); font-weight: 700; line-height: 1.15; }
h3 { font-size: 18px; font-weight: 700; }

/* ─── CARD ───────────────────────────────────────── */
.card { background: var(--bg2); border: 1px solid var(--brd); border-radius: 14px; padding: 22px; transition: all .25s; }
.card:hover { border-color: var(--brdH); transform: translateY(-2px); box-shadow: 0 14px 44px var(--shadow); }
.card-flat { background: var(--bg2); border: 1px solid var(--brd); border-radius: 14px; padding: 22px; }

/* ─── BUTTONS ────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 20px; border-radius: 10px; border: none; cursor: pointer; font-weight: 600; font-size: 13px; transition: all .2s; font-family: 'Sora', sans-serif; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--g1); color: #fff; box-shadow: 0 4px 20px var(--accG); }
.btn-secondary { background: var(--bg3); color: var(--t1); border: 1px solid var(--brd); }
.btn-live { background: linear-gradient(135deg, #e85454, #ff8a65); color: #fff; }
.btn-vip { background: linear-gradient(135deg, var(--gold), var(--no)); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 11px; border-radius: 8px; }
.btn-filter { padding: 6px 12px; font-size: 11px; border-radius: 8px; background: var(--bg3); color: var(--t2); border: 1px solid var(--brd); }
.btn-filter.active { background: var(--accG); color: var(--accL); border-color: rgba(109,91,208,.2); }

/* ─── BADGE ──────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px; border-radius: 7px; font-size: 10px; font-weight: 600; }
.badge-ok { background: var(--okBg); color: var(--ok); }
.badge-no { background: var(--noBg); color: var(--no); }
.badge-warn { background: var(--warnBg); color: var(--warn); }
.badge-info { background: var(--infoBg); color: var(--info); }
.badge-live { background: var(--liveBg); color: var(--live); border: 1px solid rgba(232,84,84,.15); }
.badge-premium { background: rgba(143,127,240,.12); color: #8f7ff0; border: 1px solid rgba(143,127,240,.15); }
.badge-vip { background: var(--goldBg); color: var(--gold); border: 1px solid rgba(200,138,16,.15); }

/* ─── INPUTS ─────────────────────────────────────── */
.input { width: 100%; padding: 10px 13px; border-radius: 10px; border: 1px solid var(--brd); background: var(--bg3); color: var(--t1); font-size: 13px; outline: none; transition: border .2s; }
.input:focus { border-color: var(--acc); }
.label { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 700; color: var(--t3); text-transform: uppercase; letter-spacing: .7px; }

/* ─── NAVBAR ─────────────────────────────────────── */
.navbar { position: sticky; top: 0; z-index: 1000; background: var(--glass); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border-bottom: 1px solid var(--brd); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.nav-logo { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.nav-logo-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--g1); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.burger-btn { padding: 6px; background: transparent; color: var(--t1); font-size: 22px; border: none; width: 40px; height: 40px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.theme-btn { padding: 6px; background: transparent; color: var(--t2); font-size: 15px; width: 34px; height: 34px; border-radius: 8px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* Mobile menu */
.mobile-menu { position: absolute; top: 58px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--brd); padding: 12px 20px; animation: slideDown .2s ease; max-height: 80vh; overflow-y: auto; box-shadow: 0 20px 60px var(--shadow); display: none; }
.mobile-menu.open { display: block; }
.mobile-menu-link { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 10px; border: none; background: transparent; color: var(--t1); font-size: 15px; font-weight: 500; cursor: pointer; font-family: 'Sora', sans-serif; margin-bottom: 2px; transition: all .15s; }
.mobile-menu-link.active { background: var(--accG); color: var(--accL); font-weight: 600; }
.mobile-menu-tg { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 10px; background: linear-gradient(135deg, #0088cc, #00aaee); color: #fff; font-weight: 600; font-size: 14px; margin-top: 8px; border-top: 1px solid var(--brd); padding-top: 20px; }

/* ─── PRONO CARD ─────────────────────────────────── */
.prono-card { position: relative; overflow: hidden; }
.prono-card .accent-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; opacity: .55; }
.prono-card.live-card { border: 1px solid rgba(232,84,84,.3); }
.prono-card.live-card .accent-bar { height: 4px; background: #e85454 !important; opacity: .9; animation: pulse 2s infinite; }
.prono-card .live-indicator { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 4px; }
.prono-card .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #e85454; animation: pulse 1.2s infinite; }
.prono-card .live-text { font-size: 10px; font-weight: 800; color: #e85454; letter-spacing: 1.5px; text-transform: uppercase; }

.prono-bet { background: var(--bg3); border-radius: 9px; padding: 8px 12px; margin-bottom: 10px; border: 1px solid var(--brd); position: relative; overflow: hidden; }
.prono-bet.live-bet { background: rgba(232,84,84,.05); border-color: rgba(232,84,84,.15); }
.prono-bet-label { font-size: 9px; color: var(--t3); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.prono-bet-label.live-label { color: #e85454; }
.prono-bet-text { font-size: 12px; font-weight: 600; color: var(--t1); }
.prono-bet-text.blurred { filter: blur(6px); user-select: none; pointer-events: none; }

.prono-lock-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.7); backdrop-filter: blur(2px); border-radius: 9px; }
[data-theme="dark"] .prono-lock-overlay { background: rgba(12,14,28,.7); }

.live-score { font-family: 'Fira Code', monospace; font-size: 22px; font-weight: 800; color: #e85454; letter-spacing: 1px; }
.live-minute { font-family: 'Fira Code', monospace; background: rgba(232,84,84,.1); color: #e85454; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 7px; border: 1px solid rgba(232,84,84,.2); animation: pulse 2s infinite; }

/* ─── STAT CARD ──────────────────────────────────── */
.stat-card { text-align: center; padding: 18px 10px; overflow: hidden; }
.stat-value { font-family: 'Fira Code', monospace; font-size: clamp(18px, 3.5vw, 26px); font-weight: 700; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ─── GRID LAYOUTS ───────────────────────────────── */
.grid-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.grid-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; align-items: start; }
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.grid-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }

/* ─── COMPARISON TABLE ───────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.compare-table th { text-align: center; padding: 12px 8px; font-weight: 700; font-size: 11px; }
.compare-table th:first-child { text-align: left; padding-left: 14px; font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: var(--t3); min-width: 140px; }
.compare-table td { text-align: center; padding: 11px 8px; font-size: 12px; border-bottom: 1px solid var(--brd); }
.compare-table td:first-child { text-align: left; padding-left: 14px; font-weight: 500; color: var(--t1); }
.compare-table tr:nth-child(even) { background: rgba(0,0,0,.02); }
[data-theme="dark"] .compare-table tr:nth-child(even) { background: rgba(255,255,255,.02); }

/* ─── FAQ ────────────────────────────────────────── */
.faq-item { cursor: pointer; padding: 0; overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; }
.faq-question span:first-child { font-weight: 600; font-size: 13px; }
.faq-arrow { color: var(--t3); font-size: 16px; transition: transform .2s; }
.faq-arrow.open { transform: rotate(180deg); }
.faq-answer { padding: 0 18px 14px; animation: slideDown .2s ease; }
.faq-answer p { font-size: 13px; color: var(--t2); line-height: 1.65; }

/* ─── FOOTER ─────────────────────────────────────── */
.footer { background: var(--bg2); border-top: 1px solid var(--brd); padding: 36px 0 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-bottom: 28px; }
.footer-title { font-weight: 700; font-size: 10px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; color: var(--t3); }
.footer-link { font-size: 12px; color: var(--t3); cursor: pointer; padding: 2px 0; display: block; }
.footer-link:hover { color: var(--accL); }
.footer-bottom { border-top: 1px solid var(--brd); padding-top: 12px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 10px; color: var(--t3); }

/* ─── TELEGRAM FLOAT ─────────────────────────────── */
.tg-float { position: fixed; bottom: 18px; right: 18px; z-index: 999; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #0088cc, #00aaee); color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(0,136,204,.3); animation: float 3s ease-in-out infinite; }

/* ─── TOAST ──────────────────────────────────────── */
.toast-container { position: fixed; top: 14px; right: 14px; z-index: 10000; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.toast { animation: toastIn 3s ease both; padding: 11px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; box-shadow: 0 6px 24px rgba(0,0,0,.25); pointer-events: auto; color: #fff; }

/* ─── HERO ───────────────────────────────────────── */
.hero { position: relative; padding: 80px 0 60px; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% -15%, var(--accG) 0%, transparent 50%); pointer-events: none; }
.hero-center { position: relative; z-index: 1; text-align: center; max-width: 780px; margin: 0 auto; }

/* ─── ADMIN ──────────────────────────────────────── */
.admin-tab { padding: 10px 18px; font-size: 13px; border-radius: 10px; position: relative; }
.admin-tab.active { background: var(--accG); color: var(--accL); border-color: rgba(109,91,208,.25); }
.admin-sub-card { position: relative; }
.admin-sub-card.expiring { border-left: 3px solid var(--warn); }
.live-params { padding: 14px; border-radius: 10px; background: rgba(232,84,84,.06); border: 1px solid rgba(232,84,84,.12); margin-bottom: 12px; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
  .grid-cards { grid-template-columns: 1fr; }
  .grid-plans { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
  .section { padding: 48px 0; }
  h1 { font-size: clamp(24px, 6vw, 36px); }
}

@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .grid-stats { grid-template-columns: repeat(2, 1fr); }
}
