/* ─────────────────────────────────────────────────────────────────────────
   NewsBox Premium Layer — apple.com / awwwards winner vibe
   Pinky Creative Studio · 2026-05-24
   Layered on top of style.css; never replaces it. Mobile-safe v2 + FIT-v3 respected.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --pf-ease: cubic-bezier(.22, 1, .36, 1);
  --pf-ease-snap: cubic-bezier(.16, 1, .3, 1);
  --pf-grad-cyan: linear-gradient(135deg, #00E5FF 0%, #3D8FFF 50%, #FFB020 100%);
  --pf-glow-cyan: 0 8px 32px rgba(0, 229, 255, 0.32);
  --pf-glow-amber: 0 8px 28px rgba(255, 176, 32, 0.28);
}

/* ============================================================
   1. LOADER CURTAIN
   ============================================================ */
.pf-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #05060A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  pointer-events: all;
  transition: transform 1s var(--pf-ease-snap), opacity .6s ease .3s;
}
.pf-loader.is-done {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.pf-loader-mark {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  background: var(--pf-grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(20px);
  animation: pf-loader-fade .9s var(--pf-ease) .15s forwards;
}
.pf-loader-bar {
  width: min(280px, 60vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.pf-loader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pf-grad-cyan);
  transform: translateX(-100%);
  animation: pf-loader-fill 1.4s var(--pf-ease) forwards;
}
.pf-loader-pct {
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: .25em;
  text-transform: uppercase;
}
@keyframes pf-loader-fade {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pf-loader-fill {
  to { transform: translateX(0); }
}

/* ============================================================
   2. WEBGL HERO MESH
   ============================================================ */
.pf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(80px, 12vh, 140px) 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.pf-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 800px 600px at 70% 30%, rgba(0, 229, 255, 0.15), transparent 60%),
    radial-gradient(ellipse 700px 500px at 20% 80%, rgba(255, 176, 32, 0.12), transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 50%, rgba(61, 143, 255, 0.08), transparent 60%),
    #05060A;
}
.pf-hero-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.pf-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 6, 10, 0.4) 70%, #05060A 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(5, 6, 10, 0.3) 90%);
  z-index: -1;
  pointer-events: none;
}
.pf-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.pf-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.pf-hero-kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 10px #00E5FF;
  animation: pf-pulse 1.6s ease-in-out infinite;
}
@keyframes pf-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.pf-hero-title {
  font-size: clamp(3rem, 11vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: .92;
  margin: 0 0 28px;
  color: #fff;
}
.pf-hero-title .char {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
.pf-hero-title .pf-gradient-text {
  background: var(--pf-grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pf-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  line-height: 1.55;
  margin-bottom: 48px;
}
.pf-hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 64px);
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.pf-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pf-stat-value {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pf-stat-label {
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.pf-hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}
.pf-hero-scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
  animation: pf-scroll-pulse 2s ease-in-out infinite;
}
@keyframes pf-scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   3. INFINITE MARQUEE
   ============================================================ */
.pf-marquee {
  position: relative;
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}
.pf-marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  width: max-content;
  animation: pf-marquee-scroll 28s linear infinite;
}
.pf-marquee.reverse .pf-marquee-track {
  animation-direction: reverse;
  animation-duration: 36s;
}
.pf-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}
.pf-marquee-item .accent { color: #00E5FF; }
.pf-marquee-item .accent-warm { color: #FFB020; }
.pf-marquee-item .sep {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
@keyframes pf-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   4. EDITORIAL SCRUB SECTION
   ============================================================ */
.pf-editorial {
  padding: clamp(100px, 14vh, 160px) 0;
  position: relative;
}
.pf-editorial-head {
  max-width: 800px;
  margin: 0 auto clamp(60px, 8vh, 100px);
  padding: 0 24px;
  text-align: center;
}
.pf-editorial-kicker {
  display: inline-block;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #00E5FF;
  margin-bottom: 18px;
}
.pf-editorial-h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 16px;
}
.pf-editorial-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
.pf-editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.pf-editorial-card {
  position: relative;
  display: block;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: transform .5s var(--pf-ease), border-color .3s, box-shadow .5s;
  transform-style: preserve-3d;
  min-height: 460px;
}
.pf-editorial-card:hover {
  border-color: rgba(0, 229, 255, 0.25);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 229, 255, 0.2);
}
.pf-editorial-card.featured {
  grid-column: span 2;
  min-height: 540px;
}
@media (max-width: 900px) {
  .pf-editorial-card.featured { grid-column: span 1; min-height: 460px; }
}
.pf-editorial-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--pf-ease);
  z-index: 0;
}
.pf-editorial-card:hover .pf-editorial-card-img { transform: scale(1.08); }
.pf-editorial-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 6, 10, 0.4) 60%, rgba(5, 6, 10, 0.96) 100%);
}
.pf-editorial-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  z-index: 1;
}
.pf-editorial-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: .78rem;
}
.pf-editorial-card-title {
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 12px;
}
.pf-editorial-card.featured .pf-editorial-card-title {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}
.pf-editorial-card-summary {
  color: rgba(255, 255, 255, 0.7);
  font-size: .92rem;
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pf-editorial-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #00E5FF;
}
.pf-editorial-card-cta::after {
  content: "→";
  transition: transform .3s ease;
}
.pf-editorial-card:hover .pf-editorial-card-cta::after { transform: translateX(4px); }

/* ============================================================
   5. DAILY STRIP PREMIUM
   ============================================================ */
.pf-daily {
  position: relative;
  padding: clamp(80px, 10vh, 120px) 0;
  overflow: hidden;
}
.pf-daily::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 80% 30%, rgba(255, 176, 32, 0.12), transparent 50%),
    radial-gradient(ellipse 600px 400px at 20% 70%, rgba(0, 229, 255, 0.08), transparent 50%);
  z-index: -1;
}
.pf-daily-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 900px) {
  .pf-daily-grid { grid-template-columns: 1fr; }
}
.pf-daily-card {
  position: relative;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pf-daily-card .kicker {
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #FFB020;
  margin-bottom: 14px;
  display: block;
}
.pf-daily-card h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}
.pf-swieta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
}
.pf-swieta-pills li {
  padding: 8px 16px;
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.25);
  border-radius: 999px;
  font-size: .85rem;
  color: #fff;
  transition: transform .3s var(--pf-ease), background .3s;
}
.pf-swieta-pills li:hover {
  transform: translateY(-2px);
  background: rgba(255, 176, 32, 0.18);
}
.pf-cytat-quote {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: #fff;
  font-weight: 500;
  margin-bottom: 16px;
  position: relative;
  padding-left: 36px;
}
.pf-cytat-quote::before {
  content: "\201C";
  position: absolute;
  left: -8px;
  top: -28px;
  font-family: 'Inter', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(0, 229, 255, 0.4);
  line-height: 1;
}
.pf-cytat-author {
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.pf-daily-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #00E5FF;
}
.pf-daily-link::after { content: "→"; transition: transform .3s; }
.pf-daily-link:hover::after { transform: translateX(4px); }

/* ============================================================
   6. NEWS GRID (uplift over existing .articles-grid)
   ============================================================ */
.pf-news {
  padding: clamp(80px, 10vh, 120px) 0;
}
.pf-news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.pf-news-head-left h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
}
.pf-news-head-left .kicker {
  display: block;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #00E5FF;
  margin-bottom: 14px;
}
.pf-cat-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.pf-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .3s var(--pf-ease);
  cursor: pointer;
}
.pf-cat-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  color: #fff;
}
.pf-cat-chip.is-active {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.35);
  color: #fff;
}
.pf-cat-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat-color, #00E5FF);
  box-shadow: 0 0 8px var(--cat-color, #00E5FF);
}

.pf-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.pf-news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .3s, box-shadow .4s, transform .4s var(--pf-ease);
  will-change: transform;
  transform-style: preserve-3d;
}
.pf-news-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 229, 255, 0.12);
}
.pf-news-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(255, 176, 32, 0.04));
}
.pf-news-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--pf-ease);
}
.pf-news-card:hover .pf-news-card-img { transform: scale(1.06); }
.pf-news-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  flex: 1;
}
.pf-news-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
}
.pf-news-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: #fff;
  margin: 0;
}
.pf-news-card-summary {
  color: rgba(255, 255, 255, 0.6);
  font-size: .88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pf-news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: .74rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: 'SF Mono', ui-monospace, monospace;
  letter-spacing: .08em;
}

/* Reveal effect for cards */
.pf-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--pf-ease), transform .9s var(--pf-ease);
}
.pf-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   7. NEWSLETTER PREMIUM
   ============================================================ */
.pf-newsletter {
  position: relative;
  padding: clamp(100px, 14vh, 160px) 0;
  overflow: hidden;
}
.pf-newsletter-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 600px 400px at 30% 50%, rgba(0, 229, 255, 0.1), transparent 60%),
    radial-gradient(ellipse 500px 400px at 70% 50%, rgba(255, 176, 32, 0.08), transparent 60%);
}
.pf-newsletter-canvas canvas { width: 100% !important; height: 100% !important; opacity: .55; }
.pf-newsletter-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;
  position: relative;
}
.pf-newsletter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.4), transparent 50%, rgba(255, 176, 32, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.pf-newsletter-kicker {
  display: inline-block;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #00E5FF;
  margin-bottom: 18px;
}
.pf-newsletter-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 20px;
}
.pf-newsletter-sub {
  color: rgba(255, 255, 255, 0.65);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
  font-size: 1rem;
}
.pf-newsletter-form {
  display: grid;
  grid-template-columns: 1fr 140px 160px;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .pf-newsletter-form { grid-template-columns: 1fr; }
}
.pf-newsletter-form input[type="email"],
.pf-newsletter-form select {
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  outline: none;
  transition: border-color .3s, background .3s;
  backdrop-filter: blur(8px);
}
.pf-newsletter-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.35); }
.pf-newsletter-form input[type="email"]:focus,
.pf-newsletter-form select:focus {
  border-color: rgba(0, 229, 255, 0.5);
  background: rgba(0, 0, 0, 0.55);
}
.pf-newsletter-form button {
  padding: 16px 24px;
  border-radius: 14px;
  border: none;
  background: var(--pf-grad-cyan);
  color: #05060A;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: transform .3s var(--pf-ease), box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.pf-newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--pf-glow-cyan);
}
.pf-newsletter-form button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform .8s;
}
.pf-newsletter-form button:hover::after { transform: translateX(100%); }
.pf-newsletter-msg {
  margin-top: 18px;
  min-height: 1.4em;
  font-size: .88rem;
  color: rgba(255, 255, 255, 0.55);
}
.pf-newsletter-msg.ok { color: #00D67A; }
.pf-newsletter-msg.err { color: #FF3B5C; }
.pf-newsletter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding: 6px 12px;
  background: rgba(0, 214, 122, 0.08);
  border: 1px solid rgba(0, 214, 122, 0.2);
  border-radius: 999px;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .68rem;
  color: #00D67A;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* ============================================================
   8. CTA STRIP
   ============================================================ */
.pf-cta {
  position: relative;
  padding: clamp(80px, 12vh, 140px) 24px;
  text-align: center;
  overflow: hidden;
}
.pf-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at center, rgba(0, 229, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(255, 176, 32, 0.08), transparent 60%);
  z-index: -1;
}
.pf-cta-kicker {
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #FFB020;
  margin-bottom: 20px;
  display: block;
}
.pf-cta-title {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: #fff;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.pf-cta-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.pf-cta-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 32px;
  font-family: 'SF Mono', ui-monospace, monospace;
}
.pf-cta-counter strong {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--pf-grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pf-cta-counter span {
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.pf-magnetic {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: #fff;
  color: #05060A;
  border: none;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background .3s, box-shadow .4s;
  cursor: pointer;
  position: relative;
  will-change: transform;
}
.pf-magnetic:hover {
  background: var(--pf-grad-cyan);
  color: #05060A;
  box-shadow: var(--pf-glow-cyan);
}
.pf-magnetic .arrow {
  display: inline-block;
  transition: transform .3s var(--pf-ease);
}
.pf-magnetic:hover .arrow { transform: translateX(4px); }

/* ============================================================
   9. READING PROGRESS BAR (article page)
   ============================================================ */
.pf-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 100;
  pointer-events: none;
}
.pf-progress-bar {
  height: 100%;
  background: var(--pf-grad-cyan);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .12s linear;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

/* ============================================================
   10. FOOTER PREMIUM
   ============================================================ */
.pf-footer {
  position: relative;
  padding: 80px 0 40px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.pf-footer::before {
  content: "NEWSBOX";
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.pf-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.pf-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 720px) {
  .pf-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.pf-footer-brand h4 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  background: var(--pf-grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.pf-footer-brand p { color: rgba(255, 255, 255, 0.5); font-size: .92rem; line-height: 1.55; max-width: 360px; }
.pf-footer-col h5 {
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}
.pf-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pf-footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: .9rem;
  transition: color .3s;
}
.pf-footer-col a:hover { color: #fff; }
.pf-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.45);
}
.pf-footer-bottom a {
  background: var(--pf-grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ============================================================
   11. ARTICLE PAGE PREMIUM
   ============================================================ */
.pf-article-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.pf-article-hero-img {
  position: absolute;
  inset: -10% 0 -10% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.pf-article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.2) 0%, rgba(5, 6, 10, 0.85) 70%, #05060A 100%);
  pointer-events: none;
}
.pf-article-hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 24px 60px;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
}

/* ============================================================
   12. RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .pf-hero { min-height: 92vh; padding: 80px 0 60px; }
  .pf-hero-title { font-size: clamp(2.4rem, 13vw, 4.2rem); }
  .pf-hero-stats { gap: 20px; }
  .pf-stat-value { font-size: 1.8rem; }
  .pf-editorial-card { min-height: 360px; }
  .pf-marquee-item { font-size: 1.2rem; gap: 32px; }
  .pf-marquee-track { gap: 32px; }
  .pf-cta-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .pf-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   13. REDUCED MOTION FALLBACK
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .pf-loader { display: none !important; }
  .pf-hero-title .char { transform: none !important; opacity: 1 !important; }
  .pf-reveal { opacity: 1 !important; transform: none !important; }
  .pf-marquee-track { animation: none !important; }
  .pf-hero-canvas canvas, .pf-newsletter-canvas canvas { display: none !important; }
  .pf-hero-scroll-cue::after { animation: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   14. UTILITY OVERRIDES — hide legacy hero/CTA when premium is active
   ============================================================ */
body.pf-premium .hero,
body.pf-premium .editorial-section,
body.pf-premium .articles-section,
body.pf-premium .cta-row,
body.pf-premium .daily-strip,
body.pf-premium .foot-widgets-wrap,
body.pf-premium .newsletter-widget,
body.pf-premium .footer { display: none !important; }

/* ─── News-themed hero bg overlay (2026-05-24) ─────────────────── */
.pf-hero-news { min-height: 78vh; padding: clamp(70px, 9vh, 110px) 0 70px; }
.pf-hero-news .pf-hero-canvas {
  background:
    radial-gradient(ellipse 700px 480px at 75% 28%, rgba(0,229,255,0.18), transparent 60%),
    radial-gradient(ellipse 620px 440px at 22% 78%, rgba(255,176,32,0.10), transparent 60%),
    radial-gradient(ellipse 540px 360px at 50% 50%, rgba(61,143,255,0.07), transparent 60%),
    #04060e;
}
.pf-hero-globe {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(120vh, 90vw);
  height: min(120vh, 90vw);
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  animation: pfGlobeRotate 120s linear infinite;
}
@keyframes pfGlobeRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.pf-hero-headlines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, black 25%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 25%, black 75%, transparent 100%);
}
.pf-hl-row {
  position: absolute;
  display: flex;
  gap: 56px;
  white-space: nowrap;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.06);
  text-transform: uppercase;
  width: max-content;
}
.pf-hl-row span { padding: 0 12px; }
.pf-hl-row-1 { top: 18%; animation: pfHlScroll 65s linear infinite; }
.pf-hl-row-2 { top: 48%; font-size: 0.92rem; color: rgba(0,229,255,0.08); animation: pfHlScrollRev 80s linear infinite; }
.pf-hl-row-3 { top: 78%; animation: pfHlScroll 95s linear infinite; color: rgba(255,176,32,0.07); }
@keyframes pfHlScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pfHlScrollRev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.pf-hero-pulses { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pf-pulse {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 12px rgba(0,229,255,0.7);
}
.pf-pulse::before, .pf-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(0,229,255,0.5);
  animation: pfPulseRing 2.6s ease-out infinite;
}
.pf-pulse::after { animation-delay: 1.3s; }
@keyframes pfPulseRing {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(6); opacity: 0; }
}
.pf-pulse:nth-child(2) { background: #FFB020; box-shadow: 0 0 12px rgba(255,176,32,0.7); }
.pf-pulse:nth-child(2)::before, .pf-pulse:nth-child(2)::after { border-color: rgba(255,176,32,0.5); }
.pf-pulse:nth-child(3) { animation-delay: .8s; }
.pf-pulse:nth-child(5) { background: #FFB020; box-shadow: 0 0 12px rgba(255,176,32,0.7); }
.pf-pulse:nth-child(5)::before, .pf-pulse:nth-child(5)::after { border-color: rgba(255,176,32,0.5); }

/* Stronger overlay for readability of hero text */
.pf-hero-news::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4,6,14,0.4) 0%, rgba(4,6,14,0.05) 35%, rgba(4,6,14,0.05) 65%, rgba(4,6,14,0.85) 100%),
    radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(4,6,14,0.55) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Compact daily strip (50% size) */
.pf-daily-compact { padding: clamp(36px, 5vh, 56px) 0; }
.pf-daily-compact::before {
  background:
    radial-gradient(ellipse 400px 200px at 80% 40%, rgba(255,176,32,0.08), transparent 50%),
    radial-gradient(ellipse 380px 220px at 20% 60%, rgba(0,229,255,0.06), transparent 50%);
}
.pf-daily-compact .pf-daily-card {
  padding: 20px 22px;
  border-radius: 16px;
}
.pf-daily-compact .pf-daily-card .kicker {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  margin-bottom: 8px;
}
.pf-daily-compact .pf-daily-card h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  margin-bottom: 12px;
}
.pf-daily-compact .pf-swieta-pills { gap: 6px; margin-bottom: 12px; }
.pf-daily-compact .pf-swieta-pills li {
  padding: 4px 11px;
  font-size: 0.72rem;
  border-radius: 999px;
}
.pf-daily-compact .pf-cytat-quote {
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 10px;
  padding-left: 24px;
}
.pf-daily-compact .pf-cytat-quote::before {
  font-size: 3rem;
  top: -16px;
  left: -4px;
}
.pf-daily-compact .pf-cytat-author { font-size: 0.7rem; }
.pf-daily-compact .pf-daily-link {
  margin-top: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
}
.pf-daily-compact .pf-daily-grid { gap: 18px; max-width: 1100px; }

@media (max-width: 640px) {
  .pf-hero-news { min-height: 70vh; padding: 50px 0 50px; }
  .pf-hl-row { font-size: 0.62rem; letter-spacing: 0.22em; gap: 32px; }
  .pf-hl-row-2 { font-size: 0.72rem; }
  .pf-hero-globe { opacity: 0.4; width: 140vw; height: 140vw; }
  .pf-daily-compact { padding: 28px 0; }
  .pf-daily-compact .pf-daily-card { padding: 16px 18px; }
  .pf-daily-compact .pf-daily-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-hl-row, .pf-hero-globe, .pf-pulse::before, .pf-pulse::after { animation: none !important; }
}
