:root {
  --bg: #040616;
  --bg-alt: #060821;
  --bg-elevated: #0a0f2b;
  --border-subtle: #1b2242;

  --accent-1: #45ffce;   /* neon teal */
  --accent-2: #ff65d8;   /* neon magenta */
  --accent-soft: rgba(69, 255, 206, 0.18);

  --text-main: #f5f7ff;
  --text-muted: #a4aad9;
  --text-soft: #7e84b5;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.6);

  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", Menlo, Monaco, "SF Mono", monospace;

  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font-main);
  color: var(--text-main);
  background:
    radial-gradient(circle at 0% 0%, rgba(69, 255, 206, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 101, 216, 0.14), transparent 55%),
    linear-gradient(145deg, #020312, #05071c 55%, #020312);
}

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

/* LAYOUT UTILS */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section--alt {
  background: radial-gradient(circle at top left, rgba(69, 255, 206, 0.06), transparent 60%),
    radial-gradient(circle at bottom right, rgba(255, 101, 216, 0.05), transparent 55%),
    linear-gradient(145deg, #05071a, #020312);
}

.section__header {
  margin-bottom: 2.5rem;
}

.section__header h2 {
  font-size: 1.9rem;
  margin: 0 0 0.4rem;
}

.section__header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 30rem;
}

/* GRID */

.grid {
  display: grid;
  gap: 1.7rem;
}

.grid--episodes {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--materials {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.section__split {
  display: grid;
  gap: 2rem;
}

.section__column--highlight {
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, rgba(10, 15, 43, 0.96), #05071c);
  box-shadow: var(--shadow-soft);
}

/* NAVBAR */

.hero {
  padding-top: 1.2rem;
  padding-bottom: 2.5rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
  gap: 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;      /* show the whole circle logo */
  border-radius: 50%;       /* make it perfectly round */
  background: transparent;  /* no extra gradient behind the PNG */
  box-shadow: 0 0 0 1px rgba(69, 255, 206, 0.35); /* subtle outline to match the style */
}

.nav__title {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  transition: width 0.16s ease-out;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a:hover {
  color: var(--text-main);
}

/* HERO */

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  padding-top: 1.5rem;
}

.hero__text {
  max-width: 34rem;
}

.hero__tagline {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-1);
}

.hero__title {
  margin: 0 0 0.7rem;
  font-size: 2.4rem;
  line-height: 1.15;
}

.hero__subtitle {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
}

.hero__highlight {
  background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.hero__note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background 0.16s ease-out, border-color 0.16s ease-out;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(125deg, var(--accent-1), var(--accent-2));
  color: #05071c;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.7);
}

.btn--ghost {
  background: rgba(4, 6, 22, 0.8);
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn--ghost:hover {
  background: rgba(10, 15, 43, 0.95);
  border-color: var(--accent-soft);
}

.btn--full {
  width: 100%;
}

/* HERO CARD */

.hero__card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, rgba(10, 15, 43, 0.96), #040616);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.2rem 1.4rem;
  position: relative;
  overflow: hidden;
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 210deg,
    rgba(69, 255, 206, 0.14),
    rgba(255, 101, 216, 0.24),
    rgba(69, 255, 206, 0.02),
    rgba(69, 255, 206, 0.18)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.hero-card__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-soft);
}

.hero-card__pill {
  font-size: 0.7rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(69, 255, 206, 0.5);
  background: rgba(4, 6, 22, 0.9);
  color: var(--accent-1);
}

.hero-card__video {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(12, 17, 56, 0.9);
  background: #020312;
  margin-bottom: 0.8rem;
  aspect-ratio: 16 / 9;
}

.hero-card__video iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-card__title {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.hero-card__text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* CARDS */

.card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.3rem 1.2rem;
  background: radial-gradient(circle at 0% 0%, rgba(69, 255, 206, 0.08), transparent 55%),
    linear-gradient(135deg, #060821, #05071a);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.card--material {
  background: radial-gradient(circle at 100% 0%, rgba(255, 101, 216, 0.08), transparent 55%),
    linear-gradient(135deg, #060821, #05071a);
}

.card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.7rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-1);
  border: 1px solid rgba(69, 255, 206, 0.5);
  background: rgba(4, 6, 22, 0.9);
  margin-bottom: 0.6rem;
}

.card__title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.card__body {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card__list {
  margin: 0 0 0.9rem;
  padding-left: 1rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.card__list li + li {
  margin-top: 0.2rem;
}

.card__footer {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.card__footer--split {
  justify-content: space-between;
}

.card__link {
  color: var(--accent-1);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

.card__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  transition: width 0.16s ease-out;
}

.card__link:hover::after {
  width: 100%;
}

.card__link--muted {
  color: var(--text-soft);
}

.card--placeholder {
  opacity: 0.85;
}

.card--placeholder .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  background: rgba(69, 255, 206, 0.12);
  color: var(--accent-1);
}

/* LISTS */

.list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.list li + li {
  margin-top: 0.3rem;
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(19, 24, 56, 0.95);
  padding: 1.4rem 0 1.6rem;
  background: #020312;
  margin-top: auto;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
}

.footer__text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__text--muted {
  color: var(--text-soft);
}

/* RESPONSIVE */

@media (max-width: 840px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__card {
    order: -1;
  }

  .nav__links {
    display: none;
  }

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

@media (max-width: 540px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
