:root {
  --forest-950: #042513;
  --forest-900: #07391d;
  --forest-800: #0b5128;
  --forest-700: #0f6b34;
  --leaf-500: #24d33f;
  --leaf-400: #8ee05f;
  --earth-500: #b87532;
  --sun-400: #ffd84c;
  --sky-500: #2f9ed6;
  --cream-100: #fff8e9;
  --paper-200: #f3e5c5;
  --ink-900: #152018;
  --muted: #5f6e62;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(4, 31, 16, 0.22);
  --soft-shadow: 0 14px 35px rgba(4, 31, 16, 0.14);
  --radius: 8px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  background:
    linear-gradient(180deg, rgba(255, 248, 233, 0.96), rgba(255, 248, 233, 0.98)),
    radial-gradient(circle at 12% 8%, rgba(36, 211, 63, 0.2), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(47, 158, 214, 0.12), transparent 26%),
    var(--cream-100);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(7, 57, 29, 0.97), rgba(15, 107, 52, 0.96)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 14px);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader strong {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 1;
  text-shadow: 0 8px 0 rgba(0, 0, 0, 0.15);
}

.loader small {
  font-weight: 900;
  letter-spacing: 0.04em;
}

.loader__belt {
  position: relative;
  width: 98px;
  height: 98px;
  border: 9px solid #d6a23c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: spin 1.8s linear infinite;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.18), 0 0 45px rgba(142, 224, 95, 0.62);
}

.loader__belt span {
  position: absolute;
  width: 21px;
  height: 21px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.loader__belt span:nth-child(1) {
  top: 9px;
  background: #1d8ce0;
}

.loader__belt span:nth-child(2) {
  right: 9px;
  background: #f5493d;
}

.loader__belt span:nth-child(3) {
  bottom: 9px;
  background: #f8d339;
}

.loader__belt span:nth-child(4) {
  left: 9px;
  background: #25d15a;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 56px);
  color: var(--white);
  background: rgba(7, 57, 29, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  font-weight: 700;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--sun-400);
  border-radius: 50%;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.14);
  animation: brandFloat 4.8s ease-in-out infinite;
}

.brand span {
  max-width: clamp(185px, 25vw, 360px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 22px);
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  font-weight: 900;
}

.nav a {
  position: relative;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--sun-400);
  transition: transform 0.22s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.lang-switch button {
  width: 42px;
  height: 34px;
  cursor: pointer;
  color: var(--white);
  font-weight: 900;
  background: transparent;
  border: 0;
  border-radius: 6px;
}

.lang-switch button.active {
  color: var(--forest-900);
  background: var(--sun-400);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(7, 57, 29, 0.95), rgba(11, 81, 40, 0.82) 52%, rgba(47, 158, 214, 0.42)),
    image-set(url("assets/images/book-back.webp") type("image/webp"), url("assets/images/book-back.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
}

.hero {
  min-height: calc(100svh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  padding: clamp(42px, 6vw, 84px) clamp(18px, 5vw, 72px) 46px;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, var(--cream-100));
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.95;
}

.ray {
  position: absolute;
  inset: -20% auto -20% 18%;
  width: 14vw;
  min-width: 120px;
  background: linear-gradient(90deg, transparent, rgba(142, 224, 95, 0.22), transparent);
  transform: rotate(18deg);
  animation: rayPulse 6s ease-in-out infinite;
}

.ray--two {
  left: 55%;
  animation-delay: -2s;
}

.leaf {
  position: absolute;
  width: 68px;
  height: 34px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, rgba(142, 224, 95, 0.95), rgba(13, 107, 47, 0.9));
  box-shadow: inset 10px 0 rgba(255, 255, 255, 0.12);
  opacity: 0.82;
  animation: floatLeaf 9s ease-in-out infinite;
}

.leaf--one {
  top: 20%;
  left: 45%;
}

.leaf--two {
  right: 8%;
  top: 22%;
  animation-delay: -3s;
}

.leaf--three {
  left: 8%;
  bottom: 20%;
  animation-delay: -5s;
}

.energy-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sun-400);
  box-shadow: 0 0 28px var(--sun-400);
  animation: driftDot 7s ease-in-out infinite;
}

.energy-dot--one {
  left: 12%;
  top: 36%;
}

.energy-dot--two {
  right: 18%;
  bottom: 22%;
  background: var(--sky-500);
  box-shadow: 0 0 28px var(--sky-500);
  animation-delay: -2.5s;
}

.hero__content,
.hero__visual,
.page-hero__copy,
.page-hero__image {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf-400);
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero h1,
.page-hero h1,
.section h2 {
  margin: 0;
  font-weight: 700;
  line-height: 0.98;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(4rem, 10.2vw, 9.8rem);
  text-shadow: 0 9px 0 rgba(0, 0, 0, 0.14);
}

.page-hero h1,
.section h2 {
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
}

.hero__lead,
.page-hero p,
.section__head p:last-child,
.split__copy p,
.game-copy p,
.contact__copy p {
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  font-weight: 800;
}

.hero__lead {
  max-width: 690px;
  margin: 22px 0 0;
}

.hero__actions,
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 18px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px) scale(1.01);
}

.btn--primary {
  color: var(--forest-900);
  background: var(--sun-400);
  box-shadow: 0 14px 0 rgba(4, 31, 16, 0.22);
}

.btn--secondary {
  color: var(--white);
  background: var(--forest-700);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 0 rgba(4, 31, 16, 0.18);
}

.btn--mini {
  min-height: 40px;
  padding: 9px 12px;
  color: var(--white);
  background: var(--forest-700);
}

.btn--mini span,
.btn--mini svg {
  color: currentColor;
}

.audio-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 560px;
  margin-top: 30px;
  padding: 14px;
  color: var(--ink-900);
  background: rgba(255, 248, 233, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.audio-card__button {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  cursor: pointer;
  color: var(--white);
  background: var(--forest-700);
  border: 0;
  border-radius: 50%;
  animation: pulseButton 2.6s ease-in-out infinite;
}

.audio-card strong,
.audio-card span {
  display: block;
}

.audio-card span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.25;
}

.hero__visual {
  display: grid;
  justify-items: center;
}

.hero__book {
  width: min(430px, 78vw);
  padding: 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  animation: hoverBook 5s ease-in-out infinite;
}

.hero__book img,
.tilt-stack img,
.page-hero__image img,
.book-showcase img,
.stand-crop img,
.instagram-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(390px, 82vw);
  margin-top: -28px;
  padding: 14px;
  color: var(--forest-900);
  background: var(--sun-400);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  font-weight: 1000;
  transform: rotate(-2deg);
}

.hero__badge img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
}

.mission-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1120px, calc(100% - 36px));
  margin: -18px auto 0;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-800);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.mission-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 74px;
  padding: 16px;
  font-weight: 900;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease;
}

.mission-strip a:hover {
  background: rgba(255, 255, 255, 0.09);
}

.section {
  padding: clamp(66px, 8vw, 118px) clamp(18px, 5vw, 72px);
}

.section__head {
  width: min(830px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section__head p:last-child,
.split__copy p,
.game-copy p,
.program-card p,
.character-card p,
.timeline__item p,
.contact__copy p {
  color: var(--muted);
}

.split,
.page-hero,
.powers-section,
.contact,
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
}

.split,
.powers-section,
.contact,
.cta-band {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.page-hero {
  min-height: 620px;
  padding: clamp(58px, 8vw, 105px) clamp(18px, 5vw, 72px);
}

.page-hero--commercial {
  background:
    linear-gradient(110deg, rgba(7, 57, 29, 0.95), rgba(15, 107, 52, 0.82)),
    image-set(url("assets/images/book-back.webp") type("image/webp"), url("assets/images/book-back.jpg") type("image/jpeg"));
}

.page-hero__copy {
  max-width: 760px;
  min-width: 0;
}

.page-hero__image {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: hoverBook 5.5s ease-in-out infinite;
}

.page-hero__image img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  object-position: top;
}

.intro-panel {
  padding-top: clamp(72px, 8vw, 118px);
}

.tilt-stack {
  position: relative;
  min-height: 520px;
}

.tilt-stack img {
  position: absolute;
  width: min(360px, 76vw);
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
}

.tilt-stack img:first-child {
  right: 18%;
  top: 0;
  transform: rotate(-5deg);
  animation: cardFloat 5s ease-in-out infinite;
}

.tilt-stack img:last-child {
  right: 0;
  bottom: 0;
  transform: rotate(4deg);
  animation: cardFloat 5s ease-in-out infinite -2s;
}

.home-book {
  position: relative;
  align-items: center;
}

.home-book::before {
  content: "";
  position: absolute;
  inset: 10% auto 8% 0;
  width: min(44vw, 520px);
  background:
    linear-gradient(135deg, rgba(255, 216, 76, 0.28), rgba(36, 211, 63, 0.16)),
    repeating-linear-gradient(45deg, rgba(15, 107, 52, 0.11) 0 2px, transparent 2px 18px);
  border-radius: var(--radius);
  pointer-events: none;
}

.book-home-card {
  position: relative;
  justify-self: center;
  width: min(390px, 82vw);
  overflow: hidden;
  padding: 10px;
  background: var(--white);
  border: 1px solid rgba(15, 107, 52, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  animation: hoverBook 5.2s ease-in-out infinite;
}

.book-home-card img {
  width: 100%;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
  border-radius: var(--radius);
}

.book-home-card__shine {
  position: absolute;
  inset: -40% auto -40% -30%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: rotate(18deg);
  animation: shineSweep 4.8s ease-in-out infinite;
}

.home-book__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.game-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(4, 37, 19, 0.98), rgba(12, 87, 43, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 18px);
}

.home-game-teaser {
  position: relative;
}

.home-game-teaser::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  pointer-events: none;
}

.game-copy {
  max-width: 720px;
}

.game-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.game-tags span {
  padding: 9px 12px;
  color: var(--forest-900);
  background: var(--sun-400);
  border-radius: var(--radius);
  font-weight: 900;
}

.game-page-link {
  margin-top: 24px;
}

.game-device {
  justify-self: center;
  width: min(430px, 90vw);
  padding: 16px;
  background: #123721;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.game-device__screen {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(47, 158, 214, 0.5), rgba(15, 107, 52, 0.84)),
    image-set(url("assets/images/book-back.webp") type("image/webp"), url("assets/images/book-back.jpg") type("image/jpeg"));
  background-size: cover;
  border-radius: 16px;
}

.game-device--large {
  width: min(470px, 92vw);
}

.game-device--large .game-device__screen {
  min-height: 560px;
}

.game-hud {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 14px;
  color: var(--forest-900);
  font-weight: 1000;
}

.game-hud span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255, 216, 76, 0.92);
  border-radius: var(--radius);
}

.game-hero {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 92px;
  width: 150px;
  padding: 8px;
  background: var(--white);
  border: 4px solid rgba(255, 216, 76, 0.82);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(4, 31, 16, 0.25);
  transform: translateX(-50%);
  animation: heroJump 2.4s ease-in-out infinite;
}

.game-token {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--forest-900);
  background: var(--sun-400);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(255, 216, 76, 0.7);
  animation: tokenFloat 3s ease-in-out infinite;
}

.game-token--one {
  left: 14%;
  top: 32%;
}

.game-token--two {
  right: 16%;
  top: 42%;
  animation-delay: -1s;
}

.game-token--three {
  left: 28%;
  top: 58%;
  animation-delay: -2s;
}

.game-ground {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -18px;
  height: 130px;
  background: linear-gradient(180deg, #2fd24b, #0b5128);
  border-radius: 50% 50% 0 0;
}

.page-hero--game {
  background:
    linear-gradient(110deg, rgba(4, 37, 19, 0.96), rgba(14, 92, 45, 0.86), rgba(47, 158, 214, 0.42)),
    image-set(url("assets/images/book-back.webp") type("image/webp"), url("assets/images/book-back.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
}

.game-roadmap {
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.92), rgba(255, 248, 233, 0.92)),
    repeating-linear-gradient(90deg, rgba(15, 107, 52, 0.07) 0 1px, transparent 1px 22px);
}

.game-school .tilt-stack img {
  border: 8px solid var(--white);
}

.instagram-section {
  background: #fffdf5;
}

.instagram-shell {
  width: min(1050px, 100%);
  margin: 0 auto;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(15, 107, 52, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.instagram-profile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(15, 107, 52, 0.13);
}

.instagram-profile img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: var(--cream-100);
  border-radius: 50%;
}

.instagram-profile strong,
.instagram-profile span {
  display: block;
}

.instagram-profile strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.instagram-profile span {
  color: var(--muted);
  font-weight: 800;
}

.instagram-profile .btn {
  color: var(--white);
  background: var(--forest-700);
}

.instagram-profile .btn span {
  color: var(--white);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 18px;
}

.instagram-grid img {
  aspect-ratio: 1 / 1;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.instagram-grid img:hover {
  transform: translateY(-4px) scale(1.02);
  filter: saturate(1.12);
}

.authors-section {
  background:
    linear-gradient(180deg, rgba(255, 248, 233, 0.96), rgba(255, 253, 245, 0.96)),
    repeating-linear-gradient(135deg, rgba(15, 107, 52, 0.07) 0 1px, transparent 1px 20px);
}

.authors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.author-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(15, 107, 52, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.author-card__avatar {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  color: var(--forest-900);
  background:
    linear-gradient(135deg, var(--sun-400), rgba(142, 224, 95, 0.92)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.34) 0 2px, transparent 2px 12px);
  border: 5px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(15, 107, 52, 0.15);
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
}

.author-card__photo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border: 4px solid var(--sun-400);
  border-radius: 50%;
  box-shadow: 0 10px 0 rgba(4, 31, 16, 0.14);
}

.author-card h3,
.author-card p {
  margin: 0;
}

.author-card h3 {
  margin-bottom: 8px;
  font-size: 1.65rem;
  line-height: 1;
}

.author-card p {
  color: var(--muted);
  font-weight: 800;
}

.authors-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(780px, 100%);
  margin: 18px auto 0;
  padding: 14px;
  color: var(--forest-900);
  background: var(--paper-200);
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
}

.cta-band {
  color: var(--white);
  background: var(--forest-900);
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 54px);
  box-shadow: var(--shadow);
}

.cta-band .eyebrow {
  color: var(--sun-400);
}

.cta-band h2 {
  font-size: clamp(2rem, 4.5vw, 4.2rem);
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.timeline--wide {
  width: min(1080px, 100%);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  background: linear-gradient(var(--leaf-500), var(--sun-400));
  border-radius: 10px;
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(15, 107, 52, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.timeline__item span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--forest-900);
  background: var(--sun-400);
  border: 4px solid var(--white);
  border-radius: 50%;
  font-weight: 1000;
  box-shadow: 0 0 0 6px rgba(36, 211, 63, 0.2);
}

.timeline__item h3,
.character-card h3,
.program-card h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  line-height: 1.05;
}

.timeline__item p,
.character-card p,
.program-card p {
  margin: 0;
  font-weight: 800;
}

.powers-section {
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(7, 57, 29, 0.98), rgba(15, 107, 52, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 18px);
  border-radius: var(--radius);
  padding: clamp(34px, 5vw, 64px);
  box-shadow: var(--shadow);
}

.powers-section .power-list {
  grid-column: 1 / -1;
}

.powers-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.orbital-powers {
  position: relative;
  justify-self: center;
  width: min(430px, 90vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orbital-powers::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 2px dashed rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.gaia-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(142, 224, 95, 0.6);
}

.gaia-core img {
  width: 130px;
}

.power-stone {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 30px currentColor;
  animation: stonePulse 2.6s ease-in-out infinite;
}

.power-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.power-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  color: var(--forest-900);
  background: var(--sun-400);
  border-radius: var(--radius);
  box-shadow: 0 10px 0 rgba(4, 31, 16, 0.16);
}

.power-list svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.power-list b {
  min-width: 0;
  line-height: 1.12;
}

.stone-blue {
  top: 10%;
  background: #1d8ce0;
}

.stone-red {
  right: 12%;
  background: #f5493d;
  animation-delay: -0.6s;
}

.stone-green {
  bottom: 10%;
  background: #25d15a;
  animation-delay: -1.2s;
}

.stone-yellow {
  left: 12%;
  background: #f8d339;
  color: var(--forest-900);
  animation-delay: -1.8s;
}

.character-grid,
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.character-grid--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.character-card,
.program-card {
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(15, 107, 52, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.character-card:hover,
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.character-card svg,
.program-card svg {
  width: 42px;
  height: 42px;
  color: var(--forest-700);
  margin-bottom: 18px;
}

.character-card--villain {
  color: var(--white);
  background: linear-gradient(150deg, #1a1a1a, #4b1717);
}

.character-card--villain p,
.character-card--villain svg {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero--universe {
  background:
    linear-gradient(110deg, rgba(7, 57, 29, 0.95), rgba(11, 81, 40, 0.8), rgba(184, 117, 50, 0.34)),
    image-set(url("assets/images/book-back.webp") type("image/webp"), url("assets/images/book-back.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
}

.universe-cover-pair {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 12px;
  align-items: end;
  background: rgba(255, 255, 255, 0.12);
}

.universe-cover-pair img:first-child {
  min-height: 430px;
  padding: 22px;
  background: radial-gradient(circle at 50% 42%, rgba(255, 216, 76, 0.3), transparent 58%);
  transform: rotate(-3deg) translateY(14px);
}

.universe-cover-pair img:last-child {
  min-height: 520px;
  transform: rotate(2deg);
}

.universe-intro {
  background:
    linear-gradient(180deg, rgba(255, 248, 233, 0.96), rgba(255, 253, 245, 0.96)),
    repeating-linear-gradient(0deg, rgba(36, 211, 63, 0.06) 0 1px, transparent 1px 20px);
}

.universe-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.story-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(15, 107, 52, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.story-card svg {
  width: 42px;
  height: 42px;
  color: var(--forest-700);
  margin-bottom: 16px;
}

.story-card h3,
.story-card p {
  margin: 0;
}

.story-card h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.05;
}

.story-card p {
  color: var(--muted);
  font-weight: 800;
}

.book-showcase {
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  gap: 14px;
  align-items: end;
}

.book-showcase img {
  box-shadow: var(--shadow);
}

.book-showcase img:first-child {
  min-height: 500px;
}

.book-showcase img:last-child {
  min-height: 360px;
  transform: translateY(28px) rotate(2deg);
}

.memory-wall {
  background:
    linear-gradient(180deg, rgba(255, 248, 233, 0.98), rgba(237, 249, 232, 0.96)),
    repeating-linear-gradient(135deg, rgba(15, 107, 52, 0.08) 0 1px, transparent 1px 18px);
}

.memory-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(18px, 3vw, 30px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.memory-card {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(15, 107, 52, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.memory-card:hover {
  transform: translateY(-5px) rotate(-0.4deg);
  box-shadow: var(--shadow);
}

.memory-card picture,
.memory-card img {
  width: 100%;
}

.memory-card img {
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
}

.memory-card--large img {
  aspect-ratio: 1.28 / 1;
  object-position: center 42%;
}

.memory-card div {
  display: grid;
  gap: 8px;
  padding: clamp(18px, 2.6vw, 28px);
}

.memory-card span {
  justify-self: start;
  padding: 6px 10px;
  color: var(--forest-900);
  background: var(--sun-400);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.memory-card h3,
.memory-card p {
  margin: 0;
}

.memory-card h3 {
  color: var(--forest-900);
  font-size: clamp(1.45rem, 2.7vw, 2.35rem);
  line-height: 1.04;
}

.memory-card p {
  color: var(--muted);
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 26px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 900;
}

.check-list svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--forest-700);
}

.schools-section {
  background:
    linear-gradient(180deg, rgba(255, 248, 233, 0.86), rgba(243, 229, 197, 0.82)),
    repeating-linear-gradient(90deg, rgba(184, 117, 50, 0.08) 0 1px, transparent 1px 18px);
}

.stand-crop {
  justify-self: center;
  max-width: 520px;
  padding: 10px;
  background: var(--white);
  border: 1px solid rgba(184, 117, 50, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stand-crop img {
  max-height: 760px;
  object-position: top;
}

.mini-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.mini-features span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  color: var(--forest-900);
  background: var(--paper-200);
  border-radius: var(--radius);
  font-weight: 900;
}

.products-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.96), rgba(255, 248, 233, 0.96)),
    repeating-linear-gradient(90deg, rgba(184, 117, 50, 0.08) 0 1px, transparent 1px 22px);
}

.product-category-grid,
.product-showcase-grid,
.kits-grid {
  display: grid;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.product-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.kits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.product-category,
.kit-card {
  min-width: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(15, 107, 52, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.product-category {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-item-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(15, 107, 52, 0.15);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(4, 31, 16, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-item-card img,
.kit-card__image {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: contain;
  border-radius: 7px;
  background: #fffdf7;
}

.kit-card__image {
  margin-bottom: 14px;
  box-shadow: inset 0 0 0 1px rgba(15, 107, 52, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.kit-card:hover .kit-card__image {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 18px 34px rgba(4, 31, 16, 0.14);
}

.product-item-card span {
  display: inline-flex;
  justify-self: start;
  margin-top: 12px;
  margin-bottom: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--forest-900);
  background: var(--sun-400);
  font-weight: 900;
}

.product-item-card h3,
.product-item-card p {
  margin: 0;
}

.product-item-card h3 {
  margin-bottom: 7px;
  color: var(--forest-900);
  font-size: 1.2rem;
  line-height: 1;
}

.product-item-card p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.product-category svg {
  width: 40px;
  height: 40px;
  color: var(--forest-700);
  margin-bottom: 16px;
}

.product-category h3,
.product-category p,
.kit-card h3,
.kit-card p {
  margin: 0;
}

.product-category h3,
.kit-card h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
  line-height: 1.05;
}

.product-category p,
.kit-card p {
  color: var(--muted);
  font-weight: 800;
}

.product-buy {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  padding: 10px 14px;
  border: 0;
  border-radius: 7px;
  color: var(--white);
  background: var(--forest-700);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.product-buy:hover {
  transform: translateY(-2px);
  background: var(--forest-900);
  box-shadow: 0 10px 0 rgba(4, 31, 16, 0.18);
}

.product-buy svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.kit-card {
  position: relative;
  overflow: hidden;
  border-top: 6px solid var(--sun-400);
}

.kit-card::before {
  content: "";
  position: absolute;
  inset: auto -28px -42px auto;
  width: 120px;
  height: 120px;
  background: rgba(36, 211, 63, 0.12);
  border-radius: 50%;
}

.kit-card--pending {
  border-top-color: var(--sky-500);
}

.kit-card__price {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  color: var(--forest-900);
  background: var(--sun-400);
  border-radius: var(--radius);
  font-weight: 1000;
}

.products-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.contact {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--white);
  border: 1px solid rgba(15, 107, 52, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--forest-900);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  color: var(--ink-900);
  background: #fffdf7;
  border: 2px solid rgba(15, 107, 52, 0.18);
  border-radius: var(--radius);
  padding: 11px 12px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--forest-700);
  box-shadow: 0 0 0 4px rgba(36, 211, 63, 0.14);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(14px, 2.8vw, 28px);
  bottom: clamp(14px, 2.8vw, 28px);
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 12px 16px;
  color: var(--white);
  background: #0f7a3b;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 14px 0 rgba(4, 31, 16, 0.22), 0 18px 45px rgba(4, 31, 16, 0.28);
  font-weight: 1000;
  line-height: 1;
  animation: whatsappPulse 2.8s ease-in-out infinite;
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px);
  background: var(--forest-900);
  animation-play-state: paused;
}

.confirmation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  min-height: calc(100svh - 96px);
  padding: clamp(120px, 15vw, 170px) var(--page-pad) clamp(58px, 8vw, 92px);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 213, 74, 0.38), transparent 24%),
    linear-gradient(135deg, #fff9e8 0%, #f3fbef 48%, #d8f0ff 100%);
  overflow: hidden;
}

.confirmation-card {
  max-width: 720px;
}

.confirmation-card h1 {
  margin: 0;
  color: var(--forest-900);
  font-size: clamp(2.8rem, 7vw, 6.3rem);
  line-height: 0.9;
}

.confirmation-card p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.18rem;
  font-weight: 800;
}

.confirmation-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.confirmation-details span {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(15, 107, 52, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 24px rgba(4, 31, 16, 0.08);
}

.confirmation-details small,
.confirmation-details strong {
  display: block;
}

.confirmation-details small {
  color: var(--muted);
  font-weight: 900;
}

.confirmation-details strong {
  margin-top: 4px;
  color: var(--forest-900);
  font-size: 1.2rem;
}

.confirmation-art {
  position: relative;
}

.confirmation-art img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.confirmation-art__badge {
  position: absolute;
  right: -10px;
  bottom: -20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--forest-900);
  background: var(--sun-400);
  box-shadow: 0 10px 0 rgba(4, 31, 16, 0.18);
  font-weight: 900;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, var(--forest-950), var(--forest-900)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 14px);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__brand img {
  width: 92px;
  border-radius: var(--radius);
}

.footer__brand p {
  margin: 0;
  font-weight: 900;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  font-weight: 900;
}

.footer__links a:hover {
  color: var(--sun-400);
}

.footer__actions {
  display: flex;
  gap: 10px;
  justify-content: end;
}

.footer__button,
.footer__top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.68s ease, transform 0.68s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rayPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-18px) rotate(18deg);
  }
  50% {
    opacity: 0.9;
    transform: translateX(28px) rotate(18deg);
  }
}

@keyframes floatLeaf {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(12deg);
  }
  50% {
    transform: translate3d(22px, -34px, 0) rotate(36deg);
  }
}

@keyframes driftDot {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(26px, -28px, 0) scale(1.25);
  }
}

@keyframes hoverBook {
  0%,
  100% {
    transform: rotate(2deg) translateY(0);
  }
  50% {
    transform: rotate(0deg) translateY(-12px);
  }
}

@keyframes pulseButton {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(36, 211, 63, 0.36);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(36, 211, 63, 0);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes shineSweep {
  0%,
  42% {
    translate: 0 0;
    opacity: 0;
  }
  54% {
    opacity: 1;
  }
  82%,
  100% {
    translate: 390px 0;
    opacity: 0;
  }
}

@keyframes heroJump {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-24px);
  }
}

@keyframes tokenFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(12deg);
  }
}

@keyframes stonePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

@keyframes brandFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-3px) rotate(2deg);
  }
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 14px 0 rgba(4, 31, 16, 0.22), 0 18px 45px rgba(4, 31, 16, 0.28);
  }
  50% {
    box-shadow: 0 10px 0 rgba(4, 31, 16, 0.18), 0 0 0 10px rgba(36, 211, 63, 0.16);
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(7, 57, 29, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 13px;
  }

  .nav a::after {
    display: none;
  }

  .nav a.is-active {
    color: var(--sun-400);
  }

  .hero,
  .page-hero,
  .split,
  .game-preview,
  .powers-section,
  .contact,
  .confirmation-hero,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero__visual {
    order: -1;
  }

  .confirmation-art {
    max-width: 520px;
    order: -1;
  }

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

  .program-grid,
  .instagram-grid,
  .universe-pillars,
  .power-list,
  .memory-grid,
  .product-category-grid,
  .product-showcase-grid,
  .kits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer__actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 12px;
    gap: 10px;
  }

  .brand span {
    max-width: 42vw;
  }

  .lang-switch button {
    width: 36px;
  }

  .hero,
  .page-hero {
    max-width: 100vw;
    padding-left: 14px;
    padding-right: 14px;
  }

  .page-hero__copy,
  .section__head,
  .page-hero p,
  .section__head p,
  .split__copy,
  .contact__copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page-hero__copy,
  .section__head {
    max-width: min(100%, 340px);
  }

  .page-hero p,
  .section__head p,
  .split__copy p,
  .contact__copy p {
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 20vw, 5.4rem);
  }

  .page-hero h1,
  .section h2 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
    line-height: 1.02;
  }

  .section__head {
    margin-bottom: 28px;
  }

  .hero__actions,
  .cta-band__actions,
  .home-book__actions {
    display: grid;
  }

  .audio-card {
    grid-template-columns: 48px 1fr;
  }

  .audio-card__button {
    width: 48px;
    height: 48px;
  }

  .mission-strip,
  .character-grid,
  .authors-grid,
  .program-grid,
  .instagram-grid,
  .universe-pillars,
  .power-list,
  .memory-grid,
  .product-category-grid,
  .product-showcase-grid,
  .kits-grid,
  .universe-cover-pair,
  .book-showcase,
  .mini-features {
    grid-template-columns: 1fr;
  }

  .mission-strip a {
    justify-content: flex-start;
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .split,
  .powers-section,
  .contact,
  .confirmation-hero,
  .cta-band {
    width: calc(100% - 28px);
  }

  .confirmation-hero {
    min-height: auto;
    padding: 110px 14px 54px;
  }

  .confirmation-card h1 {
    font-size: clamp(2.7rem, 14vw, 4.8rem);
  }

  .confirmation-details {
    grid-template-columns: 1fr;
  }

  .tilt-stack {
    min-height: 660px;
  }

  .tilt-stack img {
    position: relative;
    width: 100%;
    inset: auto;
    margin-bottom: 18px;
  }

  .book-showcase img:first-child,
  .book-showcase img:last-child,
  .universe-cover-pair img:first-child,
  .universe-cover-pair img:last-child {
    min-height: auto;
    transform: none;
  }

  .instagram-profile {
    grid-template-columns: auto 1fr;
  }

  .instagram-profile .btn {
    grid-column: 1 / -1;
  }

  .author-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .timeline::before {
    left: 27px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    width: 54px;
    height: 54px;
    justify-content: center;
    padding: 0;
  }

  .floating-whatsapp span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .timeline__item {
    grid-template-columns: 54px 1fr;
    padding: 18px;
  }

  .timeline__item span {
    width: 48px;
    height: 48px;
  }

  .footer__brand {
    display: grid;
    justify-items: center;
  }
}

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