/* =========================================================
   GameCountdown — shared theme
   Signature: LED scoreboard countdown digits + per-game
   neon accent colors drawn from each title's own identity,
   over a near-black arcade shell with a faint scanline wash.
   ========================================================= */

:root{
  --bg:#0A0B12;
  --surface:#12141F;
  --surface-2:#191C2B;
  --text:#ECEDF7;
  --muted:#8B8FA8;
  --border: rgba(255,255,255,0.09);
  --radius:16px;

  /* default accent (overridden per game via [data-game]) */
  --accent:#00E5FF;
  --accent-2:#FF2E9A;
  --glow: 0 0 18px rgba(0,229,255,0.55);
}

/* per-game accent themes */
[data-game="gta6"]{ --accent:#FF3EC9; --accent-2:#7B2FF7; --glow:0 0 18px rgba(255,62,201,0.55); }
[data-game="wolverine"]{ --accent:#FFB800; --accent-2:#E8291C; --glow:0 0 18px rgba(255,184,0,0.5); }
[data-game="dawnwalker"]{ --accent:#E0263F; --accent-2:#4B1942; --glow:0 0 18px rgba(224,38,63,0.5); }
[data-game="fable"]{ --accent:#F4C542; --accent-2:#2E7D5B; --glow:0 0 18px rgba(244,197,66,0.5); }

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(0,229,255,0.10), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(255,46,154,0.08), transparent 55%),
    var(--bg);
  color:var(--text);
  font-family:'Rajdhani',sans-serif;
  font-size:17px;
  line-height:1.6;
}
[dir="rtl"] body{ font-family:'Cairo','Rajdhani',sans-serif; }

h1,h2,h3,.display{
  font-family:'Orbitron','Cairo',sans-serif;
  font-weight:800;
  letter-spacing:.01em;
  line-height:1.2;
  margin:0 0 .45em;
  text-transform:uppercase;
}

a{ color:inherit; }
img{max-width:100%; display:block;}
button, input, select, textarea{ font-family:inherit; }

.wrap{ max-width:1120px; margin:0 auto; padding:0 20px; }

/* faint scanline wash for arcade feel */
.scanlines{
  position:relative;
}
.scanlines::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:repeating-linear-gradient(rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 3px);
  mix-blend-mode:overlay;
}

/* ---------- Header ---------- */
.site-header{
  border-bottom:1px solid var(--border);
  background:rgba(10,11,18,0.85);
  backdrop-filter:blur(8px);
  position:sticky; top:0; z-index:50;
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; padding-bottom:14px; gap:16px;
}
.logo{
  display:flex; align-items:center; gap:10px;
  font-family:'Orbitron',sans-serif; font-weight:800; font-size:1.3rem;
  text-decoration:none; letter-spacing:.03em;
}
.logo .mark{
  width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius:8px; font-size:1rem; box-shadow:0 0 16px rgba(0,229,255,0.35);
}
.header-actions{ display:flex; align-items:center; gap:10px; }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--border); border-radius:10px;
  background:var(--surface); color:var(--text);
  padding:9px 18px; font-weight:700; cursor:pointer;
  text-decoration:none; font-size:.92rem;
  transition:border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
.btn:hover{ border-color:var(--accent); box-shadow:0 0 14px rgba(0,229,255,0.25); transform:translateY(-1px); }
.btn-primary{
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#08090F; border:none; font-weight:800;
}
.btn-primary:hover{ box-shadow:var(--glow); }

.hamburger{
  display:none; flex-direction:column; gap:5px;
  background:var(--surface); border:1px solid var(--border); border-radius:10px;
  padding:10px 12px; cursor:pointer;
}
.hamburger span{ width:20px; height:2px; background:var(--text); display:block; }
.mobile-nav{ display:none; flex-direction:column; gap:10px; border-top:1px solid var(--border); background:var(--surface); padding:16px 20px; }
.mobile-nav.open{ display:flex; }
.mobile-nav a, .mobile-nav button{ width:100%; justify-content:center; }
@media (max-width:640px){
  .header-actions{ display:none; }
  .hamburger{ display:flex; }
}

/* ---------- Hero / countdown ---------- */
.hero{ padding:56px 0 30px; text-align:center; }
.hero .eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--border); border-radius:999px; padding:6px 16px;
  font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--accent); margin-bottom:16px;
}
.hero .eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 8px var(--accent); }
.hero h1{ font-size:clamp(2rem,6vw,3.6rem); }
.hero h1 .accent{ color:var(--accent); text-shadow:var(--glow); }
.hero p.lead{ max-width:640px; margin:10px auto 0; font-size:1.15rem; color:var(--muted); font-weight:500; }

/* LED scoreboard countdown */
.countdown{
  display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin:34px 0 10px;
}
.countdown .unit{
  background:var(--surface); border:1px solid var(--border); border-radius:14px;
  padding:18px 14px; min-width:88px; text-align:center; position:relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
.countdown .unit::after{
  content:""; position:absolute; inset:0; border-radius:14px;
  box-shadow: var(--glow); opacity:.35; pointer-events:none;
}
.countdown .num{
  font-family:'Orbitron',sans-serif; font-weight:800; font-size:2.4rem;
  color:var(--accent); text-shadow:var(--glow); font-variant-numeric:tabular-nums;
}
.countdown .label{
  font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-top:4px;
}
@media (max-width:520px){
  .countdown .unit{ min-width:70px; padding:14px 8px; }
  .countdown .num{ font-size:1.7rem; }
}

.release-strip{
  display:flex; justify-content:center; gap:24px; flex-wrap:wrap;
  margin:22px 0; color:var(--muted); font-weight:600; font-size:.95rem;
}
.release-strip strong{ color:var(--text); }

/* ---------- Sections / panels ---------- */
.panel{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:26px; margin:26px 0;
}
.panel h2{ font-size:1.3rem; }
.section-lead{ text-align:center; max-width:640px; margin:0 auto 20px; color:var(--muted); }
.center{ text-align:center; }

/* game cards grid (homepage) */
.grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; margin-top:18px; }
.game-card{
  display:block; text-decoration:none; color:var(--text);
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:0; overflow:hidden; position:relative;
  transition:transform .15s ease, border-color .15s ease;
}
.game-card:hover{ transform:translateY(-4px); border-color:var(--accent); }
.game-card .art{
  height:120px; display:flex; align-items:center; justify-content:center; font-size:2.6rem;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
}
.game-card .body{ padding:18px; }
.game-card h3{ font-size:1.1rem; margin-bottom:6px; }
.game-card .mini-countdown{ font-family:'Orbitron',sans-serif; font-weight:800; color:var(--accent); font-size:1.3rem; margin-top:8px; }
.game-card .plat{ font-size:.78rem; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }

/* FAQ */
.faq-item{ border-bottom:1px solid var(--border); padding:16px 0; }
.faq-item:last-child{ border-bottom:none; }
.faq-item h3{ font-size:1rem; text-transform:none; letter-spacing:0; color:var(--accent); margin-bottom:6px; }
.faq-item p{ color:var(--muted); margin:0; }

/* notify form */
.notify-form{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:14px; }
.notify-form input{
  flex:1; min-width:220px; background:var(--surface-2); border:1px solid var(--border); border-radius:10px;
  padding:12px 16px; color:var(--text); font-size:1rem;
}
.notify-form input:focus{ outline:2px solid var(--accent); }

/* share buttons */
.share-row{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:14px; }

/* ---------- Ad slots ---------- */
.ad-slot{
  border:2px dashed rgba(255,255,255,0.18); border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  color:#5D6180; font-weight:800; letter-spacing:.06em; text-transform:uppercase; font-size:.82rem;
  background:repeating-linear-gradient(45deg, var(--surface), var(--surface) 10px, var(--surface-2) 10px, var(--surface-2) 20px);
  margin:26px auto;
}
.ad-slot::before{ content:"Advertise Here"; }
.ad-slot.ad-banner{ width:100%; max-width:970px; height:90px; }
.ad-slot.ad-square{ width:100%; max-width:300px; height:250px; }
.ad-slot.ad-leaderboard{ width:100%; max-width:728px; height:90px; }
.ad-slot.ad-skyscraper{ width:100%; max-width:160px; height:600px; margin:0 auto; }
@media (max-width:600px){
  .ad-slot.ad-banner, .ad-slot.ad-leaderboard{ height:100px; max-width:100%; }
}

/* ---------- Footer ---------- */
.site-footer{
  border-top:1px solid var(--border); background:#07080D; color:var(--muted);
  margin-top:60px; padding:34px 0;
}
.site-footer .wrap{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px; }
.site-footer a{ color:var(--muted); text-decoration:none; }
.site-footer a:hover{ color:var(--accent); }
.foot-links{ display:flex; gap:16px; flex-wrap:wrap; font-size:.9rem; }
.foot-note{ font-size:.8rem; opacity:.6; width:100%; margin-top:14px; }

/* ---------- i18n helper ---------- */
html[lang="ar"] [data-en-only]{ display:none !important; }
html:not([lang="ar"]) [data-ar-only]{ display:none !important; }

/* ---------- print (not really needed here but harmless) ---------- */
