:root {
  --bg: #0c1428;
  --bg-2: #0f1d3f;
  --card: #111c36;
  --accent: #ff3b5c;
  --accent-2: #29d3ff;
  --accent-3: #ffd166;
  --text: #e9f0ff;
  --muted: #99a7c5;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 20px;
  --font-title: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at 10% 20%, rgba(41, 211, 255, 0.1), transparent 30%),
              radial-gradient(circle at 80% 0%, rgba(255, 59, 92, 0.08), transparent 35%),
              linear-gradient(135deg, var(--bg), var(--bg-2));
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.08"/></svg>');
  mix-blend-mode: screen;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(12, 20, 40, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.brand {
  font-family: var(--font-title);
  letter-spacing: 1px;
  font-size: 24px;
  color: var(--accent-3);
}

.nav-links { display: flex; gap: 14px; align-items: center; }
.nav-links a { color: var(--text); font-weight: 600; }
.nav-links .pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #0c0c12;
  font-weight: 700;
  box-shadow: var(--shadow);
}

main { position: relative; z-index: 2; }

.hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 96px 18px 64px;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  min-height: 72vh;
  background:
    radial-gradient(circle at 10% 20%, rgba(41, 211, 255, 0.08), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(255, 59, 92, 0.08), transparent 35%),
    rgba(10, 14, 26, 0.6);
}

.hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/czagany-hero-kep.png') center/cover no-repeat;
  opacity: 0.6;
  filter: saturate(1.1);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 20, 40, 0.35), rgba(12, 20, 40, 0.08));
}

.hero__content h1 {
  font-family: var(--font-title);
  font-size: clamp(48px, 6vw, 82px);
  margin: 6px 0;
  letter-spacing: 1px;
}

.hero__content { position: relative; z-index: 1; background: rgba(12, 20, 40, 0.28); padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.06); backdrop-filter: blur(4px); }

.hero__content .lead { color: var(--muted); max-width: 620px; line-height: 1.4; }

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }

.hero__meta { color: var(--muted); display: flex; gap: 8px; align-items: center; font-size: 14px; }
.hero__meta .dot { color: var(--accent-3); }

.hero__visual { display: none; }

.hero__visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 3px solid rgba(255,255,255,0.07);
}

.badge {
  position: absolute;
  top: -14px;
  left: -14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0b12;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.floating-tag {
  position: absolute;
  bottom: 12px;
  right: -10px;
  background: rgba(255, 209, 102, 0.2);
  border: 1px solid rgba(255, 209, 102, 0.5);
  color: var(--accent-3);
  padding: 8px 12px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  font-weight: 700;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-2);
  text-transform: uppercase;
  font-size: 13px;
}

.lead { font-size: 18px; }
.sub { color: var(--muted); max-width: 720px; line-height: 1.5; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chips span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 13px;
}

.btn {
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0c0c12;
  box-shadow: var(--shadow);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn:hover { transform: translateY(-2px) scale(1.01); }
.btn:active { transform: translateY(0); }

.section { padding: 64px 18px; max-width: 1100px; margin: 0 auto; }
.section__head { margin-bottom: 24px; }
.section h2 { font-family: var(--font-title); font-size: clamp(32px, 4vw, 54px); margin: 6px 0; }

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.ticker__track {
  display: flex;
  gap: 40px;
  padding: 12px 0;
  animation: ticker 18s linear infinite;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-3);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.promise {
  padding: 16px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.promise h3 { margin: 8px 0 6px; font-size: 22px; font-family: var(--font-title); letter-spacing: 0.5px; }
.promise p { margin: 0; color: var(--muted); line-height: 1.4; }
.promise .tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(41, 211, 255, 0.15);
  color: var(--accent-2);
  border: 1px solid rgba(41,211,255,0.4);
}

.gallery { position: relative; }
.feature-stack { display: flex; flex-direction: column; gap: 22px; }

.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  object-fit: cover;
}

.feature__text h3 { margin: 0 0 8px; font-size: 24px; font-family: var(--font-title); }
.feature__text p { margin: 0; color: var(--muted); line-height: 1.5; }
.feature__main { font-size: 18px; color: var(--text); font-weight: 700; }

.endorse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.quote {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.quote p { margin: 0 0 10px; font-size: 16px; line-height: 1.5; }
.quote .author { color: var(--accent-3); font-weight: 700; letter-spacing: 0.3px; }

.cta__card {
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.2), rgba(41, 211, 255, 0.2));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow);
}

.cta__stamp {
  font-family: var(--font-title);
  font-size: 32px;
  color: #0c0c12;
  background: var(--accent-3);
  padding: 16px;
  border-radius: 14px;
  text-align: center;
  box-shadow: var(--shadow);
}

.hint { color: var(--accent-3); font-weight: 700; min-height: 22px; }

.footer {
  padding: 18px;
  text-align: center;
  color: var(--muted);
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.vote {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 20;
}

.vote.active { opacity: 1; pointer-events: auto; }

.vote__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.vote__dialog {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  max-width: 520px;
  width: min(520px, 92vw);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 1;
}

.vote__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.counter {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-3);
  margin: 12px 0;
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .topbar { justify-content: space-between; }
  .hero { padding-top: 48px; }
  .cta__card { grid-template-columns: 1fr; }
  .ticker__track { animation-duration: 12s; }
}
