/*
Theme Name: iptvm3u
Theme URI: https://iptvm3u.co
Description: Custom IPTV knowledge base — Vivid Precision design system
Author: iptvm3u
Version: 3.0.0
License: GPL-2.0+
Text Domain: iptvm3u
*/

/* ── Google Fonts: Plus Jakarta Sans ─────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800&display=swap');

/* ══════════════════════════════════════════════════════════
   DESIGN TOKENS — Vivid Precision
   ══════════════════════════════════════════════════════════ */
:root {
  /* ── Surfaces ────────────────────────────────────────── */
  --c-bg:           #ffffff;          /* clinical white base              */
  --c-surface:      #f9f9f9;
  --c-surface-low:  #f3f3f4;
  --c-surface-mid:  #eeeeee;
  --c-surface-high: #e8e8e8;
  --c-surface-inv:  #2f3131;

  /* ── Text ────────────────────────────────────────────── */
  --c-text:         #1a1c1c;          /* on-surface                       */
  --c-text-2:       #414755;          /* on-surface-variant               */
  --c-text-inv:     #f0f1f1;
  --c-outline:      #717786;
  --c-outline-var:  #c1c6d7;

  /* ── Primary — Electric Blue ─────────────────────────── */
  --c-primary:      #0058bc;
  --c-primary-cont: #0070eb;          /* primary-container (brighter)     */
  --c-on-primary:   #ffffff;
  --c-on-primary-c: #fefcff;
  --c-primary-inv:  #adc6ff;
  --c-primary-dim:  #adc6ff;
  --c-primary-tint: #005bc1;          /* surface-tint                     */

  /* ── Secondary — Sunset Orange ──────────────────────── */
  --c-secondary:    #b42907;
  --c-secondary-c:  #fe5d39;          /* secondary-container (vivid)      */
  --c-on-secondary: #ffffff;
  --c-on-sec-c:     #5b0d00;

  /* ── Tertiary — Lavender ─────────────────────────────── */
  --c-tertiary:     #8d22c0;
  --c-tertiary-c:   #a943dc;
  --c-on-tertiary:  #ffffff;

  /* ── Semantic ─────────────────────────────────────────── */
  --c-error:        #ba1a1a;
  --c-error-c:      #ffdad6;
  --c-success:      #1a7a3a;

  /* ── Typography ──────────────────────────────────────── */
  --font:           'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ── Type scale ──────────────────────────────────────── */
  --t-display:  64px;
  --t-h1:       48px;
  --t-h2:       32px;
  --t-h3:       24px;
  --t-body-lg:  18px;
  --t-body:     16px;
  --t-label:    13px;

  /* ── Spacing (8px unit) ──────────────────────────────── */
  --sp-xs:   4px;
  --sp-sm:   12px;
  --sp-md:   24px;
  --sp-lg:   48px;
  --sp-xl:   80px;
  --sp-2xl: 120px;
  --gutter:  24px;
  --container: 1280px;

  /* ── Radii ───────────────────────────────────────────── */
  --r-sm:   0.25rem;    /*  4px */
  --r:      0.5rem;     /*  8px */
  --r-md:   0.75rem;    /* 12px */
  --r-lg:   1rem;       /* 16px */
  --r-xl:   1.5rem;     /* 24px */
  --r-full: 9999px;

  /* ── Airy shadows (large blur, very low opacity) ─────── */
  --sh-xs:  0 1px 3px rgba(26,28,28,0.04);
  --sh-sm:  0 2px 8px rgba(26,28,28,0.05), 0 1px 2px rgba(26,28,28,0.03);
  --sh-md:  0 4px 24px rgba(26,28,28,0.06), 0 1px 4px rgba(26,28,28,0.03);
  --sh-lg:  0 8px 40px rgba(26,28,28,0.07), 0 2px 8px rgba(26,28,28,0.04);
  --sh-xl:  0 16px 64px rgba(26,28,28,0.08), 0 4px 16px rgba(26,28,28,0.04);

  /* Glass border */
  --glass-border: 1px solid rgba(255,255,255,0.6);
  --glass-border-dark: 1px solid rgba(255,255,255,0.12);

  /* ── Transitions ─────────────────────────────────────── */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 120ms var(--ease);
  --t-base: 200ms var(--ease);
  --t-slow: 350ms var(--ease);

  /* ── Gradient presets ────────────────────────────────── */
  --grad-blue:   linear-gradient(135deg, #0058bc 0%, #0070eb 100%);
  --grad-orange: linear-gradient(135deg, #b42907 0%, #fe5d39 100%);
  --grad-purple: linear-gradient(135deg, #8d22c0 0%, #a943dc 100%);
  --grad-hero:   linear-gradient(135deg, #0058bc 0%, #0070eb 50%, #8d22c0 100%);
}

/* ══════════════════════════════════════════════════════════
   RESET
   ══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--c-bg);
}

body {
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); }
input, textarea, select, button { font-family: var(--font); font-size: inherit; }
table { border-collapse: collapse; width: 100%; }

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--c-primary-cont); }
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ══════════════════════════════════════════════════════════
   ATMOSPHERE — blurred gradient orbs behind page (z:-1)
   ══════════════════════════════════════════════════════════ */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: var(--r-full);
  pointer-events: none;
  z-index: -1;
  filter: blur(120px);
  opacity: 0.35;
}
body::before {
  width: 700px; height: 700px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(0,112,235,0.4) 0%, transparent 70%);
}
body::after {
  width: 600px; height: 600px;
  bottom: 20%; right: -150px;
  background: radial-gradient(circle, rgba(169,67,220,0.3) 0%, transparent 70%);
}

/* ══════════════════════════════════════════════════════════
   TYPOGRAPHY — tight tracking headlines
   ══════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--c-text);
  line-height: 1.2;
  font-weight: 700;
}

/* Display */
.display {
  font-size: var(--t-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
h1 {
  font-size: var(--t-h1);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
h2 {
  font-size: var(--t-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
h4 { font-size: 20px; font-weight: 600; line-height: 1.35; }
h5 { font-size: 18px; font-weight: 600; }
h6 { font-size: 16px; font-weight: 600; }

p { margin-bottom: var(--sp-md); color: var(--c-text-2); }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; color: var(--c-text); }

/* Overline label */
.label-tag {
  display: inline-block;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--c-primary-cont);
  background: rgba(0,112,235,0.08);
  border: 1px solid rgba(0,112,235,0.18);
  padding: 4px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-sm);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}
.section-header h2 {
  margin-bottom: 12px;
}
.section-header p {
  font-size: var(--t-body-lg);
  color: var(--c-text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════════════════════ */
.iptvm3u-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.section {
  padding: var(--sp-xl) 0;
  background: var(--c-bg);
}

/* alt section — barely-there tint, visually distinct */
.section-alt {
  padding: var(--sp-xl) 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-outline-var);
  border-bottom: 1px solid var(--c-outline-var);
}

/* ── Utilities ────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -9999px; left: var(--sp-md);
  background: var(--c-primary); color: #fff;
  padding: 8px 16px; border-radius: var(--r);
  font-weight: 600; z-index: 9999; font-size: var(--t-label);
}
.skip-link:focus { top: var(--sp-md); }
.section-cta { text-align: center; margin-top: var(--sp-lg); }
.no-posts-message {
  text-align: center; padding: var(--sp-xl);
  color: var(--c-text-2); font-size: var(--t-body-lg);
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r);
  font-size: var(--t-body);
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: box-shadow var(--t-fast), transform var(--t-fast),
              background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary — electric blue gradient */
.btn-primary {
  background: var(--grad-blue);
  color: var(--c-on-primary);
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(0,88,188,0.15), 0 4px 12px rgba(0,112,235,0.25);
}
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(0,112,235,0.4);
  color: var(--c-on-primary);
}

/* Secondary — sunset orange gradient */
.btn-secondary {
  background: var(--grad-orange);
  color: var(--c-on-secondary);
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(180,41,7,0.12), 0 4px 12px rgba(254,93,57,0.25);
}
.btn-secondary:hover {
  box-shadow: 0 4px 20px rgba(254,93,57,0.4);
  color: var(--c-on-secondary);
}

/* Ghost — white bg, blue border */
.btn-ghost {
  background: var(--c-bg);
  color: var(--c-primary);
  border-color: var(--c-outline-var);
  box-shadow: var(--sh-xs);
}
.btn-ghost:hover {
  border-color: var(--c-primary);
  background: rgba(0,88,188,0.04);
  box-shadow: var(--sh-sm);
  color: var(--c-primary);
}

/* Ghost on dark backgrounds */
.btn-ghost-white {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.btn-sm { padding: 7px 14px; font-size: var(--t-label); }
.btn-lg { padding: 15px 30px; font-size: var(--t-body-lg); }

/* ══════════════════════════════════════════════════════════
   BADGE / CHIPS / TAGS
   ══════════════════════════════════════════════════════════ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-full);
  background: rgba(0,112,235,0.1);
  color: var(--c-primary-cont);
  border: 1px solid rgba(0,112,235,0.18);
  line-height: 1.4;
}
.badge-orange {
  background: rgba(254,93,57,0.1);
  color: var(--c-secondary);
  border-color: rgba(254,93,57,0.2);
}
.badge-purple {
  background: rgba(141,34,192,0.1);
  color: var(--c-tertiary);
  border-color: rgba(141,34,192,0.18);
}

/* ══════════════════════════════════════════════════════════
   HEADER — glassmorphism floating bar
   ══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(193,198,215,0.5);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8), var(--sh-sm);
  height: 64px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--sp-md);
}

/* Logo */
.site-branding a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-text);
  text-decoration: none;
}
.site-branding a:hover { color: var(--c-primary); }
.site-branding a .accent { color: var(--c-primary-cont); }
.site-branding img { height: 30px; width: auto; }

/* Desktop nav */
.header-nav { flex: 1; display: flex; justify-content: center; }
.header-nav ul { display: flex; align-items: center; gap: 2px; }
.header-nav ul li a {
  font-size: var(--t-label);
  font-weight: 600;
  color: var(--c-text-2);
  padding: 6px 12px;
  border-radius: var(--r);
  transition: color var(--t-fast), background var(--t-fast);
  letter-spacing: -0.01em;
}
.header-nav ul li a:hover,
.header-nav ul li.current-menu-item > a,
.header-nav ul li.current_page_item > a {
  color: var(--c-text);
  background: var(--c-surface-low);
}

/* Header right actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-cta-btn {
  background: var(--grad-blue);
  color: #fff !important;
  font-size: var(--t-label);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--r);
  border: none;
  box-shadow: 0 2px 8px rgba(0,112,235,0.3);
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.header-cta-btn:hover {
  box-shadow: 0 4px 16px rgba(0,112,235,0.45);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px; height: 36px;
  background: var(--c-surface-low);
  border: 1px solid var(--c-outline-var);
  border-radius: var(--r);
  gap: 4px;
  padding: 8px;
  transition: background var(--t-fast);
}
.hamburger-btn:hover { background: var(--c-surface-mid); }
.hamburger-btn span {
  display: block; width: 18px; height: 1.5px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.hamburger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════
   MOBILE NAV OVERLAY — glass dark sheet
   ══════════════════════════════════════════════════════════ */
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(26,28,28,0.96);
  backdrop-filter: blur(16px);
  z-index: 99;
  display: flex; flex-direction: column;
  padding: var(--sp-md);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--t-base), visibility var(--t-base);
}
.mobile-nav-overlay.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-header .site-branding a { color: #fff; }
.mobile-nav-close {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r); font-size: 16px;
  transition: background var(--t-fast);
}
.mobile-nav-close:hover { background: rgba(255,255,255,0.16); }
.mobile-nav-overlay .mobile-menu ul {
  display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--sp-lg);
}
.mobile-nav-overlay .mobile-menu ul li a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.02em;
  padding: 12px 16px;
  border-radius: var(--r-md);
  transition: background var(--t-fast), color var(--t-fast);
}
.mobile-nav-overlay .mobile-menu ul li a:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.mobile-nav-cta { margin-top: auto; }
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════════════════
   DROPDOWN MENUS
   ══════════════════════════════════════════════════════════ */
.header-nav ul li { position: relative; }

/* Hide sub-menu by default */
.header-nav ul li .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--c-bg);
  border: 1px solid var(--c-outline-var);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xl);
  padding: 6px 0;
  z-index: 9999;
  list-style: none;
  /* Smooth fade-in */
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--t-base), transform var(--t-base);
  pointer-events: none;
}

/* Show on hover */
.header-nav ul li:hover > .sub-menu,
.header-nav ul li:focus-within > .sub-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dropdown items */
.header-nav ul li .sub-menu li { width: 100%; }
.header-nav ul li .sub-menu li a {
  display: block;
  padding: 9px 16px;
  font-size: var(--t-label);
  font-weight: 500;
  color: var(--c-text-2);
  border-radius: 0;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.header-nav ul li .sub-menu li a:hover {
  background: var(--c-surface-low);
  color: var(--c-primary-cont);
}

/* Dropdown arrow indicator on parent */
.header-nav ul li.menu-item-has-children > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: 0.6;
  vertical-align: middle;
}

/* ══════════════════════════════════════════════════════════
   HERO — white bg + gradient orb + glass mockup card
   ══════════════════════════════════════════════════════════ */
.hero-section {
  background: var(--c-bg);
  padding: var(--sp-xl) 0;
  position: relative;
  overflow: hidden;
}
/* Large blurred orb behind hero — "moment of delight" */
.hero-section::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  top: -300px; right: -200px;
  background: radial-gradient(circle,
    rgba(0,112,235,0.12) 0%,
    rgba(141,34,192,0.08) 40%,
    transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero-section::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle,
    rgba(254,93,57,0.08) 0%,
    transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left: content */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-primary-cont);
  background: rgba(0,112,235,0.08);
  border: 1px solid rgba(0,112,235,0.18);
  padding: 5px 12px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-sm);
}
.hero-content h1 {
  font-size: clamp(36px, 5vw, var(--t-h1));
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--c-text);
  margin-bottom: var(--sp-md);
}
/* Gradient text span */
.hero-content h1 em {
  font-style: normal;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content > p {
  font-size: var(--t-body-lg);
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--c-text-2);
  max-width: 46ch;
  margin-bottom: var(--sp-lg);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

/* Right: glass dashboard card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.hero-mockup {
  width: 100%;
  max-width: 440px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(193,198,215,0.6);
  border-radius: var(--r-xl);
  padding: var(--sp-md);
  box-shadow: var(--sh-xl), inset 0 1px 0 rgba(255,255,255,0.9);
}
.hero-mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--c-outline-var);
}
.hero-mockup-dots { display: flex; gap: 5px; }
.hero-mockup-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.hero-mockup-dots span:nth-child(1) { background: #ff5f57; }
.hero-mockup-dots span:nth-child(2) { background: #febc2e; }
.hero-mockup-dots span:nth-child(3) { background: #28c840; }
.hero-mockup-title {
  font-size: var(--t-label);
  font-weight: 600;
  color: var(--c-text-2);
  flex: 1;
  text-align: center;
}
.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.hero-stat-box {
  background: var(--c-bg);
  border: 1px solid var(--c-outline-var);
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: var(--sh-xs);
}
.hero-stat-box .val {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 3px;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-box .lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-outline);
}
.hero-progress-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--t-label);
  color: var(--c-text-2);
  font-weight: 500;
  margin-bottom: 5px;
}
.hero-progress-bar {
  height: 5px;
  background: var(--c-surface-high);
  border-radius: var(--r-full);
  overflow: hidden;
}
.hero-progress-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: var(--grad-blue);
}

/* ══════════════════════════════════════════════════════════
   TRUST BAR
   ══════════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--c-bg);
  border-top: 1px solid var(--c-outline-var);
  border-bottom: 1px solid var(--c-outline-var);
  padding: var(--sp-md) 0;
}
.trust-bar-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 48px;
  border-right: 1px solid var(--c-outline-var);
}
.trust-stat:last-child { border-right: none; }
.trust-stat-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-stat-value.amber {
  background: var(--grad-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-stat-label {
  font-size: var(--t-label);
  font-weight: 600;
  color: var(--c-text-2);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════
   STEPS CARDS
   ══════════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
.step-card {
  background: var(--c-bg);
  border: 1px solid var(--c-outline-var);
  border-radius: var(--r-lg);
  padding: var(--sp-lg) var(--sp-md);
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t-base), transform var(--t-base);
  position: relative;
  overflow: hidden;
}
/* Gradient top-edge accent line */
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-blue);
  opacity: 0;
  transition: opacity var(--t-base);
}
.step-card:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-4px);
}
.step-card:hover::before { opacity: 1; }
.step-number {
  width: 52px; height: 52px;
  background: var(--grad-blue);
  color: #fff;
  font-size: 20px; font-weight: 800; letter-spacing: -0.03em;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-sm);
  box-shadow: 0 4px 16px rgba(0,112,235,0.35);
}
.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 10px;
}
.step-card p {
  font-size: var(--t-label);
  color: var(--c-text-2);
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════
   CATEGORY CARDS
   ══════════════════════════════════════════════════════════ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
.category-card {
  background: var(--c-bg);
  border: 1px solid var(--c-outline-var);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
}
.category-card:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-3px);
  border-color: rgba(0,112,235,0.35);
}
.category-icon-box {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(0,112,235,0.1) 0%, rgba(141,34,192,0.06) 100%);
  border: 1px solid rgba(0,112,235,0.16);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: var(--sp-sm);
  flex-shrink: 0;
}
.category-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 6px;
}
.category-card p {
  font-size: var(--t-label);
  color: var(--c-text-2);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--sp-sm);
}
.category-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.category-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--c-outline);
  letter-spacing: 0.01em;
}
.category-link {
  font-size: var(--t-label);
  font-weight: 700;
  color: var(--c-primary-cont);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-fast), color var(--t-fast);
}
.category-link:hover { gap: 8px; color: var(--c-primary); }

/* ══════════════════════════════════════════════════════════
   POST CARDS
   ══════════════════════════════════════════════════════════ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
.post-card {
  background: var(--c-bg);
  border: 1px solid var(--c-outline-var);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.post-card:hover { box-shadow: var(--sh-xl); transform: translateY(-3px); }
.post-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--c-surface-low);
}
.post-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--c-surface-low), var(--c-surface-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--c-outline);
}
.post-card-body {
  padding: var(--sp-md);
  display: flex; flex-direction: column; flex: 1;
}
.post-card-body .badge { margin-bottom: 10px; }
.post-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-body h3 a { color: inherit; }
.post-card-body h3 a:hover { color: var(--c-primary-cont); }
.post-card-excerpt {
  font-size: var(--t-label);
  color: var(--c-text-2);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--sp-sm);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--c-outline);
  border-top: 1px solid var(--c-outline-var);
  padding-top: 10px;
  margin-top: auto;
}
.post-card-meta span { display: flex; align-items: center; gap: 4px; }

/* ══════════════════════════════════════════════════════════
   PLAYERS STRIP
   ══════════════════════════════════════════════════════════ */
.players-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-sm);
}
.player-chip {
  background: var(--c-bg);
  border: 1px solid var(--c-outline-var);
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-sm);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px; text-align: center;
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--t-base), border-color var(--t-base), transform var(--t-base);
  cursor: default;
}
.player-chip:hover {
  box-shadow: var(--sh-lg);
  border-color: rgba(0,112,235,0.3);
  transform: translateY(-2px);
}
.player-chip-emoji { font-size: 28px; line-height: 1; }
.player-chip-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c-text);
  line-height: 1.3;
}
.players-footer { text-align: center; margin-top: var(--sp-md); }

/* ══════════════════════════════════════════════════════════
   CTA BANNER — vivid blue gradient, NOT dark
   ══════════════════════════════════════════════════════════ */
.cta-banner {
  background: var(--grad-hero);
  padding: var(--sp-xl) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* Decorative grid overlay */
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
/* Glass orb */
.cta-banner::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: var(--t-body-lg);
  margin-bottom: var(--sp-lg);
  line-height: 1.6;
}
.cta-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.cta-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: var(--t-body);
  font-family: var(--font);
  outline: none;
  backdrop-filter: blur(8px);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.cta-form input[type="email"]::placeholder { color: rgba(255,255,255,0.55); }
.cta-form input[type="email"]:focus {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.22);
}
/* White submit button — maximum contrast inside gradient */
.cta-form .btn-submit {
  padding: 12px 22px;
  background: #fff;
  color: var(--c-primary);
  border: none;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.cta-form .btn-submit:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}
.cta-disclaimer {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-top: var(--sp-sm);
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════════════════ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--c-bg);
  border: 1px solid var(--c-outline-var);
  border-radius: var(--r-md);
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--t-fast), border-color var(--t-fast);
}
.faq-item[open] {
  border-color: rgba(0,112,235,0.3);
  box-shadow: 0 0 0 3px rgba(0,112,235,0.06), var(--sh-sm);
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-sm);
  font-weight: 600; font-size: var(--t-body);
  letter-spacing: -0.01em;
  color: var(--c-text);
  list-style: none; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0; width: 22px; height: 22px;
  background: var(--grad-blue);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; line-height: 1;
  transition: transform var(--t-base);
  font-style: normal;
  box-shadow: 0 2px 6px rgba(0,112,235,0.3);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body {
  padding: 0 22px 18px;
  color: var(--c-text-2);
  font-size: var(--t-body);
  line-height: 1.7;
}
.faq-body p { margin: 0; color: var(--c-text-2); }
.faq-footer { text-align: center; margin-top: var(--sp-lg); }

/* ══════════════════════════════════════════════════════════
   FOOTER — deep surface-inverse, NOT black
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--c-surface-inv);
  color: var(--c-text-inv);
}
.footer-main { padding: var(--sp-xl) 0 var(--sp-lg); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
}
.footer-brand .site-name {
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff; display: block;
  margin-bottom: var(--sp-sm);
}
.footer-brand .site-name .accent { color: var(--c-primary-dim); }
.footer-brand p {
  font-size: var(--t-label); line-height: 1.65;
  color: rgba(240,241,241,0.55); max-width: 26ch;
  margin-bottom: var(--sp-md);
}
.footer-social { display: flex; gap: 8px; }
.social-icon {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.social-icon:hover {
  background: var(--c-primary-cont);
  color: #fff;
  border-color: var(--c-primary-cont);
}
.social-icon svg { width: 15px; height: 15px; fill: currentColor; }
.footer-col h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-links {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
  font-size: var(--t-label); font-weight: 500;
  color: rgba(240,241,241,0.55);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: var(--sp-md) 0;
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--sp-sm);
}
.copyright {
  font-size: 11px; font-weight: 600;
  color: rgba(240,241,241,0.3);
  letter-spacing: 0.01em;
}
.legal-links { display: flex; gap: var(--sp-md); }
.legal-links a {
  font-size: 11px; color: rgba(240,241,241,0.28);
  transition: color var(--t-fast);
}
.legal-links a:hover { color: rgba(240,241,241,0.75); }

/* ══════════════════════════════════════════════════════════
   ARCHIVE / BLOG LISTING
   ══════════════════════════════════════════════════════════ */
.archive-header {
  background: var(--c-bg);
  padding: var(--sp-xl) 0 var(--sp-lg);
  border-bottom: 1px solid var(--c-outline-var);
  position: relative;
  overflow: hidden;
}
.archive-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(0,112,235,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.archive-header h1 { position: relative; z-index: 1; }
.archive-header p  { color: var(--c-text-2); font-size: var(--t-body-lg); position: relative; z-index: 1; }
.archive-body { padding: var(--sp-xl) 0; }
.archive-content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-xl);
  align-items: start;
}

/* ── Sidebar ─────────────────────────────────────────── */
.sidebar-widget {
  background: var(--c-bg);
  border: 1px solid var(--c-outline-var);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  margin-bottom: var(--sp-md);
  box-shadow: var(--sh-sm);
}
.sidebar-widget-title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-text-2);
  padding-bottom: var(--sp-sm);
  border-bottom: 2px solid var(--c-primary-cont);
  margin-bottom: var(--sp-md);
}
.sidebar-categories li {
  border-bottom: 1px solid var(--c-outline-var);
}
.sidebar-categories li:last-child { border-bottom: none; }
.sidebar-categories li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; color: var(--c-text-2); font-size: var(--t-label);
  transition: color var(--t-fast);
}
.sidebar-categories li a:hover { color: var(--c-primary-cont); }
.sidebar-cat-count {
  background: var(--c-surface-low);
  color: var(--c-outline);
  font-size: 11px; font-weight: 600;
  padding: 2px 7px; border-radius: var(--r-full);
}
.sidebar-popular-post {
  display: flex; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid var(--c-outline-var);
}
.sidebar-popular-post:last-child { border-bottom: none; }
.sidebar-popular-thumb {
  width: 64px; height: 48px;
  border-radius: var(--r); overflow: hidden; flex-shrink: 0;
  background: var(--c-surface-low);
}
.sidebar-popular-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-popular-info { flex: 1; min-width: 0; }
.sidebar-popular-info a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: var(--t-label); font-weight: 600; color: var(--c-text); line-height: 1.4;
}
.sidebar-popular-info a:hover { color: var(--c-primary-cont); }
.sidebar-popular-date { font-size: 11px; color: var(--c-outline); margin-top: 3px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a {
  padding: 3px 10px;
  background: rgba(0,112,235,0.07);
  color: var(--c-primary);
  border: 1px solid rgba(0,112,235,0.15);
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 600;
  transition: background var(--t-fast), color var(--t-fast);
}
.tag-cloud a:hover {
  background: var(--c-primary-cont);
  color: #fff;
  border-color: var(--c-primary-cont);
}

/* ── Search form ─────────────────────────────────────── */
.search-form { display: flex; gap: 6px; }
.search-form input[type="search"] {
  flex: 1; padding: 9px 14px;
  border: 1px solid var(--c-outline-var);
  border-radius: var(--r);
  font-size: var(--t-label); color: var(--c-text);
  background: var(--c-surface);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.search-form input[type="search"]:focus {
  border-color: var(--c-primary);
  background: var(--c-bg);
  box-shadow: 0 0 0 3px rgba(0,88,188,0.1);
}
.search-form button {
  padding: 9px 16px;
  background: var(--grad-blue);
  color: #fff; border: none;
  border-radius: var(--r);
  font-size: var(--t-label); font-weight: 700;
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.search-form button:hover {
  box-shadow: 0 3px 10px rgba(0,112,235,0.4);
  transform: translateY(-1px);
}

/* ── Pagination ───────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; margin-top: var(--sp-xl); flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 var(--sp-sm);
  border: 1px solid var(--c-outline-var);
  border-radius: var(--r);
  font-size: var(--t-label); font-weight: 600;
  color: var(--c-text-2);
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), box-shadow var(--t-fast);
}
.pagination .page-numbers:hover {
  background: var(--grad-blue);
  color: #fff; border-color: transparent;
  box-shadow: 0 3px 10px rgba(0,112,235,0.3);
}
.pagination .page-numbers.current {
  background: var(--grad-blue);
  color: #fff; border-color: transparent;
  box-shadow: 0 3px 10px rgba(0,112,235,0.3);
  font-weight: 700;
}
.pagination .page-numbers.dots { border: none; cursor: default; }
.pagination .page-numbers.dots:hover { background: none; color: var(--c-text-2); box-shadow: none; }

/* ══════════════════════════════════════════════════════════
   SINGLE ARTICLE
   ══════════════════════════════════════════════════════════ */
.article-breadcrumb {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-outline-var);
  padding: 10px 0;
  font-size: var(--t-label);
  color: var(--c-text-2);
}
.breadcrumb-list { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.breadcrumb-list li { display: flex; align-items: center; gap: 6px; }
.breadcrumb-list li:not(:last-child)::after { content: '/'; color: var(--c-outline-var); }
.breadcrumb-list li a { color: var(--c-text-2); }
.breadcrumb-list li a:hover { color: var(--c-primary-cont); }
.breadcrumb-list li:last-child { color: var(--c-text); font-weight: 600; }

.article-header {
  padding: var(--sp-xl) 0 var(--sp-lg);
  max-width: 760px; margin: 0 auto;
}
.article-meta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px; margin-bottom: var(--sp-md);
}
.article-meta time, .article-meta .read-time {
  font-size: var(--t-label); font-weight: 600; color: var(--c-outline);
}
.article-title {
  font-size: clamp(28px, 4vw, var(--t-h1));
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.2; color: var(--c-text);
  margin-bottom: var(--sp-md);
}

/* Compact author */
.compact-author-box {
  display: flex; align-items: center; gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
  padding: 12px 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-outline-var);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
}
.compact-author-box img { width: 36px; height: 36px; border-radius: var(--r-full); }
.compact-author-info strong { display: block; font-size: var(--t-label); font-weight: 700; color: var(--c-text); }
.compact-author-info span { font-size: 11px; color: var(--c-outline); }

.article-featured-image {
  margin-bottom: var(--sp-lg);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--c-outline-var);
}
.article-featured-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* Entry content */
.entry-content {
  max-width: 720px;
  margin: 0 auto;
}
.entry-content p { margin-bottom: 20px; color: var(--c-text-2); line-height: 1.75; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--c-text); }
.entry-content h2 { margin-top: var(--sp-lg); margin-bottom: var(--sp-sm); }
.entry-content h3 { margin-top: var(--sp-md); margin-bottom: 10px; }
.entry-content ul, .entry-content ol { padding-left: var(--sp-md); margin-bottom: var(--sp-md); }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 6px; line-height: 1.7; color: var(--c-text-2); }
.entry-content a { color: var(--c-primary-cont); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--c-primary); }
.entry-content blockquote {
  border-left: 3px solid var(--c-primary-cont);
  padding: var(--sp-sm) var(--sp-md);
  background: rgba(0,112,235,0.04);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--sp-md) 0; color: var(--c-text-2);
}
.entry-content code {
  background: var(--c-surface-low);
  padding: 2px 6px; border-radius: var(--r-sm);
  font-size: 0.875em; color: var(--c-secondary-c);
  border: 1px solid var(--c-outline-var);
}
.entry-content pre {
  background: var(--c-surface-inv); color: var(--c-text-inv);
  padding: var(--sp-md); border-radius: var(--r-md);
  overflow-x: auto; margin: var(--sp-md) 0;
  box-shadow: var(--sh-md);
}
.entry-content pre code { background: none; color: inherit; padding: 0; border: none; }
.entry-content img { border-radius: var(--r-md); margin: var(--sp-md) 0; box-shadow: var(--sh-md); }
.entry-content table { margin: var(--sp-md) 0; font-size: var(--t-label); }
.entry-content th, .entry-content td {
  padding: 10px var(--sp-sm); border: 1px solid var(--c-outline-var); text-align: left;
}
.entry-content th { background: var(--c-surface-low); font-weight: 700; color: var(--c-text); }

/* Callout */
.callout-block {
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--r-md);
  border-left: 3px solid var(--c-primary-cont);
  background: rgba(0,112,235,0.05);
  margin: var(--sp-md) 0;
}
.callout-block.warning { border-left-color: var(--c-secondary-c); background: rgba(254,93,57,0.05); }
.callout-block p { margin: 0; color: var(--c-text-2); }

/* TOC */
.toc-box {
  background: var(--c-surface);
  border: 1px solid var(--c-outline-var);
  border-left: 3px solid var(--c-primary-cont);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  margin: var(--sp-md) 0;
  box-shadow: var(--sh-xs);
}
.toc-title { font-size: var(--t-label); font-weight: 700; color: var(--c-text); margin-bottom: var(--sp-sm); }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 6px; padding-left: var(--sp-sm); position: relative; }
.toc-list li::before {
  content: ''; position: absolute; left: 0; top: 0.6em;
  width: 4px; height: 4px; background: var(--c-primary-cont); border-radius: 50%;
}
.toc-list li a { color: var(--c-text-2); font-size: var(--t-label); font-weight: 500; }
.toc-list li a:hover { color: var(--c-primary-cont); }

/* Share bar */
.share-bar {
  display: flex; align-items: center; gap: var(--sp-sm);
  padding: var(--sp-md) 0; flex-wrap: wrap;
  border-top: 1px solid var(--c-outline-var);
  border-bottom: 1px solid var(--c-outline-var);
  margin: var(--sp-lg) 0;
}
.share-label {
  font-size: 11px; font-weight: 700; color: var(--c-outline);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r);
  font-size: var(--t-label); font-weight: 600;
  border: none; cursor: pointer;
  transition: opacity var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.share-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.share-btn-x   { background: #000; color: #fff; }
.share-btn-fb  { background: #1877f2; color: #fff; }
.share-btn-li  { background: #0a66c2; color: #fff; }
.share-btn-copy {
  background: var(--c-surface-low);
  color: var(--c-text-2);
  border: 1px solid var(--c-outline-var);
}

/* Tags */
.article-tags {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  margin: var(--sp-md) 0;
}
.article-tags-label { font-size: var(--t-label); font-weight: 600; color: var(--c-outline); }
.article-tags a {
  padding: 3px 10px;
  background: rgba(0,112,235,0.07);
  color: var(--c-primary);
  border: 1px solid rgba(0,112,235,0.15);
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 600;
  transition: background var(--t-fast), color var(--t-fast);
}
.article-tags a:hover { background: var(--c-primary-cont); color: #fff; border-color: transparent; }

/* Full author box */
.author-box {
  display: flex; gap: var(--sp-md);
  padding: var(--sp-md);
  background: var(--c-surface);
  border: 1px solid var(--c-outline-var);
  border-radius: var(--r-lg);
  margin: var(--sp-xl) 0 var(--sp-lg);
  box-shadow: var(--sh-sm);
}
.author-avatar { width: 72px; height: 72px; border-radius: var(--r-full); overflow: hidden; flex-shrink: 0; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info h4 { font-size: var(--t-body); font-weight: 700; color: var(--c-text); margin-bottom: 3px; }
.author-role {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--c-primary-cont); margin-bottom: 8px;
}
.author-bio { font-size: var(--t-label); color: var(--c-text-2); margin-bottom: 8px; line-height: 1.65; }
.author-link { font-size: var(--t-label); font-weight: 700; color: var(--c-primary-cont); }
.author-link:hover { color: var(--c-primary); }

/* Related articles */
.related-articles { padding: var(--sp-xl) 0; }
.related-articles h2 { text-align: center; margin-bottom: var(--sp-lg); }

/* Comments */
.comments-area {
  max-width: 720px; margin: var(--sp-xl) auto 0;
  padding-top: var(--sp-lg); border-top: 1px solid var(--c-outline-var);
}
.comments-title { font-size: 22px; color: var(--c-text); margin-bottom: var(--sp-lg); }
.comment { padding: var(--sp-md) 0; border-bottom: 1px solid var(--c-outline-var); }
.comment:last-child { border-bottom: none; }
.comment-author { display: flex; align-items: center; gap: var(--sp-sm); margin-bottom: 8px; }
.comment-author img { width: 38px; height: 38px; border-radius: var(--r-full); }
.comment-author-name { font-weight: 700; font-size: var(--t-label); color: var(--c-text); }
.comment-date { font-size: 11px; color: var(--c-outline); }
.comment-content p { font-size: var(--t-label); color: var(--c-text-2); }
.comment-form input,
.comment-form textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--c-outline-var); border-radius: var(--r);
  font-size: var(--t-label); background: var(--c-surface); color: var(--c-text);
  outline: none; margin-bottom: var(--sp-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(0,88,188,0.1);
}
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form label {
  display: block; font-size: var(--t-label); font-weight: 600;
  margin-bottom: 4px; color: var(--c-text);
}

/* 404 */
.page-404 {
  min-height: 70vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: var(--sp-xl) var(--sp-md);
}
.page-404-inner { max-width: 480px; }
.page-404-emoji { font-size: 72px; display: block; line-height: 1; margin-bottom: var(--sp-md); }
.page-404 h1 { font-size: var(--t-h1); color: var(--c-text); margin-bottom: var(--sp-sm); }
.page-404 p { color: var(--c-text-2); font-size: var(--t-body-lg); margin-bottom: var(--sp-lg); }
.page-404-actions { display: flex; justify-content: center; gap: var(--sp-sm); flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 1024px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .hamburger-btn { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .hero-visual { display: none; }
  .hero-content > p { max-width: 100%; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .players-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
  .footer-brand { grid-column: 1 / -1; }
  .archive-content-grid { grid-template-columns: 1fr; }
  .archive-sidebar { order: -1; }
  .trust-bar-inner { flex-wrap: wrap; }
  .trust-stat {
    flex: 0 0 50%;
    border-right: none;
    border-bottom: 1px solid var(--c-outline-var);
  }
  .trust-stat:nth-child(odd) { border-right: 1px solid var(--c-outline-var); }
  .trust-stat:nth-last-child(-n+2) { border-bottom: none; }
  .cta-form { flex-direction: column; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 640px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root {
    --sp-xl: 56px;
    --sp-lg: 32px;
  }
  .iptvm3u-container { padding: 0 16px; }
  .steps-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .players-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
  .footer-brand { grid-column: auto; }
  .trust-bar-inner { flex-direction: column; }
  .trust-stat { flex: 1; border-right: none; border-bottom: 1px solid var(--c-outline-var); }
  .trust-stat:nth-child(odd) { border-right: none; }
  .trust-stat:last-child { border-bottom: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
  .cta-form { flex-direction: column; }
}

/* ══════════════════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════════════════ */
@media print {
  body::before, body::after { display: none; }
  .site-header, .site-footer, .share-bar, .author-box,
  .related-articles, .cta-banner, .mobile-nav-overlay,
  .hamburger-btn, .trust-bar, .players-strip,
  .steps-grid, .comments-area { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .entry-content { max-width: 100%; }
}
