/* ============================================
   LAYERSEVEN TV — Light Wine→Pink Design System
   layerseven.tv | v1.0
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand wine→pink ramp */
  --wine-deepest: #590D22;
  --wine-dark:    #800F2F;
  --raspberry:    #A4133C;
  --pink-bold:    #C9184A;
  --coral:        #FF4D6D;
  --pink-warm:    #FF758F;
  --pink-soft:    #FF8FA3;
  --pink-light:   #FFB3C1;
  --pink-pale:    #FFCCD5;
  --blush:        #FFF0F3;
  --white:        #FFFFFF;
  --ink:          #1A1A1A;

  /* Semantic */
  --bg-primary:    var(--white);
  --bg-secondary:  var(--blush);
  --bg-tertiary:   var(--pink-pale);
  --bg-elevated:   var(--white);
  --bg-accent:     var(--pink-pale);

  --text-primary:   var(--wine-deepest);
  --text-secondary: var(--wine-dark);
  --text-body:      var(--ink);
  --text-muted:     #6b5a64;
  --text-on-accent: var(--white);

  --accent-primary: var(--pink-bold);
  --accent-hover:   var(--coral);
  --accent-soft:    var(--pink-warm);

  --border-color:  var(--pink-light);
  --border-subtle: rgba(201, 24, 74, 0.10);
  --border-medium: rgba(201, 24, 74, 0.18);

  /* Glow */
  --glow-pink-soft:    0 0 40px rgba(201, 24, 74, 0.15);
  --glow-pink-medium:  0 0 30px rgba(201, 24, 74, 0.22);

  /* Functional */
  --success: #16a34a;
  --danger:  #dc2626;
  --info:    #2563eb;
  --warning: #d97706;

  /* Typography */
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Fraunces', Georgia, serif;

  /* Type scale */
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base: 1rem;
  --text-lg:  1.125rem;
  --text-xl:  1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-section: clamp(3rem, 6vw, 5rem);

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-fast: 0.15s ease;
  --ease-base: 0.25s ease;
  --ease-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows (soft for light theme) */
  --shadow-sm: 0 2px 6px rgba(89, 13, 34, 0.06);
  --shadow-md: 0 6px 20px rgba(89, 13, 34, 0.08);
  --shadow-lg: 0 16px 48px rgba(89, 13, 34, 0.12);
  --shadow-card-hover: 0 24px 60px rgba(201, 24, 74, 0.18);

  /* Layout */
  --container-max: 1240px;
  --header-height: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-primary); text-decoration: none; transition: color var(--ease-base); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, var(--text-6xl)); color: var(--wine-deepest); }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--text-4xl)); color: var(--wine-dark); }
h3 { font-size: var(--text-2xl); color: var(--raspberry); font-family: var(--font-body); font-weight: 700; }
h4 { font-size: var(--text-xl); color: var(--raspberry); font-family: var(--font-body); font-weight: 700; }
h5 { font-size: var(--text-lg); color: var(--wine-dark); font-family: var(--font-body); font-weight: 600; }
p  { color: var(--text-body); }
strong { color: var(--wine-deepest); font-weight: 700; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding-inline: var(--space-lg); }
section { padding-block: var(--space-section); }
.section--alt { background: var(--bg-secondary); }
.section--accent { background: var(--bg-accent); }

.section-header { text-align: center; margin-bottom: var(--space-2xl); }
.section-badge {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius-full);
  background: var(--pink-pale); color: var(--wine-dark);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.section-title { margin-bottom: var(--space-md); }
.section-subtitle { font-size: var(--text-lg); color: var(--text-muted); max-width: 720px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: var(--radius-full);
  font-weight: 700; font-size: var(--text-base); letter-spacing: 0.01em;
  text-decoration: none; transition: all var(--ease-base);
  min-height: 48px; white-space: nowrap;
}
.btn-primary { background: var(--accent-primary); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: transparent; color: var(--accent-primary); border: 2px solid var(--accent-primary); }
.btn-secondary:hover { background: var(--accent-primary); color: var(--white); }
.btn-ghost { background: var(--blush); color: var(--wine-dark); }
.btn-ghost:hover { background: var(--pink-pale); color: var(--wine-deepest); }
.btn-lg { padding: 1.05rem 2.25rem; font-size: var(--text-lg); min-height: 56px; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: var(--text-sm); min-height: 40px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.site-header__logo img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: var(--space-lg); }
.site-nav a { color: var(--wine-dark); font-weight: 600; font-size: var(--text-sm); }
.site-nav a:hover { color: var(--accent-primary); }
.site-nav__cta { background: var(--accent-primary); color: var(--white) !important; padding: 8px 18px; border-radius: var(--radius-full); }
.site-nav__cta:hover { background: var(--accent-hover); }
.menu-toggle { display: none; padding: 8px; background: transparent; border: none; cursor: pointer; }
.menu-toggle__bar { display: block; width: 24px; height: 2px; background: var(--wine-deepest); margin: 5px 0; transition: var(--ease-base); }

@media (max-width: 900px) {
  .site-nav { position: fixed; top: var(--header-height); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: var(--space-lg); background: var(--white); box-shadow: var(--shadow-lg); border-top: 1px solid var(--border-subtle); display: none; }
  .site-nav.open { display: flex; }
  .menu-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0;
  background: linear-gradient(135deg, var(--blush) 0%, var(--white) 50%, var(--pink-pale) 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -10%; pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(255, 117, 143, 0.20), transparent 40%),
              radial-gradient(circle at 85% 80%, rgba(201, 24, 74, 0.14), transparent 40%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-2xl); align-items: center; }
.hero__title { margin-bottom: var(--space-md); font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.15; }
.hero__subtitle { font-size: var(--text-base); color: var(--text-body); max-width: 560px; margin-bottom: var(--space-md); }
.hero__pills { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-md); }
.hero__media--featured { position: relative; }
.hero__media--featured img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255,255,255,0.7); transform: rotate(-1.5deg); transition: transform var(--ease-base); }
.hero__media--featured img:hover { transform: rotate(0deg) scale(1.02); }
.hero__media--featured::after { content: ""; position: absolute; inset: -10%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(201, 24, 74, 0.16), transparent 60%); }
.hero__badge-float { position: absolute; background: var(--white); padding: 12px 16px; border-radius: var(--radius-md); box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--wine-deepest); font-size: var(--text-sm); }
.hero__badge-float--tl { top: -14px; left: -14px; }
.hero__badge-float--br { bottom: -14px; right: -14px; }
.hero__badge-float .num { font-family: var(--font-heading); font-size: var(--text-2xl); color: var(--pink-bold); }
.hero__pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-full);
  background: var(--white); border: 1px solid var(--border-color);
  font-size: var(--text-sm); font-weight: 600; color: var(--wine-dark);
  box-shadow: var(--shadow-sm);
}
.hero__cta-row { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-xl); text-align: center; }
  .hero__subtitle, .hero__pills { margin-inline: auto; }
  .hero__pills { justify-content: center; }
  .hero__cta-row { justify-content: center; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: var(--space-xl);
  box-shadow: var(--shadow-sm); transition: all var(--ease-base);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--accent-primary); }
.card--blush { background: var(--blush); }
.card--featured { background: linear-gradient(135deg, var(--pink-pale), var(--blush)); border-color: var(--pink-bold); position: relative; }
.card__icon { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--pink-pale); display: flex; align-items: center; justify-content: center; font-size: var(--text-2xl); margin-bottom: var(--space-md); color: var(--accent-primary); }
.card__title { margin-bottom: var(--space-sm); color: var(--wine-deepest); font-family: var(--font-body); font-weight: 700; font-size: var(--text-xl); }
.card__text { color: var(--text-muted); }

/* ---------- Pricing ---------- */
.pricing-section { padding-block: var(--space-section); }
.pricing-section .section-badge { background: var(--pink-bold); color: var(--white); }

.connection-switch {
  display: inline-flex; flex-wrap: wrap; gap: var(--space-xs);
  padding: 6px; border-radius: var(--radius-full);
  background: var(--blush); border: 1px solid var(--border-color);
  margin: 0 auto var(--space-2xl); justify-content: center;
  box-shadow: var(--shadow-sm);
}
.connection-switch-wrap { display: flex; justify-content: center; width: 100%; margin-bottom: var(--space-2xl); }
.connection-switch__btn {
  padding: 10px 20px; border-radius: var(--radius-full);
  background: transparent; color: var(--wine-dark); font-weight: 600; font-size: var(--text-sm);
  transition: all var(--ease-base);
}
.connection-switch__btn.active { background: var(--accent-primary); color: var(--white); box-shadow: var(--shadow-sm); }
.connection-switch__btn:hover:not(.active) { background: var(--pink-pale); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-lg); }
.plan-card {
  position: relative; background: var(--white); border: 2px solid var(--border-color);
  border-radius: var(--radius-lg); padding: var(--space-xl);
  display: flex; flex-direction: column; gap: var(--space-md);
  transition: all var(--ease-base);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--accent-primary); }
.plan-card--popular { border-color: var(--pink-bold); background: linear-gradient(180deg, var(--blush), var(--white) 30%); transform: scale(1.02); }
.plan-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--pink-bold); color: var(--white);
  padding: 5px 16px; border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.plan-card__note { background: var(--blush); color: var(--wine-dark); padding: 6px 12px; border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 600; text-align: center; }
.plan-card__name { font-size: var(--text-xl); font-weight: 700; color: var(--wine-deepest); }
.plan-card__price { display: flex; align-items: baseline; gap: 6px; }
.plan-card__price-val { font-family: var(--font-heading); font-size: var(--text-5xl); font-weight: 700; color: var(--wine-deepest); }
.plan-card__price-period { color: var(--text-muted); font-size: var(--text-sm); }
.plan-card__features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.plan-card__features li { display: flex; align-items: center; gap: 8px; color: var(--text-body); font-size: var(--text-sm); }
.plan-card__features li::before { content: "✓"; color: var(--accent-primary); font-weight: 700; font-size: 1.1em; }
.plan-card__cta { margin-top: auto; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-md); max-width: 560px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label { font-size: var(--text-sm); font-weight: 600; color: var(--wine-dark); }
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%; padding: 12px 16px;
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--border-color); border-radius: var(--radius-md);
  font-family: inherit; font-size: var(--text-base);
  transition: border-color var(--ease-base), box-shadow var(--ease-base);
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 4px rgba(201, 24, 74, 0.10);
}
.form__field textarea { min-height: 140px; resize: vertical; }
.form__error { color: var(--danger); font-size: var(--text-sm); display: none; }
.form__success { background: rgba(22, 163, 74, 0.08); color: var(--success); padding: 12px 16px; border-radius: var(--radius-md); display: none; }

/* intl-tel-input contrast on light theme */
.iti, .iti__country-list { color: var(--ink) !important; }
.iti__country-list { background: var(--white) !important; border: 1px solid var(--border-color) !important; box-shadow: var(--shadow-md); }
.iti__country.iti__highlight { background: var(--blush) !important; }
.iti__dial-code { color: var(--text-muted) !important; }

/* ---------- Trust pills ---------- */
.trust-pills { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin: var(--space-md) 0; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-full);
  background: var(--blush); color: var(--wine-dark);
  font-size: var(--text-xs); font-weight: 600;
}

/* ---------- Trending poster slider ---------- */
.trending {
  background: var(--bg-secondary);
  padding-block: var(--space-section);
  overflow: hidden;
}
.trending__track {
  display: flex; gap: var(--space-md);
  animation: scroll-trending 50s linear infinite;
  width: max-content;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.trending__track:hover { animation-play-state: paused; }
@keyframes scroll-trending { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.poster-card {
  position: relative; flex-shrink: 0;
  width: clamp(130px, 14vw, 220px); aspect-ratio: 2/3;
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.poster-card img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.poster-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 55%, rgba(89, 13, 34, 0.85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 12px;
  color: #fff; opacity: 0; transition: opacity var(--ease-base);
}
.poster-card:hover .poster-card__overlay { opacity: 1; }
.poster-card__badge { background: var(--pink-bold); color: #fff; align-self: flex-start; padding: 3px 8px; border-radius: var(--radius-sm); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.poster-card__title { font-size: var(--text-sm); font-weight: 700; }

/* ---------- Devices grid ---------- */
.devices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-lg); }
.device-tile { padding: var(--space-lg); background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); text-align: center; transition: all var(--ease-base); }
.device-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-primary); }
.device-tile__icon { font-size: var(--text-4xl); color: var(--accent-primary); margin-bottom: var(--space-sm); }
.device-tile__name { font-weight: 700; color: var(--wine-deepest); }

/* ---------- Comparison table ---------- */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border-subtle); }
.compare-table th { background: var(--blush); color: var(--wine-deepest); font-weight: 700; }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table .col-us { background: rgba(255, 207, 213, 0.32); color: var(--wine-deepest); font-weight: 600; }
.compare-table .yes { color: var(--success); font-weight: 700; }
.compare-table .no { color: var(--danger); font-weight: 700; }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-sm); }
.testimonial__rating { color: var(--coral); font-size: var(--text-lg); margin-bottom: var(--space-sm); }
.testimonial__quote { font-style: italic; color: var(--text-body); margin-bottom: var(--space-md); }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--pink-pale); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--wine-deepest); }
.testimonial__name { font-weight: 700; color: var(--wine-deepest); }
.testimonial__meta { font-size: var(--text-xs); color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-sm); }
.faq-item { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary { cursor: pointer; padding: var(--space-md) var(--space-lg); font-weight: 700; color: var(--wine-deepest); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent-primary); font-weight: 700; font-size: var(--text-2xl); transition: transform var(--ease-base); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer { padding: 0 var(--space-lg) var(--space-lg); color: var(--text-body); }
.faq-item__answer a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blush); border-top: 1px solid var(--border-color); padding-block: var(--space-3xl) var(--space-xl); }
.footer__grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: var(--space-2xl); margin-bottom: var(--space-2xl); }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { height: 38px; margin-bottom: var(--space-md); }
.footer__brand p { color: var(--text-muted); font-size: var(--text-sm); max-width: 320px; }
.footer__heading { font-size: var(--text-sm); font-weight: 700; color: var(--wine-deepest); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-md); font-family: var(--font-body); }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { color: var(--wine-dark); font-size: var(--text-sm); }
.footer__links a:hover { color: var(--accent-primary); }
.footer__bottom { border-top: 1px solid var(--border-color); padding-top: var(--space-lg); display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; color: var(--text-muted); font-size: var(--text-sm); }

/* ---------- Final CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--wine-dark), var(--pink-bold));
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(255, 117, 143, 0.22), transparent 50%); pointer-events: none; }
.cta-banner h2 { color: #fff; margin-bottom: var(--space-md); font-size: clamp(1.75rem, 4vw, var(--text-5xl)); }
.cta-banner p { color: rgba(255, 255, 255, 0.92); font-size: var(--text-lg); max-width: 640px; margin: 0 auto var(--space-xl); }
.cta-banner .btn-primary { background: var(--white); color: var(--pink-bold); }
.cta-banner .btn-primary:hover { background: var(--blush); color: var(--wine-deepest); }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px;
  background: var(--accent-primary); color: var(--white);
  padding: 14px; border-radius: var(--radius-full); text-align: center;
  font-weight: 700; box-shadow: var(--shadow-lg);
  z-index: 60;
}
@media (max-width: 700px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 72px; }
}

/* ---------- Events ticker ---------- */
.events-ticker { background: var(--white); border-block: 1px solid var(--border-color); padding: 14px 0; overflow: hidden; }
.events-ticker__track { display: flex; gap: var(--space-xl); animation: ticker-scroll 60s linear infinite; width: max-content; }
.events-ticker__track:hover { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.event-pill {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  padding: 6px 14px; border-radius: var(--radius-full); background: var(--blush);
  color: var(--wine-deepest); font-size: var(--text-sm); font-weight: 600;
}
.event-pill__time { background: var(--pink-bold); color: var(--white); padding: 3px 10px; border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 700; }
.event-pill__live { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse-dot 1.2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.events-skeleton { display: flex; gap: var(--space-lg); }
.events-skeleton__row { display: flex; gap: 8px; align-items: center; }
.events-skeleton__bar { height: 10px; border-radius: 6px; background: var(--pink-pale); animation: shimmer 1.4s linear infinite; }
.events-skeleton__bar--sm { width: 50px; }
@keyframes shimmer { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
.events-empty { text-align: center; padding: var(--space-md); color: var(--text-muted); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.grid { display: grid; gap: var(--space-lg); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.flex-row { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.hidden { display: none !important; }

/* ---------- Mobile padding floor (AGENTS.md Rule 14) ---------- */
@media (max-width: 480px) {
  .container { padding-inline: var(--space-lg); }
  .hero { padding: var(--space-2xl) 0; }
  section { padding-block: var(--space-2xl); }
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .mobile-cta, .events-ticker, .cta-banner { display: none; }
  body { color: #000; background: #fff; }
}

/* ---------- Misc helpers ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- "What is" / split feature block ---------- */
.split-feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-2xl); align-items: center; }
@media (max-width: 900px) { .split-feature { grid-template-columns: 1fr; } }
.split-feature__media { position: relative; }
.split-feature__media img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.split-feature__media--reverse { order: 2; }
@media (max-width: 900px) { .split-feature__media--reverse { order: 0; } }
.split-feature__highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); margin-top: var(--space-lg); }
@media (max-width: 480px) { .split-feature__highlights { grid-template-columns: 1fr; } }
.split-feature__highlight { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-md); }
.split-feature__highlight-icon { font-size: var(--text-xl); flex-shrink: 0; }
.split-feature__highlight-text strong { display: block; color: var(--wine-deepest); margin-bottom: 2px; font-size: var(--text-sm); }
.split-feature__highlight-text span { font-size: var(--text-xs); color: var(--text-muted); }

/* ---------- Step cards (How It Works upgraded) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-lg); }
.step-card { position: relative; background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-xl); overflow: hidden; transition: all var(--ease-base); }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: var(--accent-primary); }
.step-card__num {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: var(--radius-full);
  background: var(--pink-bold); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: var(--text-xl);
  box-shadow: var(--shadow-md);
}
.step-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--blush); }
.step-card__media img { width: 100%; height: 100%; object-fit: cover; }
.step-card__body { padding: var(--space-lg); }
.step-card__title { color: var(--wine-deepest); font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); margin-bottom: 6px; }
.step-card__text { color: var(--text-muted); font-size: var(--text-sm); }

/* ---------- Pricing FAQ chips (replaces long article text) ---------- */
.pricing-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-md); }
.pricing-info-card { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--space-lg); position: relative; overflow: hidden; transition: all var(--ease-base); }
.pricing-info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-primary); }
.pricing-info-card__icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--pink-pale); color: var(--pink-bold); display: flex; align-items: center; justify-content: center; font-size: var(--text-2xl); margin-bottom: var(--space-md); }
.pricing-info-card h3 { color: var(--wine-deepest); font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); margin-bottom: 8px; }
.pricing-info-card p { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.65; }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-lg); padding: var(--space-xl); background: linear-gradient(135deg, var(--blush), var(--pink-pale)); border-radius: var(--radius-xl); border: 1px solid var(--border-color); }
.stat-strip__item { text-align: center; }
.stat-strip__num { font-family: var(--font-heading); font-size: clamp(1.75rem, 4vw, var(--text-5xl)); font-weight: 700; color: var(--wine-deepest); display: block; line-height: 1; }
.stat-strip__label { color: var(--wine-dark); font-size: var(--text-sm); font-weight: 600; margin-top: 6px; }

/* ---------- Channel category tile (visual list) ---------- */
.cat-tile { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--space-lg); transition: all var(--ease-base); display: flex; flex-direction: column; gap: 8px; }
.cat-tile:hover { transform: translateY(-3px); border-color: var(--accent-primary); box-shadow: var(--shadow-md); }
.cat-tile__head { display: flex; align-items: center; gap: 10px; }
.cat-tile__emoji { font-size: var(--text-2xl); }
.cat-tile__title { color: var(--wine-deepest); font-family: var(--font-body); font-weight: 700; }
.cat-tile__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-tile__chip { background: var(--blush); color: var(--wine-dark); padding: 3px 10px; border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 600; }
.cat-tile__count { color: var(--text-muted); font-size: var(--text-xs); }

/* ---------- Timeline (about page) ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--pink-bold), var(--pink-light)); border-radius: 2px; }
.timeline__item { position: relative; padding-bottom: var(--space-xl); }
.timeline__item::before { content: ""; position: absolute; left: -27px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--pink-bold); box-shadow: 0 0 0 4px var(--blush); }
.timeline__year { font-family: var(--font-heading); color: var(--pink-bold); font-weight: 700; font-size: var(--text-sm); }
.timeline__title { color: var(--wine-deepest); margin: 4px 0 6px; font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); }
.timeline__text { color: var(--text-muted); font-size: var(--text-sm); }

/* ---------- App device tile (replaces long install paragraphs) ---------- */
.device-install-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-lg); }
.device-install-card { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--space-lg); transition: all var(--ease-base); }
.device-install-card:hover { transform: translateY(-3px); border-color: var(--accent-primary); box-shadow: var(--shadow-md); }
.device-install-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-md); }
.device-install-card__emoji { font-size: var(--text-3xl); width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--blush); display: flex; align-items: center; justify-content: center; }
.device-install-card__title { color: var(--wine-deepest); font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); margin: 0; }
.device-install-card__sub { color: var(--text-muted); font-size: var(--text-xs); }
.device-install-card ol { padding-left: 1.1rem; margin: 0; line-height: 1.7; font-size: var(--text-sm); color: var(--text-body); }
.device-install-card ol li { margin-bottom: 4px; }
.device-install-card__tag { display: inline-block; padding: 3px 10px; border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 700; margin-bottom: var(--space-sm); }
.device-install-card__tag--easy { background: rgba(22,163,74,0.10); color: var(--success); }
.device-install-card__tag--medium { background: rgba(217,119,6,0.10); color: var(--warning); }

/* ---------- Schedule hero + league tiles ---------- */
.schedule-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--wine-deepest) 0%, var(--wine-dark) 50%, var(--pink-bold) 100%);
  color: var(--white);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.schedule-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 20% 10%, rgba(255, 117, 143, 0.32), transparent 55%),
              radial-gradient(ellipse at 90% 90%, rgba(255, 204, 213, 0.20), transparent 55%);
}
.schedule-hero__inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.schedule-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--radius-full); background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); color: var(--white); font-size: var(--text-sm); font-weight: 600; backdrop-filter: blur(8px); margin-bottom: var(--space-md); }
.schedule-hero__badge .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse-dot 1.2s ease-in-out infinite; box-shadow: 0 0 12px rgba(255, 77, 109, 0.8); }
.schedule-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: var(--space-md); }
.schedule-hero p { color: rgba(255,255,255,0.92); font-size: var(--text-lg); margin-bottom: var(--space-lg); max-width: 600px; margin-inline: auto; }
.schedule-hero__cta-row { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; }
.schedule-hero .btn-primary { background: var(--white); color: var(--pink-bold); }
.schedule-hero .btn-primary:hover { background: var(--blush); color: var(--wine-deepest); }
.schedule-hero .btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.schedule-hero .btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }
.schedule-hero__quick-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xl); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid rgba(255,255,255,0.18); }
.schedule-hero__quick-stats > div { color: var(--white); font-size: var(--text-sm); display: flex; align-items: center; gap: 8px; opacity: 0.92; }
.schedule-hero__quick-stats strong { font-family: var(--font-heading); font-size: var(--text-lg); color: var(--white); }

.league-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-md); }
.league-tile {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: var(--space-lg) var(--space-md);
  background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  transition: all var(--ease-base);
  text-decoration: none; color: inherit;
  overflow: hidden;
  min-height: 170px;
}
.league-tile::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--league-color, var(--pink-bold));
}
.league-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--league-color, var(--pink-bold)); color: inherit; }
.league-tile__emoji { font-size: var(--text-4xl); line-height: 1; }
.league-tile__name { font-family: var(--font-body); font-weight: 800; color: var(--wine-deepest); font-size: var(--text-lg); }
.league-tile__sub { color: var(--text-muted); font-size: var(--text-sm); margin: 0; flex-grow: 1; line-height: 1.45; }
.league-tile__cta { display: inline-flex; align-items: center; gap: 4px; color: var(--league-color, var(--pink-bold)); font-weight: 700; font-size: var(--text-sm); margin-top: auto; }
.league-tile__cta::after { content: "→"; transition: transform var(--ease-base); }
.league-tile:hover .league-tile__cta::after { transform: translateX(4px); }

/* ---------- Schedule "live now" feed wrapper ---------- */
.live-feed-wrap { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--border-color); box-shadow: var(--shadow-md); overflow: hidden; }
.live-feed-wrap__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-md); padding: var(--space-lg); background: linear-gradient(135deg, var(--blush), var(--white)); border-bottom: 1px solid var(--border-color); }
.live-feed-wrap__head h2 { margin: 0; font-size: var(--text-2xl); }
.live-feed-wrap__head .live-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-full); font-size: var(--text-sm); color: var(--wine-dark); font-weight: 600; }
.live-feed-wrap__body { padding: var(--space-lg); }

/* ---------- Schedule renderer (events.js output) ---------- */
.schedule-categories {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: var(--space-md); margin-bottom: var(--space-2xl);
}
.schedule-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--space-lg) var(--space-md); gap: 6px;
  background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  text-decoration: none; color: inherit; text-align: center;
  transition: all var(--ease-base); overflow: hidden;
  min-height: 150px;
}
.schedule-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--card-color, var(--pink-bold));
}
.schedule-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--card-color, var(--pink-bold)); }
.schedule-card__emoji { font-size: var(--text-3xl); line-height: 1; }
.schedule-card__title { font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; color: var(--wine-deepest); margin: 0; line-height: 1.25; }
.schedule-card__count {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-full);
  background: var(--blush); color: var(--wine-dark);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.02em;
}

.schedule-full-table {}
.schedule-full-table__title {
  font-family: var(--font-heading); font-size: var(--text-2xl); color: var(--wine-deepest);
  margin-bottom: var(--space-md); display: flex; align-items: center; gap: 10px;
}
.schedule-full-table__title::before {
  content: ""; display: inline-block; width: 4px; height: 22px; background: var(--pink-bold); border-radius: 2px;
}

/* Events table — schedule grid look */
.events-table {
  background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.events-table__header {
  display: grid; grid-template-columns: 2fr 110px 130px 1.2fr;
  gap: var(--space-md); padding: 14px var(--space-lg);
  background: linear-gradient(135deg, var(--wine-deepest), var(--wine-dark));
  color: var(--white); font-weight: 700; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em;
}
.events-table__row {
  display: grid; grid-template-columns: 2fr 110px 130px 1.2fr;
  gap: var(--space-md); padding: 14px var(--space-lg);
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  transition: background-color var(--ease-fast);
  font-size: var(--text-sm);
}
.events-table__row:hover { background: var(--blush); }
.events-table__row:nth-child(odd) { background: rgba(255, 240, 243, 0.45); }
.events-table__row:nth-child(odd):hover { background: var(--blush); }
.events-table__col--event { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--wine-deepest); }
.events-table__col--time { font-family: var(--font-heading); font-weight: 700; color: var(--pink-bold); white-space: nowrap; }
.events-table__col--date { color: var(--text-muted); font-size: var(--text-xs); }
.events-table__col--channel {
  display: inline-flex; align-items: center; align-self: start; padding: 4px 12px; border-radius: var(--radius-full);
  background: var(--blush); color: var(--wine-dark); font-size: var(--text-xs); font-weight: 600;
  width: max-content; max-width: 100%;
}
.events-table__cat-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0; box-shadow: 0 0 0 3px rgba(255,255,255,0.7);
}
@media (max-width: 720px) {
  .events-table__header { display: none; }
  .events-table__row {
    grid-template-columns: 1fr; gap: 6px; padding: var(--space-md);
    border-top: 4px solid var(--blush);
  }
  .events-table__col--event { font-size: var(--text-base); }
  .events-table__col--time { font-size: var(--text-base); }
  .events-table__col--date::before { content: "📅 "; }
  .events-table__col--channel { font-size: var(--text-xs); }
}

/* Empty + skeleton */
.events-empty {
  text-align: center; padding: var(--space-2xl);
  background: var(--white); border: 1px dashed var(--border-color); border-radius: var(--radius-lg);
}
.events-empty__icon { font-size: var(--text-4xl); display: block; margin-bottom: var(--space-sm); }
.events-empty__text { color: var(--text-muted); margin: 0; }

/* Category nav (sport sub-pages) */
.category-nav {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 8px; background: var(--blush); border: 1px solid var(--border-color); border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
}
.category-nav__link {
  padding: 8px 14px; border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 600; color: var(--wine-dark);
  transition: all var(--ease-base); white-space: nowrap;
}
.category-nav__link:hover { background: var(--white); color: var(--wine-deepest); }
.category-nav__link--active { background: var(--pink-bold); color: var(--white); box-shadow: var(--shadow-sm); }
.category-nav__link--active:hover { background: var(--coral); color: var(--white); }
