/* ============================================================
   TASDEEDA — Landing Page
   Clean & Responsive Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --brand: #FF4500;
  --brand-dim: rgba(255, 69, 0, 0.12);
  --brand-border: rgba(255, 69, 0, 0.30);

  --bg: #07070F;
  --surface: #0E0E1C;
  --elevated: #141428;

  --line: rgba(255, 255, 255, 0.07);
  --line-accent: rgba(255, 69, 0, 0.25);

  --tx-1: #FFFFFF;
  --tx-2: #C8C8DC;
  --tx-3: #6E6E88;

  --grad: linear-gradient(135deg, #FF4500, #FF7A40);

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 36px;

  --ease: cubic-bezier(.25, .8, .25, 1);
  --tr: .32s var(--ease);

  --font: 'Cairo', sans-serif;
}

/* ── Reset ───────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--tx-1);
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Layout ──────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .35;
    transform: scale(.7);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(255, 69, 0, .12);
  }

  50% {
    box-shadow: 0 0 70px rgba(255, 69, 0, .35);
  }
}

@keyframes blink-red {

  0%,
  100% {
    color: var(--brand);
  }

  50% {
    color: #ff9a7a;
  }
}

@keyframes ticker-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(50%);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes accordion-slide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.sr {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.sr.in {
  opacity: 1;
  transform: translateY(0);
}

.sr-l {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.sr-l.in {
  opacity: 1;
  transform: translateX(0);
}

.sr-r {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.sr-r.in {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding-top: calc(1.2rem + env(safe-area-inset-top, 0px));
  padding-bottom: 1.2rem;
  transition: background .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}

.nav.stuck {
  background: rgba(7, 7, 15, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--line);
  padding-top: calc(0.8rem + env(safe-area-inset-top, 0px));
  padding-bottom: 0.8rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-socials {
  display: flex;
  gap: .5rem;
}

.nav-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--tx-3);
  transition: var(--tr);
}

.nav-socials a:hover {
  color: var(--brand);
  border-color: var(--brand-border);
  background: var(--brand-dim);
  transform: translateY(-2px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

/* BG layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 15%, rgba(255, 69, 0, .18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 5% 85%, rgba(255, 69, 0, .08) 0%, transparent 55%),
    linear-gradient(170deg, #0A0A18 0%, #07070F 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 100%);
}

.hero-orb {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 69, 0, .16) 0%, transparent 70%);
  top: -120px;
  right: -60px;
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
  animation: glow 5s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0 5rem;
}

/* ── Hero Text ── */
.hero-text {
  animation: fade-up .85s var(--ease) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--brand-dim);
  border: 1px solid var(--brand-border);
  border-radius: 50px;
  padding: .3rem .9rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 1.4rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse-dot 1.3s ease infinite;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin-bottom: 1.2rem;
}

.hero-title .hl {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--tx-2);
  line-height: 1.8;
  margin-bottom: 2.25rem;
  max-width: 440px;
}

/* ── Store Buttons ── */
.store-group {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem 1.35rem;
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  transition: var(--tr);
  flex: 1;
  min-width: 148px;
}

.store-btn:hover {
  border-color: var(--brand-border);
  background: var(--brand-dim);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 69, 0, .18);
}

.s-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.s-icon.apple {
  background: #111;
  color: #fff;
}

.s-icon.gplay {
  background: linear-gradient(135deg, #4285F4, #34A853, #FBBC04, #EA4335);
  color: #fff;
}

.s-txt {
  display: flex;
  flex-direction: column;
}

.s-txt small {
  font-size: .6rem;
  color: var(--tx-3);
  line-height: 1;
}

.s-txt strong {
  font-size: .92rem;
  font-weight: 800;
  color: var(--tx-1);
}

/* ── Hero Phone ── */
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: scale-in .9s var(--ease) .2s both;
}

.phone-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 69, 0, .18) 0%, transparent 65%);
  pointer-events: none;
  animation: glow 4s ease-in-out infinite;
}

/* ============================================================
   iPHONE 17 FRAME
   ============================================================ */

/* ── Wrapper (float animation) ── */
.iphone17 {
  position: relative;
  width: 278px;
  animation: float 5.5s ease-in-out infinite;
  z-index: 5;
}

/* ── Button base ── */
/* (Buttons removed per user request) */

/* ── Frame Body — Titanium Black ── */
.ip17-frame {
  width: 278px;
  height: 570px;
  position: relative;
  border-radius: 54px;
  display: flex;
  flex-direction: column;
  padding: 4px;
  /* Titanium Space Black gradient */
  background:
    linear-gradient(165deg,
      #32324A 0%,
      #1C1C2C 8%,
      #2E2E44 16%,
      #181828 28%,
      #2A2A3E 40%,
      #161626 52%,
      #262638 64%,
      #1A1A2C 76%,
      #2C2C42 88%,
      #181828 100%);
  box-shadow:
    0 80px 140px rgba(0, 0, 0, 0.95),
    0 40px 70px rgba(0, 0, 0, 0.75),
    0 15px 30px rgba(0, 0, 0, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.7),
    inset 1.5px 0 0 rgba(255, 255, 255, 0.07),
    inset -1.5px 0 0 rgba(0, 0, 0, 0.55),
    0 0 0 0.5px rgba(255, 69, 0, 0.05);
}


/* ── Glass Display ── */
.ip17-display {
  flex: 1;
  background: #000;
  border-radius: 52px;
  overflow: hidden;
  position: relative;
}

/* ── Punch-hole Camera — أقصى اليسار ── */
.ip17-punch-cam {
  position: absolute;
  top: 25px;
  left: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%,
      #0E0E20 0%,
      #04040C 60%,
      #000 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  z-index: 20;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.6),
    inset 0 0 4px rgba(0, 0, 0, 0.9);
  /* انعكاس دقيق داخل العدسة */
}

.ip17-punch-cam::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(100, 140, 255, 0.2), transparent);
  border-radius: 50%;
}

/* ══ منطقة الصورة (Screenshot) ══ */
.phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 25px;
  background: rgba(10, 10, 20, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* إطار تنبيه للمستخدم (يختفي عند وجود صورة) */
.phone-screen::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1.5px dashed rgba(255, 69, 0, 0.16);
  border-radius: 25px;
  pointer-events: none;
  z-index: 5;
}

.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 52px;
  z-index: 1;
}

/* إخفاء الإطار المنقط عند وجود صورة */
.phone-screen:has(img)::before {
  display: none;
}

/* ── Home Indicator ── */
/* (Home indicator removed per user request) */


/* ── Bottom Chin ── */
/* (Chin removed per user request) */



/* App Bar inside phone */
.p-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 2px;
}

.p-logo {
  font-size: .72rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: .07em;
}

.p-live {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 69, 0, .11);
  border: 1px solid rgba(255, 69, 0, .28);
  border-radius: 50px;
  padding: 2px 8px;
  font-size: .58rem;
  font-weight: 800;
  color: var(--brand);
}

.p-dot {
  width: 5px;
  height: 5px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse-dot 1s ease infinite;
}

/* Match Card */
.p-match {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 13px;
  padding: 11px;
  margin-bottom: 11px;
}

.p-league {
  font-size: .52rem;
  color: var(--tx-3);
  text-align: center;
  margin-bottom: 9px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.p-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
}

.p-emblem {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .5rem;
  font-weight: 900;
  color: #fff;
}

.p-emblem.h {
  background: linear-gradient(135deg, #002D62, #004EBB);
}

.p-emblem.n {
  background: linear-gradient(135deg, #C8A228, #EFC040);
}

.p-name {
  font-size: .62rem;
  font-weight: 700;
  color: var(--tx-1);
}

.p-score-c {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  padding: 0 6px;
}

.p-score {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--tx-1);
  letter-spacing: 4px;
}

.p-min {
  font-size: .55rem;
  font-weight: 800;
  color: var(--brand);
  animation: blink-red 1.5s ease infinite;
}

/* Events */
.p-events {
  background: rgba(255, 255, 255, .018);
  border: 1px solid rgba(255, 255, 255, .04);
  border-radius: 11px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 11px;
}

.p-ev {
  display: flex;
  gap: 7px;
  align-items: center;
  direction: ltr;
}

.p-ev-t {
  font-size: .56rem;
  color: var(--tx-3);
  font-weight: 700;
  min-width: 20px;
}

.p-ev-x {
  font-size: .58rem;
  color: var(--tx-2);
}

/* News Snippet */
.p-news {
  background: rgba(255, 69, 0, .05);
  border: 1px solid rgba(255, 69, 0, .12);
  border-radius: 11px;
  padding: 9px;
}

.p-news-tag {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: .5rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  margin-bottom: 5px;
}

.p-news-txt {
  font-size: .58rem;
  font-weight: 700;
  color: var(--tx-1);
  line-height: 1.45;
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  overflow: hidden;
  background: rgba(255, 69, 0, .03);
  border-top: 1px solid var(--line-accent);
  border-bottom: 1px solid var(--line-accent);
  padding: 1.1rem 0;
  position: relative;
  direction: rtl;
}

.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.ticker::before {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.ticker::after {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.ticker-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  width: max-content;
  animation: ticker-rtl 32s linear infinite;
  align-items: center;
}

/* Pause scroll on hover for better user experience */
.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--tx-2);
  direction: rtl;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s var(--ease);
  user-select: none;
}

.ticker-item:hover {
  background: rgba(255, 69, 0, 0.08);
  border-color: rgba(255, 69, 0, 0.25);
  transform: translateY(-2px);
  color: var(--tx-1);
}

.team-name {
  font-weight: 700;
  color: var(--tx-1);
}

.team-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.team-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.match-score {
  font-weight: 800;
  background: var(--brand-dim);
  color: var(--brand);
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  font-family: monospace, sans-serif;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  border: 1px solid var(--brand-border);
  direction: ltr;
}

.ticker-sep {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--brand-border);
  border-radius: 50%;
  opacity: 0.4;
  flex-shrink: 0;
}

/* ============================================================
   GLOBAL SECTION HEADERS
   ============================================================ */
.sec-head {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .8rem;
}

.sec-title {
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: .75rem;
  color: var(--tx-1);
}

.sec-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sec-sub {
  font-size: 1rem;
  color: var(--tx-3);
  line-height: 1.75;
  max-width: 520px;
  margin-inline: auto;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  position: relative;
  padding: 8rem 0;
  background: linear-gradient(to bottom, #07070F 0%, #0C0C18 50%, #07070F 100%);
  overflow: hidden;
}

.features-bg-pitch {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.018;
  pointer-events: none;
  color: var(--tx-1);
  display: flex;
  align-items: center;
  justify-content: center;
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 90%);
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 90%);
}

.features-bg-pitch svg {
  width: 100%;
  max-width: 1200px;
  height: auto;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 2.2rem 2rem;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}

.feat-card:hover {
  border-color: var(--brand-border);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 40px rgba(255, 69, 0, .15);
}

.feat-card:hover::after {
  transform: scaleX(1);
}

.feat-icon {
  width: 52px;
  height: 52px;
  background: var(--brand-dim);
  border: 1px solid var(--brand-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand);
  margin-bottom: 1.1rem;
  transition: var(--tr);
}

.feat-card:hover .feat-icon {
  background: rgba(255, 69, 0, .2);
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 0 20px rgba(255, 69, 0, .25);
}

.feat-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.feat-card-header .feat-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.feat-card-header .feat-h {
  margin-bottom: 0;
}

.feat-h {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: .5rem;
  color: var(--tx-1);
}

.feat-p {
  font-size: 0.82rem;
  color: var(--tx-2);
  line-height: 1.75;
  font-style: italic;
  display: block;
  position: relative;
  background: rgba(255, 255, 255, 0.015);
  border-right: 2.5px solid var(--brand);
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.q-icon {
  font-size: 0.85rem;
  color: var(--brand);
  opacity: 0.65;
  vertical-align: middle;
}

.q-icon.start {
  margin-inline-end: 0.4rem;
}

.q-icon.end {
  margin-inline-start: 0.4rem;
}

/* Bento Grid Spans on Desktop */
.feat-card.news {
  grid-column: span 1;
}

.feat-card.live {
  grid-column: span 2;
}

.feat-card.stats {
  grid-column: span 2;
}

.feat-card.highlights {
  grid-column: span 1;
}

@media (min-width: 992px) {
  .feat-card.live,
  .feat-card.stats {
    flex-direction: row;
    align-items: center;
    gap: 2.2rem;
  }

  .feat-card.live .feat-info,
  .feat-card.stats .feat-info {
    flex: 1;
  }

  .feat-card.live .card-widget,
  .feat-card.stats .card-widget {
    flex: 1.1;
    width: 100%;
  }
}

/* --- Interactive Mock Widgets --- */

/* Pulse Animations */
@keyframes pulse-dot-red {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}
.pulse-red {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #EF0107;
  border-radius: 50%;
  animation: pulse-dot-red 1.2s infinite ease-in-out;
  vertical-align: middle;
  margin-inline-end: 4px;
  box-shadow: 0 0 8px #EF0107;
}

@keyframes pulse-dot-orange {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.pulse-orange {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse-dot-orange 1s infinite ease-in-out;
  vertical-align: middle;
  margin-inline-end: 4px;
  box-shadow: 0 0 8px var(--brand);
}

/* News Widget */
.widget-news {
  width: calc(100% + 4rem);
  margin-inline: -2rem;
  overflow: hidden;
}

.news-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 12.5% 1.5rem;
  scrollbar-width: none;
}

.news-slider::-webkit-scrollbar {
  display: none;
}

.news-slide {
  width: 75%;
  flex-shrink: 0;
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--r-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.news-slide:hover {
  border-color: var(--brand-border);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.news-img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-slide:hover .news-img {
  transform: scale(1.05);
}

.news-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.news-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--tx-1);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.5rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  color: var(--tx-3);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 0.6rem;
  margin-top: auto;
}

.news-tag {
  color: var(--tx-2);
  font-weight: 700;
}

.news-time {
  color: var(--tx-3);
}

.news-sep {
  color: var(--tx-3);
  opacity: 0.45;
}

/* Live Match Widget */
.widget-live {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--r-l);
  padding: 1.2rem;
  width: 100%;
  box-shadow: inset 0 4px 20px rgba(0,0,0,0.4);
}

.live-match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.6rem;
}

.league-tag {
  color: var(--tx-2);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.league-tag i {
  color: var(--brand);
}

.league-logo-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.live-time {
  background: var(--brand-dim);
  color: var(--brand);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-weight: 800;
  border: 1px solid var(--brand-border);
}

.live-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.live-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}

.widget-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.widget-team-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tx-1);
  text-align: center;
}

.live-score {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--tx-1);
  letter-spacing: 4px;
  flex-shrink: 0;
  text-align: center;
  padding: 0 1rem;
  font-family: monospace, sans-serif;
  text-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.live-goals-split {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.live-team-goals {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.live-team-goals.right-side {
  align-items: flex-start;
  text-align: right;
}

.live-team-goals.left-side {
  align-items: flex-end;
  text-align: left;
}

.goal-scorer {
  font-size: 0.68rem;
  color: var(--tx-2);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.goal-scorer i {
  color: var(--brand);
  font-size: 0.7rem;
}

/* Stats Widget */
.widget-stats {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--r-l);
  padding: 1.2rem;
  width: 100%;
  box-shadow: inset 0 4px 20px rgba(0,0,0,0.4);
}

.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.6rem;
}

.stat-league-tag {
  color: var(--tx-3);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.stats-team-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-m);
}

.stat-team-logo-side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.stat-team-name-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tx-1);
}

.stat-vs-label {
  font-size: 0.65rem;
  color: var(--tx-3);
  font-weight: 700;
}

.stat-bars {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.stat-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tx-2);
}

.stat-title {
  color: var(--tx-3);
  font-weight: 600;
  font-size: 0.68rem;
}

.stat-progress-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
}

.stat-progress-bar {
  height: 100%;
  transition: width 1s ease-out;
}

.stat-progress-bar.blue {
  background: linear-gradient(to left, #004EBB, #0088FF);
}

.stat-progress-bar.yellow {
  background: linear-gradient(to right, #FBC02D, #FFEB3B);
}

/* Highlights Widget */
.widget-highlights {
  width: 100%;
  margin-top: auto;
}

.video-preview {
  position: relative;
  height: 140px;
  border-radius: var(--r-m);
  background: linear-gradient(135deg, rgba(7, 95, 23, 0.35) 0%, rgba(7, 7, 15, 0.95) 100%),
              radial-gradient(circle at top, rgba(255, 69, 0, 0.18) 0%, transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.feat-card:hover .video-preview {
  border-color: var(--brand-border);
  box-shadow: 0 8px 30px rgba(255, 69, 0, 0.15);
}

.video-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(circle, black, transparent);
}

.play-btn-glow {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn-glow::after {
  content: '';
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 69, 0, 0.2);
  animation: pulse-dot-orange 2s infinite ease;
}

.play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
  z-index: 3;
  transition: all 0.3s ease;
  padding-inline-start: 2px;
}

.feat-card:hover .play-btn {
  transform: scale(1.1);
  background: #ff5c1e;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--tx-1);
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.08);
  font-family: monospace, sans-serif;
}

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(239, 1, 7, 0.85);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--tx-1);
  z-index: 2;
  display: flex;
  align-items: center;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}

.faq-side {
  position: sticky;
  top: 90px;
}

.faq-side .sec-title {
  margin-bottom: .75rem;
}

.faq-side .sec-sub {
  margin-inline: 0;
  margin-bottom: 2rem;
  max-width: 280px;
}

.faq-support {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: .9rem 1.1rem;
  color: var(--tx-2);
  font-size: .87rem;
  font-weight: 600;
  transition: var(--tr);
}

.faq-support i {
  font-size: 1.25rem;
  color: var(--brand);
  flex-shrink: 0;
}

.faq-support:hover {
  border-color: var(--brand-border);
  background: var(--brand-dim);
  color: var(--brand);
}

.acc-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.acc-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}

.acc-item.open {
  border-color: var(--brand-border);
  box-shadow: 0 0 20px rgba(255, 69, 0, .08);
}

.acc-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: transparent;
  color: var(--tx-1);
  font-size: clamp(.88rem, 2vw, 1.02rem);
  font-weight: 700;
  text-align: right;
  transition: color .25s;
}

.acc-btn:hover {
  color: var(--brand);
}

.acc-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-dim);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: var(--brand);
  transition: var(--tr);
}

.acc-item.open .acc-icon {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: rotate(45deg);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s var(--ease);
}

.acc-item.open .acc-body {
  max-height: 300px;
}

.acc-body-inner {
  padding: 0 1.35rem 1.1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--tx-3);
  font-size: .93rem;
  line-height: 1.8;
  animation: accordion-slide .3s ease;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative;
  background: #05050D;
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 2rem;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.08) 0%, rgba(255, 69, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

footer .wrap {
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand-section {
  max-width: 480px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: transform 0.3s var(--ease);
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--tx-2);
  line-height: 1.8;
}

.footer-download-section {
  width: 100%;
}

.footer-dl-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tx-3);
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.footer-dl-btns-centered {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.f-store-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(20, 20, 40, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  transition: all 0.3s var(--ease);
  min-width: 180px;
  backdrop-filter: blur(10px);
}

.f-store-btn:hover {
  border-color: var(--brand);
  background: var(--brand-dim);
  box-shadow: 0 10px 20px rgba(255, 69, 0, 0.15);
  transform: translateY(-3px);
}

.f-store-btn i {
  font-size: 1.5rem;
  color: var(--brand);
  transition: transform 0.3s var(--ease);
}

.f-store-btn:hover i {
  transform: scale(1.15);
}

.f-store-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.f-store-btn small {
  font-size: 0.65rem;
  color: var(--tx-3);
  margin-bottom: 2px;
}

.f-store-btn strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tx-1);
}

.footer-socials-section {
  display: flex;
  justify-content: center;
}

.f-socials-centered {
  display: flex;
  gap: 1rem;
}

.f-socials-centered .social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 20, 40, 0.6);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--tx-2);
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(5px);
}

.f-socials-centered .social-link:hover {
  color: #FFFFFF;
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
  transform: translateY(-5px) rotate(8deg);
}

.footer-bottom-bar {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  align-items: center;
}

.f-copy-centered {
  font-size: 0.88rem;
  color: var(--tx-3);
  text-align: center;
  font-weight: 500;
}

/* ============================================================
   GIANT TEXT TICKER
   ============================================================ */
.giant-ticker {
  direction: ltr;
  overflow: hidden;
  padding: 3.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(7, 7, 15, 0.4);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

/* Row wrapper */
.gt-row {
  display: flex;
  overflow: hidden;
  user-select: none;
  white-space: nowrap;
  width: 100%;
}

/* Track holding the items */
.gt-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem; /* ensures gap between tracks */
  min-width: max-content;
}

/* Text style */
.gt-track span {
  font-family: var(--font);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.gt-track .en {
  font-weight: 800;
  font-family: sans-serif;
  margin-left: 0.5rem;
}

.gt-track .dot {
  color: var(--brand);
  font-size: clamp(1.5rem, 4vw, 3rem);
}

/* Row 1 specific styling (Orange outline) */
.gt-row-ltr:nth-child(1) .gt-track span:not(.dot) {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 69, 0, 0.45);
  text-shadow: 0 0 10px rgba(255, 69, 0, 0.05);
}

/* Row 2 specific styling (White outline) */
.gt-row-rtl .gt-track span:not(.dot) {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
}

/* Row 3 specific styling (Orange outline) */
.gt-row-ltr:nth-child(3) .gt-track span:not(.dot) {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 69, 0, 0.45);
  text-shadow: 0 0 10px rgba(255, 69, 0, 0.05);
}

/* Animations */
.gt-row-ltr .gt-track {
  animation: gt-scroll-ltr 30s linear infinite;
}

.gt-row-rtl .gt-track {
  animation: gt-scroll-rtl 30s linear infinite;
}

/* Pause animation on hover */
.giant-ticker:hover .gt-track {
  animation-play-state: paused;
}

@keyframes gt-scroll-ltr {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes gt-scroll-rtl {
  0% {
    transform: translate3d(-100%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 69, 0, .3);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet — 768px */
@media (max-width: 900px) {

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
    padding: 2.5rem 0 4rem;
  }

  .hero-text {
    order: 2;
  }

  .hero-phone {
    order: 1;
  }

  .hero-sub {
    margin-inline: auto;
    max-width: 100%;
  }

  .hero-badge {
    margin-inline: auto;
  }

  .store-group {
    justify-content: center;
  }

  .hero-orb {
    width: 360px;
    height: 360px;
    top: -60px;
    right: -40px;
  }

  /* Phone smaller on tablet */
  .iphone17,
  .ip17-frame {
    width: 230px;
    height: 472px;
    border-radius: 44px;
  }

  .ip17-display {
    border-radius: 42px;
  }

  .phone-screen,
  .phone-screen img {
    border-radius: 42px;
  }

  .ip17-punch-cam {
    top: 21px;
    left: 25px;
    width: 12px;
    height: 12px;
  }

  /* FAQ */
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-side {
    position: static;
  }

  .faq-side .sec-sub {
    max-width: 100%;
  }

  /* Footer classes removed since layout is centered by default */
}

/* Mobile — 600px */
@media (max-width: 600px) {

  /* Navbar socials are kept visible (no display: none) */
  .nav-socials {
    display: flex;
    gap: 0.35rem;
  }

  .nav-socials a {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-inner {
    padding: 2rem 0 3rem;
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .hero-sub {
    font-size: .95rem;
  }

  /* Phone even smaller */
  .iphone17,
  .ip17-frame {
    width: 210px;
    height: 430px;
    border-radius: 40px;
  }

  .ip17-display {
    border-radius: 38px;
  }

  .phone-screen,
  .phone-screen img {
    border-radius: 38px;
  }

  .ip17-punch-cam {
    top: 19px;
    left: 23px;
    width: 11px;
    height: 11px;
  }

  .phone-glow {
    width: 260px;
    height: 260px;
  }

  .p-score {
    font-size: 1.25rem;
  }

  /* Store buttons on mobile — side-by-side */
  .store-group {
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
  }

  .store-btn {
    flex: 1;
    min-width: unset;
    width: auto;
    padding: .6rem .8rem;
  }

  .store-btn strong {
    font-size: .82rem;
  }

  .store-btn small {
    font-size: .52rem;
  }

  .s-icon {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }

  /* Features */
  .feat-grid {
    grid-template-columns: 1fr;
    gap: .85rem;
  }

  .feat-card {
    padding: 1.4rem 1.25rem;
  }

  /* FAQ */
  .faq {
    padding: 3rem 0;
  }

  .acc-btn {
    padding: 1rem 1.1rem;
  }

  .acc-body-inner {
    padding: 0 1.1rem .9rem;
    padding-top: .9rem;
  }

  /* Footer */
  .footer-dl-btns-centered {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-dl-btns-centered .f-store-btn {
    min-width: unset;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Very small — 380px */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.6rem;
  }

  /* Store buttons smaller wrapper */
  .store-btn {
    padding: .5rem .6rem;
  }

  .iphone17,
  .ip17-frame {
    width: 190px;
    height: 390px;
    border-radius: 36px;
  }

  .ip17-display {
    border-radius: 34px;
  }

  .phone-screen,
  .phone-screen img {
    border-radius: 34px;
  }

  .ip17-punch-cam {
    top: 17px;
    left: 21px;
    width: 10px;
    height: 10px;
  }

  .p-score {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }
}

/* ============================================================
   SUBPAGES & LEGAL PAGES STYLES
   ============================================================ */

/* Navbar Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--tx-2);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.25s var(--ease);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--brand);
}

/* Footer Navigation Links */
.footer-links-section {
  width: 100%;
  margin: 1.5rem 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.f-nav-link {
  color: var(--tx-2);
  font-size: 0.93rem;
  font-weight: 600;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.f-nav-link:hover {
  color: var(--brand);
  transform: translateY(-2px);
}

.f-nav-link i {
  font-size: 1rem;
  color: var(--brand);
}

/* Subpage Hero Header */
.page-hero {
  position: relative;
  padding: 7rem 0 3.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(255, 69, 0, 0.12) 0%, rgba(7, 7, 15, 0) 70%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--tx-3);
  margin-bottom: 1.25rem;
  background: rgba(20, 20, 40, 0.6);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--line);
}

.breadcrumbs a {
  color: var(--tx-2);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.breadcrumbs i {
  font-size: 0.75rem;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #FFF;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-title em {
  font-style: normal;
  color: var(--brand);
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-desc {
  font-size: 1.05rem;
  color: var(--tx-2);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

.page-last-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--tx-3);
  margin-top: 1rem;
}

/* Legal & Content Container */
.content-wrapper {
  padding: 4rem 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 2.25rem;
  transition: border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.legal-card:hover {
  border-color: rgba(255, 69, 0, 0.3);
}

.legal-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.legal-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-dim);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand);
  flex-shrink: 0;
}

.legal-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--tx-1);
}

.legal-text {
  color: var(--tx-2);
  font-size: 0.98rem;
  line-height: 1.85;
}

.legal-text p {
  margin-bottom: 1rem;
}

.legal-text p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 1rem 0;
  padding-right: 1.2rem;
}

.legal-list li {
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--tx-2);
  line-height: 1.7;
}

.legal-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--brand);
  font-weight: bold;
}

.legal-alert {
  background: rgba(255, 69, 0, 0.07);
  border: 1px solid rgba(255, 69, 0, 0.3);
  border-radius: var(--r-m);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.legal-alert i {
  font-size: 1.4rem;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-alert-content {
  font-size: 0.92rem;
  color: var(--tx-1);
  line-height: 1.7;
}

.legal-alert-content strong {
  color: var(--brand);
  display: block;
  margin-bottom: 0.3rem;
}

/* SEO Comparison Styles */
.vs-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.vs-box {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 1rem 2rem;
  text-align: center;
  min-width: 180px;
}

.vs-box.winner {
  border-color: var(--brand);
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.15), rgba(20, 20, 40, 0.8));
  box-shadow: 0 0 25px rgba(255, 69, 0, 0.2);
}

.vs-badge {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--brand);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 69, 0, 0.15);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Comparison Table */
.comp-table-wrapper {
  overflow-x: auto;
  border-radius: var(--r-l);
  border: 1px solid var(--line);
  background: var(--surface);
  margin: 2.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  min-width: 700px;
}

.comp-table th,
.comp-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.comp-table th {
  background: var(--elevated);
  color: var(--tx-1);
  font-size: 1rem;
  font-weight: 700;
}

.comp-table th.highlight-col {
  background: rgba(255, 69, 0, 0.12);
  color: var(--brand);
  border-bottom: 2px solid var(--brand);
}

.comp-table tr:last-child td {
  border-bottom: none;
}

.comp-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comp-table td.highlight-cell {
  background: rgba(255, 69, 0, 0.05);
  font-weight: 700;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-badge.verified {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.illegal {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.feature-check {
  color: #10B981;
  font-size: 1.25rem;
  font-weight: bold;
}

.feature-cross {
  color: #EF4444;
  font-size: 1.25rem;
  font-weight: bold;
}

/* Contact / Support Card */
.legal-contact-box {
  background: linear-gradient(135deg, var(--elevated), var(--surface));
  border: 1px solid var(--brand-border);
  border-radius: var(--r-l);
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.legal-contact-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--grad);
}

.legal-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--grad);
  color: #FFF;
  padding: 0.85rem 2rem;
  border-radius: var(--r-m);
  font-weight: 700;
  font-size: 0.98rem;
  margin-top: 1.25rem;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
}

.legal-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.45);
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* hidden on mobile header, available in footer */
  }
  
  .legal-card {
    padding: 1.5rem;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 0.9rem;
  }
}