/* ==========================================================================
   TIVIONE IPTV — Site chrome (header + footer + light-only theme + back-to-top)
   Shared by every page on the site. Include BEFORE the page's own <style>
   block so page-specific rules can still override if needed.
   ========================================================================== */

/* ----- Theme-variable fallbacks -----------------------------------------
   These get overridden by the page's own :root / [data-theme] declarations
   where available. They exist so pages without a full palette still render.
   ------------------------------------------------------------------------ */
:root {
  --accent:        #d91f86;
  --accent-2:      #c91b93;
  --accent-3:      #6818bd;
  --accent-purple: #781ac8;
  --accent-hi:     #f15432;
  --grad-main:     linear-gradient(135deg, #6818bd 0%, #c91b93 52%, #f15432 100%);
  --grad-soft:     linear-gradient(135deg, #22d3ee 0%, #4f7cff 100%);
  --tivione-font:  "Plus Jakarta Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root,
[data-theme="light"],
[data-theme="dark"] {
  --sc-bg:          #ffffff;
  --sc-bg-3:        #eee7fb;
  --sc-line:        #bfb5d3;
  --sc-text:        #1b1140;
  --sc-muted:       #5b5679;
  --sc-header-bg:   rgba(255,255,255,.86);
  --sc-header-line: rgba(42,28,92,.24);
  --sc-ref-border-line: #edf0f4;
  --sc-ref-border-inner: transparent;
  --sc-ref-border-halo: transparent;
  --sc-ref-border-hover: #dfe4ec;
  --sc-ref-border-shadow: 0 18px 44px -40px rgba(18, 24, 40, .32);
  --sc-ref-border-shadow-hover: 0 24px 54px -28px rgba(18, 24, 40, .24);
}

html,
body,
button,
input,
textarea,
select {
  font-family: var(--tivione-font) !important;
  font-kerning: normal;
  text-rendering: geometricPrecision;
}

:is(
  .site-header,
  .site-header *,
  .site-footer,
  .site-footer *,
  .sc-btn,
  .sc-mobile-nav,
  .sc-mobile-nav *
) {
  font-family: var(--tivione-font) !important;
}

:is(
  .site-header a,
  .site-footer h4,
  .sc-btn,
  .sc-mobile-nav a
) {
  letter-spacing: 0 !important;
}

/* ----- Utility buttons used in chrome ----------------------------------- */
.sc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .2px;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  border: none; cursor: pointer; text-decoration: none;
}
.sc-btn-primary {
  background: var(--grad-main); color: #fff;
  background-size: 200% 100%; background-position: 0% 50%;
  box-shadow:
    0 10px 30px -8px rgba(124,31,212,.55),
    0 6px 18px -6px rgba(236,43,143,.45),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.sc-btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px -8px rgba(124,31,212,.70),
    0 8px 22px -6px rgba(236,43,143,.60),
    inset 0 1px 0 rgba(255,255,255,.22);
}

/* ----- Skip link -------------------------------------------------------- */
.sc-skip-link {
  position: fixed; top: 0; left: 12px;
  transform: translateY(-140%);
  background: #1b1140; color: #fff;
  padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 700;
  z-index: 9999; transition: transform .2s ease;
}
.sc-skip-link:focus { transform: translateY(12px); outline: 2px solid var(--accent); }

/* ========================================================================
   HEADER — floating glass pill (mini-navbar style)
   ======================================================================== */
/* Body padding so content doesn't hide under the fixed floating pill.
   Pages that begin with a dark hero section don't need it — the pill should
   float ON TOP of the hero image, not in a white strip above it. The :has()
   selector below zeroes the padding when a hero is present. */
body { padding-top: 96px; }
@media (max-width: 767px) {
  body { padding-top: 84px; }
}
body:has(.hero, section.hero, .hero-bg-video, .hero-image) {
  padding-top: 0;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 8px 14px 8px 22px;
  border-radius: 999px;
  background: rgba(20, 22, 32, 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  /* Keep the shadow small and tight so it doesn't bloom into a wide halo. */
  box-shadow:
    0 4px 14px -8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10); /* override any cascaded bottom */
  width: max-content;
  max-width: calc(100vw - 24px);
  transition:
    border-radius .35s ease,
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}
[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 16, 24, 0.14);
  box-shadow:
    0 6px 18px -10px rgba(15, 16, 24, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
/* When the mobile menu is open, the pill flattens into a soft rounded card. */
body.sc-nav-open .site-header { border-radius: 22px; }

.site-header .sc-container {
  max-width: none;
  margin: 0;
  padding: 0;
}
.site-header .sc-nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; gap: 22px;
}
.site-header .sc-logo {
  font-weight: 900; font-size: 18px; color: var(--sc-text);
  letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px;
  text-transform: uppercase; text-decoration: none;
  flex-shrink: 0;
}
.site-header .sc-logo-img { width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(217,31,134,.36)); }
.site-header .sc-logo-img-dark  { height: 36px; }
.site-header .sc-logo-img-light { height: 36px; }
.site-header .sc-logo-img-dark  { display: block; }
.site-header .sc-logo-img-light { display: none; }
[data-theme="light"] .site-header .sc-logo-img-dark  { display: none; }
[data-theme="light"] .site-header .sc-logo-img-light { display: block; }

.site-header .sc-menu {
  display: flex; gap: 22px; list-style: none; padding: 0; margin: 0;
  flex-wrap: nowrap;
  align-items: center;
}
.site-header .sc-menu li { white-space: nowrap; display: flex; align-items: center; }
.site-header .sc-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 20px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .1px;
  color: var(--sc-muted);
}
/* Slide-up animated track: site-chrome.js wraps the link text in
   <span class="sc-link-track"><span>x</span><span>x</span></span>.

   IMPORTANT: the track itself is the clip box (height + overflow:hidden on
   .sc-link-track), NOT the parent <a>. This makes the effect work no matter
   how the page's own CSS styles the anchor — we don't have to fight per-page
   `a { height: ... }` overrides anymore. */
.sc-link-track {
  position: relative;
  display: inline-block;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  vertical-align: middle;
  white-space: nowrap;
}
.sc-link-track > span {
  display: block;
  height: 20px;
  line-height: 20px;
  white-space: nowrap;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
a:hover .sc-link-track > span,
.sc-link-track:hover > span { transform: translateY(-100%); }

[data-theme="dark"]  .sc-link-track > span:nth-child(1) { color: rgba(255,255,255,.72); }
[data-theme="dark"]  .sc-link-track > span:nth-child(2) { color: #ffffff; }
[data-theme="light"] .sc-link-track > span:nth-child(1) { color: rgba(15,16,24,.62); }
[data-theme="light"] .sc-link-track > span:nth-child(2) { color: #1b1140; }
/* Fallback for pre-enhancement / no-JS */
.site-header .sc-menu a:hover,
header .nav ul a:hover,
header.site .nav ul a:hover { color: var(--sc-text); }

.site-header .sc-cta { display: flex; align-items: center; gap: 10px; }
/* CTA "Nu kopen" — match the reference's gradient pill + glow on hover */
.site-header .sc-cta .sc-btn-primary {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 999px;
  box-shadow:
    0 8px 22px -8px rgba(124,31,212,.55),
    0 4px 12px -6px rgba(236,43,143,.45),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.site-header .sc-cta .sc-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 36px -10px rgba(124,31,212,.70),
    0 8px 22px -8px rgba(236,43,143,.60),
    inset 0 1px 0 rgba(255,255,255,.22);
}
/* Theme toggle inside the floating pill — slightly smaller. */
.site-header .sc-cta .sc-theme-toggle {
  height: 32px;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
[data-theme="light"] .site-header .sc-cta .sc-theme-toggle {
  border-color: rgba(15,16,24,.10);
  background: rgba(15,16,24,.04);
}

/* On narrower viewports where the floating pill might get tight, allow the
   long nav list to shrink its gap before we fall through to mobile. */
@media (max-width: 1180px) {
  .site-header .sc-menu { gap: 16px; }
  .site-header .sc-nav { gap: 14px; }
}
@media (max-width: 1024px) {
  .site-header .sc-menu a { font-size: 12.5px; }
  .site-header .sc-logo-img-dark,
  .site-header .sc-logo-img-light { height: 30px; }
}

/* ----- Hamburger (mobile only) ------------------------------------------ */
/* Hard-hidden on desktop and laptop. Only revealed inside the
   "(max-width: 767px)" media query at the bottom of this file. */
.sc-hamburger,
.hamburger,
button.sc-hamburger,
button.hamburger,
#scHamburger,
#hamburger {
  display: none !important;
}
.sc-hamburger {
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--sc-line); background: var(--sc-bg-3);
  align-items: center; justify-content: center;
  cursor: pointer; position: relative; flex-shrink: 0;
  transition: all .2s;
}
.sc-hamburger:hover { border-color: var(--accent); }
.sc-hamburger span {
  display: block; width: 18px; height: 2px; background: var(--sc-text);
  position: relative; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease, bottom .25s ease;
}
.sc-hamburger span::before,
.sc-hamburger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--sc-text); border-radius: 2px;
  transition: transform .25s ease, top .25s ease, bottom .25s ease;
}
.sc-hamburger span::before { top: -6px; }
.sc-hamburger span::after  { bottom: -6px; }
body.sc-nav-open .sc-hamburger span { background: transparent; }
body.sc-nav-open .sc-hamburger span::before { top: 0; transform: rotate(45deg); }
body.sc-nav-open .sc-hamburger span::after  { bottom: 0; transform: rotate(-45deg); }

/* ----- Full-screen mobile nav overlay — glassy blur ---------------------- */
.sc-mobile-nav {
  position: fixed; inset: 0;
  background: rgba(10, 11, 16, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  z-index: 9999;
  display: none;
  flex-direction: column;
  padding: 20px 20px 28px;
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  opacity: 0;
  transition: opacity .28s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
[data-theme="light"] .sc-mobile-nav {
  background: rgba(247, 248, 251, 0.78);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sc-mobile-nav { background: var(--sc-bg); }
}
body.sc-nav-open { overflow: hidden; }
@media (max-width: 767px) {
  body.sc-nav-open .sc-mobile-nav {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }
  body.sc-nav-open .sc-mobile-nav ul,
  body.sc-nav-open .sc-mobile-nav ul li,
  body.sc-nav-open .sc-mobile-nav .sc-m-actions {
    visibility: visible !important;
  }
}
.sc-mobile-nav .sc-m-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; margin-bottom: 14px;
  border-bottom: 1px solid var(--sc-line);
}
.sc-mobile-nav .sc-m-brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.sc-mobile-nav .sc-m-brand-logo {
  height: 40px; width: auto; display: block;
  filter: drop-shadow(0 4px 12px rgba(217,31,134,.36));
}
.sc-mobile-nav .sc-m-brand-logo-dark  { display: block; }
.sc-mobile-nav .sc-m-brand-logo-light { display: none; }
[data-theme="light"] .sc-mobile-nav .sc-m-brand-logo-dark  { display: none; }
[data-theme="light"] .sc-mobile-nav .sc-m-brand-logo-light { display: block; }
.sc-mobile-nav .sc-m-close {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sc-bg-3); border: 1px solid var(--sc-line);
  color: var(--sc-text); cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.sc-mobile-nav .sc-m-close:hover { border-color: var(--accent); transform: none; }
.sc-mobile-nav .sc-m-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sc-mobile-nav ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  flex-shrink: 0;
  width: 100%;
}
.sc-mobile-nav ul li {
  list-style: none !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}
.sc-mobile-nav ul a {
  display: flex !important;
  align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--sc-bg-3);
  border: 1px solid var(--sc-line);
  border-radius: 14px;
  color: var(--sc-text) !important;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
  min-height: 56px;
  width: 100%;
  box-sizing: border-box;
}
.sc-mobile-nav ul a:hover,
.sc-mobile-nav ul a:active { border-color: var(--accent); }
.sc-mobile-nav ul a::after {
  content: ""; margin-left: auto;
  width: 18px; height: 18px; flex-shrink: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7acb9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 6 15 12 9 18'/></svg>") center / contain no-repeat;
}
.sc-mobile-nav ul a .sc-m-ico {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(124,31,212,.22), rgba(236,43,143,.22));
  border: 1px solid rgba(217,31,134,.42);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.sc-mobile-nav ul a .sc-m-ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="light"] .sc-mobile-nav ul a .sc-m-ico { color: #1b1140; }
.sc-mobile-nav .sc-m-actions {
  margin-top: auto;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  flex-shrink: 0;
}
.sc-mobile-nav .sc-m-actions .sc-btn { width: 100%; justify-content: center; display: inline-flex !important; }

/* ----- Mobile breakpoint (phones only) ---------------------------------- */
/* The desktop nav (.sc-menu and the "Nu kopen" CTA) only collapses, and the
   hamburger only appears, below the phone breakpoint. Anything from a small
   tablet upward gets the full inline desktop menu. */
@media (max-width: 767px) {
  .site-header {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    padding: 8px 10px 8px 18px;
  }
  .site-header .sc-menu { display: none; }
  .site-header .sc-cta .sc-btn { display: none; }
  .sc-hamburger,
  .hamburger,
  button.sc-hamburger,
  button.hamburger,
  #scHamburger,
  #hamburger { display: inline-flex !important; }
  /* Compact hamburger to match the floating pill aesthetic. */
  .sc-hamburger {
    width: 36px; height: 36px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.06);
  }
  [data-theme="light"] .sc-hamburger {
    border-color: rgba(15,16,24,.12);
    background: rgba(15,16,24,.04);
  }
}
@media (min-width: 768px) {
  .sc-mobile-nav,
  #scMobileNav,
  .mobile-nav,
  #mobileNav { display: none !important; }
  .sc-hamburger,
  .hamburger,
  button.sc-hamburger,
  button.hamburger,
  #scHamburger,
  #hamburger { display: none !important; }
  .site-header .sc-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  .site-header .sc-menu a,
  .site-header .sc-cta .sc-btn { white-space: nowrap !important; }
}

/* ----- Removed dark/light toggle --------------------------------------- */
.theme-toggle,
.sc-theme-toggle {
  display: none !important;
}

/* Legacy toggle styles kept inert for pages with older cached markup. */
.sc-theme-toggle {
  position: relative;
  align-items: center;
  height: 38px; padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--sc-line);
  background: var(--sc-bg-3);
  cursor: pointer; flex-shrink: 0;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  gap: 0; overflow: hidden;
}
.sc-theme-toggle:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 18px -8px rgba(124, 31, 212, .45);
}
.sc-theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sc-theme-toggle .sc-tt-track {
  position: absolute; top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: linear-gradient(135deg, #6818bd 0%, #c91b93 55%, #f15432 100%);
  box-shadow: 0 4px 12px rgba(124, 31, 212, .45);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  z-index: 0;
}
[data-theme="dark"]  .sc-theme-toggle .sc-tt-track  { transform: translateX(0); }
[data-theme="light"] .sc-theme-toggle .sc-tt-track { transform: translateX(100%); }
.sc-theme-toggle .sc-tt-opt {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 0 14px; height: 32px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: capitalize;
  color: var(--sc-text); transition: color .25s ease; user-select: none;
}
.sc-theme-toggle .sc-tt-opt svg { width: 14px; height: 14px; transition: transform .25s ease; }
[data-theme="dark"]  .sc-theme-toggle .sc-tt-dark  { color: #fff; }
[data-theme="light"] .sc-theme-toggle .sc-tt-light { color: #fff; }
[data-theme="dark"]  .sc-theme-toggle .sc-tt-dark svg  { transform: none; }
[data-theme="light"] .sc-theme-toggle .sc-tt-light svg { transform: rotate(45deg); }
/* Light mode: gradient text + gradient moon icon for the inactive "Donker" side */
[data-theme="light"] .sc-theme-toggle .sc-tt-dark > span {
  background: linear-gradient(135deg, #6818bd 0%, #c91b93 52%, #f15432 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  font-weight: 800;
}
[data-theme="light"] .sc-theme-toggle .sc-tt-dark svg {
  stroke: url(#sc-tt-grad);
}
/* Mobile: keep the text visible, just make the pill a bit smaller */
@media (max-width: 720px) {
  .sc-theme-toggle { height: 32px; padding: 2px; }
  .sc-theme-toggle .sc-tt-opt {
    height: 28px; padding: 0 10px; gap: 4px;
    font-size: 10.5px; letter-spacing: .3px;
  }
  .sc-theme-toggle .sc-tt-opt svg { width: 12px; height: 12px; }
}
@media (max-width: 380px) {
  .sc-theme-toggle .sc-tt-opt { padding: 0 8px; gap: 3px; font-size: 10px; }
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer { background: #03040a; color: #9aa0aa; padding: clamp(56px, 7vw, 80px) 0 32px; border-top: 1px solid #23272f; position: relative; z-index: 1; }
.site-footer .sc-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.site-footer .sc-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.site-footer .sc-logo { color: #fff; font-weight: 900; font-size: 22px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; text-transform: uppercase; text-decoration: none; margin-bottom: 16px; }
.site-footer .sc-logo-img { width: auto; display: block; height: 76px; filter: drop-shadow(0 4px 12px rgba(217,31,134,.36)); }
.site-footer .sc-logo-img-dark  { display: block; }
.site-footer .sc-logo-img-light { display: none; }
[data-theme="light"] .site-footer .sc-logo-img-dark  { display: none; }
[data-theme="light"] .site-footer .sc-logo-img-light { display: block; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 18px; margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 5px 0; }
.site-footer ul a { color: #9aa0aa; font-size: 14px; cursor: pointer; text-decoration: none; transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.site-footer p { margin: 0 0 14px; font-size: 14px; max-width: 340px; line-height: 1.6; color: #9aa0aa; }

/* Social row */
.site-footer .sc-social-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.site-footer .sc-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: #14171e;
  border: 1px solid rgba(255,255,255,.08);
  color: #e7e9ef;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}
.site-footer .sc-social-icon svg { width: 18px; height: 18px; }
.site-footer .sc-social-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(236,43,143,.55);
  background: #1a1e28;
  color: #fff;
}
[data-theme="light"] .site-footer .sc-social-icon {
  background: #ffffff; border-color: rgba(42,28,92,.18); color: #2a1c5c;
  box-shadow: 0 3px 8px rgba(42,28,92,.10);
}
[data-theme="light"] .site-footer .sc-social-icon:hover {
  border-color: rgba(180,92,240,.55); color: #1b1140;
}

/* Footer contact pill (WhatsApp + mail) */
.site-footer .sc-footer-phone {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 14px;
  padding: 9px 14px;
  background: #14171e;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  color: #fff !important;
  font-size: 14px; font-weight: 700; letter-spacing: .2px;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.site-footer .sc-footer-phone:hover {
  transform: translateY(-1px);
  background: #1a1e28;
  border-color: #25d366;
  box-shadow: 0 8px 22px -10px rgba(37, 211, 102, .55);
}
.site-footer .sc-footer-phone-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: #25d366; color: #fff; flex-shrink: 0;
}
.site-footer .sc-footer-phone-icon svg { width: 16px; height: 16px; }
.site-footer .sc-footer-phone-num { font-variant-numeric: tabular-nums; }
[data-theme="light"] .site-footer .sc-footer-phone {
  background: #ffffff; border-color: rgba(42,28,92,.18); color: #1b1140 !important;
  box-shadow: 0 3px 8px rgba(42,28,92,.10);
}
[data-theme="light"] .site-footer .sc-footer-phone:hover {
  border-color: #25d366; box-shadow: 0 8px 22px -10px rgba(37, 211, 102, .55);
}
.site-footer .sc-footer-mail { margin-top: 8px; }
.site-footer .sc-footer-mail-icon { background: linear-gradient(135deg, #6818bd 0%, #c91b93 55%, #f15432 100%); }
.site-footer .sc-footer-mail-icon svg { width: 14px; height: 14px; }
.site-footer .sc-footer-mail:hover {
  border-color: #d91f86; box-shadow: 0 8px 22px -10px rgba(217, 31, 134, .62);
}

/* Light-mode footer overrides */
[data-theme="light"] .site-footer {
  background: #f4f0fb; color: #5b5679; border-top: 1px solid #d8d1e8;
}
[data-theme="light"] .site-footer .sc-logo,
[data-theme="light"] .site-footer h4 { color: #1b1140; }
[data-theme="light"] .site-footer ul a { color: #5b5679; }
[data-theme="light"] .site-footer ul a:hover { color: #1b1140; }
[data-theme="light"] .site-footer p { color: #5b5679; }
[data-theme="light"] .site-footer .sc-copyright { border-top: 1px solid #d8d1e8; color: #5b5679; }

/* Payment chips — mirrors the homepage pay-chip rules 1:1 */
.site-footer .pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.site-footer .pay-chip {
  background: #fff; color: #0d0f14;
  height: 40px; width: 72px; min-width: 72px;
  padding: 4px 10px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  box-sizing: border-box;
}
.site-footer .pay-chip.visa     { color: #1a1f71; font-size: 14px; letter-spacing: 1px; }
.site-footer .pay-chip.mc       { padding: 0; gap: 0; background: #fff; }
.site-footer .pay-chip.mc .mc-mark { display: block; width: 56px; height: 32px; }
.site-footer .pay-chip.paypal   { color: #003087; font-size: 13px; }
.site-footer .pay-chip.paypal b { color: #009cde; }
.site-footer .pay-chip .pay-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.site-footer .pay-chip.ideal { padding: 3px; }
.site-footer .pay-chip.ideal .pay-logo { width: 32px; height: 32px; }
.site-footer .pay-chip.crypto   {
  background: linear-gradient(135deg, #f7931a, #f2a900);
  color: #fff;
  font-size: 11px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.site-footer .pay-chip.bctct {
  background: #ffffff; color: #0e2a5c;
  border: 1.5px solid rgba(22,61,131,.28);
  width: 72px; min-width: 72px;
  padding: 4px 7px;
  box-shadow: 0 2px 7px rgba(14,42,92,.16);
}
.site-footer .pay-chip.bctct .pay-logo { width: 60px; max-height: 28px; }
[data-theme="light"] .site-footer .pay-chip {
  background: #ffffff; box-shadow: 0 3px 8px rgba(42,28,92,.12); border: 1px solid rgba(42,28,92,.14);
}
[data-theme="light"] .site-footer .pay-chip.crypto {
  background: linear-gradient(135deg, #f7931a, #f2a900);
  color: #ffffff;
  border-color: rgba(247,147,26,.45);
  box-shadow: 0 3px 9px rgba(247,147,26,.22);
}
[data-theme="light"] .site-footer .pay-chip.ideal {
  box-shadow: 0 2px 7px rgba(18,19,26,.1);
}
[data-theme="light"] .site-footer .pay-chip.bctct {
  border-color: #163d83;
  box-shadow: 0 2px 7px rgba(14,42,92,.16);
}

.site-footer .sc-copyright {
  border-top: 1px solid #23272f; padding-top: 24px; font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  color: #9aa0aa;
}

@media (max-width: 860px) { .site-footer .sc-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .site-footer .sc-foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .sc-copyright { flex-direction: column; align-items: flex-start; }
}

/* ========================================================================
   BACK-TO-TOP
   ======================================================================== */
.sc-back-top {
  position: fixed; right: 20px; bottom: 20px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-main); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(124,31,212,.55), 0 6px 16px -6px rgba(236,43,143,.45);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 90;
}
.sc-back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sc-back-top:hover { transform: translateY(-2px); }
.sc-back-top svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ========================================================================
   FLOATING WHATSAPP CTA (always visible, above back-to-top)
   ======================================================================== */
.sc-wa-float {
  position: fixed; right: 20px; bottom: 78px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: #fff;
  box-shadow: 0 14px 32px -8px rgba(37,211,102,.55), 0 6px 16px -4px rgba(0,0,0,.22);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: sc-wa-pulse 2.6s ease-out infinite;
  z-index: 91;
}
.sc-wa-float:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -8px rgba(37,211,102,.7), 0 8px 20px -4px rgba(0,0,0,.28); }
.sc-wa-float:active { transform: translateY(-1px); }
.sc-wa-float svg { width: 32px; height: 32px; display: block; }
@keyframes sc-wa-pulse {
  0%   { box-shadow: 0 14px 32px -8px rgba(37,211,102,.55), 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 14px 32px -8px rgba(37,211,102,.55), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 14px 32px -8px rgba(37,211,102,.55), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .sc-wa-float { animation: none; } }
@media (max-width: 520px) {
  .sc-wa-float { right: 16px; bottom: 74px; width: 52px; height: 52px; }
  .sc-wa-float svg { width: 30px; height: 30px; }
  .sc-back-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   MOBILE POLISH — shared header + footer + body on every page
   ========================================================================== */

/* Prevent horizontal scroll on any device.
   Note: overflow-x:hidden on <html> breaks position:sticky — use `clip`
   on body only so the sticky header works on mobile browsers. */
html { max-width: 100vw; }
body { overflow-x: clip; max-width: 100vw; }
img, svg, video, iframe { max-width: 100%; height: auto; }

/* Tap targets: ensure links/buttons inside chrome are at least 44×44 */
.site-header a, .site-header button,
.site-footer a, .site-footer button { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer ul li a { min-height: auto; } /* footer link-list stays compact */

/* Tablet / large phone */
@media (max-width: 720px) {
  .site-header .nav-inner { padding: 10px 16px; }
  .site-header .logo img { height: 30px; }
  .site-footer { padding-top: 48px; padding-bottom: 24px; }
  .site-footer .foot-grid { gap: 30px; }
  .site-footer .pay-chip { height: 36px; width: 62px; min-width: 62px; }
  .site-footer .pay-chip.mc .mc-mark { width: 48px; height: 26px; }
  .site-footer .pay-chip.crypto { font-size: 9px; letter-spacing: .02em; padding-inline: 5px; }
}

/* Phone */
@media (max-width: 520px) {
  .site-header .nav-inner { padding: 8px 14px; }
  .site-header .logo img { height: 26px; }
  .site-footer { padding-top: 40px; padding-bottom: 20px; }
  .site-footer .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer .foot-col h4 { font-size: 13px; margin-bottom: 10px; }
  .site-footer .foot-col ul { gap: 6px; }
  .site-footer .foot-col a { font-size: 14px; }
  .site-footer .copyright { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 12px; }
  .site-footer .pay-row { gap: 8px; }
  .site-footer .pay-chip { height: 34px; width: 58px; min-width: 58px; font-size: 11px; }
  .site-footer .pay-chip.mc .mc-mark { width: 44px; height: 24px; }
  .site-footer .pay-chip.ideal { padding: 3px; }
  .site-footer .pay-chip.ideal .pay-logo { width: 26px; height: 26px; }
  .site-footer .pay-chip.bctct { min-width: 58px; width: 58px; padding: 3px 5px; }
  .site-footer .pay-chip.bctct .pay-logo { width: 50px; max-height: 22px; }
  .site-footer .pay-chip.crypto { font-size: 8.5px; letter-spacing: .01em; padding-inline: 4px; }
}

/* Very small phones (iPhone SE 1st gen, tiny Androids) */
@media (max-width: 375px) {
  .site-header .logo img { height: 24px; }
  .site-footer .pay-chip { height: 32px; width: 54px; min-width: 54px; }
  .site-footer .pay-chip.mc .mc-mark { width: 40px; height: 22px; }
  .site-footer .pay-chip.ideal .pay-logo { width: 24px; height: 24px; }
  .site-footer .pay-chip.bctct { min-width: 54px; width: 54px; }
  .site-footer .pay-chip.bctct .pay-logo { width: 46px; max-height: 20px; }
  .site-footer .pay-chip.crypto { font-size: 7.8px; padding-inline: 3px; }
}

/* Legal / blog page body — readable on mobile */
@media (max-width: 640px) {
  main.article, main.legal { padding: 24px 18px !important; font-size: 16px !important; line-height: 1.65 !important; }
  main.article h1, main.legal h1 { font-size: 28px !important; line-height: 1.15 !important; }
  main.article h2, main.legal h2 { font-size: 22px !important; line-height: 1.2 !important; margin-top: 28px !important; }
  main.article h3, main.legal h3 { font-size: 18px !important; }
  main.article p, main.legal p { font-size: 16px !important; }
  main.article ul, main.legal ul { padding-left: 22px !important; }
}

/* ==========================================================================
   FLOATING PILL HEADER — final overrides
   These rules win over per-page inline header CSS (which still uses the
   legacy `header`, `header.site`, `.nav`, `.logo` selectors). Listed LAST in
   site-chrome.css and using !important on the layout-critical properties so
   the mini-navbar floating pill is consistent on every page.
   ========================================================================== */
body { padding-top: 96px !important; }
@media (max-width: 767px) {
  body { padding-top: 84px !important; }
}
/* Override: when the page has a hero, the pill floats over it so we don't
   need a clearance strip above the body. The hero's own top padding is
   enough to keep the hero copy from sitting under the pill. */
body:has(.hero, section.hero, .hero-bg-video, .hero-image) {
  padding-top: 0 !important;
}

/* Position any top-of-page header as a floating glass pill. */
header.site-header,
header.site,
body > header:first-of-type {
  position: fixed !important;
  top: 18px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 100 !important;
  width: max-content !important;
  max-width: calc(100vw - 24px) !important;
  padding: 8px 14px 8px 22px !important;
  border-radius: 999px !important;
  background: rgba(20, 22, 32, 0.62) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow:
    0 4px 14px -8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  transition:
    border-radius .35s ease,
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease !important;
}
[data-theme="light"] header.site-header,
[data-theme="light"] header.site,
[data-theme="light"] body > header:first-of-type {
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(15, 16, 24, 0.14) !important;
  border-bottom: 1px solid rgba(15, 16, 24, 0.14) !important;
  box-shadow:
    0 6px 18px -10px rgba(15, 16, 24, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}
body.sc-nav-open header.site-header,
body.sc-nav-open header.site,
body.nav-open header.site-header,
body.nav-open header.site,
body.nav-open body > header:first-of-type { border-radius: 22px !important; }

@media (max-width: 767px) {
  header.site-header,
  header.site,
  body > header:first-of-type {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    padding: 8px 10px 8px 18px !important;
  }
}

/* Neutralize the per-page inner wrappers so the pill content uses the
   floating layout instead of a 1280px content container. */
header.site-header .sc-container,
header.site .nav,
body > header:first-of-type .nav,
body > header:first-of-type > div {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
header.site-header .sc-nav,
header.site .nav,
body > header:first-of-type .nav {
  height: 52px !important;
  gap: 22px !important;
}

/* Force the slide-up track's clip box. The track is the self-contained
   widget; per-page inline CSS targets the anchor, not the track, so this
   override rarely needs to fight anything — but we set !important defensively. */
.sc-link-track {
  position: relative !important;
  display: inline-block !important;
  height: 20px !important;
  max-height: 20px !important;
  line-height: 20px !important;
  overflow: hidden !important;
  vertical-align: middle !important;
}
.sc-link-track > span {
  display: block !important;
  height: 20px !important;
  line-height: 20px !important;
  white-space: nowrap !important;
}
/* Defensive: per-page inline CSS used to put the slide-up transform on the
   .sc-link-track itself (translateY(-50%)). The new approach puts the
   transform on the inner spans (translateY(-100%)). Force the track to stay
   at translateY(0) so the two rules don't compound. */
.sc-link-track,
a:hover .sc-link-track,
a:focus .sc-link-track {
  transform: none !important;
}

/* Logo: keep brand text visible but compact inside the pill. */
header.site-header .sc-logo-img-dark,
header.site-header .sc-logo-img-light,
header.site .logo-img,
header.site .logo .logo-img-dark,
header.site .logo .logo-img-light,
body > header:first-of-type .logo .logo-img-dark,
body > header:first-of-type .logo .logo-img-light { height: 36px !important; }

@media (max-width: 1024px) {
  header.site-header .sc-logo-img-dark,
  header.site-header .sc-logo-img-light,
  header.site .logo .logo-img-dark,
  header.site .logo .logo-img-light,
  body > header:first-of-type .logo .logo-img-dark,
  body > header:first-of-type .logo .logo-img-light { height: 30px !important; }
}

/* ----- Defensive top-of-page cleanup -----------------------------------
   Some pages (notably index.html) have a body::before ambient-glow overlay
   AND a hero section that uses its own dark gradient background. When the
   header was full-width and sticky, those decorations were either covered
   or didn't matter. Now that the header is a centered floating pill, any
   dark element above the fold can leak through behind/around the pill and
   look like the "old menu bar background" is still there.

   Two defenses:
   1) Push the body's ambient overlay BEHIND the body background — it stays
      visible because the body background is semi-transparent, but it can't
      paint a dark band in the strip above the page content.
   2) Force the body background to be the theme's --bg color, opaque, so
      the strip behind the floating pill is always clean. */
body { background: var(--sc-bg, var(--bg, #ffffff)) !important; }
body::before {
  z-index: -1 !important;
}

/* If a page has an inline "site" header (header.site) with the old
   full-width sticky styling that for any reason still applies, kill its
   sticky/sized background here. (The pill rules above already force the
   pill look — this clears any leftover wide stripe that could appear
   behind it from a stale-cache CSS race.) */
header.site,
header.site-header,
body > header:first-of-type {
  border-bottom-width: 1px !important;
}
header.site::before,
header.site::after,
header.site-header::before,
header.site-header::after,
body > header:first-of-type::before,
body > header:first-of-type::after {
  display: none !important;
  content: none !important;
}

/* Reference-style shared borders: single soft outline matching the uploaded
   card style, applied to chrome and common page surfaces. */
.site-header,
header.site-header,
header.site,
body > header:first-of-type,
.sc-hamburger,
.sc-mobile-nav ul a,
.sc-mobile-nav .sc-m-close,
.social-icon,
.footer-phone,
.pay-chip {
  border-color: var(--sc-ref-border-line) !important;
  box-shadow: var(--sc-ref-border-shadow) !important;
}
:is(.site-header, header.site-header, header.site, body > header:first-of-type, .sc-hamburger, .sc-mobile-nav ul a, .sc-mobile-nav .sc-m-close, .social-icon, .footer-phone, .pay-chip):hover {
  border-color: var(--sc-ref-border-hover) !important;
  box-shadow: var(--sc-ref-border-shadow-hover) !important;
}
footer,
footer .copyright,
.sc-mobile-nav .sc-m-head {
  border-color: var(--sc-ref-border-line) !important;
}

/* Extend the same reference border treatment to the reusable content
   surfaces across FAQ, blog, guide, contact, policy, and comparison pages. */
:is(
  .back-link,
  .theme-toggle,
  .hero .eyebrow,
  .anchor-pill,
  .faq-item,
  .ask-band,
  .cta-band,
  .cta-inline,
  .gcard,
  .pillar-card,
  .qa,
  .toc,
  .toc a,
  section.block,
  .feature-card,
  .dev-row,
  .country-chip,
  .price-card,
  .channel,
  .back-btn,
  .contact-card,
  .contact-box,
  .card,
  .mini-card,
  .comp-img,
  .versus,
  .verdict,
  .summary,
  .filter,
  .btn-secondary,
  .tv-related a.card
) {
  border-color: var(--sc-ref-border-line) !important;
  box-shadow: var(--sc-ref-border-shadow) !important;
}
:is(
  .back-link,
  .theme-toggle,
  .hero .eyebrow,
  .anchor-pill,
  .faq-item,
  .ask-band,
  .cta-band,
  .cta-inline,
  .gcard,
  .pillar-card,
  .qa,
  .toc,
  .toc a,
  section.block,
  .feature-card,
  .dev-row,
  .country-chip,
  .price-card,
  .channel,
  .back-btn,
  .contact-card,
  .contact-box,
  .card,
  .mini-card,
  .comp-img,
  .versus,
  .verdict,
  .summary,
  .filter,
  .btn-secondary,
  .tv-related a.card
):hover {
  border-color: var(--sc-ref-border-hover) !important;
  box-shadow: var(--sc-ref-border-shadow-hover) !important;
}
:is(
  .card-meta,
  .summary h2,
  .summary th,
  .summary td,
  .versus-col + .versus-col,
  .versus-list li
) {
  border-color: var(--sc-ref-border-line) !important;
}

/* -------------------------------------------------------------------------
   White catalogue pass
   Matches the uploaded reference: white page surfaces, one soft border,
   rounded image corners, and a gentle hover lift/shadow.
   ------------------------------------------------------------------------- */
:root,
[data-theme="light"],
[data-theme="dark"] {
  --sc-bg: #ffffff;
  --sc-bg-2: #ffffff;
  --sc-bg-3: #ffffff;
  --sc-panel: #ffffff;
  --sc-panel-soft: #ffffff;
  --sc-line: #edf0f4;
  --sc-ref-border-line: #edf0f4;
  --sc-ref-border-inner: transparent;
  --sc-ref-border-halo: transparent;
  --sc-ref-border-hover: #dfe4ec;
  --sc-ref-border-shadow: 0 18px 44px -40px rgba(18, 24, 40, .32);
  --sc-ref-border-shadow-hover: 0 24px 54px -28px rgba(18, 24, 40, .24);
  --sc-border-size: 2px;
  --sc-card-radius: 24px;
  --sc-media-radius: 18px;
}

html,
body {
  background: #ffffff !important;
}

body::before,
.hero::before,
.hero::after {
  opacity: 0 !important;
  background: none !important;
}

:is(
  main,
  section,
  .hero,
  .band,
  .row-section,
  .leagues,
  .content,
  .site-footer,
  footer,
  article,
  .lt-content,
  .cta-band,
  .ask-band
) {
  background: #ffffff !important;
}

:is(
  .site-header,
  header.site-header,
  header.site,
  body > header:first-of-type,
  .sc-hamburger,
  .sc-mobile-nav ul a,
  .sc-mobile-nav .sc-m-close,
  .back-link,
  .theme-toggle,
  .anchor-pill,
  .faq-item,
  .ask-band,
  .cta-band,
  .cta-inline,
  .gcard,
  .pillar-card,
  .qa,
  .toc,
  .toc a,
  section.block,
  .feature-card,
  .dev-row,
  .country-chip,
  .price-card,
  .channel,
  .back-btn,
  .contact-card,
  .contact-box,
  .card,
  .mini-card,
  .comp-img,
  .versus,
  .verdict,
  .summary,
  .filter,
  .btn-secondary,
  .tv-related a.card,
  article,
  main.content table,
  main.content blockquote,
  .seo-link-grid li,
  .geo-summary
) {
  background: #ffffff !important;
  border: var(--sc-border-size) solid var(--sc-ref-border-line) !important;
  border-radius: var(--sc-card-radius) !important;
  box-shadow: var(--sc-ref-border-shadow) !important;
  transition:
    transform .24s ease,
    border-color .24s ease,
    box-shadow .24s ease,
    background .24s ease !important;
}

:is(
  .faq-item,
  .ask-band,
  .cta-band,
  .cta-inline,
  .gcard,
  .pillar-card,
  .qa,
  section.block,
  .feature-card,
  .dev-row,
  .country-chip,
  .price-card,
  .channel,
  .contact-card,
  .contact-box,
  .card,
  .mini-card,
  .comp-img,
  .versus,
  .verdict,
  .summary,
  .filter,
  .btn-secondary,
  .tv-related a.card,
  .seo-link-grid li
):hover {
  transform: translateY(-4px) !important;
  border-color: var(--sc-ref-border-hover) !important;
  box-shadow: var(--sc-ref-border-shadow-hover) !important;
}

/* Blog and guide cards: keep the card white and let the image float inside it,
   like a poster tile instead of a flush, double-framed cover. */
.cards > .card,
.card-grid > .gcard {
  padding: 22px !important;
  overflow: hidden !important;
}

.cards > .card .card-cover,
.card-grid > .gcard .cover,
article .cover {
  width: 100% !important;
  margin: 0 auto 20px !important;
  border-radius: var(--sc-media-radius) !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-shadow: 0 24px 48px -30px rgba(18, 24, 40, .34) !important;
}

.cards > .card .card-cover {
  height: auto !important;
  aspect-ratio: 20 / 9 !important;
}

.cards > .card .card-cover::after,
.card-grid > .gcard .cover::after {
  display: none !important;
}

.cards > .card .cover-art,
.card-grid > .gcard .cover img,
article .cover img {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  opacity: 1 !important;
  border-radius: inherit !important;
}

.cards > .card .card-body,
.card-grid > .gcard .body {
  padding: 0 !important;
}

.cards > .card .card-cover .badge {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  margin: 0 !important;
}

article {
  padding: clamp(22px, 4vw, 36px) !important;
}

article .cover {
  max-width: 680px !important;
  aspect-ratio: 20 / 9 !important;
}

main.content img,
.post-body img,
.gcard .cover img,
.card-cover img,
.cover-art,
.comp-img img {
  border-radius: var(--sc-media-radius) !important;
  box-shadow: 0 24px 48px -30px rgba(18, 24, 40, .34) !important;
}

@media (max-width: 620px) {
  :root,
  [data-theme="light"],
  [data-theme="dark"] {
    --sc-border-size: 2px;
    --sc-card-radius: 20px;
    --sc-media-radius: 16px;
  }

  .cards > .card,
  .card-grid > .gcard {
    padding: 18px !important;
  }
}

/* Stronger 3D hover treatment. */
:is(
  .cards,
  .card-grid,
  .intro-grid,
  .props,
  .steps,
  .plans,
  .devices-wrap,
  .tv-related
) {
  perspective: 1200px;
}

:is(
  .faq-item,
  .gcard,
  .pillar-card,
  .qa,
  .feature-card,
  .dev-row,
  .country-chip,
  .price-card,
  .channel,
  .contact-card,
  .contact-box,
  .card,
  .mini-card,
  .tv-related a.card,
  .seo-link-grid li
) {
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

:is(
  .faq-item,
  .gcard,
  .pillar-card,
  .qa,
  .feature-card,
  .dev-row,
  .country-chip,
  .price-card,
  .channel,
  .contact-card,
  .contact-box,
  .card,
  .mini-card,
  .tv-related a.card,
  .seo-link-grid li
):hover {
  transform: translateY(-12px) rotateX(2deg) rotateY(-1.5deg) !important;
  box-shadow:
    0 34px 70px -34px rgba(18, 24, 40, .38),
    0 18px 30px -24px rgba(104, 24, 189, .24) !important;
}

:is(.card, .gcard, .tv-related a.card):hover :is(.card-cover, .cover, img) {
  transform: translateZ(22px) !important;
}

:is(.card, .gcard) :is(.card-cover, .cover, img) {
  transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease !important;
}

@media (prefers-reduced-motion: reduce) {
  :is(
    .faq-item,
    .gcard,
    .pillar-card,
    .qa,
    .feature-card,
    .dev-row,
    .country-chip,
    .price-card,
    .channel,
    .contact-card,
    .contact-box,
    .card,
    .mini-card,
    .tv-related a.card,
    .seo-link-grid li
  ):hover {
    transform: translateY(-4px) !important;
  }
}

/* Payment badges: keep Crypto visible after global white-card overrides. */
.pay-chip.crypto,
.site-footer .pay-chip.crypto,
[data-theme="light"] .pay-chip.crypto,
[data-theme="light"] .site-footer .pay-chip.crypto {
  background: linear-gradient(135deg, #f7931a, #f2a900) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(247,147,26,.26) !important;
}
