
:root{
  --bg-deep:#0b1020;
  --bg-aurora1:#101b3f;
  --bg-aurora2:#1d2b57;
  --cyan:#00e4ff;
  --gold:#ffd86b;
  --muted:#a9b3c7;
  --card:rgba(255,255,255,.06);
  --border:rgba(255,255,255,.12);
  --text:#eaf5ff;
  --accent:#7afcff;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%;color:var(--text);background:radial-gradient(1200px 600px at 20% 10%,rgba(0,228,255,.08),transparent),linear-gradient(160deg,var(--bg-deep),var(--bg-aurora1) 40%,var(--bg-aurora2));font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial}
a{color:var(--cyan);text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:24px}
header{display:flex;align-items:center;justify-content:space-between;padding:12px 0;position:sticky;top:0;background:linear-gradient(180deg,rgba(11,16,32,.95),rgba(11,16,32,.6),transparent);backdrop-filter:blur(6px);z-index:20}
nav a{margin:0 10px;font-weight:600;opacity:.9}
.lang{display:flex;gap:8px;align-items:center}
select{background:var(--card);color:var(--text);border:1px solid var(--border);padding:6px 10px;border-radius:10px}

.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center;padding:40px 0 24px}
.h1{font-size:48px;line-height:1.05;font-weight:800;color:var(--cyan);letter-spacing:.2px}
.tag{font-size:20px;color:#bfefff;opacity:.95;animation:pulse 3.5s ease-in-out infinite}
@keyframes pulse{0%,100%{text-shadow:0 0 0 rgba(122,252,255,0)}50%{text-shadow:0 0 24px rgba(122,252,255,.6)}}
.hero .logo{display:flex;justify-content:flex-end;align-items:center}
.hero .logo img{max-width:360px;width:100%;filter:drop-shadow(0 12px 42px rgba(0,228,255,.25))}

.section{border:1px solid var(--border);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.02));padding:22px;margin:18px 0}
.section h2{margin:0 0 10px;font-size:22px;letter-spacing:.2px}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px}
.card h3{margin:0 0 8px;font-size:18px}
.kv{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.kv label{font-size:12px;color:var(--muted)}

.videos{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
video{width:100%;border-radius:12px;border:1px solid var(--border);background:#000}

.atlas-wrap{position:relative;height:520px;border-radius:18px;overflow:hidden;background:radial-gradient(1000px 400px at 50% -10%,rgba(122,252,255,.18),transparent),linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.01));border:1px solid var(--border)}
canvas#atlas{width:100%;height:100%;display:block}
.atlas-ui{position:absolute;top:10px;left:10px;display:flex;gap:10px;z-index:5}
.atlas-ui .pill{background:var(--card);border:1px solid var(--border);padding:8px 12px;border-radius:999px;font-size:13px}

.modal{position:fixed;inset:0;background:rgba(0,0,0,.6);display:none;align-items:center;justify-content:center;z-index:50}
.modal .inner{width:min(960px,92vw);background:#0c1328;border:1px solid var(--border);border-radius:16px;overflow:hidden}
.modal header{position:relative;background:linear-gradient(180deg,#0f1a35,#0c1328);padding:12px 16px;border-bottom:1px solid var(--border)}
.modal header h3{margin:0;font-size:16px}
.modal .body{padding:0;height:540px}
.modal .tabs{display:flex;gap:10px;padding:10px 12px;border-bottom:1px solid var(--border)}
.tab{background:var(--card);border:1px solid var(--border);padding:8px 12px;border-radius:10px;font-size:12px;cursor:pointer}
.tab.active{outline:2px solid var(--cyan)}
#tvchart{height:480px;width:100%}
.modal .footer{display:flex;justify-content:space-between;padding:10px 12px;border-top:1px solid var(--border)}

.how2buy ol{margin:8px 0 0 18px}
.footer{padding:24px 0;color:var(--muted);font-size:13px;text-align:center}

/* RTL support */
[dir="rtl"] .grid{grid-template-columns:1fr 1fr}
[dir="rtl"] .kv{grid-template-columns:1fr 1fr}
@media (max-width: 980px){
  .hero{grid-template-columns:1fr;gap:10px}
  .videos{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .atlas-wrap{height:440px}
  .hero .logo img{max-width:260px}
}
