/* ============================================================
   WebCamera.pl — Premium CSS
   Aesthetic: Dark Luxury · Editorial · Broadcast
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── TOKENS ── */
:root {
  --bg:       #07090f;
  --bg2:      #0a0d16;
  --bg3:      #0d1120;
  --surface:  #111827;
  --surface2: #1a2236;
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.12);
  --accent:   #00d4ff;
  --accent2:  #0099cc;
  --red:      #ff3535;
  --green:    #00e87a;
  --white:    #f4f8ff;
  --muted:    #5a7090;
  --muted2:   #8aa0b8;

  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --nav-h: 72px;
  --r:     12px;
  --r2:    20px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 2px; }

/* ── UTILS ── */
.mono { font-family: var(--font-mono); letter-spacing: 0.08em; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }

/* Grain texture overlay */
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 10;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.grain-light { opacity: 0.02; }

/* Live indicator */
.live-orb {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255,53,53,0.6);
  animation: orb-pulse 2s ease-in-out infinite;
}
@keyframes orb-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,53,53,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(255,53,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,53,53,0); }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.rd2 { transition-delay: 0.12s; }
.rd3 { transition-delay: 0.24s; }
.rd4 { transition-delay: 0.36s; }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, height 0.3s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(7,9,15,0.92);
  backdrop-filter: blur(24px) saturate(180%);
  border-color: var(--border);
  height: 60px;
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  height: 100%; padding: 0 48px;
  display: flex; align-items: center; gap: 40px;
}
.nav-logo img { height: 38px; width: auto; object-fit: contain; }
.nav-links {
  display: flex; align-items: center; gap: 32px; margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--muted2);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--accent); transform: scaleX(0);
  transform-origin: left; transition: transform 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--bg);
  font-size: 0.82rem; font-weight: 700;
  font-family: var(--font-mono); letter-spacing: 0.08em;
  padding: 9px 20px; border-radius: 6px;
  transition: box-shadow 0.25s, transform 0.2s, background 0.2s;
  white-space: nowrap;
}
.nb-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bg); opacity: 0.6;
  animation: orb-pulse 2s ease-in-out infinite;
  animation-play-state: paused;
}
.nav-btn:hover {
  background: #22deff;
  box-shadow: 0 0 32px rgba(0,212,255,0.4);
  transform: translateY(-1px);
}
.nav-btn:hover .nb-dot { animation-play-state: running; }

/* Language switcher */
.nav-lang {
  display: flex; align-items: center; gap: 8px;
  margin-left: 24px; margin-right: 16px;
  font-family: var(--font-mono); font-size: 0.75rem;
}
.nav-lang-btn {
  color: var(--muted2); font-weight: 600; letter-spacing: 0.05em;
  padding: 4px 8px; border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-lang-btn:hover { color: var(--white); background: rgba(0,212,255,0.1); }
.nav-lang-btn.active { color: var(--accent); background: rgba(0,212,255,0.15); }
.nav-lang-sep { color: var(--muted); opacity: 0.5; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--white);
  transition: all 0.3s;
}
.nav-mobile {
  display: none; flex-direction: column;
  background: rgba(7,9,15,0.98); backdrop-filter: blur(20px);
  padding: 20px 48px 28px; gap: 4px;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a {
  padding: 12px 0; font-size: 1rem; font-weight: 500; color: var(--muted2);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile.open { display: flex; }

/* ── HERO ── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
}

/* YouTube BG */
#hero-yt-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
#yt-player-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 144vw;
  height: 144vh;
  transform: translate(-50%, -50%);
}
#yt-player-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  object-fit: cover;
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(7,9,15,0.95) 0%, rgba(7,9,15,0.6) 50%, rgba(7,9,15,0.4) 100%),
    linear-gradient(to top, rgba(7,9,15,1) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(7,9,15,0.7) 0%, transparent 30%);
}

/* Hero content */
.hero-content {
  position: relative; z-index: 10;
  max-width: 760px;
  padding: calc(var(--nav-h) + 80px) 48px 80px;
  flex: 1; display: flex; flex-direction: column; justify-content: center;
}

/* Reveal animation classes */
.reveal-hero { opacity: 0; transform: translateY(24px); }
.reveal-hero.in { opacity: 1; transform: translateY(0); transition: opacity 0.8s ease, transform 0.8s ease; }
.r2.in { transition-delay: 0.12s; }
.r3.in { transition-delay: 0.24s; }
.r4.in { transition-delay: 0.36s; }
.r5.in { transition-delay: 0.5s; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  font-size: 0.72rem; font-weight: 600; color: var(--muted2);
  letter-spacing: 0.08em;
}
.hero-eyebrow .sep { opacity: 0.3; }

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--white);
}
.hero-h1 em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

.hero-sub {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(244,248,255,0.65);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 40px auto;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

/* Hero stats */
.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  backdrop-filter: blur(12px);
  padding: 20px 28px;
  width: fit-content;
  margin: 0 auto;
}
.hs-item { text-align: center; padding: 0 20px; }
.hs-num {
  font-family: var(--font-display); font-size: 2rem;
  color: var(--accent); line-height: 1; display: block;
  margin-bottom: 3px;
}
.hs-label { font-size: 0.7rem; color: var(--muted); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.hs-div { width: 1px; height: 40px; background: var(--border2); }

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 32px; right: 48px; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.65rem; color: var(--muted); letter-spacing: 0.15em;
}
.scroll-track {
  width: 1px; height: 60px; background: rgba(255,255,255,0.1);
  position: relative; overflow: hidden; border-radius: 1px;
}
.scroll-thumb {
  position: absolute; top: -20px; left: 0; right: 0; height: 20px;
  background: var(--accent); border-radius: 1px;
  animation: scroll-drop 2.5s ease-in-out infinite;
}
@keyframes scroll-drop {
  0%   { top: -20px; opacity: 1; }
  80%  { top: 60px;  opacity: 1; }
  100% { top: 60px;  opacity: 0; }
}

/* ── BUTTONS ── */
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--bg);
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 15px 30px; border-radius: var(--r);
  transition: box-shadow 0.25s, transform 0.2s;
}
.btn-hero-primary:hover {
  box-shadow: 0 0 48px rgba(0,212,255,0.45);
  transform: translateY(-2px);
}
.btn-hero-ghost {
  display: inline-flex; align-items: center;
  color: var(--white); font-size: 0.9rem; font-weight: 500;
  padding: 15px 0; letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.2s, color 0.2s;
}
.btn-hero-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--bg);
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 13px 26px; border-radius: var(--r);
  transition: box-shadow 0.25s, transform 0.2s;
  border: none; font-family: var(--font-body);
}
.btn-primary:hover { box-shadow: 0 0 40px rgba(0,212,255,0.4); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  border: 1px solid var(--border2);
  font-size: 0.88rem; font-weight: 500;
  padding: 13px 24px; border-radius: var(--r);
  transition: border-color 0.2s, background 0.2s;
  font-family: var(--font-body);
}
.btn-secondary:hover { border-color: var(--accent); background: rgba(0,212,255,0.06); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--muted2); font-size: 0.82rem; font-weight: 500;
  padding: 10px 18px; border-radius: var(--r);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  font-family: var(--font-body);
}
.btn-ghost:hover { color: var(--white); border-color: var(--border2); background: rgba(255,255,255,0.08); }

/* ── SECTION COMMONS ── */
section { padding: 110px 0; position: relative; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.label-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.label-tag::before { content: ''; display: inline-block; width: 20px; height: 1px; background: var(--accent); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.95; letter-spacing: 0.02em; text-transform: uppercase;
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1rem; color: var(--muted2); font-weight: 300; line-height: 1.7;
}

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden; background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.ticker-inner {
  display: flex; white-space: nowrap;
  animation: ticker 40s linear infinite;
  padding: 16px 0;
}
.tick-item {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 20px;
  font-family: var(--font-mono); font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.12em;
  color: var(--muted);
}
.tick-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.5; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* ── INTRO ── */
#intro { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.intro-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px;
  align-items: start; margin-bottom: 72px;
}
.intro-lead { font-size: 1.15rem; font-weight: 400; color: var(--white); line-height: 1.7; margin-bottom: 18px; }
.intro-body { font-size: 0.95rem; color: var(--muted2); font-weight: 300; line-height: 1.75; }

.intro-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; position: relative; z-index: 3; }
.icard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.icard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.icard:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.icard:hover::before { opacity: 1; }
.icard-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.icard h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; }
.icard p { font-size: 0.88rem; color: var(--muted2); line-height: 1.65; font-weight: 300; margin-bottom: 20px; }
.icard-live { display: flex; align-items: center; gap: 8px; font-size: 0.65rem; color: var(--accent); }
.icard-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: orb-pulse 2s infinite; }

/* ── CHANNELS ── */
#channels { background: var(--bg); }
.ch-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.ch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden; cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.ch-card:hover {
  border-color: rgba(0,212,255,0.4);
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 40px rgba(0,212,255,0.08);
}
.ch-num {
  padding: 16px 20px 0;
  font-size: 0.65rem; color: var(--muted); letter-spacing: 0.15em;
}
.ch-thumb {
  position: relative; margin: 12px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  height: auto;
}
.ch-thumb-icon { font-size: 3rem; position: relative; z-index: 1; filter: drop-shadow(0 0 20px rgba(0,0,0,0.5)); }
.ch-live-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.12em; padding: 4px 10px; border-radius: 4px;
}
.clb-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: clb-blink 1.2s ease-in-out infinite; }
@keyframes clb-blink { 0%,100%{opacity:1} 50%{opacity:0.35} }
.ch-viewers {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(0,212,255,0.25);
  color: rgba(0,212,255,0.9); font-size: 0.62rem; font-weight: 600;
  padding: 3px 9px; border-radius: 20px;
}
.ch-play-overlay {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s;
  background: rgba(0,212,255,0.1);
}
.ch-card:hover .ch-play-overlay { opacity: 1; }
.ch-play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(0,212,255,0.2);
  border: 1.5px solid var(--accent);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.8); transition: transform 0.25s;
}
.ch-card:hover .ch-play-btn { transform: scale(1); }
.ch-info { padding: 4px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.ch-tag { font-size: 0.62rem; color: var(--accent); letter-spacing: 0.18em; margin-bottom: 7px; }
.ch-name { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 8px; line-height: 1.1; }
.ch-desc { font-size: 0.83rem; color: var(--muted2); font-weight: 300; line-height: 1.6; flex: 1; margin-bottom: 16px; }
.ch-footer { display: flex; align-items: center; justify-content: space-between; }
.ch-streaming { display: flex; align-items: center; gap: 7px; font-size: 0.62rem; color: var(--muted); }
.ch-s-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: orb-pulse 2s infinite; }
.ch-arrow { color: var(--accent); font-size: 1rem; transition: transform 0.2s; }
.ch-card:hover .ch-arrow { transform: translateX(4px); }

/* ── MODAL ── */
.modal {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.9);
  align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
}
.modal.open { display: flex; animation: modal-in 0.25s ease; }
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
.modal-inner {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--r2); overflow: hidden;
  width: 90vw;
  max-width: 1200px;
  animation: modal-slide 0.3s ease;
}
@keyframes modal-slide { from { transform: scale(0.94) translateY(20px); } to { transform: scale(1) translateY(0); } }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--border);
}
.modal-title { display: flex; align-items: center; gap: 14px; font-size: 0.95rem; font-weight: 600; }
.modal-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.62rem;
  background: var(--red); color: #fff; padding: 4px 10px; border-radius: 4px;
}
.modal-close {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--muted2); width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.modal-video { position: relative; padding-bottom: 56.25%; height: 0; }
.modal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.modal-no-stream {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg); gap: 16px; text-align: center; padding: 32px;
}
.modal-no-stream h3 { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; }
.modal-no-stream p { color: var(--muted2); font-size: 0.88rem; max-width: 340px; line-height: 1.6; }
.modal-no-stream code { background: var(--surface2); color: var(--accent); padding: 2px 8px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.8rem; }

/* ── TECH ── */
#tech { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.tech-desc { font-size: 0.95rem; color: var(--muted2); font-weight: 300; line-height: 1.75; margin-bottom: 24px; }
.tech-cost-box {
  display: flex; gap: 14px;
  background: rgba(0,212,255,0.04); border: 1px solid rgba(0,212,255,0.15);
  border-radius: var(--r); padding: 18px 20px; margin-bottom: 28px;
}
.tcb-icon { font-size: 1.3rem; }
.tcb-text { font-size: 0.88rem; color: var(--muted2); line-height: 1.6; }
.tcb-text strong { color: var(--white); }
.tech-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.tbadge {
  background: var(--surface2); border: 1px solid var(--border2);
  color: var(--accent); font-size: 0.68rem; font-weight: 600;
  padding: 5px 12px; border-radius: 5px; letter-spacing: 0.1em;
}
.tech-right { display: flex; flex-direction: column; gap: 3px; }
.pp-card {
  display: flex; gap: 16px;
  padding: 20px 22px; border-radius: var(--r);
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.pp-card:hover { background: var(--surface); border-color: var(--border); }
.pp-icon { font-size: 1.5rem; width: 36px; flex-shrink: 0; }
.pp-body h4 { font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.pp-body p { font-size: 0.82rem; color: var(--muted2); font-weight: 300; line-height: 1.6; }

/* ── STATS ── */
#stats {
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; position: relative;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-bottom: 36px; }
.stat-item {
  text-align: center; padding: 0 32px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6rem);
  color: var(--accent); line-height: 1;
  display: inline-block;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--accent); opacity: 0.5;
  display: inline-block; vertical-align: top; margin-top: 6px;
}
.stat-label {
  font-size: 0.8rem; color: var(--muted2); font-weight: 400;
  line-height: 1.5; margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.stats-sub {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--muted); letter-spacing: 0.1em;
}

/* ── MAP ── */
#map { background: var(--bg3); }
.map-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
}
.map-legend {
  display: flex; gap: 24px; align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.ml-item { display: flex; align-items: center; gap: 8px; font-size: 0.65rem; color: var(--muted2); }
.ml-dot { width: 9px; height: 9px; border-radius: 50%; }
.ml-dot.blue { background: var(--accent); }
.ml-dot.red  { background: var(--red); }
.map-stage { position: relative; }
.map-stage svg { display: block; }
.map-tooltip {
  position: absolute; z-index: 100;
  background: rgba(17,24,39,0.96); border: 1px solid var(--border2);
  border-radius: var(--r); padding: 12px 16px;
  min-width: 190px; display: none;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  pointer-events: none;
}
.map-tooltip.vis { display: block; animation: tt-in 0.15s ease; }
@keyframes tt-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.mtt-ch { font-family: var(--font-mono); font-size: 0.62rem; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 4px; }
.mtt-name { font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.mtt-status { display: flex; align-items: center; gap: 6px; font-size: 0.65rem; color: var(--muted2); }

/* ── SHOWREEL ── */
#showreel { background: var(--bg); }
.showreel-frame {
  border-radius: var(--r2); overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.showreel-frame iframe {
  display: block; width: 100%;
  aspect-ratio: 16/9;
}
.showreel-placeholder {
  background: var(--surface);
  aspect-ratio: 16/9;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; text-align: center; padding: 48px;
}
.sp-icon { opacity: 0.7; }
.showreel-placeholder h3 { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; letter-spacing: 0.06em; }
.showreel-placeholder p { color: var(--muted2); font-size: 0.9rem; max-width: 360px; line-height: 1.6; }
.showreel-placeholder code { background: var(--surface2); color: var(--accent); padding: 2px 8px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.82rem; }
.sp-ready { display: flex; align-items: center; gap: 8px; font-size: 0.65rem; color: var(--muted); }
.showreel-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.sr-tag {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 16px;
  font-size: 0.78rem; color: var(--muted2);
}

/* ── EPG ── */
#epg { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.epg-layout { display: grid; grid-template-columns: 0.65fr 2.18fr 0.65fr; gap: 35px; padding: 16px; align-items: start; }
.epg-player { }
.epg-screen {
  background: #000; border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border);
  padding: 4px;
}
.epg-yt-embed { position: relative; width: 100%; aspect-ratio: 16/9; }
.epg-yt-embed video { position: absolute; inset: 0; width: 100%; height: 100%; }
.epg-bar {
  display: flex; align-items: center; gap: 18px; padding: 14px 20px;
  background: rgba(0,0,0,0.8); border-top: 1px solid var(--border);
}
.epg-live-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff;
  font-size: 0.6rem; padding: 3px 8px; border-radius: 3px;
}
.epg-clock { font-size: 0.75rem; color: var(--muted2); }
.epg-ch-label { font-size: 0.7rem; color: var(--muted); margin-left: auto; }

.epg-guide {
  background: var(--surface); border-radius: var(--r2);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 4px;
}
.epg-guide-title {
  display: flex; align-items: center; gap: 9px;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  font-size: 0.65rem; font-weight: 600; color: var(--muted2);
}
.epg-row {
  display: flex; align-items: center; gap: 15px;
  padding: 14px 22px; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 0.2s;
}
.epg-row:last-child { border-bottom: none; }
.epg-row:hover { background: var(--surface2); }
.epg-row.active { background: rgba(0,212,255,0.05); border-left: 2px solid var(--accent); }
.epg-t { font-size: 0.57rem; color: var(--muted); min-width: 46px; }
.epg-info { flex: 1; }
.epg-ch { font-size: 0.66rem; font-weight: 600; margin-bottom: 3px; }
.epg-sh { font-size: 0.58rem; color: var(--muted2); }
.epg-now {
  background: var(--accent); color: var(--bg);
  font-size: 0.58rem; font-weight: 700; padding: 2px 8px; border-radius: 3px;
  letter-spacing: 0.08em; white-space: nowrap;
}

/* ── OPERATORS ── */
#operators { background: var(--bg); }
.ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.ops-lead { font-size: 1rem; color: var(--muted2); font-weight: 300; line-height: 1.75; margin-bottom: 32px; }
.ops-reasons { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.op-r { display: flex; gap: 14px; align-items: flex-start; }
.op-r-icon { font-size: 1.1rem; width: 28px; }
.op-r > div { font-size: 0.88rem; color: var(--muted2); line-height: 1.6; }
.op-r strong { color: var(--white); display: block; margin-bottom: 2px; }

.ops-spec-title { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.2em; margin-bottom: 16px; display: block; }
.ops-spec-list { border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; margin-bottom: 20px; }
.spec-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 13px 20px; border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.spec-row:last-child { border-bottom: none; }
.spec-row:hover { background: var(--surface2); }
.spec-bullet {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  flex-shrink: 0; margin-top: 6px;
}
.spec-title { font-weight: 600; font-size: 0.87rem; color: var(--white); }
.spec-desc { font-size: 0.82rem; color: var(--muted2); }
.ops-tech-row { display: flex; gap: 8px; flex-wrap: wrap; }
.otbadge {
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--accent); font-size: 0.65rem;
  padding: 5px 11px; border-radius: 5px; letter-spacing: 0.1em;
}

/* ── PARTNERS ── */
#partners { background: var(--bg2); border-top: 1px solid var(--border); padding: 60px 0; }
.partners-label { text-align: center; font-size: 0.68rem; color: var(--muted); letter-spacing: 0.2em; margin-bottom: 32px; }
.partners-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.partner-chip {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 20px;
  font-size: 0.82rem; font-weight: 500; color: var(--muted2);
  transition: color 0.2s, border-color 0.2s;
}
.partner-chip:hover { color: var(--white); border-color: var(--border2); }

/* ── CONTACT ── */
#contact { background: var(--bg); }
.contact-header { text-align: center; max-width: 560px; margin: 0 auto 64px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin: 0 auto; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 44px 40px;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.contact-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.contact-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-4px); }
.contact-card:hover::after { opacity: 1; }
.cc-number {
  position: absolute; top: 20px; right: 24px;
  font-size: 3rem; color: rgba(255,255,255,0.04); line-height: 1;
}
.cc-icon { font-size: 2.2rem; margin-bottom: 20px; }
.contact-card h3 {
  font-family: var(--font-display); font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.contact-card p { font-size: 0.88rem; color: var(--muted2); font-weight: 300; line-height: 1.7; margin-bottom: 28px; }
.cc-actions { display: flex; flex-direction: column; gap: 10px; }
.cc-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── FOOTER ── */
#footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 32px; margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap; gap: 24px;
}
.footer-logo img { height: 32px; width: auto; filter: brightness(0.85); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: var(--muted2); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-live { display: flex; align-items: center; gap: 10px; font-size: 0.68rem; color: var(--muted); }
.fl-orb-wrap { width: 20px; display: flex; align-items: center; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-cards { grid-template-columns: 1fr 1fr; }
  .tech-grid,.ops-grid { grid-template-columns: 1fr; gap: 48px; }
  .ch-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .contact-grid { grid-template-columns: 1fr; }
  .epg-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 80px 0; }
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-lang { margin-left: auto; margin-right: 12px; }
  .nav-hamburger { display: flex; }
  .nav-mobile { padding: 20px 24px 24px; }
  .nav-btn { display: none; }
  .hero-content { padding: calc(var(--nav-h) + 48px) 24px 60px; }
  .hero-h1 { font-size: clamp(3rem, 12vw, 5rem); }
  .hero-stats { flex-wrap: wrap; gap: 0; width: 100%; }
  .hs-item { flex: 1; min-width: 80px; }
  .hs-div { display: none; }
  .hero-scroll { display: none; }
  .ch-grid { grid-template-columns: 1fr; }
  .intro-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 14px; }
  /* Portfolio - wyrównanie sekcji */
  .section-header { text-align: center; margin-left: auto; margin-right: auto; }
  .ch-card { text-align: center; }
  .ch-info { text-align: center; }
  .ch-num, .ch-tag { text-align: center; }
  /* Contact - usunięcie background images na mobile */
  #contact > div > div[style*="background:"] {
    display: none !important;
  }
  #contact .contact-grid {
    position: relative;
    z-index: 2;
  }
  #contact .contact-card {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Extra small screens - telefony */
@media (max-width: 480px) {
  section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .section-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .section-header { margin-bottom: 40px; }
  /* Portfolio */
  #channels { position: relative; }
  #channels > div:first-of-type,
  #channels > div:nth-child(2),
  #channels > div:nth-child(3) {
    display: none !important;
  }
  .section-header { text-align: center; width: 100%; }
  .label-tag { justify-content: center; }
  .ch-grid { gap: 12px; }
  .ch-card { margin: 0 auto; }
  /* Contact */
  #contact { position: relative; }
  #contact > div > div[style*="position: absolute"] {
    display: none !important;
  }
}
