/* politics.quest - Dark mode, high-contrast, horizontal scroll */
/* Colors: #000000, #0a0a0a, #1a1a1a, #333333, #0066ff, #ffffff, #f0f0f0, #999999 */
/* Fonts: Space Grotesk (substitute for Futura PT), Inter (body) */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #0a0a0a;
  color: #f0f0f0;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  overflow-y: hidden;
  height: 100vh;
  width: 100vw;
}

.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Navigation */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  background: transparent;
}

.nav-brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.nav-indicators {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #333333;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.nav-dot.active {
  background-color: #0066ff;
  width: 24px;
  border-radius: 4px;
}

.nav-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.hint-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999999;
}

.hint-arrow {
  animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(6px); opacity: 1; }
}

/* Horizontal Scroll Container */
.horizontal-scroll-container {
  display: flex;
  height: 100vh;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.horizontal-scroll-container::-webkit-scrollbar {
  display: none;
}

.horizontal-scroll-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
/* Panel Base */
.panel {
  min-width: 100vw;
  width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.panel-content {
  max-width: 800px;
  width: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

/* Chapter Numbers */
.chapter-number {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 8rem;
  color: #1a1a1a;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  user-select: none;
  line-height: 1;
}

/* Illustrations */
.hero-illustration {
  width: 200px;
  height: 200px;
  filter: url(#woodblock);
}

.hero-svg {
  width: 100%;
  height: 100%;
}

.section-illustration,
.quest-illustration {
  width: 160px;
  height: 160px;
  position: relative;
  z-index: 1;
  filter: url(#woodblock);
}

.illustration-svg {
  width: 100%;
  height: 100%;
}

.quest-svg {
  animation: compassSpin 20s linear infinite;
}

@keyframes compassSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Typography */
.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 4.5rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
}

.accent {
  color: #0066ff;
}

.hero-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  color: #999999;
  max-width: 500px;
  line-height: 1.6;
}

.hero-cta {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0a0a0a;
  background-color: #ffffff;
  padding: 16px 40px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: #ffffff;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.section-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  color: #999999;
  max-width: 520px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
/* Scale Hover Effect */
.scale-hover {
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.scale-hover:hover {
  transform: scale(1.05);
}

/* Stats */
.section-stats {
  display: flex;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  background-color: #1a1a1a;
}

.stat-number {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #0066ff;
}

.stat-label {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999999;
}

/* Power Grid */
.power-grid {
  display: flex;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.power-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  background-color: #1a1a1a;
  width: 140px;
}

.power-icon {
  width: 48px;
  height: 48px;
  display: block;
}

.power-icon svg {
  width: 100%;
  height: 100%;
}

.power-label {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0f0f0;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  background-color: #1a1a1a;
}

.timeline-year {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0066ff;
  min-width: 60px;
}

.timeline-event {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 0.9375rem;
  color: #f0f0f0;
}

/* Globe Stats */
.globe-stats {
  display: flex;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.globe-stat {
  padding: 28px 24px;
  background-color: #1a1a1a;
  text-align: center;
  min-width: 140px;
}

.globe-stat-value {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.globe-stat-desc {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999999;
}
/* Quest Actions */
.quest-actions {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.quest-action {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 28px;
  background-color: #1a1a1a;
  text-align: left;
  min-width: 180px;
  border-left: 2px solid #0066ff;
}

.quest-action-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
}

.quest-action-desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 0.8125rem;
  color: #999999;
  line-height: 1.5;
}

/* Panel Backgrounds - subtle variations */
.panel-hero {
  background-color: #0a0a0a;
}

.panel-democracy {
  background-color: #000000;
}

.panel-power {
  background-color: #0a0a0a;
}

.panel-movements {
  background-color: #000000;
}

.panel-global {
  background-color: #0a0a0a;
}

.panel-quest {
  background-color: #000000;
}

/* Panel enter animations */
.panel-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.panel.visible .panel-content {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .chapter-number {
    font-size: 5rem;
  }

  .section-stats,
  .power-grid,
  .globe-stats,
  .quest-actions {
    flex-direction: column;
    gap: 12px;
  }

  .power-card,
  .globe-stat {
    min-width: unset;
    width: 100%;
  }

  .quest-action {
    min-width: unset;
    width: 100%;
  }

  .panel-content {
    padding: 24px;
    gap: 24px;
  }

  #main-nav {
    padding: 16px 20px;
  }

  .nav-hint {
    display: none;
  }

  .hero-illustration {
    width: 140px;
    height: 140px;
  }

  .section-illustration,
  .quest-illustration {
    width: 120px;
    height: 120px;
  }
}