/* ============================================
   CRAFTING CRIMES — Landing Page Styles
   ============================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Comico';
  src: url('assets/fonts/Comico-Regular.woff2') format('woff2'),
       url('assets/fonts/Comico-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0a0a0b;
  --color-bg-warm: #0f0d0b;
  --color-surface: #141312;
  --color-surface-hover: #1c1a18;
  --color-border: #2a2725;
  --color-border-light: #3a3633;
  --color-text: #e8e2d9;
  --color-text-muted: #9a9189;
  --color-text-dim: #6b6560;
  --color-accent: #c4463a;
  --color-accent-glow: #e05545;
  --color-gold: #c9a84c;
  --color-gold-dim: #8a7535;
  --font-display: 'Comico', Georgia, serif;
  --font-body: 'Manrope', -apple-system, sans-serif;
  --font-mono: 'Special Elite', 'Courier New', monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* --- Focus styles --- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: linear-gradient(to bottom, rgba(10,10,11,0.95), rgba(10,10,11,0));
  transition: background 0.3s;
}

.nav.nav-scrolled {
  background: rgba(10,10,11,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo { display: flex; align-items: center; }

.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--color-text); }

.nav-cta {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  color: var(--color-text) !important;
  transition: border-color 0.2s, background 0.2s;
}

.nav-cta:hover {
  border-color: var(--color-accent);
  background: rgba(196, 70, 58, 0.1);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-glow);
  box-shadow: 0 0 30px rgba(196, 70, 58, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-light);
}

.btn-ghost:hover {
  border-color: var(--color-text-muted);
  background: rgba(255,255,255,0.03);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(196, 70, 58, 0.08), transparent),
    radial-gradient(ellipse 60% 50% at 30% 60%, rgba(201, 168, 76, 0.04), transparent),
    var(--color-bg-warm);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding: 6rem 2rem 2rem;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: clamp(0.55rem, 2.2vw, 1.02rem);
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  white-space: nowrap;
}

.logo { margin-bottom: 1.5rem; }

.logo-img {
  max-width: min(680px, 85vw);
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  color: var(--color-text);
}

.hero-subtitle strong { color: var(--color-gold); }

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.hero-free-note {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 1.5s both;
}

.scroll-arrow {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--color-text-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* =============================================
   AWARDS STRIP
   ============================================= */
.section-awards {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.awards-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.award-item {
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.award-item:hover { opacity: 1; }

.award-laurel {
  height: 83px;
  width: auto;
  display: block;
}

.awards-rating {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-gold);
  letter-spacing: 0.02em;
}

/* =============================================
   SECTIONS (shared)
   ============================================= */
.section {
  padding: 7rem 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3.5rem;
  color: var(--color-text);
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.section-how {
  background: var(--color-bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.step {
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface);
  transition: border-color 0.3s, transform 0.3s;
}

.step:hover {
  border-color: var(--color-border-light);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.step-icon {
  width: 48px;
  height: 48px;
  color: var(--color-gold-dim);
  margin-bottom: 1.25rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Gameplay visuals row */
.how-visuals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.how-visual-placeholder {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05));
  border: 1px dashed var(--color-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}

.how-visual-placeholder:hover {
  border-color: var(--color-border-light);
}

.how-visual-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =============================================
   EPISODES
   ============================================= */
.section-episodes {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(0,0,0,0.015) 80px,
      rgba(0,0,0,0.015) 81px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(0,0,0,0.015) 80px,
      rgba(0,0,0,0.015) 81px
    ),
    linear-gradient(
      170deg,
      #c4a882 0%,
      #b89b78 25%,
      #c9a67a 50%,
      #b5926a 75%,
      #c0a07c 100%
    );
  border-top: none;
  overflow: hidden;
  position: relative;
}

.section-episodes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.section-episodes > .container {
  position: relative;
  z-index: 1;
}

.section-episodes .section-label {
  color: #8b2e1e;
}

.section-episodes .section-title {
  color: #2a1f16;
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.episode-card {
  border: none;
  border-radius: 0;
  overflow: visible;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(0,0,0,0.015) 80px,
      rgba(0,0,0,0.015) 81px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(0,0,0,0.015) 80px,
      rgba(0,0,0,0.015) 81px
    ),
    linear-gradient(
      170deg,
      #c4a882 0%,
      #b89b78 25%,
      #c9a67a 50%,
      #b5926a 75%,
      #c0a07c 100%
    );
  position: relative;
  transition: transform 0.3s;
  /* Rough torn-cardboard edges via clip-path */
  clip-path: polygon(
    0.5% 0.8%,   3% 0.2%,    6% 0.9%,   9% 0.1%,   12% 0.7%,
    15% 0%,       18% 0.6%,   21% 0.1%,  24% 0.8%,  28% 0.2%,
    32% 0.7%,     36% 0%,     40% 0.5%,  44% 0.1%,  48% 0.6%,
    52% 0%,       56% 0.4%,   60% 0.1%,  64% 0.7%,  68% 0.2%,
    72% 0.6%,     76% 0%,     80% 0.5%,  84% 0.2%,  88% 0.8%,
    92% 0.1%,     95% 0.6%,   97% 0.1%,  99.5% 0.5%,
    /* right edge */
    100% 3%,      99.4% 6%,   100% 9%,   99.5% 12%,  100% 16%,
    99.3% 20%,    100% 24%,   99.6% 28%,  100% 32%,  99.4% 36%,
    100% 40%,     99.5% 44%,  100% 48%,   99.3% 52%, 100% 56%,
    99.6% 60%,    100% 64%,   99.4% 68%,  100% 72%,  99.5% 76%,
    100% 80%,     99.3% 84%,  100% 88%,   99.6% 92%, 100% 95%,
    99.4% 97%,    99.8% 99.5%,
    /* bottom edge */
    97% 99.8%,    95% 100%,   92% 99.4%,  88% 100%, 84% 99.6%,
    80% 100%,     76% 99.3%,  72% 100%,   68% 99.5%, 64% 100%,
    60% 99.4%,    56% 100%,   52% 99.6%,  48% 100%, 44% 99.3%,
    40% 100%,     36% 99.5%,  32% 100%,   28% 99.4%, 24% 100%,
    20% 99.6%,    16% 100%,   12% 99.3%,  9% 100%,  6% 99.5%,
    3% 100%,      0.5% 99.3%,
    /* left edge */
    0% 97%,       0.6% 95%,   0% 92%,    0.5% 88%,  0% 84%,
    0.7% 80%,     0% 76%,     0.4% 72%,  0% 68%,    0.6% 64%,
    0% 60%,       0.5% 56%,   0% 52%,    0.7% 48%,  0% 44%,
    0.4% 40%,     0% 36%,     0.6% 32%,  0% 28%,    0.5% 24%,
    0% 20%,       0.7% 16%,   0% 12%,    0.4% 9%,   0% 6%,
    0.6% 3%
  );
}

/* Paper grain overlay on episode cards */
.episode-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* Ensure all card children sit above the grain overlay */
.episode-card > * {
  position: relative;
  z-index: 2;
}

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

.episode-card-featured {
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.episode-card-featured:hover {
  border-color: transparent;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.episode-image {
  position: relative;
  overflow: hidden;
  background: #2a1f16;
}

.episode-thumb {
  width: 100%;
  height: auto;
  display: block;
}


/* Episode number banner */
.episode-number-banner {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #2a1f16;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.06);
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  position: relative;
}

.banner-new {
  color: #8b2e1e;
  background: rgba(139, 46, 30, 0.1);
  border-color: rgba(139, 46, 30, 0.2);
}

.episode-free-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #2a1f16;
  color: #dcc8a8;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.episode-content { padding: 1.5rem; }

.episode-era {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #7a6350;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.episode-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  color: #2a1f16;
}

.episode-desc {
  font-size: 0.88rem;
  color: #4a3828;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.episode-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}

.episode-duration { color: #5a4636; }

.episode-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}

.status-available {
  color: #2a1f16;
  background: rgba(0,0,0,0.08);
  font-weight: 600;
}

.status-new {
  color: #fff;
  background: #8b2e1e;
  font-weight: 600;
  animation: subtlePulse 3s ease-in-out infinite;
}

.status-coming {
  color: #5a4636;
  background: rgba(0,0,0,0.06);
  font-weight: 600;
}


/* =============================================
   VOTE SECTION — Cardboard / Craft style
   ============================================= */
.section-vote {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(0,0,0,0.015) 80px,
      rgba(0,0,0,0.015) 81px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(0,0,0,0.015) 80px,
      rgba(0,0,0,0.015) 81px
    ),
    linear-gradient(
      170deg,
      #c4a882 0%,
      #b89b78 25%,
      #c9a67a 50%,
      #b5926a 75%,
      #c0a07c 100%
    );
  border-top: none;
  overflow: hidden;
  position: relative;
}

/* Subtle paper grain overlay */
.section-vote::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.section-vote .section-label {
  color: #8b2e1e;
}

.section-vote .section-title {
  color: #2a1f16;
}

.vote-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.vote-header .section-title {
  margin-bottom: 1rem;
}

.vote-stack {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.vote-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(0,0,0,0.015) 80px,
      rgba(0,0,0,0.015) 81px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(0,0,0,0.015) 80px,
      rgba(0,0,0,0.015) 81px
    ),
    linear-gradient(
      170deg,
      #c4a882 0%,
      #b89b78 25%,
      #c9a67a 50%,
      #b5926a 75%,
      #c0a07c 100%
    );
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  border-radius: 0;
  position: relative;
  overflow: visible;
  clip-path: polygon(
    0.3% 0.5%,  2% 0%,    5% 0.6%,   8% 0%,    12% 0.4%,
    16% 0%,     20% 0.5%,  25% 0%,    30% 0.3%,  35% 0%,
    40% 0.4%,   45% 0%,    50% 0.5%,  55% 0%,    60% 0.3%,
    65% 0%,     70% 0.4%,  75% 0%,    80% 0.5%,  85% 0%,
    90% 0.3%,   95% 0%,    98% 0.4%,  99.7% 0.2%,
    100% 3%,    99.5% 8%,  100% 14%,  99.4% 22%, 100% 30%,
    99.6% 40%,  100% 50%,  99.4% 60%, 100% 70%,  99.5% 80%,
    100% 88%,   99.6% 94%, 99.8% 99.5%,
    98% 100%,   95% 99.5%, 90% 100%,  85% 99.4%, 80% 100%,
    75% 99.6%,  70% 100%,  65% 99.4%, 60% 100%,  55% 99.5%,
    50% 100%,   45% 99.3%, 40% 100%,  35% 99.5%, 30% 100%,
    25% 99.4%,  20% 100%,  16% 99.5%, 12% 100%,  8% 99.4%,
    5% 100%,    2% 99.5%,  0.3% 99.7%,
    0% 94%,     0.5% 88%,  0% 80%,    0.6% 70%,  0% 60%,
    0.4% 50%,   0% 40%,    0.5% 30%,  0% 22%,    0.6% 14%,
    0% 8%,      0.4% 3%
  );
}

/* Paper grain overlay on vote rows */
.vote-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.vote-row > * {
  position: relative;
  z-index: 2;
}

.vote-row + .vote-row {
  border-top: none;
}

.vote-row:hover {
  transform: translateY(-2px);
  box-shadow: 3px 5px 14px rgba(0,0,0,0.25);
}

.vote-row.selected {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(0,0,0,0.02) 80px,
      rgba(0,0,0,0.02) 81px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(0,0,0,0.02) 80px,
      rgba(0,0,0,0.02) 81px
    ),
    linear-gradient(
      170deg,
      #b5926a 0%,
      #a8855f 25%,
      #b89060 50%,
      #a07c54 75%,
      #ab8a62 100%
    );
  box-shadow:
    inset 0 2px 6px rgba(0,0,0,0.15),
    3px 5px 14px rgba(0,0,0,0.25);
}

.vote-row.locked { cursor: default; }
.vote-row.locked:hover { transform: none; box-shadow: 2px 3px 8px rgba(0,0,0,0.15); }

.vote-checkbox {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 2.5px solid #4a3828;
  border-radius: 3px;
  background: rgba(200, 170, 130, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s, background 0.2s;
  color: transparent;
  margin-top: 2px;
  position: relative;
  z-index: 2;
}

.vote-checkbox:hover { border-color: #2a1f16; background: rgba(200, 170, 130, 0.5); }

.vote-checkbox .check-icon {
  width: 16px; height: 16px;
  transition: color 0.15s;
}

.vote-row.selected .vote-checkbox,
.vote-row.voted-for .vote-checkbox {
  border-color: #2a1f16;
  background: #4a3828;
  color: #dcc8a8;
}

/* Icon hidden — the card IS the visual */
.vote-row-icon { display: none; }

.vote-row-info { flex: 1; min-width: 0; }

.vote-row-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
  color: #2a1f16;
  text-transform: uppercase;
}

.vote-row-era {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: #5a4636;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.vote-row-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #4a3828;
  line-height: 1.5;
  margin-top: 0.6rem;
}

.vote-row-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.4s;
  margin-top: 0.75rem;
}

.vote-row-bar.visible { opacity: 1; }

.vote-bar {
  flex: 1;
  height: 6px;
  background: rgba(42, 31, 22, 0.15);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(42, 31, 22, 0.2);
}

.vote-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  transition: width 0s;
}

.vote-row.voted-for .vote-bar-fill {
  background: linear-gradient(90deg, #5a3a1e, #7a4e2a);
}

.vote-row:not(.voted-for) .vote-bar-fill {
  background: rgba(42, 31, 22, 0.3);
}

.vote-row-bar.revealed .vote-bar-fill {
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.vote-percent {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: #5a4636;
  min-width: 2.5rem;
  text-align: right;
}

.vote-row.voted-for .vote-percent {
  color: #2a1f16;
  font-weight: 700;
}

/* Email / submit area */
.vote-submit {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.vote-email-group {
  display: flex;
  gap: 0.5rem;
}

.vote-email-input {
  flex: 1;
  padding: 0.8rem 1rem;
  background: rgba(220, 200, 168, 0.4);
  border: 2px solid #4a3828;
  border-radius: 3px;
  color: #2a1f16;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.vote-email-input::placeholder { color: #8a7460; }
.vote-email-input:focus { border-color: #2a1f16; background: rgba(220, 200, 168, 0.6); }

.vote-btn {
  padding: 0.8rem 2rem;
  white-space: nowrap;
  transition: all 0.25s ease;
  background: #4a3828;
  color: #dcc8a8;
  border: 2px solid #4a3828;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 3px;
}

.vote-btn:hover { background: #2a1f16; border-color: #2a1f16; }
.vote-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.vote-btn:disabled:hover { box-shadow: none; background: #4a3828; }

.vote-email-note {
  font-size: 0.75rem;
  color: #7a6350;
  margin-top: 0.5rem;
  font-family: var(--font-body);
}

.vote-confirmation {
  display: none;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.vote-confirmation.show { display: block; }

.vote-confirmed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  background: rgba(74, 56, 40, 0.15);
  border: 2px solid #4a3828;
  border-radius: 3px;
  color: #2a1f16;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vote-confirmed-badge svg { width: 16px; height: 16px; stroke: #2a1f16; }

.vote-footer { text-align: center; position: relative; z-index: 1; }

.vote-total {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #2a1f16;
  margin-bottom: 0.5rem;
}

.vote-total span {
  color: #2a1f16;
  font-weight: 700;
}

.vote-closing {
  font-size: 0.8rem;
  color: #7a6350;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}

/* =============================================
   DOWNLOAD / CTA
   ============================================= */
.section-download {
  background: var(--color-bg-warm);
  border-top: 1px solid var(--color-border);
  padding: 6rem 0;
}

.download-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.download-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.download-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.download-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.download-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-bottom: 3rem;
}

.platform-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--color-text-dim);
}

.notify-form {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}

.notify-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-bottom: 0.75rem;
}

.notify-input-group {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.notify-input-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.notify-input-group input::placeholder { color: var(--color-text-dim); }
.notify-input-group input:focus { border-color: var(--color-accent); }

.notify-input-group .btn {
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.footer-targo-link {
  display: inline-block;
  transition: opacity 0.2s;
  margin-left: auto;
}

.footer-targo-link:hover { opacity: 0.7; }

.footer-targo-logo {
  height: 24px;
  width: auto;
  display: block;
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--color-text-muted); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.3); }
}

@keyframes subtlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .how-visuals { grid-template-columns: 1fr 1fr; }
  .how-visuals .how-visual-placeholder:last-child {
    grid-column: 1 / -1;
  }
  .episodes-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .section { padding: 5rem 0; }
  .container { padding: 0 1.25rem; }
  .steps { grid-template-columns: 1fr; }
  .how-visuals { grid-template-columns: 1fr; }
  .how-visuals .how-visual-placeholder:last-child { grid-column: auto; }
  .hero-actions { flex-direction: column; align-items: center; }
  .download-actions { flex-direction: column; align-items: center; }
  .notify-input-group { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-targo-link { margin-left: 0; }
  .vote-row { flex-wrap: wrap; padding: 1.25rem; }
  .vote-row-bar { width: 100%; }
  .vote-email-group { flex-direction: column; }

  /* Awards responsive */
  .awards-strip { gap: 1.5rem; }
  .award-laurel { height: 64px; }

  /* Mobile nav */
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(10,10,11,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .nav-cta {
    text-align: center;
    padding: 0.75rem 1.25rem;
  }
}
