* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #060912;
  --panel: rgba(10, 18, 34, 0.78);
  --panel-strong: rgba(15, 28, 52, 0.92);
  --text: #e6f7ff;
  --muted: #9ab5c5;
  --cyan: #00e5ff;
  --green: #39ff88;
  --pink: #ff3df2;
  --violet: #8f7cff;
  --border: rgba(0, 229, 255, 0.28);
  --shadow: 0 0 32px rgba(0, 229, 255, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  padding-bottom: 92px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 229, 255, 0.2), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(255, 61, 242, 0.14), transparent 26%),
    radial-gradient(circle at 60% 88%, rgba(57, 255, 136, 0.12), transparent 30%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 82%, transparent);
  animation: gridMove 16s linear infinite;
}

body::after {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 5px
  );
  mix-blend-mode: screen;
  opacity: 0.35;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(4, 8, 18, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.navbar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  color: var(--text);
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.75);
}

.logo::before {
  content: "< ";
  color: var(--green);
}

.logo::after {
  content: " />";
  color: var(--pink);
}

.burger-button {
  display: none;
  border: 1px solid rgba(0, 229, 255, 0.55);
  background: rgba(0, 229, 255, 0.1);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.18);
}

.burger-button:hover,
.burger-button[aria-expanded="true"] {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 24px rgba(57, 255, 136, 0.22);
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 10px;
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.22);
  transform: translateY(-2px);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 20px 72px;
}

.hero,
.section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.09), transparent 34%),
    linear-gradient(315deg, rgba(255, 61, 242, 0.08), transparent 32%),
    var(--panel);
  box-shadow: var(--shadow), inset 0 0 28px rgba(255, 255, 255, 0.03);
}

.hero::before,
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.12), transparent);
  transform: translateX(-120%);
  animation: lightSweep 7s ease-in-out infinite;
  pointer-events: none;
}

.hero::after,
.section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--pink);
  opacity: 0.65;
  pointer-events: none;
}

.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
  margin-bottom: 26px;
  scroll-margin-top: 90px;
}

.tag {
  width: fit-content;
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.tag::before {
  content: ">";
  margin-right: 8px;
  color: var(--cyan);
}

.student-name {
  display: inline-block;
  width: fit-content;
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 999px;
  padding: 7px 12px;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 900;
  margin-bottom: 18px;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.18);
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.12;
}

h1 {
  max-width: 860px;
  font-size: clamp(2.4rem, 8vw, 5.8rem);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.glitch-title {
  position: relative;
  text-shadow:
    0 0 18px rgba(0, 229, 255, 0.65),
    0 0 42px rgba(255, 61, 242, 0.28);
  animation: titlePulse 3.6s ease-in-out infinite;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.65;
}

.glitch-title::before {
  color: var(--cyan);
  transform: translate(2px, -1px);
  clip-path: inset(0 0 58% 0);
  animation: glitchTop 2.8s infinite steps(2, end);
}

.glitch-title::after {
  color: var(--pink);
  transform: translate(-2px, 1px);
  clip-path: inset(46% 0 0 0);
  animation: glitchBottom 3.1s infinite steps(2, end);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
}

.lead,
.section-title p,
.card p,
.card li,
.day-card p {
  color: var(--muted);
}

.lead {
  font-size: 1.14rem;
  max-width: 780px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  position: relative;
  display: inline-block;
  border: 1px solid rgba(0, 229, 255, 0.7);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.22), rgba(143, 124, 255, 0.24));
  color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button.secondary {
  background: rgba(255, 61, 242, 0.12);
  border-color: rgba(255, 61, 242, 0.55);
}

.button:hover {
  border-color: var(--green);
  box-shadow: 0 0 28px rgba(57, 255, 136, 0.3);
  transform: translateY(-3px);
}

.note {
  display: none;
  margin-top: 20px;
  background: rgba(57, 255, 136, 0.08);
  border: 1px solid rgba(57, 255, 136, 0.38);
  color: #ccffe3;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(57, 255, 136, 0.12);
}

.note.show {
  display: block;
  animation: noteIn 260ms ease-out both;
}

.section {
  padding: 36px;
  margin-bottom: 26px;
  scroll-margin-top: 90px;
}

.section-title {
  max-width: 800px;
  margin-bottom: 26px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.card,
.day-card {
  background: var(--panel-strong);
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 8px;
  box-shadow: inset 0 0 22px rgba(0, 229, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card {
  padding: 20px;
  border-left: 4px solid var(--cyan);
}

.card:hover,
.day-card:hover {
  border-color: rgba(57, 255, 136, 0.55);
  box-shadow: 0 0 26px rgba(57, 255, 136, 0.12), inset 0 0 28px rgba(0, 229, 255, 0.05);
  transform: translateY(-4px);
}

.card.wide {
  grid-column: 1 / -1;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.video-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 26px;
}

.video-recap {
  border: 1px solid rgba(57, 255, 136, 0.24);
  border-radius: 8px;
  background: rgba(3, 8, 18, 0.48);
  padding: 18px;
  box-shadow: inset 0 0 22px rgba(57, 255, 136, 0.05);
}

.video-recap p {
  color: var(--muted);
}

.video-card {
  background: var(--panel-strong);
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-left: 4px solid var(--pink);
  border-radius: 8px;
  padding: 18px;
  box-shadow: inset 0 0 22px rgba(0, 229, 255, 0.04);
}

.video-card.wide {
  grid-column: 1 / -1;
}

.video-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  align-items: center;
}

.video-summary {
  color: var(--muted);
  border: 1px solid rgba(57, 255, 136, 0.24);
  border-radius: 8px;
  background: rgba(3, 8, 18, 0.48);
  padding: 14px;
}

.video-summary h4 {
  color: var(--green);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.video-summary p {
  color: var(--muted);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 8px;
  background: rgba(3, 8, 18, 0.7);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.12);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

ul {
  padding-left: 20px;
}

li::marker {
  color: var(--green);
}

.word-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.word-definitions div {
  background: rgba(3, 8, 18, 0.62);
  border: 1px solid rgba(143, 124, 255, 0.28);
  border-radius: 8px;
  padding: 10px;
}

.word-definitions dt {
  color: var(--cyan);
  font-family: Consolas, "Courier New", monospace;
  font-weight: 900;
  margin-bottom: 2px;
}

.word-definitions dd {
  color: var(--muted);
  font-size: 0.92rem;
}

.days-list {
  display: grid;
  gap: 16px;
}

.day-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
}

.day-number {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(255, 61, 242, 0.2));
  color: var(--text);
  border: 1px solid rgba(0, 229, 255, 0.45);
  border-radius: 999px;
  padding: 8px 12px;
  text-align: center;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 900;
}

.footer {
  text-align: center;
  color: var(--muted);
  padding: 0 20px 34px;
}

.sticky-contact-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  background: rgba(4, 8, 18, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.42);
}

.contact-button {
  min-height: 78px;
  padding: 10px 8px 12px;
  border: 0;
  border-right: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 0;
  color: var(--text);
  background: linear-gradient(180deg, rgba(15, 28, 52, 0.98), rgba(10, 18, 34, 0.98));
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  font-size: 0.74rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: filter 180ms ease, transform 180ms ease;
}

.contact-button:last-child {
  border-right: 0;
}

.contact-icon {
  color: var(--cyan);
  font-size: 1.45rem;
  line-height: 1;
}

.contact-label {
  color: var(--text);
}

.contact-detail {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 700;
}

.contact-button.primary {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.26), rgba(143, 124, 255, 0.28));
  color: var(--text);
}

.contact-button.primary .contact-icon,
.contact-button.primary .contact-label,
.contact-button.primary .contact-detail {
  color: var(--green);
}

.contact-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease, transform 650ms ease;
}

@keyframes gridMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 42px 42px;
  }
}

@keyframes lightSweep {
  0%,
  58% {
    transform: translateX(-120%);
  }

  82%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes titlePulse {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.24);
  }
}

@keyframes glitchTop {
  0%,
  92%,
  100% {
    transform: translate(2px, -1px);
  }

  94% {
    transform: translate(9px, -2px);
  }

  96% {
    transform: translate(-7px, 1px);
  }
}

@keyframes glitchBottom {
  0%,
  90%,
  100% {
    transform: translate(-2px, 1px);
  }

  93% {
    transform: translate(-8px, 2px);
  }

  97% {
    transform: translate(7px, -1px);
  }
}

@keyframes noteIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 260px;
  }

  main {
    padding-bottom: 280px;
  }

  .footer {
    padding-bottom: 230px;
  }

  .navbar {
    align-items: center;
    flex-wrap: wrap;
  }

  .burger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 260ms ease, opacity 200ms ease, padding-top 200ms ease;
  }

  .nav-links.open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    padding-top: 10px;
  }

  .nav-links a {
    width: 100%;
    border-color: rgba(0, 229, 255, 0.22);
    background: rgba(0, 229, 255, 0.07);
  }

  .hero,
  .section {
    padding: 24px;
  }

  .hero {
    min-height: auto;
  }

  .cards,
  .videos-grid,
  .word-definitions {
    grid-template-columns: 1fr;
  }

  .video-content,
  .video-header {
    grid-template-columns: 1fr;
  }

  .day-card {
    grid-template-columns: 1fr;
  }

  .day-number {
    width: fit-content;
  }

  .sticky-contact-bar {
    bottom: 0;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-button {
    min-height: 74px;
    padding: 8px 5px 10px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .contact-icon {
    font-size: 1.25rem;
  }

  .contact-detail {
    font-size: 0.54rem;
  }
}
