:root {
  --bg: #0f1115;
  --bg-soft: #151922;
  --surface: rgba(23, 27, 37, 0.88);
  --surface-strong: rgba(28, 34, 46, 0.96);
  --text: #e8edf5;
  --muted: #aab4c4;
  --line: rgba(142, 166, 214, 0.14);
  --accent: #78a6ff;
  --accent-soft: rgba(120, 166, 255, 0.12);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --content-width: 860px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(120, 166, 255, 0.18), transparent 26%),
    radial-gradient(circle at bottom right, rgba(108, 85, 214, 0.12), transparent 24%),
    linear-gradient(180deg, #0d1014 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
  pointer-events: none;
}

body.page-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

.page,
.footer {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.page {
  position: relative;
  padding: 88px 0 48px;
}

.hero,
.panel,
.card,
.footer {
  background: linear-gradient(180deg, rgba(28, 34, 46, 0.9), rgba(19, 23, 31, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero,
.panel,
.footer {
  padding: 32px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.hero {
  margin-bottom: 32px;
}

.hero-content {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

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

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(180deg, rgba(120, 166, 255, 0.15), rgba(120, 166, 255, 0.08));
  border: 1px solid rgba(120, 166, 255, 0.25);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 200ms ease;
  cursor: pointer;
}

.social-button:hover {
  background: linear-gradient(180deg, rgba(120, 166, 255, 0.25), rgba(120, 166, 255, 0.15));
  border-color: rgba(120, 166, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(120, 166, 255, 0.2);
}

.social-button svg {
  flex-shrink: 0;
}

.inline-link {
  color: var(--accent);
  text-decoration: none;
  transition: color 180ms ease;
  font-weight: 500;
}

.inline-link:hover {
  color: #a0c4ff;
  text-decoration: underline;
}


.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3.2rem, 9vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.statement {
  margin-top: 16px;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  color: #d4deeb;
  font-weight: 500;
}

.intro,
.panel p,
.card p,
.footer p {
  color: var(--muted);
  line-height: 1.8;
}

.intro {
  max-width: 60ch;
  margin-top: 18px;
  font-size: 1.02rem;
}

.section {
  margin-top: 28px;
}

.section-heading {
  margin-bottom: 18px;
}

h2 {
  max-width: 18ch;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

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

.card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(26, 31, 42, 0.92), rgba(18, 22, 31, 0.96));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(120, 166, 255, 0.3);
  background: linear-gradient(180deg, rgba(28, 35, 49, 0.96), rgba(20, 24, 34, 0.98));
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.split .panel {
  position: relative;
}

.panel {
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--accent-soft), transparent 72%);
  pointer-events: none;
}

.stack p + p {
  margin-top: 16px;
}

.quote-section {
  margin-top: 32px;
  margin-bottom: 32px;
}

.featured-quote {
  margin: 0;
  padding: 48px 32px;
  background: linear-gradient(135deg, rgba(120, 166, 255, 0.08), rgba(108, 85, 214, 0.06));
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  text-align: center;
}

.featured-quote p {
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
}

.footer {
  margin-bottom: 32px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-tagline {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
}

.footer-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  opacity: 0.7;
}

.anthem-section {
  margin-top: 28px;
  margin-bottom: 32px;
}

.anthem-player-widget {
  display: flex;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, rgba(28, 34, 46, 0.95), rgba(19, 23, 31, 0.98));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 20px 24px;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(20px);
}

.anthem-player-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(120, 166, 255, 0.03), transparent 50%);
  pointer-events: none;
}

.player-artwork {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(120, 166, 255, 0.2);
}

.player-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 90px;
  max-height: 90px;
}

.artwork-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(120, 166, 255, 0.15), rgba(108, 85, 214, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.music-icon {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.player-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.player-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.player-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.player-artist {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.4;
}

.player-quote {
  margin: 0;
  padding: 10px 14px;
  background: rgba(120, 166, 255, 0.06);
  border-left: 2px solid var(--accent);
  border-radius: 8px;
}

.player-quote p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
}

.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.play-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), rgba(120, 166, 255, 0.8));
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 250ms ease;
  box-shadow: 0 4px 16px rgba(120, 166, 255, 0.3);
  color: #fff;
  text-decoration: none;
}

.play-button:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(120, 166, 255, 0.45);
  background: linear-gradient(135deg, #8fb8ff, var(--accent));
}

.play-button:active {
  transform: scale(0.98);
}

.play-button svg {
  margin-left: 2px;
}

.audio-visualizer {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 24px;
}

.audio-visualizer .bar {
  width: 3px;
  background: linear-gradient(to top, var(--accent), rgba(120, 166, 255, 0.5));
  border-radius: 2px;
  animation: pulse 1.2s ease-in-out infinite;
}

.audio-visualizer .bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.audio-visualizer .bar:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.audio-visualizer .bar:nth-child(3) { height: 100%; animation-delay: 0.3s; }
.audio-visualizer .bar:nth-child(4) { height: 60%; animation-delay: 0.45s; }
.audio-visualizer .bar:nth-child(5) { height: 45%; animation-delay: 0.6s; }

.audio-visualizer.playing .bar {
  animation-play-state: running;
}

.audio-visualizer:not(.playing) .bar {
  animation-play-state: paused;
  opacity: 0.4;
}

@keyframes pulse {
  0%, 100% { height: 40%; opacity: 0.6; }
  50% { height: 100%; opacity: 1; }
}

.youtube-player-container {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.platform-shortcuts {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(142, 166, 214, 0.1);
}

.platform-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(120, 166, 255, 0.08);
  border: 1px solid rgba(120, 166, 255, 0.15);
  color: var(--muted);
  transition: all 200ms ease;
  text-decoration: none;
}

.platform-link:nth-child(1) {
  /* Spotify */
  color: #1DB954;
  border-color: rgba(29, 185, 84, 0.2);
}

.platform-link:nth-child(1):hover {
  background: rgba(29, 185, 84, 0.15);
  border-color: rgba(29, 185, 84, 0.4);
  color: #1ed760;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
}

.platform-link:nth-child(2) {
  /* YouTube Music */
  color: #FF0000;
  border-color: rgba(255, 0, 0, 0.2);
}

.platform-link:nth-child(2):hover {
  background: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 0.4);
  color: #ff3333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.platform-link:nth-child(3) {
  /* Apple Music */
  color: #FA243C;
  border-color: rgba(250, 36, 60, 0.2);
}

.platform-link:nth-child(3):hover {
  background: rgba(250, 36, 60, 0.15);
  border-color: rgba(250, 36, 60, 0.4);
  color: #ff4757;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 36, 60, 0.3);
}

.platform-link svg {
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .page {
    padding-top: 56px;
  }

  .hero,
  .panel,
  .footer {
    padding: 24px;
  }

  .hero-content {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

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

  .intro {
    max-width: 100%;
  }

  .social-links {
    justify-content: center;
    flex-direction: column;
  }

  .social-button {
    width: 100%;
    justify-content: center;
  }

  .footer-tagline {
    font-size: 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    max-width: none;
  }

  .anthem-player-widget {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .player-artwork {
    width: 80px;
    height: 80px;
  }

  .player-artwork img {
    max-width: 80px;
    max-height: 80px;
  }

  .player-info {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .card {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
