/* KUKU "Siyah Sahne" theme: admin panel and public landing page. */
:root {
  --bg: #06060b;
  --glow: #3b35d455;
  --side: #0a0a14;
  --card: #0e0e1c;
  --table: #0b0b16;
  --field: #0c0c18;
  --line: #ffffff10;
  --line-strong: #ffffff1f;
  --text: #eef0ff;
  --dim: #b9bde6;
  --muted: #8e92b5;
  --indigo: #3b35d4;
  --indigo-soft: #3b35d42e;
  --brand-a: #df2219;
  --brand-b: #f2766b;
  --ok: #4ee3ad;
  --ok-bg: #2fd49a1f;
  --warn: #ffc46e;
  --warn-bg: #ffb44a1f;
  --off: #9aa0c8;
  --off-bg: #ffffff10;
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Segoe UI", Inter, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: Consolas, "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --display: "Arial Black", "Segoe UI Black", Impact, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; right: -240px; top: -240px; width: 680px; height: 680px; background: radial-gradient(circle, var(--glow), transparent 65%); pointer-events: none; z-index: 0; }
a { color: inherit; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 16px; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.kicker { display: block; margin-bottom: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.18em; color: var(--brand-b); }

/* Brand mark */
.brand { display: flex; flex-direction: column; gap: 5px; padding: 4px 8px 24px; text-decoration: none; }
.brand-mark { display: flex; align-items: center; gap: 3px; }
.wm { padding-right: 4px; font-family: var(--display); font-size: 26px; font-style: italic; font-weight: 900; line-height: 1; letter-spacing: -0.02em; background: linear-gradient(90deg, var(--brand-a), var(--brand-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chev { flex: none; width: 12px; height: 18px; clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%); background: radial-gradient(circle, #fff 1px, transparent 1.3px) 0 0 / 3px 3px; opacity: 0.9; }
.brand-tag { font-size: 9px; letter-spacing: 0.32em; color: var(--muted); }

/* Shell */
.shell { position: relative; z-index: 1; display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 22px 14px; background: var(--side); border-right: 1px solid var(--line); }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--muted); font-weight: 600; text-decoration: none; transition: background 0.15s, color 0.15s; }
.nav a:hover { background: #ffffff08; color: var(--text); }
.nav a.active { background: var(--indigo); color: #fff; box-shadow: 0 8px 22px -8px var(--indigo); }
.nav svg { flex: none; width: 18px; height: 18px; }
.side-foot { margin-top: auto; }
.side-foot .btn { width: 100%; }
.main { width: 100%; max-width: 1240px; padding: 32px clamp(18px, 3vw, 40px) 48px; }

/* Page head */
.head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.head p { margin-top: 6px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 99px; background: #ffffff06; color: var(--dim); font-size: 12px; font-weight: 600; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-on { color: var(--ok); }
.pill-off { color: var(--warn); }

/* Buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 1px solid transparent; border-radius: var(--radius-sm); color: #fff; font: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: filter 0.15s, background 0.15s, transform 0.1s; }
.btn:active { transform: scale(0.98); }
.btn-brand { background: linear-gradient(90deg, var(--brand-a), var(--brand-b)); box-shadow: 0 8px 22px -10px var(--brand-a); }
.btn-brand:hover { filter: brightness(1.08); }
.btn-ghost { background: #ffffff08; border-color: var(--line-strong); color: var(--dim); }
.btn-ghost:hover { background: #ffffff12; color: #fff; }
input, select { min-width: 0; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--field); color: var(--text); font: inherit; }
input:focus, select:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px var(--indigo-soft); }
select { cursor: pointer; }

/* Stat cards */
.stats { display: grid; gap: 14px; margin-bottom: 22px; }
.stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { position: relative; overflow: hidden; padding: 16px 18px 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--indigo); }
.stat-brand::before { background: linear-gradient(var(--brand-a), var(--brand-b)); }
.stat span { display: block; color: var(--muted); font-size: 12.5px; }
.stat strong { display: block; margin-top: 4px; font-size: 30px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }

/* Panels */
.panel { margin-bottom: 22px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.note p { max-width: 780px; margin-top: 8px; line-height: 1.7; }
.panel .table-wrap { margin-top: 14px; }

/* Seven-day chart */
.chart { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; height: 180px; }
.chart-col { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; min-width: 0; }
.chart-n { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chart-bar { display: flex; align-items: flex-end; flex: 1; width: 100%; max-width: 46px; overflow: hidden; border-radius: 6px; background: #ffffff06; }
.chart-bar i { display: block; width: 100%; min-height: 2px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--brand-b), var(--brand-a)); }
.chart-bar i.h-0 { min-height: 0; }
.chart-label { color: var(--muted); font-size: 11px; }

/* Search toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.search { position: relative; display: flex; flex: 1 1 260px; }
.search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.search input { width: 100%; padding-left: 36px; }

/* Tables */
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--table); }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { padding: 11px 14px; background: #3b35d40f; color: #7d81a6; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.table td { padding: 12px 14px; border-top: 1px solid #ffffff0a; vertical-align: middle; }
.table tbody tr:hover td { background: #3b35d40d; }
.nowrap { white-space: nowrap; }
.mono { color: var(--dim); font-family: var(--mono); font-size: 12.5px; }
.sub { display: block; color: var(--muted); font-size: 12px; }
.table .empty { padding: 48px 20px; color: var(--muted); text-align: center; }
.empty a { margin-left: 6px; color: var(--brand-b); }
.empty-msg { position: sticky; left: 0; display: inline-block; max-width: calc(100vw - 72px); white-space: normal; }

/* Status badges and remaining time */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-aktif { background: var(--ok-bg); color: var(--ok); }
.badge-bitti { background: var(--warn-bg); color: var(--warn); }
.badge-iptal { background: var(--off-bg); color: var(--off); text-decoration: line-through; }
.badge-iptal::before { display: none; }
.left { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.meter { width: 72px; height: 5px; overflow: hidden; border-radius: 5px; background: #ffffff14; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-a), var(--brand-b)); }

/* Pagination */
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 16px; color: var(--muted); }
.pagination a { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--dim); text-decoration: none; }
.pagination a:hover { border-color: var(--indigo); color: #fff; }

/* Sign-in */
body.auth::before { display: none; }
.auth-shell { position: relative; z-index: 1; display: grid; place-items: center; min-height: 100vh; padding: 24px; background: linear-gradient(110deg, #05050c, #12123a 50%, #2a2aa8); }
.auth-card { display: grid; gap: 16px; width: 100%; max-width: 420px; padding: 28px; border: 1px solid var(--line-strong); border-radius: 18px; background: #07071acc; box-shadow: 0 30px 80px -30px #000; backdrop-filter: blur(10px); }
.auth-logo { display: block; width: 100%; height: auto; border-radius: 12px; }
.field { display: grid; gap: 8px; color: var(--dim); font-weight: 600; }
.alert { padding: 10px 12px; border: 1px solid #df221940; border-radius: var(--radius-sm); background: #df22191a; color: #ff9d94; }

/* Public landing: Modern Showcase with Vibrant Glassmorphism */
body.landing {
  background-color: #06070f;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 10% 35%, rgba(223, 34, 25, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 90% 65%, rgba(14, 165, 233, 0.16) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(168, 85, 247, 0.12) 0%, transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
}
body.landing::before {
  content: "";
  position: fixed;
  right: -200px;
  top: -160px;
  width: 850px;
  height: 850px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(14, 165, 233, 0.2) 40%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
body.landing::after {
  content: "";
  position: fixed;
  left: -220px;
  top: 35%;
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, rgba(255, 59, 48, 0.25) 0%, rgba(255, 122, 0, 0.16) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.landing-main { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; padding: 56px 20px 64px; text-align: center; }
.landing-logo { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto 36px; border-radius: 16px; box-shadow: 0 30px 80px -40px var(--indigo); }
.lead { margin: 12px 0 32px; color: var(--dim); font-size: 18px; }
.landing .note { text-align: left; }
.landing-foot { margin-top: 28px; font-size: 13px; }
.landing-foot a { color: var(--muted); }
.landing-cta { margin-top: 24px; }
.landing-header { position: sticky; top: 0; z-index: 50; background: rgba(9, 10, 22, 0.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 8px 32px -8px rgba(0,0,0,0.5); }
.landing-header-inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.landing-brand { display: flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
.landing-brand .wm { font-size: 24px; }
.brand-badge { font-size: 10px; font-weight: 800; letter-spacing: 0.15em; color: var(--muted); padding: 3px 7px; border: 1px solid var(--line-strong); border-radius: 6px; background: rgba(255,255,255,0.04); }
.landing-nav-links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.landing-nav-link { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 14px; transition: color 0.15s; }
.landing-nav-link:hover { color: #fff; }
.landing-nav-actions { display: flex; align-items: center; gap: 12px; }

/* Radiant Buttons */
.landing .btn-brand {
  background: linear-gradient(135deg, #ff3b30 0%, #ff7a00 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px -6px rgba(255, 59, 48, 0.6), 0 0 24px -4px rgba(255, 122, 0, 0.4);
}
.landing .btn-brand:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -6px rgba(255, 59, 48, 0.8), 0 0 36px -2px rgba(255, 122, 0, 0.6);
}
.landing .btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.landing .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(99, 102, 241, 0.5);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(59, 53, 212, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 64px 24px 48px; text-align: center; }
.hero-badge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; border-radius: 99px; background: rgba(255, 59, 48, 0.14); border: 1px solid rgba(255, 122, 0, 0.4); color: #ff8a7a; font-size: 12.5px; font-weight: 700; margin-bottom: 24px; letter-spacing: 0.04em; box-shadow: 0 0 24px -4px rgba(255, 59, 48, 0.35); }
.hero-title { font-size: clamp(34px, 5.5vw, 62px); font-weight: 900; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 20px; color: #fff; }
.hero-title-gradient { background: linear-gradient(135deg, #ffffff 25%, #ff9d94 70%, #ff7a00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 18px rgba(255, 59, 48, 0.3)); }
.hero-subtitle { font-size: clamp(16px, 2.2vw, 20px); color: var(--dim); max-width: 760px; margin: 0 auto 36px; line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 32px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 10px; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* TV & UI Mockup Showcase */
.mockup-container { position: relative; max-width: 1040px; margin: 48px auto 64px; overflow: hidden; }
.mockup-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.45) 0%, rgba(255, 59, 48, 0.22) 50%, transparent 75%); filter: blur(50px); pointer-events: none; z-index: 0; }
.tv-shell { position: relative; z-index: 1; border: 2px solid rgba(99, 102, 241, 0.35); border-radius: 20px; background: rgba(8, 9, 20, 0.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 12px; box-shadow: 0 40px 100px -30px rgba(0,0,0,0.9), 0 0 40px -10px rgba(59, 53, 212, 0.35), inset 0 1px 0 rgba(255,255,255,0.12); }
.tv-screen { border: 1px solid var(--line); border-radius: 14px; background: #0c0e18; overflow: hidden; display: flex; flex-direction: column; }
.tv-topbar { height: 38px; background: #131726; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 12px; font-weight: 700; color: var(--muted); }
.tv-topbar-left { display: flex; align-items: center; gap: 10px; }
.tv-live-indicator { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-b); }
.tv-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-a); box-shadow: 0 0 8px var(--brand-a); }
.tv-body-grid { display: grid; grid-template-columns: 190px 240px 1fr; min-height: 380px; }
.tv-col-cats { background: #0a0b14; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.tv-cat-item { padding: 9px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--muted); text-align: left; }
.tv-cat-active { background: rgba(59, 53, 212, 0.2); color: #fff; border-left: 3px solid var(--indigo); }
.tv-col-channels { background: #0e101c; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; }
.tv-chan-card { padding: 10px 12px; border-radius: 8px; background: #141726; border: 1px solid var(--line); display: flex; align-items: center; gap: 10px; text-align: left; }
.tv-chan-active { border-color: var(--accent-orange, #ff7a00); box-shadow: 0 0 16px -2px rgba(255, 122, 0, 0.4); background: #191c30; }
.tv-chan-num { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--brand-b); }
.tv-chan-name { font-size: 13px; font-weight: 700; color: #fff; }
.landing-hero-logo { display: block; max-width: 320px; width: 100%; height: auto; margin: 0 auto 24px; filter: drop-shadow(0 12px 30px rgba(59, 53, 212, 0.45)); }
.tv-col-player { position: relative; background: #06070e; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; overflow: hidden; }
.tv-player-live-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; filter: contrast(1.05) brightness(0.9); z-index: 1; }
.tv-player-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 18, 0.3) 0%, rgba(8, 9, 18, 0.82) 100%); z-index: 2; pointer-events: none; }
.tv-player-match-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 20px; z-index: 3; }
.tv-match-teams { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: 0.02em; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.tv-match-score { font-family: var(--display); font-size: 38px; font-style: italic; font-weight: 900; color: var(--brand-b); letter-spacing: 0.05em; text-shadow: 0 2px 14px rgba(0,0,0,0.9); }
.tv-match-badge { display: inline-block; padding: 4px 12px; border-radius: 99px; background: rgba(78, 227, 173, 0.2); border: 1px solid rgba(78, 227, 173, 0.4); color: var(--ok); font-size: 11px; font-weight: 800; text-transform: uppercase; backdrop-filter: blur(8px); }
.tv-player-bar { position: relative; z-index: 4; background: rgba(14, 16, 28, 0.94); backdrop-filter: blur(12px); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
.tv-epg-title { font-size: 13.5px; font-weight: 700; color: #fff; }
.tv-epg-time { font-size: 12px; color: var(--dim); margin-top: 2px; }
.tv-res-tag { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--ok); padding: 3px 8px; border-radius: 4px; background: rgba(78, 227, 173, 0.12); border: 1px solid rgba(78, 227, 173, 0.25); }

/* Screenshots Gallery */
.screens-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.screen-card {
  background: rgba(14, 16, 28, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.screen-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 24px 48px -12px rgba(59, 53, 212, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.screen-thumb-wrap { position: relative; background: #080912; overflow: hidden; aspect-ratio: 16 / 9; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.screen-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.screen-card:hover .screen-thumb { transform: scale(1.03); }
.screen-info { padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.screen-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.screen-desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }
.screen-tag { display: inline-block; font-family: var(--mono); font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 4px; margin-bottom: 10px; width: fit-content; }
.dl-thumb-wrap { margin-bottom: 16px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); aspect-ratio: 16 / 9; background: #080912; }
.dl-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Floating Pill Accents */
.float-tag { position: absolute; z-index: 5; padding: 10px 18px; border-radius: 12px; background: rgba(16, 18, 32, 0.9); border: 1px solid var(--line-strong); box-shadow: 0 16px 36px -8px rgba(0,0,0,0.8); backdrop-filter: blur(12px); font-size: 13.5px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; }
.float-left { top: -16px; left: -24px; border-color: rgba(255, 122, 0, 0.4); }
.float-right { bottom: 20px; right: -24px; border-color: rgba(59, 53, 212, 0.5); }

/* Platforms Ribbon */
.platforms-bar {
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(14, 16, 28, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
}
.platform-pill { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--dim); }
.platform-pill svg { width: 22px; height: 22px; color: var(--brand-b); }

/* Section Generic */
.sec-wrap { max-width: 1200px; margin: 0 auto 96px; padding: 0 24px; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-title { font-size: clamp(26px, 3.8vw, 38px); font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 12px; }
.sec-desc { color: var(--dim); font-size: 16px; line-height: 1.6; }
.kicker-amber { color: #fbbf24; text-shadow: 0 0 14px rgba(245, 158, 11, 0.45); }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat-card {
  background: rgba(14, 16, 28, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: left;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 24px 48px -12px rgba(59, 53, 212, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.feat-icon-box { width: 48px; height: 48px; border-radius: 12px; background: rgba(59, 53, 212, 0.18); border: 1px solid rgba(99, 102, 241, 0.35); color: #818cf8; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 0 18px -4px rgba(59, 53, 212, 0.4); }
.feat-icon-box svg { width: 24px; height: 24px; }
.feat-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feat-desc { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }

/* Steps (Workflow) */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step-card {
  position: relative;
  background: rgba(14, 16, 28, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: left;
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 0, 0.4);
  box-shadow: 0 24px 48px -12px rgba(255, 59, 48, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.step-num { font-family: var(--display); font-size: 40px; font-style: italic; font-weight: 900; line-height: 1; color: var(--brand-b); opacity: 0.9; margin-bottom: 16px; text-shadow: 0 0 16px rgba(255, 122, 0, 0.4); }
.step-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* Downloads Grid */
.downloads-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dl-card {
  background: rgba(14, 16, 28, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.dl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 24px 48px -12px rgba(59, 53, 212, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.dl-card-featured {
  border-color: rgba(255, 59, 48, 0.45);
  box-shadow: 0 20px 48px -10px rgba(255, 59, 48, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(180deg, rgba(28, 14, 24, 0.85) 0%, rgba(14, 16, 28, 0.75) 100%);
}
.dl-head { margin-bottom: 20px; }
.dl-badge { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 99px; margin-bottom: 14px; }
.dl-badge-orange { background: rgba(255, 122, 0, 0.18); border: 1px solid rgba(255, 122, 0, 0.4); color: var(--accent-orange, #ff7a00); box-shadow: 0 0 14px -2px rgba(255, 122, 0, 0.35); }
.dl-badge-blue { background: rgba(59, 130, 246, 0.18); border: 1px solid rgba(59, 130, 246, 0.4); color: #60a5fa; box-shadow: 0 0 14px -2px rgba(59, 130, 246, 0.35); }
.dl-badge-purple { background: rgba(168, 85, 247, 0.18); border: 1px solid rgba(168, 85, 247, 0.4); color: #c084fc; box-shadow: 0 0 14px -2px rgba(168, 85, 247, 0.35); }
.dl-title { font-size: 21px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.dl-desc { font-size: 14px; color: var(--dim); line-height: 1.6; margin-bottom: 24px; }
.dl-action .btn { width: 100%; padding: 13px 18px; font-size: 14.5px; }
.dl-meta { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

/* Legal Disclaimer Banner (593daleplay standard) */
.legal-banner-wrap {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 32px auto 0;
  padding: 0 24px;
}
.legal-banner-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5), 0 0 30px -10px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: left;
}
.legal-banner-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px -2px rgba(245, 158, 11, 0.4);
}
.legal-banner-icon svg { width: 20px; height: 20px; }
.legal-banner-content { font-size: 13.5px; line-height: 1.6; color: #fef3c7; }
.legal-banner-title { color: #fbbf24; font-weight: 800; margin-right: 6px; }

/* Compliance Matrix: DOs vs DON'Ts (593daleplay standard) */
.compliance-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}
.compliance-card {
  border-radius: 16px;
  padding: 32px 28px;
  text-align: left;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}
.compliance-card-not {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.25);
  box-shadow: 0 20px 40px -15px rgba(239, 68, 68, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.compliance-card-yes {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.compliance-card-head { margin-bottom: 20px; }
.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.compliance-badge svg { width: 15px; height: 15px; }
.compliance-badge-not {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  box-shadow: 0 0 20px -4px rgba(239, 68, 68, 0.35);
}
.compliance-badge-yes {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  box-shadow: 0 0 20px -4px rgba(16, 185, 129, 0.35);
}
.compliance-sub { font-size: 13.5px; color: var(--dim); line-height: 1.55; margin: 0; }
.compliance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compliance-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.compliance-icon-not {
  flex: none;
  width: 19px;
  height: 19px;
  color: #ef4444;
  margin-top: 1px;
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.45));
}
.compliance-icon-yes {
  flex: none;
  width: 19px;
  height: 19px;
  color: #10b981;
  margin-top: 1px;
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.45));
}

/* Compliance Statement Card */
.compliance-statement-card {
  background: rgba(14, 16, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: left;
}
.compliance-statement-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px -4px rgba(99, 102, 241, 0.35);
}
.compliance-statement-icon svg { width: 24px; height: 24px; }
.compliance-statement-body { flex: 1; }
.compliance-statement-title { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: -0.01em; }
.compliance-statement-text { font-size: 13.5px; color: var(--dim); line-height: 1.65; margin-bottom: 10px; }
.compliance-statement-muted { font-size: 12.5px; color: var(--muted); margin-bottom: 0; }

/* FAQ Accordion */
.faq-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: rgba(14, 16, 28, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] { border-color: rgba(99, 102, 241, 0.45); background: rgba(18, 20, 36, 0.88); box-shadow: 0 20px 40px -10px rgba(59, 53, 212, 0.25); }
.faq-q { padding: 18px 22px; font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; user-select: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--brand-b); line-height: 1; transition: transform 0.2s; }
.faq-item[open] .faq-q::after { content: "−"; transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; font-size: 14.5px; color: var(--dim); line-height: 1.7; }
.faq-a p { margin: 0; }

/* Footer */
.landing-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); background: #070814; padding: 64px 24px 36px; margin-top: 80px; position: relative; z-index: 1; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .wm { font-size: 26px; }
.footer-text { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin-top: 14px; max-width: 480px; }
.footer-col-title { font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: 12.5px; }

/* Responsive Adjustments */
@media (max-width: 960px) {
  .features-grid, .steps-grid, .downloads-grid, .screens-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-body-grid { grid-template-columns: 160px 1fr; }
  .tv-col-cats { display: none; }
  .float-tag { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .compliance-matrix { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .compliance-statement-card { flex-direction: column; gap: 14px; padding: 22px 18px; }
  .legal-banner-card { flex-direction: column; gap: 12px; padding: 16px 18px; }
}
@media (max-width: 640px) {
  .landing-header-inner { padding: 10px 14px; gap: 8px; }
  .landing-nav-links { display: none; }
  .landing-nav-actions .btn-ghost { display: none; }
  .landing-nav-actions .btn-brand { display: none; }
  .features-grid, .steps-grid, .downloads-grid, .screens-grid { grid-template-columns: minmax(0, 1fr); }
  .tv-body-grid { grid-template-columns: minmax(0, 1fr); }
  .tv-col-channels { display: none; }
  .platforms-bar { justify-content: center; }
  .hero-wrap { padding: 40px 16px 32px; overflow: hidden; }
  .mockup-container { overflow: hidden; }
  .legal-banner-wrap { padding: 0 16px; }
}
body.landing { overflow-x: hidden; }



/* Width and height steps (CSP forbids inline styles) */
.w-0 { width: 0; } .w-5 { width: 5%; } .w-10 { width: 10%; } .w-15 { width: 15%; } .w-20 { width: 20%; } .w-25 { width: 25%; } .w-30 { width: 30%; }
.w-35 { width: 35%; } .w-40 { width: 40%; } .w-45 { width: 45%; } .w-50 { width: 50%; } .w-55 { width: 55%; } .w-60 { width: 60%; } .w-65 { width: 65%; }
.w-70 { width: 70%; } .w-75 { width: 75%; } .w-80 { width: 80%; } .w-85 { width: 85%; } .w-90 { width: 90%; } .w-95 { width: 95%; } .w-100 { width: 100%; }
.h-0 { height: 0; } .h-5 { height: 5%; } .h-10 { height: 10%; } .h-15 { height: 15%; } .h-20 { height: 20%; } .h-25 { height: 25%; } .h-30 { height: 30%; }
.h-35 { height: 35%; } .h-40 { height: 40%; } .h-45 { height: 45%; } .h-50 { height: 50%; } .h-55 { height: 55%; } .h-60 { height: 60%; } .h-65 { height: 65%; }
.h-70 { height: 70%; } .h-75 { height: 75%; } .h-80 { height: 80%; } .h-85 { height: 85%; } .h-90 { height: 90%; } .h-95 { height: 95%; } .h-100 { height: 100%; }

/* Responsive */
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { z-index: 5; flex-direction: row; align-items: center; gap: 12px; height: auto; padding: 10px 14px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { flex: none; padding: 0 6px 0 0; }
  .brand-tag { display: none; }
  .wm { font-size: 20px; }
  .nav { flex: 1; flex-direction: row; gap: 2px; }
  .nav a { padding: 8px 10px; white-space: nowrap; }
  .side-foot { flex: none; margin: 0; }
  .side-foot .btn { width: auto; padding: 8px 12px; }
  .stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head { flex-direction: column; }
}
@media (max-width: 600px) {
  .main { padding: 20px 16px 40px; }
  .stat { padding: 12px 12px 12px 16px; }
  .stat strong { font-size: 22px; }
  .toolbar .btn { flex: 1; }
  .chart { gap: 6px; }
  .lead { font-size: 16px; }
  .side .chev { display: none; }
  .side { gap: 8px; padding: 10px; }
  .wm { font-size: 18px; }
  .side-foot .btn { padding: 7px 10px; font-size: 13px; }
  .table .empty { text-align: left; }
  .nav a { gap: 6px; }
  .nav a span { display: none; }
  .nav a.active span { display: inline; }
}
@media (max-width: 420px) {
  .stats-4, .stats-3 { grid-template-columns: minmax(0, 1fr); }
}

/* Licenses, admin actions and activation codes */
:root { --trial: #7aa7ff; --trial-bg: #7aa7ff1f; --life: #c39bff; --life-bg: #c39bff1f; --danger: #ff7a70; --danger-bg: #df22191f; }
.badge-trial { background: var(--trial-bg); color: var(--trial); }
.badge-paid, .badge-unused { background: var(--ok-bg); color: var(--ok); }
.badge-lifetime { background: var(--life-bg); color: var(--life); }
.badge-expired { background: var(--warn-bg); color: var(--warn); }
.badge-blocked, .badge-used { background: var(--off-bg); color: var(--off); }
.badge-blocked { text-decoration: line-through; }
.badge-blocked::before, .badge-used::before { display: none; }
.acts { display: flex; flex-wrap: wrap; gap: 6px; min-width: 260px; }
.acts form { margin: 0; }
.act { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 5px 10px; border: 1px solid transparent; border-radius: 7px; background: #ffffff08; color: var(--dim); font: inherit; font-size: 12px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: filter 0.15s, background 0.15s; }
.act:hover { filter: brightness(1.2); }
.act-green { background: var(--ok-bg); border-color: #4ee3ad40; color: var(--ok); }
.act-purple { background: var(--life-bg); border-color: #c39bff40; color: var(--life); }
.act-blue { background: var(--trial-bg); border-color: #7aa7ff40; color: var(--trial); }
.act-amber { background: var(--warn-bg); border-color: #ffc46e40; color: var(--warn); }
.act-red { background: var(--danger-bg); border-color: #ff7a7040; color: var(--danger); }
.act-gray { border-color: var(--line-strong); }
.act-icon { min-width: 30px; padding: 5px 8px; border-color: var(--line-strong); }
.act-x:hover { color: var(--danger); }
.flash { margin: -8px 0 18px; padding: 11px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.flash-ok { background: var(--ok-bg); border: 1px solid #4ee3ad40; color: var(--ok); }
.flash-err { background: var(--danger-bg); border: 1px solid #ff7a7040; color: var(--danger); }
.confirm p { margin-top: 8px; color: var(--dim); }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.confirm-actions form { margin: 0; }
.gen-form, .edit-form { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(120px, 0.6fr) minmax(220px, 2fr) auto; gap: 12px; align-items: end; }
.edit-form { grid-template-columns: minmax(140px, 1fr) minmax(180px, 1fr) minmax(220px, 2fr); }
.edit-form .confirm-actions { grid-column: 1 / -1; margin-top: 0; }
.gen-form select, .gen-form input, .edit-form select, .edit-form input { width: 100%; }
.codes-box { margin-top: 18px; padding: 16px; border: 1px dashed #4ee3ad66; border-radius: var(--radius); background: #2fd49a0d; }
.codes-box .panel-head { margin-bottom: 10px; }
.codes-box ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 16px; margin: 0; padding: 0; list-style: none; }
.codes-box li { color: var(--text); font-size: 14px; letter-spacing: 0.04em; }
.code { color: var(--text); letter-spacing: 0.04em; }
.act-wrap td { vertical-align: top; }
@media (max-width: 900px) {
  .gen-form, .edit-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gen-note, .edit-note, .gen-form .btn { grid-column: 1 / -1; }
}

/* Web activation page */
.activate-main { max-width: 560px; }
.activate .landing-logo { margin-bottom: 28px; }
.activate-card { text-align: left; }
.activate-status { margin-bottom: 16px; color: var(--dim); font-weight: 600; }
.activate-status.activate-error { color: var(--danger); }
.activate-form { display: grid; gap: 14px; }
.activate-form input { width: 100%; }
.code-input { font-family: var(--mono); font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; }
.device-pick { margin: 0; padding: 0; border: 0; }
.device-pick legend { margin-bottom: 8px; color: var(--dim); font-weight: 600; }
.device-card { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--field); cursor: pointer; }
.device-card + .device-card { margin-top: 8px; }
.device-card:has(input:checked) { border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
.device-card input { grid-row: span 2; accent-color: var(--indigo); }
.device-card .badge { grid-row: span 2; }
.device-card .sub { grid-column: 2; }
#done .muted { margin: 12px 0 16px; }
.landing-cta { margin-top: 24px; }

/* Pure CSS Language Selector (CSP & Zero-JS compliant) */
.lang-selector {
  position: relative;
  display: inline-block;
  user-select: none;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: background 0.15s, border-color 0.15s;
}
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--indigo);
}
.lang-flag { font-size: 15px; line-height: 1; }
.lang-code { letter-spacing: 0.05em; font-family: var(--font); }
.lang-caret { font-size: 10px; color: var(--muted); transition: transform 0.2s; }
.lang-selector[open] .lang-caret { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 175px;
  background: #0d0d1b;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--dim);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.lang-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.lang-item.active {
  background: var(--indigo-soft);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(59, 53, 212, 0.4);
}
.lang-item .lang-name { flex: 1; }
.lang-item .lang-short {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}
.lang-item.active .lang-short {
  color: var(--brand-b);
}

@media (max-width: 600px) {
  .lang-btn { padding: 6px 9px; font-size: 12px; }
  .lang-dropdown { right: 0; left: auto; min-width: 150px; }
}

/* RTL Support for Arabic and right-to-left scripts */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .hero-wrap,
[dir="rtl"] .sec-head,
[dir="rtl"] .landing-header-inner {
  direction: rtl;
}
[dir="rtl"] .landing-header-inner {
  flex-direction: row-reverse;
}
[dir="rtl"] .landing-nav-links {
  flex-direction: row-reverse;
}
[dir="rtl"] .landing-nav-actions {
  flex-direction: row-reverse;
}
[dir="rtl"] .hero-ctas,
[dir="rtl"] .hero-trust,
[dir="rtl"] .platforms-bar {
  flex-direction: row-reverse;
}
[dir="rtl"] .tv-body-grid {
  direction: rtl;
}
[dir="rtl"] .step-card,
[dir="rtl"] .feat-card,
[dir="rtl"] .screen-card,
[dir="rtl"] .dl-card,
[dir="rtl"] .faq-item,
[dir="rtl"] .legal-banner-card,
[dir="rtl"] .compliance-card,
[dir="rtl"] .compliance-statement-card {
  text-align: right;
}
[dir="rtl"] .legal-banner-title {
  margin-right: 0;
  margin-left: 6px;
}
[dir="rtl"] .footer-grid,
[dir="rtl"] .footer-bottom {
  direction: rtl;
}
[dir="rtl"] .lang-dropdown {
  left: 0;
  right: auto;
  text-align: right;
}

/* Live Online Status & Indicators */
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; margin-right: 6px; }
.dot-green { background: #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.7); }
.dot-gray { background: #6b7280; }
.dot-pulse { animation: statusPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}
.text-green { color: #34d399; font-weight: 700; }
.text-brand { color: #f2766b; }
.phone-link { color: #60a5fa; text-decoration: none; font-size: 12px; }
.phone-link:hover { color: #93c5fd; text-decoration: underline; }
.bold { font-weight: 700; }


