﻿:root,
[data-theme="dark"] {
  --bg:             #07090F;
  --bg-2:           #0C1018;
  --bg-elevated:    #10141E;
  --bg-card:        rgba(255,255,255,.038);
  --bg-card-hover:  rgba(255,255,255,.065);
  --bg-input:       rgba(255,255,255,.05);
  --brand:          #00E5A0;
  --brand-2:        #818CF8;
  --brand-dim:      rgba(0,229,160,.12);
  --brand-glow:     rgba(0,229,160,.35);
  --brand-2-dim:    rgba(129,140,248,.12);
  --accent:         #FBBF24;
  --success:        #34D399;
  --warning:        #FBBF24;
  --danger:         #F87171;
  --info:           #60A5FA;
  --text:           #E8ECF4;
  --text-2:         #96A0B5;
  --text-3:         #4E5B72;
  --border:         rgba(255,255,255,.07);
  --border-bright:  rgba(0,229,160,.28);
  --border-hover:   rgba(0,229,160,.55);
  --shadow-sm:      0 2px 12px rgba(0,0,0,.35);
  --shadow:         0 8px 32px  rgba(0,0,0,.5);
  --shadow-lg:      0 20px 60px rgba(0,0,0,.65);
  --glow:           0 0 40px -10px var(--brand-glow);
  --nav-bg:         rgba(7,9,15,.9);
  --card-shine:     rgba(0,229,160,.05);
  --hero-gradient:  radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,229,160,.15), transparent 65%),
                    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(129,140,248,.1), transparent 55%);
  --font-sans:      'Space Grotesk', system-ui, sans-serif;
  --font-ar:        'IBM Plex Sans Arabic', system-ui, sans-serif;
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;
  --ease-out-expo:  cubic-bezier(.19,1,.22,1);
  --ease-spring:    cubic-bezier(.34,1.56,.64,1);
}
[data-theme="light"] {
  --bg:             #F8FAFF;
  --bg-2:           #EEF4FF;
  --bg-elevated:    #FFFFFF;
  --bg-card:        rgba(255,255,255,.85);
  --bg-card-hover:  rgba(255,255,255,1);
  --bg-input:       rgba(0,0,0,.035);
  --brand:          #1A56DB;
  --brand-2:        #7C3AED;
  --brand-dim:      rgba(26,86,219,.10);
  --brand-glow:     rgba(26,86,219,.32);
  --brand-2-dim:    rgba(124,58,237,.10);
  --accent:         #0EA5E9;
  --success:        #059669;
  --warning:        #D97706;
  --danger:         #DC2626;
  --info:           #2563EB;
  --text:           #0F172A;
  --text-2:         #475569;
  --text-3:         #94A3B8;
  --border:         rgba(15,23,42,.08);
  --border-bright:  rgba(26,86,219,.28);
  --border-hover:   rgba(26,86,219,.55);
  --shadow-sm:      0 2px 12px rgba(15,23,42,.07);
  --shadow:         0 8px 32px  rgba(15,23,42,.11);
  --shadow-lg:      0 20px 60px rgba(15,23,42,.16);
  --glow:           0 0 40px -10px var(--brand-glow);
  --nav-bg:         rgba(248,250,255,.92);
  --card-shine:     rgba(26,86,219,.04);
  --hero-gradient:  radial-gradient(ellipse 80% 60% at 50% -10%, rgba(26,86,219,.12), transparent 65%),
                    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(124,58,237,.08), transparent 55%);
  --font-sans:      'Space Grotesk', system-ui, sans-serif;
  --font-ar:        'IBM Plex Sans Arabic', system-ui, sans-serif;
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;
  --ease-out-expo:  cubic-bezier(.19,1,.22,1);
  --ease-spring:    cubic-bezier(.34,1.56,.64,1);
}
[data-theme="worldcup"] {
  --bg:             #0a0f1e;
  --bg-2:           #0d1428;
  --bg-elevated:    #111927;
  --bg-card:        rgba(255,255,255,.06);
  --bg-card-hover:  rgba(255,255,255,.10);
  --bg-input:       rgba(255,255,255,.07);
  --brand:          #FFD700;
  --brand-2:        #00C851;
  --brand-dim:      rgba(255,215,0,.12);
  --brand-glow:     rgba(255,215,0,.4);
  --brand-2-dim:    rgba(0,200,81,.12);
  --accent:         #FF3366;
  --success:        #00C851;
  --warning:        #FF8C00;
  --danger:         #FF3366;
  --info:           #00BFFF;
  --text:           #F5F0DC;
  --text-2:         #B8C4A8;
  --text-3:         #6B7A5A;
  --border:         rgba(255,215,0,.12);
  --border-bright:  rgba(255,215,0,.35);
  --border-hover:   rgba(255,215,0,.65);
  --shadow-sm:      0 2px 12px rgba(0,0,0,.5);
  --shadow:         0 8px 32px  rgba(0,0,0,.65);
  --shadow-lg:      0 20px 60px rgba(0,0,0,.8);
  --glow:           0 0 40px -8px var(--brand-glow);
  --nav-bg:         rgba(10,15,30,.92);
  --card-shine:     rgba(255,215,0,.06);
  --hero-gradient:  radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,215,0,.12), transparent 65%),
                    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(0,200,81,.08), transparent 55%);
  --font-sans:      'Space Grotesk', system-ui, sans-serif;
  --font-ar:        'IBM Plex Sans Arabic', system-ui, sans-serif;
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;
  --ease-out-expo:  cubic-bezier(.19,1,.22,1);
  --ease-spring:    cubic-bezier(.34,1.56,.64,1);
}
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  overflow-x: hidden;
  transition: background .4s, color .4s;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
::selection { background: var(--brand-dim); color: var(--brand); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-sans); font-weight: 700; line-height: 1.15; }
.display-xl { font-size: clamp(42px, 8vw, 88px); letter-spacing: -2.5px; line-height: 1.05; }
.display-lg { font-size: clamp(32px, 5.5vw, 62px); letter-spacing: -1.5px; }
.display-md { font-size: clamp(24px, 3.5vw, 42px); letter-spacing: -.8px; }
.text-gradient {
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wrap  { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-sm { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.pad-section { padding: 100px 0; position: relative; z-index: 2; }
.pad-section-sm { padding: 64px 0; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.hidden { display: none !important; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 300;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  transition: background .4s, border-color .4s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1200px; margin: 0 auto; gap: 20px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 800;
  font-size: 21px; letter-spacing: -.3px; color: var(--text);
  flex-shrink: 0;
}
.logo-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 var(--brand-glow);
  animation: live-pulse 2.6s infinite;
  flex-shrink: 0;
}
.nav-links {
  display: flex; gap: 4px; align-items: center;
}
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-full);
  font-size: 14.5px; color: var(--text-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-card); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang-toggle {
  width: 36px; height: 36px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-2); font-size: 12px; font-weight: 700;
  font-family: var(--font-sans);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s, transform .3s var(--ease-spring);
}
.lang-toggle:hover { border-color: var(--brand); color: var(--brand); transform: scale(1.1); }
.theme-toggle {
  width: 36px; height: 36px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: 15px; display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, transform .4s var(--ease-spring);
}
.theme-toggle:hover { border-color: var(--border-bright); transform: rotate(25deg) scale(1.05); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff;
  font-weight: 700; font-size: 14px;
  padding: 10px 22px; border-radius: var(--r-full);
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
[data-theme="light"]    .nav-cta { color: #ffffff; }
[data-theme="worldcup"] .nav-cta { color: #0a0f1e; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px -6px var(--brand-glow); }
.nav-ghost {
  padding: 9px 18px; border-radius: var(--r-full);
  border: 1px solid var(--border); font-size: 14px;
  color: var(--text-2); transition: border-color .2s, color .2s;
}
.nav-ghost:hover { border-color: var(--border-bright); color: var(--text); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; transition: .3s; display: block; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-nav {
  display: none;
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: 78vw; max-width: 320px;
  z-index: 299;
  background: var(--bg-elevated); border-inline-start: 1px solid var(--border);
  padding: 80px 24px 32px;
  flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform .35s var(--ease-out-expo);
  pointer-events: none;
  visibility: hidden;
}
[dir="ltr"] .mobile-nav { transform: translateX(-100%); }
.mobile-nav.open { transform: translateX(0); pointer-events: auto; visibility: visible; }
.mobile-nav a {
  padding: 14px 16px; border-radius: var(--r-md);
  font-size: 16px; color: var(--text-2);
  transition: background .2s, color .2s;
}
.mobile-nav a:hover { background: var(--bg-card); color: var(--text); }
.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 298;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  transition: opacity .5s;
}
[data-theme="dark"] .ambient {
  background-image:
    radial-gradient(ellipse 70% 50% at 10% 0%,  rgba(0,229,160,.07)  0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(129,140,248,.07) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%,rgba(0,229,160,.04)  0%, transparent 60%),
    repeating-linear-gradient(0deg,   transparent, transparent 55px, rgba(255,255,255,.018) 56px),
    repeating-linear-gradient(90deg,  transparent, transparent 55px, rgba(255,255,255,.018) 56px);
}
[data-theme="light"] .ambient    { opacity: 0; }
[data-theme="worldcup"] .ambient { opacity: 0; }
.wc-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity .5s;
}
[data-theme="light"] .wc-bg { opacity: 1; }
.wc-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wc-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 105%, rgba(26,86,219,.09), transparent 70%),
    radial-gradient(ellipse 25% 18% at 18% 4%,   rgba(255,255,255,.6),  transparent 50%),
    radial-gradient(ellipse 25% 18% at 82% 4%,   rgba(255,255,255,.6),  transparent 50%);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-ar); font-weight: 700;
  border-radius: var(--r-full); border: none;
  transition: transform .2s var(--ease-spring), box-shadow .2s, opacity .2s;
  cursor: pointer; white-space: nowrap;
}
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn-primary {
  background: var(--brand); color: #04110A;
  padding: 14px 30px; font-size: 15.5px;
}
[data-theme="light"]    .btn-primary { color: #fff; }
[data-theme="worldcup"] .btn-primary { color: #0a0f1e; }
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 32px -8px var(--brand-glow); }
.btn-secondary {
  background: var(--bg-elevated); color: var(--text);
  border: 1px solid var(--border);
  padding: 13px 28px; font-size: 15px;
}
.btn-secondary:hover:not(:disabled) { border-color: var(--border-bright); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border);
  padding: 13px 28px; font-size: 15px;
}
.btn-ghost:hover:not(:disabled) { border-color: var(--border-hover); color: var(--text); background: var(--brand-dim); }
.btn-danger { background: var(--danger); color: #fff; padding: 10px 20px; font-size: 13.5px; }
.btn-success { background: var(--success); color: #fff; padding: 10px 20px; font-size: 13.5px; }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }
.btn-xs { padding: 6px 14px; font-size: 12.5px; }
.btn-full { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.btn-icon-sm { width: 32px; height: 32px; padding: 0; border-radius: 50%; }
.btn-spinner {
  width: 17px; height: 17px;
  border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin .65s linear infinite;
  flex-shrink: 0;
}
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px;
  transition: transform .3s var(--ease-out-expo),
              border-color .3s, background .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow); }
.card-tight { padding: 18px; }
.card-flat { transform: none !important; }
.card-glass {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
}
[data-theme="light"] .card-glass {
  background: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.9);
}
[data-theme="worldcup"] .card-glass {
  background: rgba(255,215,0,.04);
  border-color: rgba(255,215,0,.08);
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 13.5px; font-weight: 500;
  color: var(--text-2); margin-bottom: 8px;
}
.input-wrap { position: relative; }
.form-input {
  width: 100%; background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px; color: var(--text);
  font-family: var(--font-ar); font-size: 15px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-dim);
  background: var(--bg-elevated);
}
.form-input::placeholder { color: var(--text-3); }
.form-input.has-icon-start { padding-inline-start: 44px; }
.form-input.has-icon-end   { padding-inline-end: 44px; }
.input-icon {
  position: absolute; top: 50%; transform: translateY(-50%);
  inset-inline-end: 14px; width: 17px; height: 17px;
  stroke: var(--text-3); pointer-events: none;
}
.input-icon.start { inset-inline-end: auto; inset-inline-start: 14px; }
textarea.form-input { resize: vertical; min-height: 100px; padding-top: 14px; }
select.form-input { cursor: pointer; background-image: none; }
.coupon-row { display: flex; gap: 10px; }
.coupon-row .form-input { border-radius: var(--r-md) 0 0 var(--r-md); }
[dir="rtl"] .coupon-row .form-input { border-radius: 0 var(--r-md) var(--r-md) 0; }
.coupon-row .btn { border-radius: 0 var(--r-md) var(--r-md) 0; flex-shrink: 0; }
[dir="rtl"] .coupon-row .btn { border-radius: var(--r-md) 0 0 var(--r-md); }
.coupon-success { color: var(--success); font-size: 13.5px; margin-top: 8px; font-weight: 600; }
.coupon-error   { color: var(--danger);  font-size: 13.5px; margin-top: 8px; }
.pass-strength-bars { display: flex; gap: 4px; margin-top: 8px; }
.psb { height: 4px; flex: 1; border-radius: 4px; background: var(--border); transition: background .35s; }
.psb.w { background: var(--danger); }
.psb.m { background: var(--warning); }
.psb.s { background: var(--success); }
.toggle-switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; inset: 0; border-radius: 12px;
  background: var(--border); cursor: pointer;
  transition: background .3s;
}
.toggle-track::before {
  content: ''; position: absolute;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; top: 3px; inset-inline-start: 3px;
  transition: transform .3s var(--ease-spring), inset-inline-start .3s;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.toggle-switch input:checked + .toggle-track { background: var(--brand); }
.toggle-switch input:checked + .toggle-track::before { transform: translateX(20px); }
[dir="rtl"] .toggle-switch input:checked + .toggle-track::before { transform: translateX(-20px); }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg-card); }
.data-table { width: 100%; border-collapse: collapse; min-width: 540px; }
.data-table th {
  text-align: start; padding: 12px 16px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .7px;
  text-transform: uppercase; color: var(--text-3);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 14px 16px; font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background .15s; }
.data-table tbody tr:hover td { background: rgba(255,255,255,.02); }
[data-theme="light"] .data-table tbody tr:hover td { background: rgba(0,0,0,.02); }
[data-theme="worldcup"] .data-table tbody tr:hover td { background: rgba(255,215,0,.03); }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: var(--r-full);
  font-size: 11.5px; font-weight: 700; letter-spacing: .2px;
  white-space: nowrap;
}
.badge-green   { background: rgba(52,211,153,.14); color: #34D399; }
.badge-red     { background: rgba(248,113,113,.14); color: #F87171; }
.badge-yellow  { background: rgba(251,191,36,.14);  color: #FBBF24; }
.badge-blue    { background: rgba(96,165,250,.14);   color: #60A5FA; }
.badge-purple  { background: var(--brand-2-dim);     color: var(--brand-2); }
.badge-brand   { background: var(--brand-dim);       color: var(--brand); }
.badge-active    { background: rgba(52,211,153,.14); color: #34D399; }
.badge-inactive  { background: rgba(248,113,113,.14); color: #F87171; }
.badge-pending   { background: rgba(251,191,36,.14);  color: #FBBF24; }
.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-sans); font-size: 12px; letter-spacing: 1.8px;
  color: var(--brand); text-transform: uppercase;
  background: var(--brand-dim); border: 1px solid var(--border-bright);
  padding: 6px 16px; border-radius: var(--r-full);
  margin-bottom: 18px;
}
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.7); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px; width: 100%; max-width: 520px;
  transform: translateY(20px) scale(.96);
  transition: transform .35s var(--ease-out-expo);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border); color: var(--text-2); font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s;
}
.modal-close:hover { border-color: var(--danger); color: var(--danger); }
.modal-lg { max-width: 700px; }
.modal-sm { max-width: 400px; }
.form-alert {
  padding: 12px 16px; border-radius: var(--r-md);
  font-size: 14px; margin-bottom: 16px; display: none;
}
.form-alert.show { display: block; }
.form-alert.error   { background: rgba(248,113,113,.12); border: 1px solid rgba(248,113,113,.3); color: var(--danger); }
.form-alert.success { background: rgba(52,211,153,.12);  border: 1px solid rgba(52,211,153,.3);  color: var(--success); }
.form-alert.info    { background: var(--brand-dim);      border: 1px solid var(--border-bright); color: var(--brand); }
.hero {
  position: relative; z-index: 1;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 140px 24px 90px;
  overflow: hidden;
}
.hero-rings {
  position: absolute; inset: 0; z-index: -1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero-rings svg { width: 140%; max-width: 1400px; height: auto; }
.hero-visual {
  position: absolute; inset: 0; z-index: -2; margin: 0; overflow: hidden;
  pointer-events: none; opacity: .31;
  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 92%);
}
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, var(--bg) 13%, color-mix(in srgb, var(--bg) 68%, transparent) 53%, color-mix(in srgb, var(--brand) 18%, var(--bg)) 100%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.7) contrast(1.05); }
[data-theme="light"] .hero-visual { opacity: .18; }
[data-theme="worldcup"] .hero-visual { opacity: .27; }
.ring-pulse {
  fill: none; stroke: var(--brand); stroke-width: .8;
  transform-origin: center;
  animation: ring-expand 5s ease-out infinite;
}
.ring-pulse:nth-child(2) { animation-delay: 1.25s; }
.ring-pulse:nth-child(3) { animation-delay: 2.5s; }
.ring-pulse:nth-child(4) { animation-delay: 3.75s; }
[data-theme="light"] .ring-pulse { stroke: var(--brand); opacity: .2; }
[data-theme="worldcup"] .ring-pulse { stroke: var(--brand); opacity: .15; }
.hero-particles {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  overflow: hidden;
}
.hero-particles span {
  position: absolute; border-radius: 50%;
  background: var(--brand); opacity: 0;
  animation: float-particle 8s ease-in-out infinite;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-dim); border: 1px solid var(--border-bright);
  color: var(--brand); font-family: var(--font-sans);
  font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 18px; border-radius: var(--r-full);
  margin-bottom: 28px;
  animation: fade-up .8s var(--ease-out-expo) .1s both;
}
.hero-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: live-pulse 2s infinite; }
.hero-title {
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(38px, 7.5vw, 82px);
  line-height: 1.08; letter-spacing: -2px;
  max-width: 900px;
  animation: fade-up .9s var(--ease-out-expo) .22s both;
}
.hero-sub {
  margin-top: 24px; max-width: 600px;
  font-size: clamp(16px, 2.2vw, 19.5px);
  color: var(--text-2); line-height: 1.75;
  animation: fade-up .9s var(--ease-out-expo) .38s both;
}
.hero-actions {
  margin-top: 42px;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  animation: fade-up .9s var(--ease-out-expo) .52s both;
}
.hero-trust {
  margin-top: 60px;
  display: flex; gap: 32px; flex-wrap: wrap; justify-content: center;
  animation: fade-up .9s var(--ease-out-expo) .66s both;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-2);
}
.trust-item svg { width: 14px; height: 14px; stroke: var(--brand); flex-shrink: 0; }
.live-strip {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-elevated); overflow: hidden; padding: 16px 0;
}
.live-strip::before, .live-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.live-strip::before { inset-inline-start: 0; background: linear-gradient(to var(--inline-end-dir, right), var(--bg-elevated), transparent); }
.live-strip::after  { inset-inline-end: 0;  background: linear-gradient(to var(--inline-start-dir, left),  var(--bg-elevated), transparent); }
.live-inner { display: flex; gap: 56px; white-space: nowrap; animation: marquee 28s linear infinite; }
.live-stat { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.live-num { font-family: var(--font-sans); font-size: 19px; font-weight: 800; color: var(--brand); }
.live-lbl { font-size: 13px; color: var(--text-2); }
[dir="ltr"] .live-inner { animation-direction: reverse; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }
.section-title { font-size: clamp(26px,3.8vw,42px); font-weight: 800; letter-spacing: -.6px; margin-bottom: 14px; }
.section-sub { font-size: 16.5px; color: var(--text-2); line-height: 1.75; max-width: 580px; }
.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.why-card { position: relative; overflow: hidden; }
.why-card h3 { font-size: 16px; font-weight: 700; margin: 14px 0 8px; }
.why-card p  { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.why-card-glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 0%, var(--brand-dim) 0%, transparent 70%);
  transition: opacity .4s;
}
.why-card:hover .why-card-glow { opacity: 1; }
.icon-box {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--brand-dim); border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-box svg { width: 21px; height: 21px; stroke: var(--brand); }
.icon-box.purple { background: var(--brand-2-dim); border-color: rgba(129,140,248,.3); }
.icon-box.purple svg { stroke: var(--brand-2); }
.icon-box.amber { background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.3); }
.icon-box.amber svg { stroke: var(--warning); }
.icon-box.red { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.3); }
.icon-box.red svg { stroke: var(--danger); }
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.plan-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 34px 26px;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease-out-expo), border-color .35s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.plan-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--border-hover); }
.plan-card.featured {
  border-color: var(--border-bright);
  background: linear-gradient(160deg, rgba(0,229,160,.06), rgba(129,140,248,.04));
}
[data-theme="light"] .plan-card.featured {
  background: linear-gradient(160deg, rgba(26,86,219,.06), rgba(124,58,237,.03));
}
[data-theme="worldcup"] .plan-card.featured {
  background: linear-gradient(160deg, rgba(255,215,0,.07), rgba(0,200,81,.04));
}
.plan-ribbon {
  position: absolute; top: 20px; inset-inline-end: -38px;
  background: var(--brand); color: #04110A;
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 800;
  letter-spacing: .5px; padding: 5px 46px; transform: rotate(45deg);
}
[data-theme="light"] .plan-ribbon    { color: #fff; }
[data-theme="worldcup"] .plan-ribbon { color: #0a0f1e; }
.plan-name {
  font-family: var(--font-sans); font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-2); margin-bottom: 8px;
}
.plan-price {
  font-family: var(--font-sans); font-size: 46px; font-weight: 800;
  color: var(--text); line-height: 1; margin-bottom: 4px;
}
.plan-price sup { font-size: 20px; vertical-align: super; font-weight: 700; }
.plan-price .period { font-size: 14.5px; color: var(--text-3); font-weight: 400; }
.plan-desc { font-size: 13.5px; color: var(--text-2); margin-bottom: 20px; }
.plan-features { flex-grow: 1; margin-bottom: 26px; }
.plan-feature {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; border-top: 1px solid var(--border);
  font-size: 14px; color: var(--text-2);
}
.plan-feature:first-child { border-top: none; }
.plan-feature svg { width: 15px; height: 15px; stroke: var(--brand); flex-shrink: 0; margin-top: 2px; }
.cycle-switcher {
  display: inline-flex; gap: 5px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  padding: 5px; border-radius: var(--r-full);
}
.cycle-btn {
  padding: 9px 24px; border-radius: var(--r-full);
  font-size: 14px; font-family: var(--font-ar); font-weight: 600;
  color: var(--text-2); transition: background .2s, color .2s;
}
.cycle-btn.active { background: var(--brand); color: #04110A; }
[data-theme="light"] .cycle-btn.active    { color: #fff; }
[data-theme="worldcup"] .cycle-btn.active { color: #0a0f1e; }
.cycle-save { color: var(--success); font-size: 12px; font-weight: 700; }
.device-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px;
}
.device-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r-full);
  border: 1px solid var(--border); font-size: 14px; color: var(--text-2);
  transition: border-color .2s, color .2s, background .2s;
}
.device-tab .tab-icon { font-size: 18px; }
.device-tab:hover { border-color: var(--border-bright); color: var(--text); }
.device-tab.active { border-color: var(--brand); color: var(--brand); background: var(--brand-dim); }
.device-panel { display: none; }
.device-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.device-image-zone {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border);
  background: var(--bg-elevated); aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  position: relative; cursor: pointer;
}
.device-image-zone img { width: 100%; height: 100%; object-fit: cover; }
.device-image-placeholder {
  text-align: center; color: var(--text-3); pointer-events: none;
}
.device-image-placeholder .big-icon { font-size: 56px; margin-bottom: 12px; }
.device-upload-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.7);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; opacity: 0; transition: opacity .25s;
  color: #fff; font-size: 14px; font-weight: 600;
}
.device-image-zone:hover .device-upload-overlay { opacity: 1; }
.device-steps ol { counter-reset: step; }
.device-step {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
}
.device-step:last-child { border-bottom: none; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-dim); border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: 12px; font-weight: 800; color: var(--brand);
}
.step-text { font-size: 14.5px; color: var(--text-2); line-height: 1.6; padding-top: 3px; }
.device-app-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 10px 18px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); font-size: 13.5px;
}
.device-app-badge svg { width: 18px; height: 18px; stroke: var(--brand); }
.device-showcase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.device-showcase-card {
  position: relative; display: block; min-height: 210px; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-elevated);
  box-shadow: var(--shadow-sm); text-decoration: none; isolation: isolate;
  transition: transform .35s var(--ease-out-expo), border-color .35s, box-shadow .35s;
}
.device-showcase-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .55s var(--ease-out-expo), filter .35s; filter: saturate(.92) contrast(1.06); }
.device-showcase-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,8,18,.04) 22%, rgba(4,8,18,.26) 48%, rgba(4,8,18,.92) 100%); }
.device-showcase-name {
  position: absolute; inset-inline: 16px; bottom: 15px; color: #fff; z-index: 1;
  font-family: var(--font-sans); font-size: clamp(18px, 1.6vw, 23px); font-weight: 800;
  line-height: 1.1; letter-spacing: -.03em; text-shadow: 0 2px 12px rgba(0,0,0,.7);
}
.device-showcase-card::after { content: ''; position: absolute; width: 100px; height: 100px; inset-inline-end: -45px; top: -45px; border-radius: 50%; background: var(--brand); opacity: .18; filter: blur(20px); transition: opacity .35s; }
.device-showcase-card:hover { transform: translateY(-7px); border-color: var(--border-hover); box-shadow: var(--shadow); }
.device-showcase-card:hover img { transform: scale(1.08); filter: saturate(1.1) contrast(1.07); }
.device-showcase-card:hover::after { opacity: .42; }
.device-showcase-mobile img { object-position: center 38%; }
.device-showcase-firestick img { object-position: center; }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.review-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px;
}
.review-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.review-stars svg { width: 14px; height: 14px; fill: var(--warning); }
.review-text { font-size: 14.5px; color: var(--text-2); line-height: 1.75; margin-bottom: 16px; }
.review-author { font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.rating-hero { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 48px; flex-wrap: wrap; }
.rating-big-num { font-family: var(--font-sans); font-size: 60px; font-weight: 800; color: var(--brand); line-height: 1; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.faq-item { border-bottom: 1px solid var(--border); position: relative; }
.faq-trigger {
  width: 100%; text-align: start; background: none; border: none;
  color: var(--text); font-family: var(--font-ar); font-size: 16.5px; font-weight: 600;
  padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; transition: color .2s;
  min-height: 68px;
}
.faq-trigger span:first-child {
  flex: 1;
  min-width: 0;
  display: block;
  color: var(--text) !important;
  opacity: 1 !important;
  visibility: visible !important;
  line-height: 1.65;
  position: relative;
  z-index: 2;
}
.faq-trigger [data-i18n] { color: inherit !important; }
.faq-trigger:hover { color: var(--brand); }
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .35s var(--ease-spring);
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--brand); border-radius: 2px;
}
.faq-icon { position: relative; }
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; transition: transform .35s var(--ease-spring), opacity .3s; }
.faq-item.open .faq-icon { background: var(--brand-dim); transform: rotate(180deg); }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-body[hidden] { display: block; max-height: 0 !important; visibility: hidden; }
.faq-item.open .faq-body { visibility: visible; }
.faq-body-inner { padding: 0 0 22px; font-size: 15px; color: var(--text-2); line-height: 1.8; }
.steps-row { display: flex; gap: 0; position: relative; }
.steps-row::before {
  content: ''; position: absolute;
  top: 22px; inset-inline-start: 0; inset-inline-end: 0; height: 1px;
  background: linear-gradient(to var(--inline-end-dir,right), var(--border-bright), var(--border), var(--border-bright));
  z-index: 0;
}
.step-box { flex: 1; text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.step-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-elevated); border: 1.5px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 800; color: var(--brand);
  transition: background .3s, border-color .3s;
}
.step-box:hover .step-circle { background: var(--brand-dim); border-color: var(--brand); }
.step-box h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step-box p  { font-size: 13px; color: var(--text-2); }
.admin-layout { display: flex; min-height: 100dvh; }
.admin-sidebar {
  width: 258px; flex-shrink: 0;
  background: var(--bg-elevated); border-inline-end: 1px solid var(--border);
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0;
  display: flex; flex-direction: column;
  overflow-y: auto; z-index: 100;
  transition: transform .35s var(--ease-out-expo);
}
[dir="ltr"] .admin-sidebar { inset-inline-end: auto; inset-inline-start: 0; }
.admin-main { flex: 1; margin-inline-end: 258px; padding: 30px 32px; min-height: 100dvh; }
[dir="ltr"] .admin-main { margin-inline-end: 0; margin-inline-start: 258px; }
.sidebar-section-label {
  padding: 14px 20px 6px; font-size: 10px; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--text-3); font-weight: 700;
}
.sidebar-link {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 16px; margin: 0 8px; border-radius: var(--r-md);
  font-size: 14.5px; color: var(--text-2);
  transition: background .2s, color .2s; position: relative;
}
.sidebar-link svg { width: 17px; height: 17px; stroke: currentColor; flex-shrink: 0; }
.sidebar-link:hover { background: rgba(255,255,255,.04); color: var(--text); }
.sidebar-link.active { background: var(--brand-dim); color: var(--brand); }
.sidebar-badge {
  position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%);
  background: var(--danger); color: #fff; font-size: 10px;
  min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.kpi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px 20px;
  transition: border-color .2s;
}
.kpi-card:hover { border-color: var(--border-bright); }
.kpi-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.kpi-val { font-family: var(--font-sans); font-size: 32px; font-weight: 800; }
.kpi-lbl { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.kpi-delta { font-size: 12px; margin-top: 10px; display: flex; align-items: center; gap: 5px; }
.delta-up   { color: var(--success); }
.delta-down { color: var(--danger); }
.rev-chart { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.rev-bar {
  flex: 1; background: var(--brand-dim); border-radius: 4px 4px 0 0;
  min-height: 5px; position: relative; cursor: pointer;
  transition: background .2s;
}
.rev-bar:hover { background: var(--brand); }
.rev-bar::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--bg-elevated); border: 1px solid var(--border);
  padding: 4px 8px; border-radius: var(--r-sm); font-size: 11px;
  white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s;
}
.rev-bar:hover::after { opacity: 1; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ring-expand {
  0%   { r: 60;  opacity: .8; stroke-width: 1.2; }
  100% { r: 440; opacity: 0;  stroke-width: .3; }
}
@keyframes live-pulse {
  0%,100% { box-shadow: 0 0 0 0 var(--brand-glow); }
  50%      { box-shadow: 0 0 0 8px rgba(0,0,0,0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes float-particle {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  10%  { opacity: .4; }
  90%  { opacity: .1; }
  100% { opacity: 0; transform: translateY(-180px) scale(1.5); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes bounce-in {
  0%   { transform: scale(0.7); opacity: 0; }
  60%  { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }
.reveal.delay-4 { transition-delay: .48s; }
.toast-stack {
  position: fixed; bottom: 28px; inset-inline-end: 28px; z-index: 9999;
  display: flex; flex-direction: column-reverse; gap: 10px; align-items: flex-end;
  pointer-events: none;
}
.toast {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 14px 20px;
  font-size: 14.5px; color: var(--text);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 11px;
  pointer-events: auto; min-width: 240px; max-width: 360px;
  animation: slide-in-right .35s var(--ease-out-expo) both;
}
.toast.success { border-color: rgba(52,211,153,.4); }
.toast.error   { border-color: rgba(248,113,113,.4); }
.toast.info    { border-color: var(--border-bright); }
.toast-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; font-weight: 800; }
.toast.success .toast-icon { background: rgba(52,211,153,.2);  color: var(--success); }
.toast.error   .toast-icon { background: rgba(248,113,113,.2); color: var(--danger); }
.toast.info    .toast-icon { background: var(--brand-dim);      color: var(--brand); }
.toast-close { margin-inline-start: auto; color: var(--text-3); padding: 2px; }
[dir="ltr"] .toast { animation: none; animation: fade-in .3s ease both; }
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-elevated) 50%, var(--bg-card) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--r-md);
}
.tabs-nav { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 13px 20px; border: none; background: none;
  border-bottom: 2.5px solid transparent; margin-bottom: -1px;
  font-family: var(--font-ar); font-size: 14.5px; color: var(--text-2);
  transition: color .2s, border-color .2s; white-space: nowrap;
}
.tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade-in .3s ease; }
.tech-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 34px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 46px);
  overflow: hidden;
  position: relative;
}
.tech-offer::before {
  content: '';
  position: absolute;
  inset: auto 8% -30% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-dim), transparent 68%);
  opacity: .7;
  pointer-events: none;
}
.tech-copy { position: relative; z-index: 1; }
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.tech-tags span {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: var(--r-full);
  color: var(--text-2);
  font-size: 13px;
  padding: 8px 13px;
}
.tech-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.extra-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 24px;
}
.extra-product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  padding: 15px;
  min-height: 230px;
}
.extra-product-image {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.extra-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.extra-product-image span {
  color: var(--brand);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 1px;
}
.extra-product-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}
.extra-product-card p {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.extra-product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.extra-product-foot span {
  color: var(--brand);
  font-weight: 800;
}
.social-link-text {
  width: auto;
  height: auto;
  border-radius: var(--r-full);
  display: inline-flex;
}
.tech-panel {
  position: relative; z-index: 1; min-height: 390px;
}
.tech-media {
  position: relative; height: 100%; min-height: 390px; overflow: hidden;
  border: 1px solid var(--border-bright); border-radius: calc(var(--r-xl) - 4px);
  background: var(--bg-elevated); box-shadow: var(--shadow-lg); isolation: isolate;
}
.tech-media img {
  width: 100%; height: 100%; min-height: 390px; object-fit: cover; object-position: center;
  filter: saturate(.72) contrast(1.08) brightness(.66); transform: scale(1.04);
  animation: tech-image-drift 14s ease-in-out infinite alternate;
}
.tech-media-shade { position: absolute; inset: 0; background: linear-gradient(145deg, color-mix(in srgb, var(--bg) 76%, transparent), transparent 52%), linear-gradient(0deg, color-mix(in srgb, var(--bg) 90%, transparent), transparent 60%), linear-gradient(115deg, color-mix(in srgb, var(--brand) 25%, transparent), transparent 55%); }
.tech-orbit { position: absolute; border: 1px solid color-mix(in srgb, var(--brand) 64%, transparent); border-radius: 50%; opacity: .7; }
.tech-orbit-one { width: 260px; height: 260px; top: -82px; inset-inline-end: -74px; animation: tech-orbit 11s linear infinite; }
.tech-orbit-two { width: 164px; height: 164px; bottom: -60px; inset-inline-start: -44px; border-color: color-mix(in srgb, var(--brand-2) 72%, transparent); animation: tech-orbit 8s linear infinite reverse; }
.tech-now-playing, .tech-quality, .tech-device-chip { position: absolute; z-index: 1; border: 1px solid rgba(255,255,255,.25); color: #fff; background: rgba(5,10,18,.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tech-now-playing { top: 20px; inset-inline-start: 20px; display: flex; gap: 8px; align-items: center; padding: 9px 11px; border-radius: var(--r-full); font: 800 10px/1 var(--font-sans); letter-spacing: .1em; }
.tech-now-playing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--brand-glow); animation: live-pulse 1.8s infinite; }
.tech-quality { top: 20px; inset-inline-end: 20px; padding: 9px 11px; border-radius: var(--r-md); font: 800 20px/1 var(--font-sans); color: var(--brand); }
.tech-quality small { display: block; margin-top: 3px; font-size: 7px; letter-spacing: .08em; color: #fff; }
.tech-device-chip { bottom: 24px; inset-inline-start: 20px; padding: 9px 12px; border-radius: var(--r-full); font: 700 11px/1 var(--font-sans); }
.tech-wave { position: absolute; bottom: 24px; inset-inline-end: 20px; display: flex; align-items: center; gap: 3px; height: 26px; padding: 0 9px; border-radius: var(--r-full); background: rgba(5,10,18,.45); }
.tech-wave b { width: 3px; height: 8px; border-radius: 4px; background: var(--brand); animation: tech-wave 1s ease-in-out infinite; }
.tech-wave b:nth-child(2n) { animation-delay: .18s; }.tech-wave b:nth-child(3n) { animation-delay: .34s; }
@keyframes tech-image-drift { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.12) translate3d(-1.5%,-1%,0); } }
@keyframes tech-orbit { to { transform: rotate(360deg); } }
@keyframes tech-wave { 0%,100% { height: 7px; opacity: .55; } 50% { height: 22px; opacity: 1; } }
[data-theme="light"] .tech-media img { filter: saturate(.78) contrast(1.04) brightness(.8); }
[data-theme="light"] .tech-media-shade { background: linear-gradient(145deg, rgba(8,24,52,.64), transparent 60%), linear-gradient(0deg, rgba(8,24,52,.78), transparent 65%); }
[data-theme="worldcup"] .tech-media { border-color: var(--brand); }
[data-theme="worldcup"] .tech-media-shade { background: linear-gradient(145deg, rgba(10,15,30,.78), transparent 55%), linear-gradient(0deg, rgba(10,15,30,.9), transparent 60%), linear-gradient(115deg, rgba(255,215,0,.18), transparent 55%); }
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid     { grid-template-columns: repeat(2,1fr); }
  .kpi-grid     { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mobile-nav { display: flex; }
  .mobile-nav-overlay { display: block; }
  .admin-sidebar { transform: translateX(100%); }
  [dir="ltr"] .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-inline-end: 0; margin-inline-start: 0; padding: 20px 16px; }
  .device-panel.active { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: repeat(2,1fr); }
  .device-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-row { flex-direction: column; gap: 20px; }
  .steps-row::before { display: none; }
  .tech-offer { grid-template-columns: 1fr; }
  .extra-products-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pad-section    { padding: 72px 0; }
  .pad-section-sm { padding: 48px 0; }
  .pricing-grid   { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .reviews-grid   { grid-template-columns: 1fr; }
  .device-showcase-card { min-height: 185px; }
  .why-grid       { grid-template-columns: 1fr; }
  .kpi-grid       { grid-template-columns: repeat(2,1fr); }
  .hero-actions   { flex-direction: column; align-items: center; }
  .hero-trust     { gap: 18px; }
  .section-title  { font-size: clamp(22px,5vw,32px); }
  .device-tabs    { gap: 6px; }
  .device-tab     { padding: 8px 14px; font-size: 13px; }
  .modal          { padding: 24px 20px; border-radius: var(--r-lg); }
  .live-stat .live-num { font-size: 16px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 16px 72px; }
  .hero-title { letter-spacing: -1px; }
  .hero-trust { justify-content: flex-start; }
  .plan-card { padding: 26px 20px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .toast-stack { inset-inline-end: 12px; bottom: 12px; }
  .toast { min-width: unset; }
  .mobile-nav { width: 86vw; max-width: none; }
}
a:focus-visible, button:focus-visible {
  outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 4px;
}
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 32px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--text-2); line-height: 1.75; max-width: 260px; margin-top: 12px; }
.footer-col h5 { font-size: 13.5px; font-weight: 700; margin-bottom: 16px; }
.footer-col a  { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-3); }
.social-links { display: flex; gap: 10px; }
.social-link { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s; }
.social-link:hover { border-color: var(--brand); color: var(--brand); }
.social-link svg { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
.cta-band { text-align: center; padding: 90px 24px; }
.cta-band h2 { font-size: clamp(24px,4vw,42px); font-weight: 800; letter-spacing: -.6px; margin-bottom: 14px; }
.cta-band p  { color: var(--text-2); margin-bottom: 36px; font-size: 16.5px; }
[data-theme="dark"]  .cta-band { background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0,229,160,.1), transparent 70%); }
[data-theme="light"] .cta-band    { background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(26,86,219,.08), transparent 70%); }
[data-theme="worldcup"] .cta-band { background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255,215,0,.1), transparent 70%); }
.divider { height: 1px; background: var(--border); margin: 40px 0; }
[data-theme="worldcup"] body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%,   rgba(255,215,0,.06),  transparent 60%),
    radial-gradient(ellipse 50% 30% at 10% 60%,  rgba(0,200,81,.05),   transparent 50%),
    radial-gradient(ellipse 50% 30% at 90% 60%,  rgba(0,200,81,.05),   transparent 50%);
}
[data-theme="worldcup"] .site-header {
  border-bottom-color: rgba(255,215,0,.15);
  box-shadow: 0 1px 0 0 rgba(255,215,0,.08), 0 4px 24px rgba(0,0,0,.4);
}
[data-theme="worldcup"] .logo-dot { background: #FFD700; }
[data-theme="worldcup"] .card:hover,
[data-theme="worldcup"] .plan-card:hover {
  border-color: rgba(255,215,0,.45);
  box-shadow: 0 8px 40px rgba(255,215,0,.12), 0 2px 0 rgba(255,215,0,.2) inset;
}
[data-theme="worldcup"] .section-label {
  color: var(--brand);
  background: rgba(255,215,0,.1);
  border-color: rgba(255,215,0,.3);
}
[data-theme="worldcup"] .btn-primary {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  box-shadow: 0 4px 20px rgba(255,215,0,.3);
}
[data-theme="worldcup"] .btn-primary:hover:not(:disabled) {
  box-shadow: 0 8px 32px rgba(255,215,0,.5);
}
[data-theme="worldcup"] .btn-ghost {
  border-color: rgba(255,215,0,.25);
}
[data-theme="worldcup"] .btn-ghost:hover:not(:disabled) {
  border-color: rgba(255,215,0,.6);
  background: rgba(255,215,0,.08);
  color: #FFD700;
}
[data-theme="worldcup"] .ring-pulse { stroke: #FFD700; opacity: .12; }
[data-theme="worldcup"] #faq {
  background: linear-gradient(180deg, rgba(6,10,24,.78), rgba(8,16,28,.64));
  backdrop-filter: blur(3px);
}
[data-theme="worldcup"] #faq .wrap {
  position: relative;
  z-index: 4;
}
[data-theme="worldcup"] .faq-list {
  background: rgba(6,10,24,.68);
  border: 1px solid rgba(255,215,0,.18);
  border-radius: 16px;
  padding: 8px 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
}
[data-theme="worldcup"] .faq-trigger,
[data-theme="worldcup"] .faq-trigger span:first-child {
  color: #FFF7D6 !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.75);
}
[data-theme="worldcup"] .faq-body-inner {
  color: rgba(255,247,214,.78);
}
[data-theme="worldcup"] .faq-trigger:hover { color: #FFD700; }
[data-theme="worldcup"] .faq-icon { border-color: rgba(255,215,0,.4); }
[data-theme="worldcup"] .faq-icon::before,
[data-theme="worldcup"] .faq-icon::after { background: #FFD700; }
[data-theme="worldcup"] .faq-item.open .faq-icon { background: rgba(255,215,0,.12); }
[data-theme="worldcup"] .step-circle {
  border-color: rgba(255,215,0,.4);
  color: #FFD700;
  background: rgba(255,215,0,.06);
}
[data-theme="worldcup"] .step-box:hover .step-circle {
  background: rgba(255,215,0,.15);
  border-color: #FFD700;
}
[data-theme="worldcup"] .icon-box {
  background: rgba(255,215,0,.1);
  border-color: rgba(255,215,0,.25);
}
[data-theme="worldcup"] .icon-box svg { stroke: #FFD700; }
[data-theme="worldcup"] ::selection { background: rgba(255,215,0,.2); color: #FFD700; }
[data-theme="worldcup"] .plan-ribbon {
  background: linear-gradient(135deg, #FFD700, #FFA500);
}
[data-theme="worldcup"] .live-num { color: #FFD700; }
[data-theme="worldcup"] .badge-brand { background: rgba(255,215,0,.15); color: #FFD700; }
[data-theme="worldcup"] .cta-band h2 { color: #FFD700; }
[data-theme="worldcup"] .footer-col a:hover { color: #FFD700; }
[data-theme="worldcup"] .social-link:hover { border-color: #FFD700; color: #FFD700; }
[data-theme="worldcup"] .tab-btn.active { color: #FFD700; border-bottom-color: #FFD700; }
[data-theme="worldcup"] .sidebar-link.active { background: rgba(255,215,0,.1); color: #FFD700; }
[data-theme="worldcup"] .form-input:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 4px rgba(255,215,0,.12);
}
[data-theme="worldcup"] .kpi-val { color: #FFD700; }
[data-theme="light"] body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(26,86,219,.08), transparent 60%),
    radial-gradient(circle 1px at 1px 1px, rgba(26,86,219,.12) 1px, transparent 0);
  background-size: auto, 32px 32px;
}
[data-theme="light"] .site-header {
  box-shadow: 0 1px 0 0 rgba(26,86,219,.1), 0 4px 24px rgba(15,23,42,.06);
}
[data-theme="light"] .card:hover,
[data-theme="light"] .plan-card:hover {
  box-shadow: 0 12px 40px rgba(26,86,219,.14), 0 2px 0 rgba(26,86,219,.1) inset;
}
[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #1A56DB 0%, #3B82F6 100%);
  box-shadow: 0 4px 16px rgba(26,86,219,.3);
}
[data-theme="light"] .btn-primary:hover:not(:disabled) {
  box-shadow: 0 8px 28px rgba(26,86,219,.45);
}
[data-theme="dark"] .card:hover,
[data-theme="dark"] .plan-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(0,229,160,.2);
}
[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, #00E5A0 0%, #00C48C 100%);
  box-shadow: 0 4px 20px rgba(0,229,160,.25);
}
[data-theme="dark"] .btn-primary:hover:not(:disabled) {
  box-shadow: 0 8px 32px rgba(0,229,160,.4);
}
body,
.site-header,
.card,
.plan-card,
.btn,
.btn-primary,
.btn-ghost,
.form-input,
.section-label,
.faq-trigger,
.tab-btn,
.sidebar-link,
.live-num,
.badge {
  transition:
    background .35s ease,
    background-color .35s ease,
    color .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}
#xtv-bg-dark,
#xtv-bg-light,
#xtv-bg-worldcup {
  transition: opacity .7s ease;
}
