/* ============================================================
   LATINO IPTV MAX — Main Stylesheet
   Design system ported from React/Tailwind v4 source
   ============================================================ */

/* ── Google Fonts (Poppins) ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  --color-primary:   #FF5F57;
  --color-secondary: #FF8C42;
  --color-accent:    #00E5FF;
  --color-dark:      #0A0A0A;
  --color-bg:        #050505;
  --color-card:      #101010;
  --color-white:     #FFFFFF;
  --brand-gradient:  linear-gradient(135deg, #FF5F57, #FF8C42);
  --shadow-glow:     0 30px 70px rgba(255,95,87,0.16);
  --radius-card:     1rem;
  --radius-btn:      0.75rem;
  --transition-base: 0.22s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; background: #050505; overflow-x: hidden; color-scheme: dark; }

body {
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at top,    rgba(255,95,87,0.12),  transparent 35%),
    radial-gradient(circle at bottom right, rgba(255,140,66,0.16), transparent 30%),
    #050505;
  color: #e5e7eb;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── WordPress / Gutenberg override — force dark everywhere ──── *
   WordPress, Gutenberg, and plugins inject white/grey backgrounds
   via many different class names. This comprehensive ruleset
   strips ALL of them so our dark theme is never overridden.
*/
html body,
body.home,
body.page,
body.single,
body.archive,
body.blog,
#page,
#content,
#primary,
#secondary,
#main,
.site,
.site-content,
.site-main,
.site-inner,
.hentry,
.entry-header,
.entry-content,
.entry-footer,
.page-content,
.post-content,
.post-template-default,
.wp-site-blocks,
.wp-site-blocks > *,
.has-global-padding,
.is-layout-constrained,
.is-layout-flow,
.wp-block-group,
.wp-block-group__inner-container,
.wp-block-post,
.wp-block-post-content,
.wp-block-post-title,
.wp-block-template-part,
article.page,
article.post,
article.hentry,
.content-area,
.content-wrapper,
.page-wrapper,
.inner-wrap,
div[class*="wp-container"],
div[id*="wp-block"] {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* Reset inline padding Gutenberg adds to block wrappers */
.wp-site-blocks > * { padding-inline: 0 !important; }
/* Prevent any theme/plugin from making the body white */
body { background-color: #050505 !important; color: #e5e7eb !important; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(255,95,87,0.9);
  outline-offset: 3px;
}

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

/* ── Utility classes ────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.brand-gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding-block: 2rem;
  background-color: #050505;
  width: 100%;
  display: block;
}
@media (min-width: 768px) { .section { padding-block: 2.5rem; } }
@media (min-width: 1024px) { .section { padding-block: 3rem; } }

.section-dark { background-color: #050505 !important; }

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .section-header { margin-bottom: 2.5rem; } }
.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.section-header p {
  margin-top: 0.6rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  max-width: 42rem;
  margin-inline: auto;
}

/* ── Scroll-reveal animation ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  text-decoration: none;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }

.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(255,95,87,0.45); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}

.btn-lg { padding: 0.9rem 1.75rem; font-size: 1rem; }

/* ── Header ─────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  padding-block: 1.1rem;
}
#site-header.scrolled {
  background: rgba(15,15,15,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.site-logo .logo-max { background: var(--brand-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.main-nav a {
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-base), background var(--transition-base);
}
.main-nav a:hover,
.main-nav a.active { color: #fff; background: rgba(255,255,255,0.06); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}
.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--transition-base);
}
.lang-switcher-btn:hover { border-color: rgba(255,255,255,0.25); }
.lang-switcher-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 10rem;
  background: #1f1f1f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  display: none;
}
.lang-switcher-dropdown.open { display: block; }
.lang-switcher-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  transition: background var(--transition-base), color var(--transition-base);
}
.lang-switcher-dropdown a:hover,
.lang-switcher-dropdown a.current-lang { background: rgba(255,255,255,0.06); color: #fff; }

/* Hide header CTA on mobile — logo + lang switcher + CTA + hamburger is too crowded */
@media (max-width: 1023px) {
  #headerCta { display: none !important; }
}

/* Mobile hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 0.6rem 1.5rem;
  border-radius: 0.75rem;
  transition: color var(--transition-base), background var(--transition-base);
}
.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.mobile-menu .btn-primary { margin-top: 1rem; font-size: 1rem; }

/* ── Hero Section ───────────────────────────────────────────── */
#hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 4.5rem;
  /* Explicit dark background — overrides any WP wrapper white */
  background: #050505 !important;
  background-color: #050505 !important;
  width: 100% !important;
}
@media (min-width: 1024px) { #hero { min-height: 88vh; } }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--color-bg), #1a0505, var(--color-bg));
}
.hero-glow-top {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,95,87,0.10);
  filter: blur(100px);
}
.hero-glow-br {
  position: absolute;
  bottom: 0; right: 0;
  width: 500px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,140,66,0.08);
  filter: blur(80px);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  padding-block: 1rem 1.5rem;
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-block: 2rem 2.5rem;
  }
}

.hero-text { text-align: center; }
@media (min-width: 1024px) { .hero-text { text-align: left; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,95,87,0.3);
  background: rgba(255,95,87,0.1);
  color: var(--color-primary);
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero-badge .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.hero-h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}
.hero-sub {
  margin-top: 1.1rem;
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 36rem;
  margin-inline: auto;
}
@media (min-width: 1024px) { .hero-sub { margin-inline: 0; } }

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  align-items: center;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }
@media (min-width: 1024px) { .hero-cta { align-items: flex-start; } }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  font-weight: 500;
}
@media (min-width: 1024px) { .hero-trust { justify-content: flex-start; } }
.hero-trust svg { color: #4ade80; flex-shrink: 0; }

.hero-device-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  justify-content: center;
}
@media (min-width: 1024px) { .hero-device-badges { justify-content: flex-start; } }
.hero-device-badges span {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.hero-social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) { .hero-social-proof { flex-direction: row; gap: 1rem; } }
@media (min-width: 1024px) { .hero-social-proof { align-items: flex-start; } }

.star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}
.star-rating svg { color: var(--color-accent); fill: var(--color-accent); width: 14px; height: 14px; }
.star-rating .score { margin-left: 0.375rem; font-weight: 700; font-size: 0.875rem; color: #fff; }
.star-label { color: rgba(255,255,255,0.35); font-size: 0.7rem; margin-top: 2px; }

.hero-divider { width: 1px; height: 2rem; background: rgba(255,255,255,0.1); display: none; }
@media (min-width: 640px) { .hero-divider { display: block; } }

.hero-proof-text { color: rgba(255,255,255,0.6); font-size: 0.875rem; font-weight: 500; text-align: center; }
@media (min-width: 640px) { .hero-proof-text { text-align: left; } }

/* TV Mockup — uses a stacking context so images overlay each other correctly */
.tv-mockup {
  position: relative;
  width: 100%;
  display: block;
  padding-inline: 0.5rem;
}
@media (min-width: 640px)  { .tv-mockup { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .tv-mockup { padding-inline: 0; } }

/* The TV frame image establishes the dimensions of the block */
.tv-mockup .tv-frame {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  object-fit: contain;
}

/* The screen image is absolutely overlaid on the frame */
.tv-mockup .tv-screen {
  position: absolute;
  /* These percentages match the React clip-path values converted to position offsets */
  top:    14.67%;
  left:    4.37%;
  right:   3.73%;
  bottom: 23.82%;
  width:  auto;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  z-index: 2;
}

.tv-mockup .tv-glow {
  position: absolute;
  bottom: 18%;
  left: 50%; transform: translateX(-50%);
  width: 66%;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(255,95,87,0.18);
  filter: blur(16px);
  z-index: 0;
  pointer-events: none;
}

/* ── Hero Visual Card ───────────────────────────────────────── */
.hero-visual {
  position: relative;
  width: 100%;
}
@media (max-width: 1023px) {
  .hero-visual { margin-top: 2.5rem; }
}

.hero-visual-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 60px rgba(255,95,87,0.22),
    0 30px 80px rgba(0,0,0,0.65);
}
.hero-visual-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Bottom gradient overlay — softens the edge into the dark bg */
.hv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 50%,
    rgba(15,15,15,0.55) 100%);
  pointer-events: none;
}

/* LIVE badge — top left */
.hv-live {
  position: absolute;
  top: 0.875rem; left: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,95,87,0.92);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.1em;
  z-index: 3;
  backdrop-filter: blur(4px);
}

/* 4K badge — bottom right */
.hv-quality {
  position: absolute;
  bottom: 0.875rem; right: 0.875rem;
  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 0.4rem;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
  z-index: 3;
}

/* Floating pills — positioned outside the card */
.hv-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(26,26,26,0.97);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  z-index: 4;
}
.hv-pill-top    { top: -0.875rem;    right: -0.5rem; }
.hv-pill-bottom { bottom: -0.875rem; left:  -0.5rem; }
@media (max-width: 1023px) {
  .hv-pill { display: none; }
}

/* ── Channel Brands marquee ─────────────────────────────────── */
.channel-brands-outer {
  /* Extra wrapper prevents iOS overflow-x bleed from max-content child */
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
.channel-brands {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding-block: 1rem;
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  /* Force new stacking context so overflow:hidden clips the track on iOS */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.channel-brands-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 4rem;
  z-index: 10;
  pointer-events: none;
}
@media (min-width: 640px) {
  .channel-brands-fade { width: 6rem; }
}
.channel-brands-fade-left  { left:  0; background: linear-gradient(to right, #050505, transparent); }
.channel-brands-fade-right { right: 0; background: linear-gradient(to left,  #050505, transparent); }

.channel-brands-track {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  width: -webkit-max-content;
  width: max-content;
  /* webkit prefix required for iOS Safari < 16 */
  -webkit-animation: brands-scroll 30s linear infinite;
  animation: brands-scroll 30s linear infinite;
  will-change: transform;
  /* GPU layer — prevents animation stutter on mobile */
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .channel-brands-track {
    -webkit-animation: none;
    animation: none;
  }
}
@-webkit-keyframes brands-scroll {
  from { -webkit-transform: translate3d(0, 0, 0);    transform: translate3d(0, 0, 0); }
  to   { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@keyframes brands-scroll {
  from { -webkit-transform: translate3d(0, 0, 0);    transform: translate3d(0, 0, 0); }
  to   { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 5rem;
  height: 3.25rem;
  padding-inline: 1.5rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  cursor: default;
  user-select: none;
}
.brand-item:hover { opacity: 1; }

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  white-space: pre-line;
  display: block;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 1px;
  display: block;
}

.brand-sep {
  color: rgba(255,255,255,0.15);
  font-size: 1.2rem;
  user-select: none;
  flex-shrink: 0;
}

.brand-border-wrap {
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 4px;
  padding: 3px 7px;
  display: flex;
  align-items: center;
}

.brand-glow-wrap {
  background: radial-gradient(circle, rgba(30,100,255,0.55) 0%, transparent 70%);
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px 6px rgba(30,120,255,0.7);
}

.brand-plain {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

/* ── Stats Section ──────────────────────────────────────────── */
#stats { background: rgba(26,26,26,0.6); border-block: 1px solid rgba(255,255,255,0.04); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
}
.stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  margin-top: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ── Features Section ───────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: var(--color-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.feature-card:hover {
  border-color: rgba(255,95,87,0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.feature-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.6rem;
  background: rgba(255,95,87,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}
.feature-icon svg { width: 1rem; height: 1rem; }
.feature-card span { font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.8); }

/* ── Channels Section ───────────────────────────────────────── */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px)  { .channels-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .channels-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .channels-grid { grid-template-columns: repeat(5, 1fr); } }

.channel-card {
  background: var(--color-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-card);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color var(--transition-base), transform var(--transition-base);
  cursor: default;
}
.channel-card:hover {
  border-color: rgba(255,95,87,0.3);
  transform: translateY(-4px);
}
.channel-flag { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.channel-name { font-size: 0.82rem; font-weight: 600; color: #fff; }
.channel-count { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 0.2rem; }

/* ── Sports Section ─────────────────────────────────────────── */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px)  { .sports-grid { grid-template-columns: repeat(4, 1fr); } }

.sport-card {
  background: var(--color-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-card);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}
.sport-card:hover {
  border-color: rgba(255,95,87,0.4);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.sport-emoji { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }
.sport-name  { font-size: 0.9rem; font-weight: 600; color: #fff; }
.sport-live  {
  position: absolute; top: 0.6rem; right: 0.6rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

/* ── Devices Section ────────────────────────────────────────── */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px)  { .devices-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px)  { .devices-grid { grid-template-columns: repeat(5, 1fr); } }

.device-card {
  background: var(--color-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-card);
  padding: 1.25rem 0.75rem;
  text-align: center;
  transition: border-color var(--transition-base), transform var(--transition-base);
}
.device-card:hover {
  border-color: rgba(255,95,87,0.3);
  transform: translateY(-3px);
}
.device-emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.device-name  { font-size: 0.72rem; font-weight: 500; color: rgba(255,255,255,0.7); }

/* ── Pricing Section ────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 640px)  { .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (min-width: 1280px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.pricing-card {
  background: var(--color-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.25rem;
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover { transform: translateY(-6px); }

.pricing-card.popular {
  border-color: rgba(255,95,87,0.6);
  background: linear-gradient(to bottom, rgba(255,95,87,0.12), var(--color-card));
  box-shadow: 0 0 40px rgba(255,95,87,0.2);
}
.pricing-card.best-value {
  border-color: rgba(0,229,255,0.4);
  background: linear-gradient(to bottom, rgba(0,229,255,0.08), var(--color-card));
  box-shadow: 0 0 30px rgba(0,229,255,0.1);
}

.pricing-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.75rem; }
.plan-name { font-size: 1rem; font-weight: 700; color: #fff; }
.plan-duration { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 0.15rem; }

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.plan-badge.popular  { background: rgba(255,95,87,0.2);  border: 1px solid rgba(255,95,87,0.5);  color: var(--color-primary); }
.plan-badge.best     { background: rgba(0,229,255,0.2); border: 1px solid rgba(0,229,255,0.5); color: var(--color-accent); }
.plan-badge.trial    { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.6); }

.plan-price-block { margin-bottom: 0.25rem; }
.plan-currency { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.4); vertical-align: super; }
.plan-amount { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.plan-amount.popular   { color: var(--color-primary); }
.plan-amount.best      { color: var(--color-accent); }
.plan-amount.default   { color: #fff; }
.plan-per-month { color: rgba(255,255,255,0.3); font-size: 0.72rem; margin-top: 0.25rem; }

.save-badge {
  position: absolute;
  top: -0.85rem; right: 1rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(34,197,94,0.45);
  letter-spacing: 0.04em;
  z-index: 2;
}

.plan-divider { height: 1px; background: rgba(255,255,255,0.08); margin-block: 0.75rem; }

.plan-features { flex: 1; list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.plan-features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; }
.plan-features li .check { color: var(--color-primary); flex-shrink: 0; }
.plan-features li .check.best { color: var(--color-accent); }
.plan-features li .check.green { color: #4ade80; }
.plan-features li .cross { color: rgba(255,255,255,0.15); flex-shrink: 0; }
.plan-features li .feat-label { color: rgba(255,255,255,0.7); }
.plan-features li .feat-label.muted { color: rgba(255,255,255,0.25); }
.plan-features li .feat-val { margin-left: auto; font-weight: 700; color: rgba(255,255,255,0.55); font-size: 0.72rem; }

.btn-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}
.btn-plan:hover  { transform: scale(1.03); }
.btn-plan:active { transform: scale(0.97); }
.btn-plan.popular   { background: linear-gradient(to right, var(--color-primary), #b91c1c); }
.btn-plan.popular:hover  { box-shadow: 0 0 28px rgba(255,95,87,0.55); }
.btn-plan.best      { background: linear-gradient(to right, var(--color-accent), #f97316); }
.btn-plan.best:hover     { box-shadow: 0 0 28px rgba(0,229,255,0.45); }
.btn-plan.default   { background: linear-gradient(to right, var(--color-primary), var(--color-secondary)); }
.btn-plan.default:hover  { box-shadow: 0 0 20px rgba(255,95,87,0.35); }

.pricing-meta { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 0.625rem; color: rgba(255,255,255,0.3); font-size: 0.625rem; }
.pricing-meta span { display: flex; align-items: center; gap: 0.2rem; }
.pricing-meta .sep { width: 1px; height: 0.75rem; background: rgba(255,255,255,0.15); }

.pricing-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ── Why Choose Us ──────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
@media (min-width: 640px)  { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }

.why-card {
  background: var(--color-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color var(--transition-base), transform var(--transition-base);
}
.why-card:hover {
  border-color: rgba(255,95,87,0.3);
  transform: translateY(-4px);
}
.why-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255,95,87,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}
.why-icon svg { width: 1.25rem; height: 1.25rem; }
.why-title { font-size: 0.875rem; font-weight: 600; color: #fff; margin-bottom: 0.3rem; }
.why-desc  { font-size: 0.75rem; color: rgba(255,255,255,0.45); line-height: 1.5; }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials-wrap { max-width: 42rem; margin-inline: auto; }

.testimonial-slider {
  background: var(--color-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 1.25rem;
  min-height: 10rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) { .testimonial-slider { padding: 1.75rem; min-height: 12rem; } }

.testimonial-slide { display: none; animation: slideIn 0.35s ease; }
.testimonial-slide.active { display: block; }
@keyframes slideIn { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:none; } }

.testimonial-stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.testimonial-stars svg { width: 15px; height: 15px; color: var(--color-accent); fill: var(--color-accent); }
.testimonial-text { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.7; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { font-weight: 700; color: #fff; font-size: 0.9rem; }
.testimonial-country { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
}
.testimonial-dots { display: flex; gap: 0.5rem; }
.testimonial-dot {
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  width: 0.5rem;
  border: none;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
  padding: 0;
}
.testimonial-dot.active { width: 1.5rem; background: var(--color-primary); }
.testimonial-arrows { display: flex; gap: 0.5rem; }
.testimonial-arrow {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: none;
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-base), color var(--transition-base);
  font-size: 1rem;
}
.testimonial-arrow:hover { border-color: rgba(255,255,255,0.3); color: #fff; }

/* ── FAQ Section ────────────────────────────────────────────── */
.faq-list { max-width: 48rem; margin-inline: auto; display: flex; flex-direction: column; gap: 0.5rem; }

.faq-item {
  background: var(--color-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-base);
}
.faq-question:hover { color: var(--color-primary); }
.faq-icon { flex-shrink: 0; color: rgba(255,255,255,0.4); transition: transform 0.3s ease, color var(--transition-base); display: flex; align-items: center; }
.faq-icon svg { width: 1.1rem; height: 1.1rem; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--color-primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer-inner { padding: 0 1.25rem 1.1rem; color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 600px; }

/* ── Contact Section ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label { font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.65); }
.form-input,
.form-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.625rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition-base);
  width: 100%;
}
.form-input:focus,
.form-textarea:focus { outline: none; border-color: rgba(255,95,87,0.6); }
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-textarea { resize: vertical; min-height: 7rem; }
.form-error { font-size: 0.72rem; color: var(--color-primary); margin-top: 0.2rem; display: none; }
.form-error.visible { display: block; }

.form-success {
  display: none;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  color: #4ade80;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}
.form-success.visible { display: block; }

.contact-info h3 { font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.contact-link-list { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--color-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.75rem;
  transition: border-color var(--transition-base), transform var(--transition-base);
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}
.contact-link:hover { border-color: rgba(255,95,87,0.3); transform: translateX(4px); }
.contact-link .icon { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-link .icon.wa { background: rgba(37,211,102,0.15); color: #25d366; }
.contact-link .icon.tg { background: rgba(0,136,204,0.15); color: #0088cc; }

/* ── Floating Buttons ───────────────────────────────────────── */
#floating-buttons {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.float-btn {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}
.float-btn:hover { transform: scale(1.12); }
.float-btn.whatsapp { background: #25d366; color: #fff; }
.float-btn.telegram { background: #0088cc; color: #fff; }
.float-btn.backtop  { background: var(--color-card); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); opacity: 0; pointer-events: none; }
.float-btn.backtop.visible { opacity: 1; pointer-events: auto; }

/* ── Footer ─────────────────────────────────────────────────── */
#site-footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } }

.footer-brand .logo { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.footer-brand .logo span { background: var(--brand-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-brand p { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 18rem; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer-social a {
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: background var(--transition-base), color var(--transition-base);
}
.footer-social a:hover { background: rgba(255,95,87,0.15); color: var(--color-primary); }

.footer-col h4 { font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.875rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col ul a { font-size: 0.8rem; color: rgba(255,255,255,0.45); transition: color var(--transition-base); }
.footer-col ul a:hover { color: #fff; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 0.45rem; }

.footer-newsletter form { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.footer-newsletter input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  padding: 0.5rem 0.75rem;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.25); }
.footer-newsletter button {
  background: var(--brand-gradient);
  border: none;
  border-radius: 0.5rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  white-space: nowrap;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.25rem;
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
}

/* ── Contact WhatsApp CTA (v3.4.0) ─────────────────────────── */
.contact-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #25D366;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 1.25rem 3rem;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(37,211,102,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.contact-wa-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 40px rgba(37,211,102,0.45);
}
.contact-wa-btn:active { transform: scale(0.97); }

/* ── Blog styles — v5.2.0 ───────────────────────────────────── */
.blog-hero {
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 4.5rem;
  text-align: center;
  background: #050505;
}
.blog-hero-glow {
  position: absolute;
  top: -4rem; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  border-radius: 50%;
  background: rgba(255,95,87,0.13);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.blog-hero-glow-br {
  position: absolute;
  bottom: -2rem; right: -4rem;
  width: 400px; height: 300px;
  border-radius: 50%;
  background: rgba(255,140,66,0.07);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.blog-hero > .container { position: relative; z-index: 1; }

.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,95,87,0.3);
  background: rgba(255,95,87,0.1);
  color: var(--color-primary);
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.blog-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(135deg, #fff 50%, rgba(255,140,66,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-hero-sub {
  color: rgba(255,255,255,0.5);
  margin-top: 0.875rem;
  font-size: 1rem;
  max-width: 38rem;
  margin-inline: auto;
  line-height: 1.7;
}

/* Pill search bar */
.blog-search {
  display: flex;
  align-items: center;
  max-width: 36rem;
  margin-inline: auto;
  margin-top: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.875rem;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.blog-search:focus-within {
  border-color: rgba(255,95,87,0.5);
  box-shadow: 0 0 0 3px rgba(255,95,87,0.08);
}
.blog-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  padding: 0.4rem 0.5rem 0.4rem 0;
  outline: none;
  min-width: 0;
}
.blog-search input::placeholder { color: rgba(255,255,255,0.3); }
.blog-search button {
  white-space: nowrap;
  background: var(--brand-gradient);
  border: none;
  border-radius: 0.575rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease;
  letter-spacing: 0.01em;
}
.blog-search button:hover { opacity: 0.9; transform: scale(1.02); }

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-block: 3rem;
}
@media (min-width: 640px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: var(--color-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.blog-card:hover {
  border-color: rgba(255,95,87,0.35);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.blog-card-thumb { aspect-ratio: 16/9; overflow: hidden; background: #1e1e1e; display: flex; align-items: center; justify-content: center; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.06); }
.blog-card-thumb-placeholder { font-size: 3rem; }
.blog-card-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; color: rgba(255,255,255,0.35); margin-bottom: 0.65rem; }
.blog-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.blog-card h2 { font-size: 1rem; font-weight: 600; color: #fff; line-height: 1.45; margin-bottom: 0.5rem; }
.blog-card h2 a { color: inherit; transition: color 0.2s ease; }
.blog-card h2 a:hover { color: var(--color-secondary); }
.blog-card p { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.65; flex: 1; }
.blog-card-read {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: gap 0.2s ease;
}
.blog-card:hover .blog-card-read { gap: 0.55rem; }

/* Empty state */
.blog-empty {
  text-align: center;
  padding: 5rem 1rem 6rem;
}
.blog-empty-icon {
  width: 5rem; height: 5rem;
  border-radius: 1.25rem;
  background: rgba(255,95,87,0.08);
  border: 1px solid rgba(255,95,87,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}
.blog-empty h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.blog-empty p { color: rgba(255,255,255,0.4); font-size: 0.875rem; max-width: 22rem; margin-inline: auto; line-height: 1.6; }

/* Pagination */
.blog-pagination { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding-bottom: 3.5rem; }
.blog-pagination a, .blog-pagination span {
  padding: 0.45rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}
.blog-pagination a:hover { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.15); }
.blog-pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* Single post */
.post-hero { padding-top: 8rem; padding-bottom: 2rem; }
.post-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; color: #fff; line-height: 1.3; }
.post-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 0.75rem; }
.post-thumbnail { aspect-ratio: 16/9; border-radius: var(--radius-card); overflow: hidden; margin-block: 2rem; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.post-content { max-width: 48rem; margin-inline: auto; padding-bottom: 4rem; }

/* prose */
.prose-iptv { color: rgba(255,255,255,0.75); line-height: 1.8; font-size: 1rem; }
.prose-iptv h1,.prose-iptv h2,.prose-iptv h3,.prose-iptv h4 { color:#fff; font-weight:700; line-height:1.3; margin:2rem 0 0.75rem; }
.prose-iptv h1{font-size:2rem;} .prose-iptv h2{font-size:1.5rem;} .prose-iptv h3{font-size:1.25rem;} .prose-iptv h4{font-size:1.1rem;}
.prose-iptv p{margin:0 0 1.25rem;}
.prose-iptv a{color:var(--color-primary);text-decoration:underline;text-underline-offset:3px;}
.prose-iptv a:hover{color:var(--color-secondary);}
.prose-iptv ul,.prose-iptv ol{margin:0 0 1.25rem 1.5rem;padding:0;}
.prose-iptv ul{list-style:disc;} .prose-iptv ol{list-style:decimal;}
.prose-iptv li{margin-bottom:0.4rem;}
.prose-iptv blockquote{border-left:3px solid var(--color-primary);margin:1.5rem 0;padding:0.75rem 1.25rem;background:rgba(255,95,87,0.06);border-radius:0 0.75rem 0.75rem 0;color:rgba(255,255,255,0.65);font-style:italic;}
.prose-iptv pre{background:#101010;border:1px solid rgba(255,255,255,0.08);border-radius:0.75rem;padding:1rem 1.25rem;overflow-x:auto;margin:1.25rem 0;font-size:0.875rem;}
.prose-iptv code{background:rgba(255,255,255,0.07);padding:0.15em 0.4em;border-radius:0.3rem;font-size:0.875em;}
.prose-iptv img{border-radius:0.75rem;margin:1.5rem auto;max-width:100%;}
.prose-iptv hr{border:none;border-top:1px solid rgba(255,255,255,0.08);margin:2rem 0;}

/* Post share bar */
.post-share {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.post-share-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.9rem;
}
.post-share-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.post-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: opacity 0.18s, transform 0.18s;
}
.post-share-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.post-share-wa { background: rgba(37,211,102,0.12); color: #25d366; border-color: rgba(37,211,102,0.25); }
.post-share-fb { background: rgba(24,119,242,0.12); color: #1877f2; border-color: rgba(24,119,242,0.25); }
.post-share-x  { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.12); }

/* Post prev / next navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  background: var(--color-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-card);
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}
.post-nav-item:hover { border-color: rgba(255,95,87,0.35); background: rgba(255,95,87,0.05); }
.post-nav-right { text-align: right; }
.post-nav-disabled { pointer-events: none; opacity: 0; }
.post-nav-dir { font-size: 0.72rem; font-weight: 600; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.05em; }
.post-nav-title { font-size: 0.85rem; font-weight: 600; color: #fff; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav-right { text-align: left; } }

/* 404 */
.page-404 { min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.page-404 h1 { font-size: 6rem; font-weight: 800; background: var(--brand-gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; line-height:1; }
.page-404 p  { font-size: 1.1rem; color: rgba(255,255,255,0.5); margin-block: 1rem 1.5rem; }

/* ── Mobile-specific fixes ──────────────────────────────────── */

/* Hero: clear fixed header height properly on mobile (~88px) */
@media (max-width: 767px) {
  #home > .container {
    padding-top: 5.5rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Hero CTA: full-width buttons on mobile for better tap area and visual symmetry */
@media (max-width: 639px) {
  .hero-cta {
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Hero device badges: keep each pill on one line */
.hero-device-badges span { white-space: nowrap; }

/* TV Mockup: constrain width on mobile so hero doesn't become excessively tall */
@media (max-width: 767px) {
  .tv-mockup {
    max-width: 320px;
    margin-inline: auto;
    margin-top: 1.5rem;
  }
}

/* Touch targets: minimum 44px (Apple HIG / Google Material requirement) */
@media (pointer: coarse) {
  .btn         { min-height: 44px; }
  .faq-question { min-height: 48px; }
  .hamburger   { min-width: 44px; min-height: 44px; justify-content: center; }
  .float-btn   { width: 3.25rem; height: 3.25rem; }
  .testimonial-arrow { width: 2.75rem; height: 2.75rem; }

  /* Invisible expanded tap area on 8px slider dots */
  .testimonial-dot { position: relative; }
  .testimonial-dot::before {
    content: '';
    position: absolute;
    top: -0.75rem; bottom: -0.75rem;
    left: -0.5rem; right: -0.5rem;
  }
}

/* Prevent long words (URLs, technical terms) from breaking layout */
.hero-h1,
.hero-sub,
.section-header h2,
.section-header p,
.faq-answer-inner,
.why-desc,
.testimonial-text,
.plan-features li {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Contact CTA button: prevent overflow on very small screens (< 480px) */
@media (max-width: 479px) {
  .contact-wa-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    max-width: 22rem;
  }
}

/* Footer newsletter: stack input + button vertically on mobile */
@media (max-width: 639px) {
  .footer-newsletter form {
    flex-direction: column;
  }
  .footer-newsletter input { width: 100%; }
}

/* Pricing: single column until 768px for better readability of feature lists */
@media (min-width: 640px) and (max-width: 767px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Testimonials: reduce min-height on very small phones so it doesn't feel empty */
@media (max-width: 399px) {
  .testimonial-slider { min-height: auto; }
  .testimonial-text   { font-size: 0.9rem; }
}

/* Why grid: on very small screens switch from 2col → 1col */
@media (max-width: 359px) {
  .why-grid     { grid-template-columns: 1fr; }
  .channels-grid { grid-template-columns: 1fr; }
}

/* Ensure no child element creates horizontal scroll */
body { overflow-x: hidden; }
