:root {
  color-scheme: dark;
  --page-bg: #040607;
  --panel-bg: rgba(10, 15, 17, 0.84);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text-main: #f3f6f7;
  --text-muted: #9eb0b7;
  --text-soft: #7a8a90;
  --spotify: #1db954;
  --spotify-soft: rgba(29, 185, 84, 0.16);
  --button-dark: #0f181b;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(29, 185, 84, 0.2), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(42, 140, 255, 0.18), transparent 20%),
    linear-gradient(180deg, #030506 0%, #05080a 45%, #080d10 100%);
  color: var(--text-main);
}

body {
  min-height: 100vh;
}

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

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  padding: 22px 0;
}

.topbar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 6px rgba(29, 185, 84, 0.9)) drop-shadow(0 0 14px rgba(29, 185, 84, 0.38));
  animation: brandMarkPulse 2.6s ease-in-out infinite;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-eye-wink {
  opacity: 0;
  animation: brandMarkWink 3s ease-in-out infinite;
}

.brand-eye-open {
  animation: brandEyeOpen 3s ease-in-out infinite;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-copy span {
  color: var(--text-soft);
  font-size: 0.88rem;
  max-width: 26rem;
}

.topbar-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.topbar-motto {
  margin: 0;
  color: #bff6d3;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  padding: 28px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy-panel,
.hero-preview,
.section-card,
.footer-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy-panel {
  padding: 36px;
}

.hero-video-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--spotify-soft);
  color: #bff6d3;
  border: 1px solid rgba(29, 185, 84, 0.24);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button {
  background: linear-gradient(180deg, #23d163 0%, #199d4e 100%);
  color: #041107;
  box-shadow: 0 20px 40px rgba(29, 185, 84, 0.26);
}

.button[data-role="download"] {
  animation: downloadPulse 1.9s ease-in-out infinite;
}

.button:hover,
.button-secondary:hover,
.link-pill:hover {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes brandMarkPulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(29, 185, 84, 0.9)) drop-shadow(0 0 14px rgba(29, 185, 84, 0.38));
  }

  45% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(29, 185, 84, 0.95)) drop-shadow(0 0 24px rgba(29, 185, 84, 0.48));
  }
}

@keyframes brandMarkWink {
  0%,
  13%,
  100% {
    opacity: 0;
  }

  14%,
  22% {
    opacity: 1;
  }
}

@keyframes brandEyeOpen {
  0%,
  13%,
  100% {
    opacity: 1;
  }

  14%,
  22% {
    opacity: 0;
  }
}

.button-disabled {
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}

.hero-note {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.hero-video-stage {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(29, 185, 84, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(7, 12, 14, 0.98), rgba(7, 9, 11, 0.98));
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-video-audio-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(4, 8, 10, 0.72);
  color: var(--text-main);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hero-video-audio-toggle:hover {
  transform: translateY(-1px);
}

.hero-video-audio-toggle[data-state="unmuted"] {
  background: rgba(29, 185, 84, 0.22);
  border-color: rgba(29, 185, 84, 0.48);
  color: #d7ffe5;
}

.hero-video-audio-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.hero-video-caption {
  max-width: 48rem;
}

.hero-guide-stack {
  display: grid;
  gap: 16px;
}

.guide-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 18px;
}

.guide-panel-header {
  display: grid;
  gap: 8px;
}

.guide-panel-header h2 {
  margin: 0;
  font-size: 1.26rem;
  letter-spacing: -0.03em;
}

.guide-panel-header p,
.guide-step p,
.rank-copy p,
.treasure-copy p {
  margin: 0;
  max-width: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.68;
}

.guide-steps {
  display: grid;
  gap: 12px;
}

.guide-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(35, 209, 99, 0.92), rgba(25, 157, 78, 0.92));
  color: #041107;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(29, 185, 84, 0.2);
}

.guide-step strong,
.rank-copy strong,
.treasure-copy strong {
  display: block;
  margin: 0 0 6px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.levels-panel {
  gap: 20px;
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rank-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.rank-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 16px 30px rgba(0, 0, 0, 0.22);
}

.rank-badge-icon {
  width: 30px;
  height: 30px;
  display: block;
  fill: currentColor;
}

.rank-icon span {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.rank-icon small {
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.rank-copy span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rank-card.silver {
  background: linear-gradient(180deg, rgba(131, 152, 176, 0.12), rgba(255, 255, 255, 0.03));
}

.rank-card.silver .rank-icon {
  background: linear-gradient(180deg, #dfe7ee 0%, #8da0b7 100%);
  color: #111a20;
}

.rank-card.gold {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.14), rgba(255, 255, 255, 0.03));
}

.rank-card.gold .rank-icon {
  background: linear-gradient(180deg, #ffe18e 0%, #d4a737 100%);
  color: #221603;
}

.rank-card.platinum {
  background: linear-gradient(180deg, rgba(191, 214, 224, 0.14), rgba(255, 255, 255, 0.03));
}

.rank-card.platinum .rank-icon {
  background: linear-gradient(180deg, #edf5fa 0%, #a7becd 100%);
  color: #14202a;
}

.rank-card.diamond {
  background: linear-gradient(180deg, rgba(85, 208, 255, 0.16), rgba(255, 255, 255, 0.03));
}

.rank-card.diamond .rank-icon {
  background: linear-gradient(180deg, #e3fbff 0%, #69d6ff 100%);
  color: #082131;
}

.treasure-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 214, 102, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 16px;
}

.treasure-card-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.treasure-icon {
  position: relative;
  width: 58px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #e3a93d 0%, #8f5b18 100%);
  border: 1px solid rgba(255, 214, 102, 0.4);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
}

.treasure-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: -10px;
  height: 16px;
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(180deg, #ffd970 0%, #ca8527 100%);
  border: 1px solid rgba(255, 214, 102, 0.42);
}

.treasure-icon::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 12px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 8px;
  background: rgba(48, 30, 7, 0.66);
  box-shadow: 0 0 0 2px rgba(255, 214, 102, 0.38);
}

.treasure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.treasure-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.treasure-pill.silver {
  background: rgba(164, 176, 192, 0.16);
  color: #dce7f2;
}

.treasure-pill.gold {
  background: rgba(212, 175, 55, 0.18);
  color: #ffe7a6;
}

.treasure-pill.platinum {
  background: rgba(184, 209, 223, 0.18);
  color: #ebf7ff;
}

.treasure-pill.diamond {
  background: rgba(92, 216, 255, 0.18);
  color: #c7f5ff;
}

.hero-preview {
  padding: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.feature-panel {
  flex-direction: column;
  gap: 18px;
}

.feature-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-card,
.rewards-panel {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card strong,
.rewards-panel h2 {
  display: block;
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.feature-card span,
.reward-list li {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.reward-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.reward-list li {
  position: relative;
  padding-left: 18px;
}

.reward-list li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--spotify);
  box-shadow: 0 0 12px rgba(29, 185, 84, 0.45);
}

.content-section {
  padding: 8px 0 22px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.section-card {
  padding: 26px;
}

.section-card h2,
.section-card h3 {
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.section-card p,
.section-card li {
  color: var(--text-muted);
  line-height: 1.68;
}

.section-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-card li + li {
  margin-top: 10px;
}

.full-width {
  grid-column: 1 / -1;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 24px;
  align-items: center;
}

@keyframes downloadPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 20px 40px rgba(29, 185, 84, 0.26), 0 0 0 rgba(29, 185, 84, 0.36);
  }

  50% {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 24px 52px rgba(29, 185, 84, 0.34), 0 0 28px rgba(29, 185, 84, 0.36);
  }
}

.footer {
  padding: 0 0 28px;
}

.footer-card {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-card p {
  margin: 0;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-main);
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar .shell,
  .footer-card {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions,
  .footer-links,
  .hero-actions {
    width: 100%;
  }

  .topbar-actions {
    align-items: center;
    gap: 18px;
  }

  .topbar-motto {
    width: 100%;
    margin-top: 2px;
    text-align: center;
  }

  .link-pill,
  .button,
  .button-secondary {
    width: 100%;
  }

  .hero-copy-panel,
  .hero-preview,
  .section-card {
    padding: 22px;
  }

  .guide-panel {
    padding: 18px;
  }

  .guide-step,
  .rank-card,
  .treasure-card-header {
    grid-template-columns: 1fr;
  }

  .guide-step-number,
  .rank-icon,
  .treasure-icon {
    justify-self: start;
  }

  .rank-grid,
  .treasure-grid {
    grid-template-columns: 1fr;
  }

  .feature-intro h1 {
    font-size: 2rem;
  }
}
