:root {
  --outline: #1c0909;
  --panel-dark: #3a0f0f;
  --panel-border: #8c2f2f;
  --accent: #c0392b;
  --accent-bright: #e2483a;
  --text-light: #ffffff;
  --nav-height: 96px;
  --body-bg: #170707;
  --body-bg-alt: #200b0b;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.resize-animation-stopper * {
  transition: none !important;
  animation: none !important;
}

@keyframes fade-up-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-only {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes drop-in {
  from { opacity: 0; transform: translateY(-26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

html, body {
  height: 100%;
}

body {
  font-family: "Nunito", sans-serif;
  background: var(--body-bg);
  color: var(--text-light);
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.page-loaded {
  opacity: 1;
}

body.page-leaving {
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  border-radius: 0px;
  animation: drop-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition:
    top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.4s ease;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  top: 14px;
  width: min(92%, 1100px);
  padding: 10px 26px;
  border-radius: 999px;
}

.navbar.scrolled .nav-right {
  margin-right: -14px;
}

.navbar.scrolled::before {
  background: rgba(58, 15, 15, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .logo-badge {
  width: 48px;
  height: 48px;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-badge:hover img {
  transform: scale(1.08) rotate(-4deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--accent-bright);
}

.nav-login-item {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  transition: margin-right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-btn {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--outline);
  background: var(--text-light);
  border: 2px solid var(--outline);
  border-radius: 30px;
  padding: 12px 28px;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--outline);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  white-space: nowrap;
}

.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 var(--outline);
}

.login-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--outline);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.9);
}

.menu-toggle:active {
  transform: scale(0.9);
}

.menu-toggle.is-open {
  transform: rotate(90deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 130;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  background: #3a1414;
  filter: blur(5px) saturate(1.15);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-bg.loaded {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 5, 5, 0.25) 0%, rgba(15, 4, 4, 0.55) 60%, rgba(10, 2, 2, 0.85) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 15;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 1vh);
  padding-bottom: 4vh;
  text-align: center;
  padding-left: 16px;
  padding-right: 16px;
}

.wordmark {
  width: min(64vw, 460px);
  height: auto;
  display: block;
  animation: fade-up-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.watch-trailer {
  margin-top: 22px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--text-light);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  padding: 16px 38px;
  cursor: pointer;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fade-up-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
  transition: background 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.watch-trailer:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  border-color: #ffffff;
}

.watch-trailer:active {
  transform: translateY(-1px) scale(0.98);
}

.trailer-wrap {
  position: relative;
  display: inline-block;
}

.online-badge.online-badge--hero {
  position: absolute;
  top: 0;
  left: 50%;
  bottom: auto;
  transform: translate(-50%, calc(-100% - 14px));
  z-index: 20;
  pointer-events: none;
  white-space: nowrap;
  animation: fade-in-only 0.9s ease 0.7s both;
}

.minigame-panel {
  position: fixed;
  top: 150px;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  background: var(--panel-dark);
  border: 2px solid var(--panel-border);
  border-right: none;
  border-radius: 20px 0 0 20px;
  padding: 16px 20px;
  box-shadow: -4px 6px 16px rgba(0, 0, 0, 0.45);
  transform-origin: right center;
  animation: slide-in-right 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.minigame-panel:hover {
  transform: scale(1.035);
  box-shadow: -8px 10px 24px rgba(0, 0, 0, 0.55);
}

.minigame-text {
  font-family: "Baloo 2", sans-serif;
  margin-right: 18px;
}

.minigame-text p {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-light);
  white-space: nowrap;
}

.play-now {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Baloo 2", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--outline);
  background: var(--text-light);
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.play-now:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.play-now:active {
  transform: translateY(0) scale(0.97);
}

.play-now::before {
  content: "\25CF";
  font-size: 8px;
  color: var(--accent-bright);
}

.minigame-image {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
}

.minigame-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.online-badge {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel-dark);
  border: 2px solid var(--panel-border);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  font-family: "Baloo 2", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  animation: rise-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3ddc71;
  box-shadow: 0 0 0 0 rgba(61, 220, 113, 0.6);
  animation: online-pulse 2s ease-out infinite;
  flex-shrink: 0;
}

@keyframes online-pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 113, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(61, 220, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 113, 0); }
}

.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 48px 80px 48px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(140, 47, 47, 0.35), transparent 60%), var(--body-bg);
}

.page-hero .section-eyebrow {
  justify-content: center;
  display: flex;
  animation: rise-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.page-hero .section-title {
  margin-bottom: 16px;
  animation: rise-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  animation: rise-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.wip-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  background: var(--body-bg);
}

.tape-strip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160vw;
  height: 78px;
  transform: translate(-50%, -50%) rotate(-5deg);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: repeating-linear-gradient(-45deg, #f4c400 0 36px, #111111 36px 72px);
  border-top: 4px solid #111111;
  border-bottom: 4px solid #111111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  animation: stripe-move 3.2s linear infinite;
}

@keyframes stripe-move {
  from { background-position: 0 0; }
  to { background-position: 101.82px 0; }
}

.tape-text {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: clamp(14px, 2.2vw, 24px);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f4c400;
  background: rgba(10, 3, 3, 0.88);
  padding: 10px 26px;
  border-radius: 6px;
  white-space: nowrap;
}

.wip-section .back-btn {
  position: absolute;
  top: calc(50% + 100px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #111111;
  background: #f4c400;
  border: 2px solid #111111;
  border-radius: 999px;
  padding: 10px 22px;
  text-decoration: none;
  box-shadow: 0 4px 0 #111111;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.wip-section .back-btn:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 7px 0 #111111;
}

.wip-section .back-btn:active {
  transform: translateX(-50%) translateY(1px);
  box-shadow: 0 2px 0 #111111;
}

.page-section {
  position: relative;
  padding: 100px 48px;
  background: var(--body-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-section.alt {
  background: var(--body-bg-alt);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: "Baloo 2", sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--accent-bright);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 52px);
  margin-bottom: 40px;
  color: var(--text-light);
}

.info-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.photo-slider {
  overflow: hidden;
  margin: 20px 0 40px;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.photo-slider:hover .slider-track {
  animation-play-state: paused;
}
.slider-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  animation: slide-track 105s linear infinite;
}
.photo-slider .slide-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  margin-right: 28px;
  text-align: center;
}
.photo-slider .slide-item img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  background: var(--panel-dark);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, opacity 0.5s ease, border-color 0.35s ease;
}
.photo-slider .slide-item img.loaded {
  opacity: 1;
}
.photo-slider .slide-item:hover img {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.3);
}
.photo-slider .slide-item .slide-text {
  font-family: "Baloo 2", sans-serif;
  font-size: 14px;
  color: var(--text-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.photo-slider .slide-item .slide-text.glitch {
  position: relative;
  color: var(--text-light);
  letter-spacing: 0.5px;
  animation: glitch-flicker 3.6s infinite;
}
.photo-slider .slide-item .slide-text.glitch::before,
.photo-slider .slide-item .slide-text.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  text-shadow: none;
}
.photo-slider .slide-item .slide-text.glitch::before {
  color: #ff2b52;
  clip-path: inset(0 0 55% 0);
  animation: glitch-shift-1 2.4s infinite linear alternate-reverse;
}
.photo-slider .slide-item .slide-text.glitch::after {
  color: #2be9ff;
  clip-path: inset(55% 0 0 0);
  animation: glitch-shift-2 2.1s infinite linear alternate-reverse;
}
@keyframes glitch-shift-1 {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-2px, 1px); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, 2px); }
  80% { transform: translate(1px, -2px); }
  100% { transform: translate(0, 0); }
}
@keyframes glitch-shift-2 {
  0% { transform: translate(0, 0); }
  25% { transform: translate(2px, -1px); }
  50% { transform: translate(-2px, 1px); }
  75% { transform: translate(1px, 2px); }
  100% { transform: translate(0, 0); }
}
@keyframes glitch-flicker {
  0%, 91%, 100% { opacity: 1; }
  92% { opacity: 0.4; }
  93% { opacity: 0.9; }
  95% { opacity: 0.3; }
  96% { opacity: 1; }
}
@keyframes slide-track {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.info-slot {
  min-height: 180px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background 0.3s ease;
}

.info-slot:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 72, 58, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.feature-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(226, 72, 58, 0.5);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.feature-card .image-slot {
  aspect-ratio: 4 / 3;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-bottom: none;
  background: rgba(140, 47, 47, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  padding: 16px;
}

.feature-card .video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.feature-card .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.feature-card .feature-text {
  padding: 20px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-top: none;
  flex: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(56px) scale(0.96);
  filter: blur(6px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.info-slots .reveal-item {
  opacity: 0;
  transform: translateY(44px) scale(0.97);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-slots .reveal-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.info-slots .reveal-item:nth-child(1) { transition-delay: 0s; }
.info-slots .reveal-item:nth-child(2) { transition-delay: 0.1s; }
.info-slots .reveal-item:nth-child(3) { transition-delay: 0.2s; }
.info-slots .reveal-item:nth-child(4) { transition-delay: 0.3s; }
.info-slots .reveal-item:nth-child(5) { transition-delay: 0.4s; }
.info-slots .reveal-item:nth-child(6) { transition-delay: 0.5s; }

@media (max-width: 900px) {
  .navbar {
    padding: 18px 18px;
  }

  .navbar.scrolled {
    width: 94%;
    padding: 8px 16px;
  }

  .logo-badge {
    width: 52px;
    height: 52px;
  }

  .navbar.scrolled .logo-badge {
    width: 40px;
    height: 40px;
  }

  .navbar.scrolled > .menu-toggle {
    transform: translateX(-10px);
  }

  .navbar.scrolled > .menu-toggle.is-open {
    transform: translateX(-10px) rotate(90deg);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--panel-dark);
    border-left: 2px solid var(--panel-border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    z-index: 140;
    transform: translateX(calc(100% + 30px));
    transition: none;
  }

  .nav-links.menu-transition {
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 20px;
  }

  .nav-close-item {
    position: absolute;
    top: 18px;
    right: 18px;
  }

  .nav-close-item .menu-toggle {
    transform: none;
  }

  .nav-links li {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .nav-links.open li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.open li:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.25s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.3s; }

  .nav-login-item {
    display: block;
    width: 100%;
    margin-top: 4px;
  }

  .nav-login-item .login-btn {
    width: 100%;
  }

  .nav-right .login-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .wordmark {
    width: min(70vw, 340px);
  }

  .watch-trailer {
    margin-top: 18px;
    padding: 13px 30px;
    font-size: 15px;
  }

  .minigame-panel {
    top: 88px;
    right: 0;
    max-width: 62vw;
    border-radius: 16px 0 0 16px;
    padding: 10px 12px;
  }

  .minigame-text {
    margin-right: 10px;
  }

  .minigame-text p {
    white-space: normal;
    font-size: 11px;
  }

  .play-now {
    font-size: 10px;
    padding: 6px 10px;
  }

  .minigame-image {
    width: 52px;
    height: 52px;
  }

  .page-section {
    padding: 70px 24px;
  }

  .page-hero {
    padding: calc(var(--nav-height) + 40px) 24px 60px 24px;
  }

  .tape-strip {
    height: 56px;
  }

  .tape-text {
    font-size: 12px;
    padding: 8px 18px;
  }

  .wip-section .back-btn {
    font-size: 13px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .wordmark {
    width: 78vw;
  }

  .minigame-panel {
    top: 76px;
    max-width: 58vw;
    padding: 8px 10px;
  }

  .minigame-text p {
    font-size: 10px;
  }

  .minigame-image {
    width: 44px;
    height: 44px;
  }
}
