/* ------------------------------------------------------------
   ChartTube Landing Page — using variables.css Global System
------------------------------------------------------------- */

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--rv-bg);
  color: var(--rv-text-main);
}

/* Outer shell (mobile-first) */
.landing-shell {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-24) var(--space-20) var(--space-32);
}

/* ------------------------------------------------------------
   HERO
------------------------------------------------------------- */

.hero {
  text-align: center;
  padding-top: var(--space-20);
  padding-bottom: var(--space-24);
}

.hero-logo {
  width: 160px;
  display: block;
  margin: 0 auto var(--space-12);
  border-radius: var(--radius-md);
}

.site-title {
  font-size: var(--fs-xxl);
  font-weight: var(--fw-bold);
  color: var(--rv-yellow);
  margin: 0;
}

.site-tagline {
  margin-top: var(--space-6);
  font-size: var(--fs-md);
  color: var(--rv-text-muted);
}

/* ------------------------------------------------------------
   NAVIGATION CARDS
------------------------------------------------------------- */

.nav-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  margin-top: var(--space-24);
}

.nav-card {
  background: var(--rv-bg-elevated);
  padding: var(--space-20);
  border-radius: var(--radius-lg);
  text-decoration: none;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--rv-border-soft);
  color: var(--rv-text-main);
  transition: transform 0.15s ease, background 0.15s ease;
}

.nav-card:hover {
  transform: translateY(-3px);
  background: var(--rv-bg-elevated-soft);
}

.nav-card-label {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--rv-yellow);
  margin-bottom: var(--space-4);
}

.nav-card-desc {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--rv-text-muted);
}

/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */

.landing-footer {
  text-align: center;
  margin-top: var(--space-32);
  font-size: var(--fs-sm);
  color: var(--rv-text-muted);
}
/* =========================================================
   HERO: Glow, Animated Underline, Yellow Tagline, Fade-In
   ========================================================= */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  flex-wrap: wrap;
  text-align: center;
  position: relative;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease-out forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* LOGO with glowing retro outline */
.logo-wrap {
  position: relative;
  display: inline-block;
}
.glow::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 20px;
  background: radial-gradient(circle, #ffd94455, transparent 60%);
  filter: blur(18px);
  z-index: -1;
}

.hero-logo {
  height: 70px;
  width: auto;
  display: block;
}

/* TAGLINE — MTV Yellow + underline animation */
.hero-tagline {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--rv-yellow);
  margin: 0;
  position: relative;
  white-space: nowrap;
}

/* Underline animation */
.underline-anim::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 3px;
  width: 0%;
  background: var(--rv-yellow);
  border-radius: 2px;
  animation: underlineGrow 1.4s ease-out 0.4s forwards;
}

@keyframes underlineGrow {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Responsive: stack on small screens */
@media (max-width: 420px) {
  .hero {
    flex-direction: column;
  }
}

