:root {
  --bg: #050d2a;
  --bg-2: #07153b;
  --panel: #0b1436;
  --accent: #2cf7ff;
  --accent-2: #7af7ff;
  --glow: rgba(44, 247, 255, 0.28);
  --text: #e9f1ff;
  --text-dim: #a3b3d9;
  --danger: #ff5f6d;
  --success: #3cf0a6;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --border: 1px solid rgba(255, 255, 255, 0.07);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(44, 247, 255, 0.08), transparent 40%),
              radial-gradient(circle at 80% 0%, rgba(60, 120, 255, 0.18), transparent 38%),
              linear-gradient(140deg, var(--bg) 0%, var(--bg-2) 60%, #030824 100%);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding: 0 20px 80px;
}

img {
  max-width: 100%;
  display: block;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(44, 247, 255, 0.1), transparent 30%),
              radial-gradient(circle at 80% 70%, rgba(90, 70, 255, 0.12), transparent 25%),
              radial-gradient(circle at 15% 80%, rgba(12, 200, 180, 0.1), transparent 28%);
  filter: blur(40px);
  opacity: 0.8;
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 64px 0 32px;
  align-items: center;
}

.hero__copy h1 {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  margin: 8px 0 12px;
}

.lede {
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 0 22px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero__art {
  position: relative;
  justify-self: center;
}

.hero__ring {
  background: radial-gradient(circle, rgba(44, 247, 255, 0.12), rgba(44, 247, 255, 0.02) 60%, transparent 70%);
  padding: 14px;
  border-radius: 50%;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: visible;
}

.hero__ring img {
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 60px rgba(44, 247, 255, 0.35);
}

.hero__pulse {
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 247, 255, 0.25), transparent 70%);
  animation: pulse 5s ease-in-out infinite;
  filter: blur(18px);
  z-index: -1;
}

@keyframes pulse {
  0% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.04); opacity: 0.9; }
  100% { transform: scale(0.92); opacity: 0.55; }
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  margin: 0 0 6px;
}

.eyebrow a,
.eyebrow-link {
  color: inherit;
  text-decoration: none;
}

.subhead {
  color: var(--text-dim);
  margin: 6px 0 0;
}

.truth-banner {
  color: #ffd166;
  font-weight: 700;
}
.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
  color: #03102b;
  background: linear-gradient(120deg, #2cf7ff 0%, #69b9ff 100%);
  box-shadow: 0 8px 32px rgba(44, 247, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(44, 247, 255, 0.45);
  filter: saturate(1.05);
}

.btn:active {
  transform: translateY(0);
}

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

.tracks {
  position: relative;
  z-index: 1;
  margin-top: 12px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 0 0 18px;
  flex-wrap: wrap;
}

.section-heading h2 {
  font-family: "Syne", "Space Grotesk", sans-serif;
  margin: 4px 0 0;
  font-size: clamp(26px, 3vw, 34px);
}

.badge {
  border-radius: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 12px;
}

.tracks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-radius: var(--radius);
  border: var(--border);
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40% -60% auto auto;
  width: 240px;
  height: 140px;
  background: radial-gradient(circle, rgba(44, 247, 255, 0.15), transparent 60%);
  transform: rotate(8deg);
  z-index: 0;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 247, 255, 0.35);
}

.card__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  position: relative;
  z-index: 1;
}

.card__title {
  margin: 0;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__share {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.card__share svg {
  width: 16px;
  height: 16px;
}

.card__share:hover {
  transform: translateY(-1px);
  border-color: rgba(44, 247, 255, 0.35);
}

.links {
  display: flex;
  gap: 10px;
  margin: 12px 0 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 13px;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.meta svg {
  width: 14px;
  height: 14px;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 9px 13px;
  color: #c7d8f4;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, color 0.2s ease;
  flex: 1 1 160px;
  justify-content: center;
}

.link-pill svg {
  width: 16px;
  height: 16px;
}

.link-pill:hover {
  border-color: rgba(44, 247, 255, 0.4);
  color: var(--accent);
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
  justify-items: center;
  position: relative;
  z-index: 1;
  min-height: 72px;
}

.btn-vote {
  width: 100%;
  border-radius: 12px;
  padding: 12px 10px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  color: #c7d8f4;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.2s ease;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
  text-align: center;
}

.btn-vote:hover {
  border-color: rgba(44, 247, 255, 0.45);
  transform: translateY(-1px);
  background: rgba(44, 247, 255, 0.08);
}

.btn-vote:active {
  transform: translateY(0);
}

.btn-vote[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.share-btn {
  background: rgba(44, 247, 255, 0.12);
  border: 1px solid rgba(44, 247, 255, 0.4);
  border-radius: 12px;
  color: var(--accent);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.result {
  margin-top: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  position: relative;
  z-index: 1;
}

.result__bar {
  position: relative;
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.result__bar-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  background: linear-gradient(90deg, #2cf7ff, #69b9ff);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(44, 247, 255, 0.35);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.result__labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-top: 8px;
  color: var(--text-dim);
}


.muted {
  color: var(--text-dim);
  font-size: 13px;
}

.status {
  margin-top: 12px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

.muted:empty {
  display: none;
}

.status.error {
  color: var(--danger);
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 600;
}

.stat-pill .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #2cf7ff, #69b9ff);
  box-shadow: 0 0 10px rgba(44, 247, 255, 0.8);
}

.ghost-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.footer {
  margin-top: 48px;
  padding: 28px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-dim);
}

.footer__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.card--voted .btn-vote {
  visibility: hidden;
  pointer-events: none;
}

.cta-row.voted {
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  min-height: 72px;
  height: auto;
  margin: 0;
  padding: 0;
}

@media (max-width: 640px) {
  body {
    padding: 0 16px 60px;
  }
  .hero {
    padding-top: 40px;
  }
  .cta-row {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
}
