@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --bg: #05081c;
  --ink: #f6f6ff;
  --muted: #a8b1ce;
  --line: rgba(152, 185, 255, 0.22);
  --aqua: #8dfff3;
  --blue: #4b78ff;
  --violet: #bc8aff;
  --gold: #ffe379;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 5%, #17286c 0, transparent 31%),
    radial-gradient(circle at 0 30%, #0d4c5d66 0, transparent 30%), var(--bg);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.55;
}
.stars {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(#e5f7ff 1px, transparent 1.5px);
  background-size: 63px 63px;
}
.topbar,
main,
footer {
  position: relative;
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}
.topbar {
  height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  width: 300px;
  top: 35px;
  position: relative;
}

.scene-logo {
  width: 100%;
}

.topbar nav {
  display: flex;
  gap: 27px;
}
.topbar nav a {
  color: #c9d0e7;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.topbar nav a:hover {
  color: var(--aqua);
}
.eyebrow {
  margin: 0 0 13px;
  color: var(--aqua);
  font:
    500 0.66rem "DM Mono",
    monospace;
  letter-spacing: 0.14em;
}
.hero {
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 630px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 25px 100px #0008;
}
.hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, #a6d5ff11 50%, transparent 50.2%),
    linear-gradient(#a6d5ff0b 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 45px;
  mask-image: linear-gradient(to bottom, #0006, transparent 85%);
}
.hero-copy {
  align-self: center;
  padding: 75px 0 75px clamp(30px, 7vw, 86px);
}
.hero h1,
.lesson h2,
.game-callout h2 {
  margin: 0;
  font-size: clamp(3.3rem, 6.5vw, 6.3rem);
  letter-spacing: -0.09em;
  line-height: 0.89;
}
.hero h1 em,
.lesson h2 em,
.section-heading em {
  font-style: normal;
  color: var(--aqua);
}
.intro {
  max-width: 490px;
  margin: 29px 0;
  color: #c7cde4;
  font-size: 1.04rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.cta {
  display: inline-block;
  border-radius: 99px;
  padding: 14px 20px;
  background: var(--aqua);
  color: #041228;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 0 25px #62fff344;
}
.cta span {
  padding-left: 11px;
}
.ghost-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
}
.ghost-link:hover {
  color: var(--aqua);
}
.mission-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
.planet {
  position: absolute;
  width: 410px;
  height: 410px;
  right: -50px;
  top: 70px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 28%,
    #a4ffff 0 2%,
    #529ee8 12%,
    #233f9d 39%,
    #101c5e 67%,
    #071137 72%
  );
  box-shadow:
    0 0 0 20px #73e9ff08,
    0 0 100px #576cf799;
}
.planet:after {
  content: "";
  position: absolute;
  inset: 45% -30% auto -30%;
  height: 50px;
  border: 1px solid #9bdcff55;
  border-radius: 50%;
  transform: rotate(-20deg);
}
.orbit {
  position: absolute;
  border: 1px solid #86f1ff42;
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one {
  width: 510px;
  height: 240px;
  top: 125px;
  right: -62px;
  transform: rotate(-23deg);
}
.orbit-two {
  width: 325px;
  height: 150px;
  top: 205px;
  right: 55px;
  transform: rotate(38deg);
  border-color: #c9a5ff55;
}
.scan-line {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 53%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b0fff8, transparent);
  box-shadow: 0 0 14px var(--aqua);
  opacity: 0.7;
}
.hero-readout {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 29px;
  display: grid;
  gap: 3px;
  padding: 10px 13px;
  border: 1px solid #a5edff4d;
  background: #06112ab8;
  backdrop-filter: blur(6px);
  font:
    0.58rem "DM Mono",
    monospace;
  letter-spacing: 0.1em;
}
.hero-readout span {
  color: var(--aqua);
}
.crew {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  border: 2px solid #a8fff455;
  border-radius: 50%;
  background: #0e4c70;
  box-shadow: 0 0 25px #3cf9e944;
}
.crew img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.crew-sima {
  width: 138px;
  height: 138px;
  top: 119px;
  left: 17%;
}
.crew-ana {
  width: 103px;
  height: 103px;
  top: 102px;
  right: 8%;
}
.crew-mila {
  width: 112px;
  height: 112px;
  top: 278px;
  left: 10%;
}
.crew-kaja {
  width: 93px;
  height: 93px;
  top: 320px;
  right: 29%;
}
.crew-paja {
  width: 106px;
  height: 106px;
  bottom: 38px;
  right: 3%;
}
.library,
.lesson {
  margin-top: 105px;
}
.section-heading {
  max-width: 720px;
}
.section-heading h2,
.print-info h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.4vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}
.subjects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
  margin-top: 36px;
}
.subject {
  position: relative;
  display: flex;
  align-items: center;
  gap: 19px;
  min-height: 178px;
  padding: 31px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, #0c2d50, #0b1434 67%);
  transition: 0.22s;
}
.subject:before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  right: -90px;
  bottom: -145px;
  background: #42f4ee20;
  filter: blur(10px);
}
.subject.geography {
  background: linear-gradient(135deg, #242064, #0a1539 67%);
}
.subject.geography:before {
  background: #ad78ff24;
}
.subject:hover {
  transform: translateY(-6px);
  border-color: var(--aqua);
  box-shadow: 0 14px 35px #0006;
}
.subject-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border: 1px solid #7ffff16b;
  border-radius: 17px;
  background: #0b6170;
  color: var(--aqua);
  font-size: 2rem;
}
.geography .subject-icon {
  background: #42277d;
  color: #dec6ff;
  border-color: #d4b7ff6b;
}
.subject small,
.challenge small {
  display: block;
  color: #b7c8e7;
  font:
    500 0.63rem "DM Mono",
    monospace;
  letter-spacing: 0.13em;
}
.subject strong {
  display: block;
  font-size: 1.65rem;
  letter-spacing: -0.06em;
}
.subject em {
  display: block;
  color: #c3cbe2;
  font-size: 0.85rem;
  font-style: normal;
}
.subject b {
  position: relative;
  z-index: 1;
  margin-left: auto;
  color: var(--aqua);
  font-size: 1.35rem;
}
.lesson {
  padding: clamp(25px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, #0a2850 0%, #060b23 65%);
  box-shadow: 0 25px 55px #0004;
}
.geography-lesson {
  border-color: #7158b3;
  background: linear-gradient(145deg, #211c60, #070b26 68%);
}
.lesson-label {
  color: #c3d5ef;
  font:
    500 0.65rem "DM Mono",
    monospace;
  letter-spacing: 0.13em;
}
.signal {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  background: var(--aqua);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--aqua);
}
.geography-lesson .signal {
  background: #c29dff;
  box-shadow: 0 0 14px #c29dff;
}
.lesson-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 26px 0;
}
.lesson-title h2 {
  font-size: clamp(2.9rem, 6vw, 5.4rem);
}
.print-button {
  border: 1px solid #9ddaff77;
  border-radius: 99px;
  background: #0c183099;
  color: var(--ink);
  padding: 11px 15px;
  white-space: nowrap;
  font:
    600 0.73rem Manrope,
    sans-serif;
}
.print-button:hover {
  border-color: var(--aqua);
  color: var(--aqua);
}
.video-wrap {
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid #68c9e277;
  border-radius: 16px;
  background: #020614;
  box-shadow: 0 0 30px #53eaf41a;
}
.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.lesson-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  padding: 40px 2% 25px;
}
.lesson-content h3 {
  margin: 0 0 12px;
  color: var(--aqua);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}
.lesson-content p {
  color: #d2d8eb;
}
.facts {
  padding: 23px;
  border-left: 2px solid var(--aqua);
  background: #17627b21;
}
.facts ul {
  margin: 0;
  padding-left: 19px;
}
.facts li + li {
  margin-top: 10px;
}
.facts b {
  color: #fff;
}
.challenge {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 24px;
  border-top: 1px solid var(--line);
  background: #092e4b70;
}
.challenge > span {
  font-size: 2rem;
  color: var(--gold);
}
.challenge strong {
  display: block;
  font-size: 1.1rem;
}
.challenge p {
  margin: 3px 0;
  color: #b8c8e1;
  font-size: 0.9rem;
}
.challenge a {
  margin-left: auto;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}
.game-callout {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 105px;
  padding: clamp(35px, 6vw, 70px);
  border: 1px solid #946bd7;
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 50%, #9c4de480 0, transparent 25%),
    linear-gradient(115deg, #0e3c61, #211166 70%);
  box-shadow: 0 25px 60px #0006;
}
.game-callout:after {
  content: "✦";
  position: absolute;
  right: 19%;
  bottom: -65px;
  color: #b9eaff1f;
  font-size: 17rem;
}
.game-callout > div,
.game-callout > a {
  position: relative;
  z-index: 1;
}
.game-callout h2 {
  font-size: clamp(3rem, 6vw, 5.3rem);
}
.game-callout p:not(.eyebrow) {
  color: #d8d0ef;
}
.print-info {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  margin: 72px 0;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.print-info > span {
  font-size: 2.5rem;
  color: var(--aqua);
}
.print-info p {
  max-width: 700px;
  color: var(--muted);
}
footer {
  padding: 0 0 34px;
  color: #aab5d1;
  font-size: 0.75rem;
}
footer span {
  color: var(--aqua);
  padding: 0 8px;
}
@media (max-width: 760px) {
  .topbar {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .logo {
    top: 0;
  }
  .topbar nav {
    gap: 13px;
  }
  .topbar nav a {
    font-size: 0.7rem;
  }
  .hero {
    display: block;
    min-height: 690px;
  }
  .hero-copy {
    position: relative;
    z-index: 6;
    padding: 58px 26px 0;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .mission-visual {
    height: 360px;
    margin-top: 4px;
  }
  .planet {
    width: 305px;
    height: 305px;
    top: 10px;
    right: -28px;
  }
  .crew-sima {
    width: 111px;
    height: 111px;
    top: 41px;
    left: 15%;
  }
  .crew-ana {
    width: 83px;
    height: 83px;
    top: 33px;
    right: 7%;
  }
  .crew-mila {
    width: 91px;
    height: 91px;
    top: 174px;
    left: 5%;
  }
  .crew-kaja {
    width: 76px;
    height: 76px;
    top: 204px;
    right: 27%;
  }
  .crew-paja {
    width: 87px;
    height: 87px;
    bottom: 12px;
    right: 2%;
  }
  .hero-readout {
    right: 18px;
    bottom: 16px;
  }
  .library,
  .lesson {
    margin-top: 78px;
  }
  .subjects,
  .lesson-content {
    grid-template-columns: 1fr;
  }
  .subject {
    min-height: 145px;
  }
  .lesson-content {
    gap: 18px;
    padding: 28px 0 18px;
  }
  .lesson-title {
    align-items: start;
    flex-direction: column;
  }
  .challenge {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .challenge a {
    margin: 0;
  }
  .game-callout {
    align-items: flex-start;
    flex-direction: column;
  }
  .print-info {
    padding: 25px 0;
  }
}
@media print {
  .stars,
  .topbar,
  .hero,
  .library,
  .game-callout,
  .print-info,
  footer,
  .video-wrap,
  .print-button,
  .challenge {
    display: none !important;
  }
  body {
    background: #fff;
    color: #111;
    font-family: Georgia, serif;
  }
  .lesson {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    color: #111;
    box-shadow: none;
  }
  .lesson.print-active {
    display: block;
  }
  .lesson-content {
    display: block;
    padding: 12px 0;
  }
  .lesson-content h3,
  .lesson-label {
    color: #111;
  }
  .lesson-content p,
  .facts {
    color: #111;
    background: #fff;
  }
  .facts {
    border-color: #111;
  }
  .lesson-content li {
    margin-bottom: 7px;
  }
}

/* Dekoracija ne sme da prekriva interaktivne delove stranice. */
.hero {
  position: relative;
}
.hero::before {
  pointer-events: none;
}

/* Irregular background stars replace the earlier geometric dot grid. */
.stars {
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  background: none;
}
.star {
  position: absolute;
  border-radius: 50%;
  width: var(--size);
  height: var(--size);
  opacity: var(--opacity);
  background: #e7faff;
  box-shadow: 0 0 6px #b6f5ff88;
}
.star.star-blue {
  background: #a9cfff;
  box-shadow: 0 0 6px #6f9fff88;
}
.star.star-aqua {
  background: #a9fff5;
  box-shadow: 0 0 7px #67fff488;
}

/* Paja sits higher in the crew composition at each breakpoint. */
.crew-paja {
  bottom: 100px;
}
@media (max-width: 760px) {
  .crew-paja {
    bottom: 140px;
  }
}
