:root {
  --bg: #07111f;
  --bg-alt: #0d1d31;
  --panel: rgba(8, 19, 36, 0.78);
  --panel-strong: rgba(11, 30, 56, 0.92);
  --line: rgba(138, 227, 255, 0.18);
  --text: #eef7ff;
  --muted: #b5c9db;
  --accent: #2de2a6;
  --accent-strong: #ff7a18;
  --glow: #6fdcff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Barlow", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(45, 226, 166, 0.24), transparent 32%),
    radial-gradient(circle at top right, rgba(111, 220, 255, 0.18), transparent 25%),
    linear-gradient(160deg, #030813 0%, #081321 45%, #0d1d31 100%);
  color: var(--text);
  padding: 20px 0 48px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 95%);
}

.page-shell {
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
}

.hero,
.section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero {
  padding: 20px;
}

.hero::after,
.section::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.18), transparent 70%);
  pointer-events: none;
}

.topbar,
.hero-grid,
.section-heading,
.about-grid,
.split-heading {
  display: grid;
  gap: 16px;
}

.topbar {
  grid-template-columns: 1fr;
  align-items: stretch;
  margin-bottom: 30px;
}

.topbar-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
}

.brand-block,
.hero-card-metric,
.section-heading,
.about-panel,
.link-card,
.feature-list,
.video-frame-wrap {
  position: relative;
  z-index: 1;
}

.brand-kicker,
.section-tag,
.eyebrow,
.panel-label,
.hero-card-label,
.platform-label {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--accent);
}

.brand-block {
  display: grid;
  gap: 4px;
}

.brand-logo-banner {
  width: 100%;
  max-height: 104px;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36);
  margin-bottom: 8px;
}

.brand-name,
h1,
h2,
.link-card strong {
  font-family: "Audiowide", cursive;
}

.brand-name {
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #f8fdff;
  background: linear-gradient(135deg, #f8fdff 0%, #8fe7ff 45%, #2de2a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 28px rgba(111, 220, 255, 0.35), 0 0 50px rgba(45, 226, 166, 0.22);
}

.topbar-link {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.hero-grid {
  grid-template-columns: 1fr;
  align-items: start;
}

h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1;
  max-width: 12ch;
  color: #ffd4a8;
  text-shadow: 0 0 18px rgba(255, 122, 24, 0.18);
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1;
}

.hero-text,
.feature-list,
.link-card p,
.hero-card-metric span,
.hero-card-metric strong {
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-copy {
  padding: 4px 0;
}

.hero-text {
  max-width: 58ch;
  color: var(--muted);
  margin: 14px 0 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-gif-banner {
  margin: 0;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  width: 100%;
}

.hero-gif-banner img {
  display: block;
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  object-position: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.topbar-link:hover,
.topbar-link:focus-visible,
.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #80fff0 100%);
  color: #031019;
}

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

.about-panel,
.link-card,
.video-frame-wrap {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-strong);
}

.section {
  margin-top: 20px;
  padding: 24px;
}

.section-dark {
  background: linear-gradient(180deg, rgba(8, 18, 33, 0.92), rgba(6, 15, 28, 0.92));
}

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

.section-heading p {
  margin: 0 0 10px;
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-panel {
  padding: 20px;
}

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

.about-points li {
  color: var(--muted);
  border-left: 3px solid rgba(45, 226, 166, 0.45);
  padding-left: 12px;
}

.about-panel-accent {
  background:
    linear-gradient(145deg, rgba(45, 226, 166, 0.12), transparent 60%),
    rgba(11, 30, 56, 0.92);
}

.feature-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.link-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 18px;
  height: 100%;
  color: var(--text);
  text-decoration: none;
  background:
    linear-gradient(165deg, rgba(23, 52, 90, 0.32), rgba(9, 24, 44, 0.95) 60%),
    var(--panel-strong);
  border-color: rgba(111, 220, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card:visited,
.link-card:active {
  color: var(--text);
}

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(111, 220, 255, 0.7);
  background:
    linear-gradient(165deg, rgba(30, 66, 110, 0.42), rgba(11, 31, 58, 0.96) 60%),
    rgba(15, 39, 71, 0.94);
}

.link-card strong {
  font-size: 1.2rem;
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 0 16px rgba(111, 220, 255, 0.16);
}

.link-card p {
  margin: 0;
  color: #e8f2ff;
  text-decoration: none;
}

.link-card span:last-child {
  color: #ffd08f;
  font-weight: 700;
  text-decoration: none;
}

.link-card .platform-label {
  color: #7affd5;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.featured-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-strong);
  padding: 12px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.featured-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.featured-card strong {
  font-family: "Audiowide", cursive;
  font-size: 0.98rem;
}

.featured-card p {
  margin: 0;
  color: var(--muted);
}

.featured-card:hover,
.featured-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(111, 220, 255, 0.5);
  background: rgba(15, 39, 71, 0.94);
}

.split-heading {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.video-frame-wrap {
  padding: 12px;
}

#youtube-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 18px;
  background: #000;
}

.site-footer {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 24, 45, 0.8);
  display: grid;
  gap: 8px;
  text-align: center;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text);
}

.footer-stats {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(138, 227, 255, 0.2);
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text);
  font-size: 0.88rem;
}

.footer-stats strong {
  font-family: "Audiowide", cursive;
  color: #dff8ff;
}

.hero,
.section,
.about-panel,
.link-card,
.button,
.topbar-link,
.featured-card,
.site-footer {
  animation: rise-in 700ms ease both;
}

.section:nth-of-type(1) { animation-delay: 180ms; }
.section:nth-of-type(2) { animation-delay: 240ms; }
.youtube-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}
.section:nth-of-type(3) { animation-delay: 300ms; }

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
.youtube-fallback-message {
  margin: 12px 4px 0;
  color: var(--muted);
  font-size: 0.92rem;
}
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .link-grid,
  .featured-grid,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-heading {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
    padding-bottom: 28px;
  }

  .hero,
  .section {
    border-radius: 22px;
    padding: 18px;
  }

  .topbar {
    justify-items: start;
    margin-bottom: 22px;
  }

  .topbar-meta {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .brand-logo-banner {
    max-height: 78px;
  }

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