/* politics.quest -- evolved-minimal, masonry, neon-electric activism */

:root {
  --activism-dark: #0A0A18;
  --neon-coral: #FF3060;
  --neon-mint: #30FFCC;
  --rally-white: #F0F0F8;
  --aurora-violet: #7050C0;
  --aurora-blue: #3080E0;
  --abstract-gray: #404058;
  --gutter: 12px;
}

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

html, body {
  background: var(--activism-dark);
  color: var(--rally-white);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
}

/* ============================
   RALLY STAGE (100vh hero)
   ============================ */
.rally-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--activism-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aurora-bands {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.65;
}

.aurora-band {
  stroke-dasharray: 12 6;
  animation: aurora-drift 20s linear infinite;
}
.aurora-band.band-1 { animation-duration: 22s; opacity: 0.85; }
.aurora-band.band-2 { animation-duration: 26s; animation-delay: -5s; opacity: 0.75; }
.aurora-band.band-3 { animation-duration: 30s; animation-delay: -10s; opacity: 0.65; }
.aurora-band.band-4 { animation-duration: 34s; animation-delay: -3s; opacity: 0.55; }

@keyframes aurora-drift {
  0%   { transform: translateX(-3%); }
  50%  { transform: translateX(3%); }
  100% { transform: translateX(-3%); }
}

.abstract-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 800ms ease, transform 600ms ease;
}
.abstract-shape.in { opacity: 0.7; }
.abstract-shape.shape-circle   { top: 8%;  left: 6%;  width: 90px;  height: 90px; }
.abstract-shape.shape-triangle { top: 14%; right: 8%; width: 110px; height: 110px; }
.abstract-shape.shape-arrow    { bottom: 18%; left: 9%; width: 130px; height: 60px; }
.abstract-shape.shape-fist     { bottom: 10%; right: 12%; width: 90px; height: 90px; }

.rally-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 1100px;
}

.domain-mark {
  font-weight: 900;
  font-size: clamp(28px, 8vw, 96px);
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--rally-white);
  text-shadow: 0 0 18px rgba(255, 48, 96, 0.0);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease, text-shadow 400ms ease;
}
.domain-mark.in {
  opacity: 1;
  transform: translateY(0);
  text-shadow:
    0 0 12px rgba(255, 48, 96, 0.55),
    0 0 32px rgba(48, 255, 204, 0.18);
}
.domain-mark .domain-line { color: var(--rally-white); }
.domain-mark .domain-dot  { color: var(--neon-coral); margin: 0 0.05em; }
.domain-mark .domain-tld  { color: var(--neon-mint); }

.rally-tagline {
  margin-top: 18px;
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--rally-white);
  opacity: 0;
  transition: opacity 700ms ease 200ms;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.rally-tagline.in { opacity: 0.92; }

.rally-meta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rally-white);
  opacity: 0;
  transition: opacity 700ms ease 350ms;
}
.rally-meta.in { opacity: 0.85; }
.meta-item { padding: 4px 10px; border: 1px solid rgba(240,240,248,0.22); }
.meta-divider { color: var(--neon-mint); }

.rally-scroll-cue {
  margin-top: 36px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-coral);
  opacity: 0;
  transition: opacity 600ms ease 700ms;
  animation: cue-pulse 2.4s ease-in-out infinite;
}
.rally-scroll-cue.in { opacity: 0.9; }

@keyframes cue-pulse {
  0%, 100% { text-shadow: 0 0 0 rgba(255,48,96,0); }
  50%      { text-shadow: 0 0 10px rgba(255,48,96,0.8); }
}

/* ============================
   POSTER WALL (masonry)
   ============================ */
.poster-wall {
  position: relative;
  padding: 96px 24px 72px;
  background: var(--activism-dark);
}

.poster-wall-second { padding-top: 72px; }

.wall-header {
  max-width: 1280px;
  margin: 0 auto 36px;
  padding-left: 8px;
  border-left: 3px solid var(--neon-coral);
  box-shadow: -3px 0 12px -3px rgba(255, 48, 96, 0.4);
}
.wall-title {
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 56px);
  letter-spacing: 0.01em;
  color: var(--rally-white);
  text-shadow: 0 0 12px rgba(48, 255, 204, 0.18);
}
.wall-sub {
  margin-top: 8px;
  font-size: clamp(15px, 1vw, 17px);
  color: var(--rally-white);
  opacity: 0.75;
  max-width: 720px;
}

/* CSS-columns masonry; broadly supported, predictable */
.masonry {
  max-width: 1280px;
  margin: 0 auto;
  column-gap: var(--gutter);
  column-count: 1;
}
@media (min-width: 560px)  { .masonry { column-count: 2; } }
@media (min-width: 880px)  { .masonry { column-count: 3; } }
@media (min-width: 1200px) { .masonry { column-count: 4; } }

.block {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 var(--gutter);
  padding: 22px 22px 20px;
  background: var(--abstract-gray);
  color: var(--rally-white);
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  border: 2px solid var(--neon-coral);
  box-shadow: 0 0 8px rgba(255, 48, 96, 0.55);
  transition: box-shadow 300ms ease, transform 600ms ease, opacity 600ms ease;
  opacity: 0;
  transform: translateY(18px);
}

.block.in { opacity: 1; transform: translateY(0); }

.block[data-accent="mint"] {
  border-color: var(--neon-mint);
  box-shadow: 0 0 8px rgba(48, 255, 204, 0.55);
}

.block:hover {
  box-shadow: 0 0 14px rgba(255, 48, 96, 0.85), 0 0 22px rgba(255, 48, 96, 0.4);
  transform: translateY(-2px);
}
.block[data-accent="mint"]:hover {
  box-shadow: 0 0 14px rgba(48, 255, 204, 0.85), 0 0 22px rgba(48, 255, 204, 0.4);
}

.block:hover .block-headline,
.block:hover .block-blockquote,
.block:hover .block-banner-text {
  text-shadow: 0 0 8px rgba(255, 48, 96, 0.55);
}
.block[data-accent="mint"]:hover .block-headline,
.block[data-accent="mint"]:hover .block-blockquote,
.block[data-accent="mint"]:hover .block-banner-text {
  text-shadow: 0 0 8px rgba(48, 255, 204, 0.55);
}

.block-tag {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neon-coral);
  margin-bottom: 10px;
  opacity: 0.92;
}
.block[data-accent="mint"] .block-tag { color: var(--neon-mint); }

.block-headline {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--rally-white);
  margin-bottom: 10px;
}

.block-body {
  font-weight: 400;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.8;
  color: var(--rally-white);
  opacity: 0.92;
}

.block-shape {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  opacity: 0.6;
}
.block-shape svg { width: 100%; height: 100%; }

/* Pulse attention */
.pulse-attention {
  animation: block-pulse-coral 2s ease-in-out infinite;
}
.pulse-attention[data-accent="mint"] {
  animation: block-pulse-mint 2s ease-in-out infinite;
}
.pulse-attention.paused { animation-play-state: paused; }

@keyframes block-pulse-coral {
  0%, 100% { box-shadow: 0 0 8px rgba(255, 48, 96, 0.55); }
  50%      { box-shadow: 0 0 20px rgba(255, 48, 96, 0.95), 0 0 30px rgba(255, 48, 96, 0.4); }
}
@keyframes block-pulse-mint {
  0%, 100% { box-shadow: 0 0 8px rgba(48, 255, 204, 0.55); }
  50%      { box-shadow: 0 0 20px rgba(48, 255, 204, 0.95), 0 0 30px rgba(48, 255, 204, 0.4); }
}

/* Variants by block role */
.block-manifesto      { padding: 28px 24px; }
.block-manifesto-mid  { padding: 26px 24px; }
.block-manifesto-sm   { padding: 22px 22px; }

.block-quote .block-blockquote,
.block-longquote .block-blockquote {
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--rally-white);
  margin-bottom: 14px;
}
.block-cite {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neon-mint);
  font-style: normal;
}
.block-quote .block-cite { color: var(--neon-coral); }
.block[data-accent="mint"] .block-cite { color: var(--neon-mint); }

.block-data .block-data-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}
.block-data .block-data-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px dashed rgba(255, 48, 96, 0.35);
  padding-bottom: 8px;
}
.block-data .block-data-list li:last-child { border-bottom: none; padding-bottom: 0; }
.datum-num {
  font-weight: 900;
  font-size: 26px;
  color: var(--neon-coral);
  text-shadow: 0 0 6px rgba(255, 48, 96, 0.55);
  flex: 0 0 auto;
}
.datum-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rally-white);
  opacity: 0.85;
}

.block-banner {
  text-align: center;
  padding: 30px 18px;
}
.block-banner-text {
  font-weight: 900;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.04em;
  color: var(--neon-coral);
  text-shadow: 0 0 10px rgba(255, 48, 96, 0.5);
}

.block-symbol .symbol-wrap {
  display: flex;
  justify-content: center;
  margin: 6px 0 12px;
}
.block-symbol .symbol-wrap svg {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 6px rgba(255, 48, 96, 0.4));
}
.block-symbol .symbol-caption {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rally-white);
  opacity: 0.85;
}

.block-tally .tally-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.block-tally .tally-cell {
  border: 1px solid rgba(48, 255, 204, 0.55);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tally-num {
  font-weight: 900;
  font-size: 22px;
  color: var(--neon-mint);
  text-shadow: 0 0 6px rgba(48, 255, 204, 0.55);
}
.tally-cap {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rally-white);
  opacity: 0.85;
}

.block-roster .roster-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.block-roster .roster-list li {
  font-size: 15px;
  border-left: 2px solid var(--neon-mint);
  padding-left: 10px;
  color: var(--rally-white);
  opacity: 0.9;
}

.block-headline-card .block-headline {
  font-size: 24px;
  line-height: 1.3;
}

.block-action .block-headline { color: var(--neon-mint); }
.block[data-accent="coral"] .block-headline {}

/* ============================
   AURORA MOVEMENT SECTION
   ============================ */
.movement-section {
  position: relative;
  height: 220px;
  width: 100%;
  background: var(--activism-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.movement-bands {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}
.movement-bands path {
  stroke-dasharray: 14 8;
  animation: aurora-drift 22s linear infinite;
}
.movement-bands path:nth-child(2) { animation-duration: 28s; animation-delay: -4s; }
.movement-bands path:nth-child(3) { animation-duration: 34s; animation-delay: -8s; }

.movement-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--rally-white);
  max-width: 720px;
  padding: 0 24px;
  text-shadow: 0 0 8px rgba(48, 255, 204, 0.3);
}

/* ============================
   CAMPAIGN HQ (footer)
   ============================ */
.campaign-hq {
  position: relative;
  padding: 80px 24px 36px;
  background: var(--activism-dark);
  border-top: 2px solid var(--neon-coral);
  box-shadow: 0 -4px 18px -4px rgba(255, 48, 96, 0.45);
  overflow: hidden;
}
.hq-aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.8;
}
.hq-aurora path {
  stroke-dasharray: 16 10;
  animation: aurora-drift 24s linear infinite;
}
.hq-aurora path:nth-child(2) { animation-duration: 28s; animation-delay: -3s; }
.hq-aurora path:nth-child(3) { animation-duration: 32s; animation-delay: -7s; }

.hq-grid {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}
@media (min-width: 720px) {
  .hq-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.hq-block {
  background: var(--abstract-gray);
  border: 2px solid var(--neon-mint);
  box-shadow: 0 0 8px rgba(48, 255, 204, 0.55);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 300ms ease;
}
.hq-block:nth-child(odd) {
  border-color: var(--neon-coral);
  box-shadow: 0 0 8px rgba(255, 48, 96, 0.55);
}
.hq-block:hover {
  box-shadow: 0 0 14px rgba(48, 255, 204, 0.85);
}
.hq-block:nth-child(odd):hover {
  box-shadow: 0 0 14px rgba(255, 48, 96, 0.85);
}

.hq-mark .hq-domain {
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 38px);
  color: var(--rally-white);
  text-shadow: 0 0 12px rgba(255, 48, 96, 0.55);
}
.hq-mark .hq-sub {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rally-white);
  opacity: 0.8;
}

.hq-converge {
  align-items: center;
  justify-content: center;
}
.hq-converge svg {
  width: 100%;
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(48, 255, 204, 0.4));
}

.hq-words {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: 0.04em;
  color: var(--neon-mint);
  text-shadow: 0 0 10px rgba(48, 255, 204, 0.55);
}
.hq-words .hq-dot { color: var(--rally-white); opacity: 0.7; }

.hq-meta .hq-line {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rally-white);
  opacity: 0.9;
  border-bottom: 1px dashed rgba(48, 255, 204, 0.35);
  padding-bottom: 6px;
}
.hq-meta .hq-line:last-child { border-bottom: none; padding-bottom: 0; }

.hq-floor {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(240, 240, 248, 0.18);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rally-white);
  opacity: 0.75;
}

/* Aurora hover acceleration */
.hover-accel .aurora-band,
.hover-accel .movement-bands path,
.hover-accel .hq-aurora path {
  animation-duration: 8s !important;
}
