/* ═══════════════════════════════════════════════════════════════════════
   PARTY QUIZ — LANDING CSS
   Motyw: Jackbox Party Style — ciepły fiolet, ognisty pomarańcz, złoto
   Mobile-First & 100% Responsywny
   ═══════════════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ───────────────────────────────────────────────────── */
:root {
  /* Tła */
  --bg-main:       #150c26;
  --bg-stage:      #1c1134;
  --bg-card:       #241642;
  --bg-card-hover: #2d1c52;
  --bg-input:      #0e071c;

  /* Cienie i obramowania */
  --ink:           #0a0514;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow:   rgba(255, 107, 43, 0.35);

  /* Kolory akcentowe — Ciepłe, imprezowe Jackbox */
  --orange:        #ff6b2b;
  --orange-dark:   #d94e11;
  --orange-glow:   rgba(255, 107, 43, 0.4);

  --yellow:        #ffd230;
  --yellow-dark:   #e0b200;
  --yellow-glow:   rgba(255, 210, 48, 0.35);

  --purple:        #7c3aed;
  --purple-light:  #a78bfa;
  --purple-dark:   #5b21b6;
  --pink:          #ec4899;

  /* Status */
  --success:       #10d87e;
  --error:         #ff4444;
  --blue:          #38bdf8;

  /* Kolory opcji ABCD */
  --opt-a: #ef4444;
  --opt-b: #3b82f6;
  --opt-c: #f59e0b;
  --opt-d: #10b981;

  /* Typografia */
  --font-display: 'Titan One', cursive;
  --font-body:    'Fredoka', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Zaokrąglenia */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  /* Cienie */
  --shadow-sm:     3px 3px 0 var(--ink);
  --shadow-md:     5px 5px 0 var(--ink);
  --shadow-lg:     8px 8px 0 var(--ink);
  --shadow-orange: 0 5px 0 var(--orange-dark), 0 10px 24px var(--orange-glow);
  --shadow-gold:   0 5px 0 var(--yellow-dark), 0 10px 20px var(--yellow-glow);
  --shadow-purple: 0 5px 0 var(--purple-dark), 0 8px 20px rgba(124, 58, 237, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: #ede8fc;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button, input {
  font-family: inherit;
  border: none;
  background: none;
}

/* ── PARTICLES BACKGROUND ─────────────────────────────────────────────── */
#hero-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

/* ── KONTENERY ────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.container-narrow {
  max-width: 720px;
}

/* ── PRZYCISKI ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  border-radius: var(--r-md);
  border: 3px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.4rem;
  line-height: 1.2;
  user-select: none;
}

.btn:active {
  transform: translateY(3px) !important;
  box-shadow: 0 1px 0 var(--ink) !important;
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--orange-dark), 0 14px 28px var(--orange-glow);
}

.btn-gold {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--yellow-dark), 0 14px 24px var(--yellow-glow);
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-purple);
}
.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--purple-dark), 0 14px 24px rgba(124, 58, 237, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--purple-light);
  border: 2px solid rgba(167, 139, 250, 0.45);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--purple-light);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-sm);
  border-width: 2px;
}

.btn-full {
  width: 100%;
}

.btn-mega {
  font-size: 1.15rem;
  padding: 1rem 2rem;
  border-radius: var(--r-lg);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

/* ── NAVBAR ───────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(21, 12, 38, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(255, 107, 43, 0.18);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 8, 28, 0.98);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.65rem 16px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo-crown {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 8px var(--yellow));
}

.navbar-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--yellow);
  letter-spacing: 0.03em;
  text-shadow: 2px 2px 0 var(--ink);
}

.navbar-logo-badge {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 800;
  background: var(--orange);
  color: #fff;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: #c4bce6;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--yellow);
  background: rgba(255, 210, 48, 0.08);
}

.navbar-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--r-sm);
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-card);
  cursor: pointer;
}

.hamburger:hover {
  background: var(--bg-card-hover);
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--yellow);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 10, 32, 0.98);
  padding: 1rem 16px 1.5rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.25rem;
}

.mobile-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #c4bce6;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-link:hover {
  color: var(--yellow);
}

.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 4rem;
  background: radial-gradient(circle at 50% 20%, rgba(124, 58, 237, 0.18) 0%, transparent 60%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Live Badge */
.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--orange);
  background: rgba(255, 107, 43, 0.1);
  border: 2px solid rgba(255, 107, 43, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  animation: pulse-live 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* Main Title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1rem;
  max-width: 820px;
}

.highlight-orange {
  color: var(--orange);
  text-shadow: 0 0 35px var(--orange-glow), 2px 2px 0 var(--ink);
}

.highlight-yellow {
  color: var(--yellow);
  text-shadow: 0 0 35px var(--yellow-glow), 2px 2px 0 var(--ink);
}

/* Subtitle */
.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: #cec5ee;
  max-width: 660px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-desc strong {
  color: #fff;
  font-weight: 700;
}

/* ── HERO SHOWCASE GRAPHIC (PROMINENT & VISIBLE!) ────────────── */
.hero-showcase {
  width: 100%;
  max-width: 840px;
  margin: 0 auto 2.5rem;
}

.hero-photo-card {
  position: relative;
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 3px solid rgba(255, 107, 43, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), var(--shadow-lg), 0 0 30px rgba(255, 107, 43, 0.15);
  background: #0f081c;
}

.hero-photo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* Tags on photo */
.photo-overlay-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(22, 12, 42, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-md);
  padding: 0.55rem 0.9rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  animation: float-badge 3.5s ease-in-out infinite;
}

.photo-overlay-tag strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}

.photo-overlay-tag span {
  display: block;
  font-size: 0.7rem;
  color: #b8aedc;
}

.tag-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.tag-tv {
  top: 14px;
  left: 14px;
  border-color: rgba(255, 210, 48, 0.5);
}

.tag-phones {
  bottom: 14px;
  left: 14px;
  border-color: rgba(255, 107, 43, 0.5);
  animation-delay: 0.7s;
}

.tag-players {
  bottom: 14px;
  right: 14px;
  border-color: rgba(167, 139, 250, 0.5);
  animation-delay: 1.4s;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* ── 3-POINT EXPLAINER PILLS ──────────────────────────────────── */
.explainer-pills {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.exp-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1.15rem 1.1rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.exp-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 43, 0.35);
}

.exp-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.exp-content strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.exp-content p {
  font-size: 0.84rem;
  color: #aca2d4;
  line-height: 1.45;
}

/* ── ACTION SECTION (TWO WAYS TO PLAY) ────────────────────────── */
.hero-action-section {
  width: 100%;
  max-width: 840px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.action-card {
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: 1.4rem;
  text-align: left;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.host-card {
  border-color: rgba(255, 107, 43, 0.35);
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(255, 107, 43, 0.08) 100%);
}

.player-card {
  border-color: rgba(255, 210, 48, 0.3);
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(255, 210, 48, 0.06) 100%);
}

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

.action-card-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.action-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.action-card-sub {
  font-size: 0.82rem;
  color: #9d92c8;
}

.btn-host {
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
}

/* Join Form Row */
.join-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.join-form-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.join-code-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-align: center;
  background: var(--bg-input);
  color: var(--yellow);
  border: 2px solid rgba(255, 210, 48, 0.35);
  border-radius: var(--r-md);
  padding: 0.65rem 0.5rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  caret-color: var(--yellow);
}

.join-code-input::placeholder {
  color: rgba(255, 210, 48, 0.2);
  letter-spacing: 0.25em;
}

.join-code-input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 210, 48, 0.2);
}

.btn-join {
  flex-shrink: 0;
  font-size: 0.92rem;
  padding: 0.65rem 1.15rem;
}

.join-error-msg {
  font-size: 0.8rem;
  color: var(--error);
  font-family: var(--font-heading);
  font-weight: 600;
  min-height: 1.2em;
}

.shake-input {
  animation: shake 0.45s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-5px); }
  40%       { transform: translateX(5px); }
  60%       { transform: translateX(-3px); }
  80%       { transform: translateX(3px); }
}

/* Trust Bar */
.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.trust-item {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: #a49bc8;
}

/* ═══════════════════════════════════════════════════════════════
   SEKCJE WSPÓLNE
═══════════════════════════════════════════════════════════════ */
.section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange);
  background: rgba(255, 107, 43, 0.1);
  border: 2px solid rgba(255, 107, 43, 0.4);
  border-radius: var(--r-sm);
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1.05rem;
  color: #a89ec8;
  max-width: 600px;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

/* ── REVEAL ON SCROLL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS (STEPS)
═══════════════════════════════════════════════════════════════ */
.steps-section {
  background: var(--bg-stage);
  border-top: 2px solid rgba(255, 255, 255, 0.04);
  border-bottom: 2px solid rgba(255, 255, 255, 0.04);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 240px;
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.4rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 43, 0.35);
}

.step-badge {
  position: absolute;
  top: -14px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
  display: block;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: #a49bc4;
  line-height: 1.6;
}

.step-note {
  margin-top: 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow);
}

.steps-connector {
  font-size: 2rem;
  color: var(--orange);
  opacity: 0.5;
  align-self: center;
  flex-shrink: 0;
  margin-top: -1rem;
}

/* ═══════════════════════════════════════════════════════════════
   12 GIER
═══════════════════════════════════════════════════════════════ */
.games-section {
  background: var(--bg-main);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}

.game-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.game-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 43, 0.35);
  box-shadow: var(--shadow-md);
}

.game-item-finale {
  border-color: rgba(255, 210, 48, 0.35);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 210, 48, 0.07) 100%);
}

.game-item-finale:hover {
  border-color: var(--yellow);
}

.game-emoji {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.game-content {
  flex: 1;
  min-width: 0;
}

.game-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.game-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.game-summary {
  font-size: 0.8rem;
  color: #8c82b4;
  line-height: 1.4;
}

.game-pill {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.2rem 0.45rem;
  white-space: nowrap;
}

.pill-classic { background: rgba(56, 189, 248, 0.15); color: #7ee8ff; }
.pill-fun     { background: rgba(16, 216, 126, 0.15); color: #5ee8a0; }
.pill-hot     { background: rgba(255, 107, 43, 0.15); color: #ffa060; }
.pill-danger  { background: rgba(255, 68, 68, 0.15);  color: #ff9090; }
.pill-finale  { background: rgba(255, 210, 48, 0.15); color: var(--yellow); }

/* ═══════════════════════════════════════════════════════════════
   DEMO / CONTROLLER TEASER
═══════════════════════════════════════════════════════════════ */
.demo-section {
  background: var(--bg-stage);
  border-top: 2px solid rgba(255, 255, 255, 0.04);
}

.interactive-controller-card {
  position: relative;
  background: var(--bg-card);
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: 1.6rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), var(--shadow-lg);
  overflow: hidden;
  max-width: 440px;
  margin: 0 auto;
}

.interactive-controller-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple-light));
}

.controller-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.controller-mode {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.05em;
}

.controller-timer {
  position: relative;
  width: 56px;
  height: 56px;
}

.timer-svg {
  position: absolute;
  top: 0; left: 0;
  transform: rotate(-90deg);
}

.timer-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 4;
}

.timer-ring {
  fill: none;
  stroke: var(--orange);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 157;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.1s linear, stroke 0.3s ease;
}

.timer-ring.urgent {
  stroke: var(--error);
}

.timer-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.controller-question {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.controller-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.teaser-opt {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  padding: 0.8rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, border-color 0.15s, background 0.15s;
  text-align: left;
}

.teaser-opt:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.teaser-opt:active:not(:disabled) {
  transform: scale(0.97);
}

.teaser-opt:disabled {
  cursor: not-allowed;
}

.opt-a { background: rgba(239, 68, 68, 0.16); border-color: rgba(239, 68, 68, 0.35); color: #ffa4a4; }
.opt-a:hover:not(:disabled) { background: rgba(239, 68, 68, 0.3); border-color: var(--opt-a); }

.opt-b { background: rgba(59, 130, 246, 0.16); border-color: rgba(59, 130, 246, 0.35); color: #9bc8ff; }
.opt-b:hover:not(:disabled) { background: rgba(59, 130, 246, 0.3); border-color: var(--opt-b); }

.opt-c { background: rgba(245, 158, 11, 0.16); border-color: rgba(245, 158, 11, 0.35); color: #fcd55c; }
.opt-c:hover:not(:disabled) { background: rgba(245, 158, 11, 0.3); border-color: var(--opt-c); }

.opt-d { background: rgba(16, 185, 129, 0.16); border-color: rgba(16, 185, 129, 0.35); color: #76ebb9; }
.opt-d:hover:not(:disabled) { background: rgba(16, 185, 129, 0.3); border-color: var(--opt-d); }

.opt-badge {
  font-family: var(--font-display);
  font-size: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.opt-label {
  flex: 1;
}

.teaser-opt.correct {
  background: rgba(16, 185, 129, 0.35) !important;
  border-color: var(--success) !important;
  color: #fff !important;
}

.teaser-opt.wrong {
  background: rgba(239, 68, 68, 0.35) !important;
  border-color: var(--error) !important;
  color: #fff !important;
  animation: shake 0.45s ease;
}

.teaser-opt.dimmed {
  opacity: 0.3;
}

.controller-result-overlay {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: absolute;
  inset: 0;
  background: rgba(18, 10, 32, 0.94);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.controller-result-overlay.show {
  display: flex;
}

.result-icon {
  font-size: 3rem;
}

.result-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════════════ */
.pricing-section {
  background: var(--bg-main);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-pro {
  border-color: rgba(255, 107, 43, 0.5);
  background: linear-gradient(155deg, var(--bg-card) 0%, rgba(255, 107, 43, 0.07) 100%);
  box-shadow: var(--shadow-md), 0 0 40px rgba(255, 107, 43, 0.12);
}

.pro-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  white-space: nowrap;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #9285be;
  margin-bottom: 0.75rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 0.35rem;
}

.price-val {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: #fff;
  line-height: 1;
}

.price-cur {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #a49bc4;
}

.price-sub {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: #726896;
  margin-left: 0.25rem;
}

.plan-desc {
  font-size: 0.82rem;
  color: var(--yellow);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}

.plan-features li {
  font-size: 0.88rem;
}

.feat-on {
  color: #d8d0f4;
}

.feat-off {
  color: #554e70;
  text-decoration: line-through;
}

.voucher-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: 0.85rem 1.25rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.voucher-emoji {
  font-size: 1.2rem;
}

.voucher-info {
  font-size: 0.88rem;
  color: #a49bc4;
  flex: 1;
}

.voucher-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════════ */
.faq-section {
  background: var(--bg-stage);
  border-top: 2px solid rgba(255, 255, 255, 0.04);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(255, 107, 43, 0.25);
}

.faq-item.open {
  border-color: rgba(255, 107, 43, 0.45);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #ede8fc;
  text-align: left;
  cursor: pointer;
}

.faq-btn:hover {
  color: var(--orange);
}

.faq-item.open .faq-btn {
  color: var(--orange);
}

.faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--orange);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-body {
  max-height: 350px;
  padding-bottom: 1.25rem;
}

.faq-body p {
  font-size: 0.9rem;
  color: #9d92c8;
  line-height: 1.65;
  padding: 0 1.25rem;
}

.faq-body strong {
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════════════════════════ */
.cta-final {
  background: var(--bg-main);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255, 107, 43, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-big-emoji {
  font-size: 3.5rem;
  animation: float-badge 3s ease-in-out infinite;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: #fff;
  line-height: 1.15;
}

.highlight-orange {
  color: var(--orange);
}

.cta-subtitle {
  font-size: 1.1rem;
  color: #a49bc4;
  max-width: 520px;
}

.cta-action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-micro-note {
  font-size: 0.82rem;
  color: #726896;
  font-family: var(--font-heading);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  background: #0d071a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 2rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--yellow);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.footer-about {
  font-size: 0.85rem;
  color: #6a608c;
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.footer-flags {
  display: flex;
  gap: 0.5rem;
}

.flag-badge {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: #8c82b4;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #9285be;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: #6a608c;
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: var(--orange);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

.footer-copyright, .footer-heart {
  font-size: 0.78rem;
  color: #4c4468;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSYWNOŚĆ (MEDIA QUERIES)
═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .navbar-links { display: flex; }
  .navbar-cta   { display: flex; }
  .hamburger    { display: none; }
}

@media (max-width: 767px) {
  .steps-connector { display: none; }
  .footer-columns  { grid-template-columns: 1fr 1fr; }
  .cta-action-buttons { flex-direction: column; width: 100%; max-width: 360px; }
  .btn-mega { width: 100%; }

  /* Na telefonie tagi na zdjęciu ukryj lub przenieś, by nie zasłaniały twarzy */
  .photo-overlay-tag {
    position: static;
    border-radius: var(--r-sm);
    padding: 0.4rem 0.65rem;
    animation: none;
    background: var(--bg-card);
    width: 100%;
  }

  .tag-icon { font-size: 1.1rem; }
  .photo-overlay-tag strong { font-size: 0.75rem; }
  .photo-overlay-tag span { font-size: 0.65rem; }

  /* Karta ze zdjęciem na mobile */
  .hero-photo-card {
    border-radius: var(--r-lg);
  }

  /* Formularz na małym telefonie nie może wychodzić za ekran */
  .join-form-row {
    flex-direction: row;
  }

  .join-code-input {
    font-size: 1.35rem;
    letter-spacing: 0.25em;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 1.75rem 0 3rem;
  }

  .hero-action-section {
    grid-template-columns: 1fr;
  }

  .action-card {
    padding: 1.15rem;
  }

  .explainer-pills {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-col:not(.footer-brand) {
    display: none;
  }

  .footer-bottom-row {
    justify-content: center;
    text-align: center;
  }
}
