@import url("tokens.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--neutral-50);
  color: var(--neutral-950);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ───────── Single page ───────── */
.single {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 32px;
  overflow: hidden;
}
.single-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(83, 42, 216, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 30%, rgba(99, 85, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(192, 201, 253, 0.3), transparent 60%);
}
[data-theme="dark"] .single-bg {
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(83, 42, 216, 0.4), transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 30%, rgba(99, 85, 255, 0.3), transparent 60%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(19, 31, 96, 0.5), transparent 60%);
}
.single-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.single-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--neutral-950);
  text-wrap: balance;
}
.single-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.5;
  color: var(--neutral-600);
  margin: -16px 0 0;
}

/* ───────── Hero video ───────── */
.hero-video {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #131F60 0%, #532AD8 100%);
  box-shadow: var(--shadow-lg), 0 24px 60px rgba(83, 42, 216, 0.25);
  cursor: pointer;
  transition: transform var(--dur-med) var(--ease-out);
}
.hero-video:hover { transform: translateY(-2px); }
.hero-video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: white;
  overflow: hidden;
}
.hero-video-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(153, 164, 255, 0.4), transparent 60%),
    linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.4));
  pointer-events: none;
}
.hero-video-glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(153, 164, 255, 0.5), transparent 60%);
  filter: blur(40px);
}
.hero-video-mascot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: auto;
  opacity: 0.25;
  filter: brightness(1.5);
}
.hero-video-caption {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.hero-video-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
}
.hero-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--brand-500);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(99, 85, 255, 0.5);
  transition: transform var(--dur-fast) var(--ease-out);
}
.hero-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.hero-play.playing { background: rgba(255,255,255,0.18); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.3); box-shadow: none; }

/* ───────── Buttons ───────── */
.single-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}
.single-btn-primary {
  background: var(--brand-gradient);
  padding: 16px 28px;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(99, 85, 255, 0.3);
}
.single-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--neutral-950);
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-pill);
  padding: 16px 28px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.single-btn-secondary:hover { background: var(--neutral-100); }

@media (max-width: 720px) {
  .single-title { font-size: 40px; }
  .single-sub { font-size: 17px; }
  .single { padding: 48px 20px; }
}
