/* ----------------------------------------------------------------
   SpaceChris — lander
   Deep-space palette pulled from the nebula banner:
   void black, ember red/orange, electric blue, cyan starlight.
------------------------------------------------------------------- */
:root {
  --void: #05060f;
  --void-2: #0a0c1c;
  --ink: #eef1ff;
  --muted: #aab1d6;
  --ember: #ff5a4d;
  --ember-glow: #ff7a47;
  --blue: #5ea2ff;
  --cyan: #7df9ff;
  --line: rgba(140, 160, 230, 0.16);
  --card: rgba(18, 22, 44, 0.55);
  --card-hover: rgba(28, 34, 66, 0.7);
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.8);
  --radius: 18px;
  --maxw: 920px;

  --twitch: #9146ff;
  --youtube: #ff3d3d;
  --tiktok: #25f4ee;
  --instagram: #e1306c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(94, 162, 255, 0.12), transparent 60%),
    radial-gradient(900px 600px at 10% 0%, rgba(255, 90, 77, 0.12), transparent 55%),
    linear-gradient(180deg, var(--void-2), var(--void) 60%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.shell {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 40px);
}

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: clamp(420px, 62vh, 560px);
  display: flex;
  align-items: flex-end;
}

.hero__media { position: absolute; inset: 0; z-index: 0; }

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.1) contrast(1.05);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 15, 0.1) 0%, rgba(5, 6, 15, 0.55) 55%, rgba(5, 6, 15, 0.96) 100%),
    radial-gradient(700px 300px at 20% 110%, rgba(255, 90, 77, 0.28), transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 46px);
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding: 6px 13px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(125, 249, 255, 0.08);
  border: 1px solid rgba(125, 249, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(255, 90, 77, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 90, 77, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 90, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 77, 0); }
}

.title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  line-height: 0.98;
  margin: 0;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #fff 10%, var(--cyan) 45%, var(--blue) 70%, var(--ember-glow) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 4px 40px rgba(94, 162, 255, 0.25);
}

.tagline {
  margin: 14px 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: var(--ink);
  max-width: 36ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 1px solid transparent;
}

.btn__icon { width: 20px; height: 20px; }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #9146ff, #6f3bd6);
  box-shadow: 0 12px 30px -10px rgba(145, 70, 255, 0.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(145, 70, 255, 0.85); }

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* ------------------------------ About ----------------------------- */
.about {
  margin: clamp(28px, 5vw, 48px) auto;
  max-width: 60ch;
  text-align: center;
}
.about p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--muted);
}

/* ------------------------------ Follow ---------------------------- */
.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  text-align: center;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 120px at 0% 0%, var(--accent, transparent), transparent 70%);
  opacity: 0.22;
  transition: opacity 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  background: var(--card-hover);
  border-color: color-mix(in srgb, var(--accent, var(--blue)) 55%, transparent);
}
.card:hover::before { opacity: 0.4; }

.card--twitch    { --accent: var(--twitch); }
.card--youtube   { --accent: var(--youtube); }
.card--tiktok    { --accent: var(--tiktok); }
.card--instagram { --accent: var(--instagram); }

.card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 13px;
  color: #fff;
  background: color-mix(in srgb, var(--accent) 24%, rgba(255,255,255,0.04));
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.card__icon svg { width: 26px; height: 26px; color: var(--accent); }
.card--tiktok .card__icon svg { color: #fff; }

.card__text { position: relative; display: flex; flex-direction: column; gap: 2px; }
.card__name { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.08rem; }
.card__handle { font-size: 0.88rem; color: var(--muted); }

.card__cta {
  position: relative;
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--muted);
  transition: transform 0.18s ease, color 0.18s ease;
}
.card:hover .card__cta { transform: translateX(4px); color: var(--ink); }

/* ------------------------------ Footer ---------------------------- */
.footer {
  margin-top: clamp(34px, 6vw, 60px);
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
}
.footer a { color: var(--cyan); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ------------------------------ Responsive ------------------------ */
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  html { scroll-behavior: auto; }
}
