:root {
  color-scheme: light;
}

body.page-body {
  margin: 0;
  font-family: 'Philosopher', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f9fa 0%, #e3eaef 100%);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.page-body main {
  padding-top: 0;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(15, 43, 58, 0.18);
  color: #f7fbff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 14px 26px rgba(7, 30, 42, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.back-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 20px 32px rgba(7, 30, 42, 0.28);
}

.back-icon {
  font-size: 18px;
  line-height: 1;
}

.page-hero {
  padding: 140px 0 80px;
  position: relative;
}

.page-hero .page-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(7, 30, 42, 0.14), transparent 60%);
  z-index: 0;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.28) 0%, rgba(39, 39, 39, 0.12) 36%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.18) 12%, rgba(0, 0, 0, 0) 58%);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

.page-hero.music {
  background: linear-gradient(135deg, rgba(16, 22, 15, 0.9), rgba(64, 94, 105, 0.88));
  color: #f1f5f7;
}

.page-hero.sport {
  background: linear-gradient(135deg, rgba(11, 52, 54, 0.9), rgba(62, 110, 124, 0.92));
  color: #f1f5f7;
}

.page-hero.investing {
  background: linear-gradient(135deg, rgba(11, 1, 22, 0.92), rgba(33, 31, 34, 0.9));
  color: #f1f5f7;
}

.page-hero.coding {
  background: linear-gradient(135deg, rgba(18, 50, 64, 0.95), rgba(47, 88, 105, 0.92));
  color: #f1f5f7;
}

.page-hero.music::after,
.page-hero.sport::after,
.page-hero.investing::after {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.32), transparent 72%);
}

.page-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 13px;
  margin: 30px 0 18px;
  opacity: 0.78;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  margin: 0 0 20px;
}

.page-hero .lead {
  font-size: clamp(17px, 2.6vw, 22px);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
  color: inherit;
  opacity: 0.92;
}

.media-strip {
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.media-strip img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 26px;
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 28px 40px rgba(7, 30, 42, 0.32);
  background: #ffffff;
}

.page-section {
  padding: 80px 0;
}

.page-section.alt {
  background: var(--bg-alt);
}

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.text-block h2 {
  margin: 0 0 20px;
  font-size: 34px;
  color: var(--text);
}

.text-block p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.highlight-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.highlight-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 16px;
  padding: 16px 18px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(20, 53, 71, 0.12);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #143547;
}

.image-stack {
  display: grid;
  gap: 18px;
}

.image-stack img {
  width: 100%;
  border-radius: 26px;
  border: 8px solid #ffffff;
  box-shadow: 0 28px 40px rgba(7, 30, 42, 0.2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  gap: 16px;
}

.feature-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-card .tag-list,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-card .tag,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 12px;
  line-height: 1;
  border-radius: 999px;
  background: rgba(20, 53, 71, 0.12);
  color: #143547;
  font-weight: 600;
  font-size: 13px;
}

.card-subline {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  opacity: 0.9;
}

.chip-row {
  margin-top: 14px;
}

.chip {
  gap: 8px;
}

.chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 12px rgba(7, 30, 42, 0.18);
}

.chip-btc .chip-dot {
  background: #f7931a;
}

.chip-xrp .chip-dot {
  background: #23292f;
}

.chip-sui .chip-dot {
  background: #6fbcf0;
}

.chip-doge .chip-dot {
  background: #c2a633;
}

.chip-sol .chip-dot {
  background: #4f14f1ff;
}

.chart-card {
  display: grid;
  gap: 12px;
  align-items: stretch;
  justify-items: start;
}

.chart-frame {
  width: 100%;
  height: 320px;
  position: relative;
}

.chart-frame canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.chart-placeholder {
  width: 100%;
  min-height: 260px;
  display: grid;
  gap: 8px;
  place-items: center;
  text-align: center;
  padding: 28px;
  border-radius: 18px;
  border: 1px dashed var(--border);
  background: rgba(7, 30, 42, 0.04);
  color: var(--muted);
}

.chart-placeholder p {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.25px;
}

.chart-placeholder small {
  color: var(--muted);
}

.disclaimer {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat-card strong {
  display: block;
  font-size: 32px;
  color: var(--brand);
  margin-bottom: 6px;
}

@media (hover: hover) and (pointer: fine) {
  .highlight-list li,
  .feature-card,
  .stat-card,
  .media-strip img,
  .image-stack img {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
  }

  .highlight-list li:hover,
  .media-strip img:hover,
  .image-stack img:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 48px rgba(7, 30, 42, 0.25);
  }

  .highlight-list li:nth-child(odd):hover {
    transform: translateY(-6px) rotateZ(-1deg);
  }

  .highlight-list li:nth-child(even):hover {
    transform: translateY(-6px) rotateZ(1deg);
  }

  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 56px rgba(7, 30, 42, 0.28);
  }

  .feature-card:nth-child(odd):hover {
    transform: translateY(-8px) rotateZ(-1.2deg);
  }

  .feature-card:nth-child(even):hover {
    transform: translateY(-8px) rotateZ(1.2deg);
  }

  .stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px rgba(7, 30, 42, 0.24);
  }

  .stat-card:nth-child(3n + 1):hover {
    transform: translateY(-6px) perspective(900px) rotateX(2deg) rotateY(-2deg);
  }

  .stat-card:nth-child(3n + 2):hover {
    transform: translateY(-6px) perspective(900px) rotateX(-2deg) rotateY(2deg);
  }

  .stat-card:nth-child(3n):hover {
    transform: translateY(-6px) rotateZ(-0.8deg);
  }
}

.timeline {
  display: grid;
  gap: 20px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(7, 30, 42, 0.18);
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--brand);
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 20px rgba(7, 30, 42, 0.2);
  position: relative;
  top: 6px;
  justify-self: center;
}

.timeline-content h4 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 18px;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cta-panel {
  background: rgba(7, 30, 42, 0.08);
  border-radius: 28px;
  padding: 32px;
  display: grid;
  gap: 12px;
  text-align: center;
  color: var(--text);
  border: 1px solid rgba(7, 30, 42, 0.1);
}

.cta-panel h3 {
  margin: 0;
  font-size: 24px;
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
}

.cta-panel .btn-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  border: none;
  background: #143547;
  color: #f6fbff;
  font-weight: 600;
  box-shadow: 0 18px 30px rgba(20, 53, 71, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: #0f2b3a;
  color: #ffffff;
  box-shadow: 0 24px 38px rgba(15, 43, 58, 0.3);
}

.link-inline {
  color: var(--brand);
  font-weight: 600;
}

@media (max-width: 960px) {
  .page-hero {
    padding: 120px 0 70px;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .page-hero .page-container {
    text-align: left;
  }

  .page-hero h1 {
    font-size: clamp(38px, 8vw, 58px);
  }

  .page-hero .lead {
    margin-left: 0;
  }

  .media-strip {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .page-hero {
    padding: 110px 0 56px;
  }

  .media-strip img {
    width: 160px;
    height: 112px;
  }

  .page-section {
    padding: 64px 0;
  }

  .feature-card {
    padding: 22px;
  }

  .timeline {
    gap: 16px;
  }

  .timeline::before {
    left: 16px;
  }

  .timeline-item {
    grid-template-columns: 46px 1fr;
  }

  .chart-frame {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .media-strip {
    gap: 12px;
  }

  .media-strip img {
    width: 140px;
    height: 100px;
  }

  .back-link {
    padding: 8px 16px;
  }

  .feature-card h3 {
    font-size: 20px;
  }
}
