:root {
  --purple-deep: #1a0a2e;
  --purple-vivid: #a855f7;
  --purple-glow: #c084fc;
  --orange-orb: #f97316;
  --orange-glow: #fb923c;
  --white: #ffffff;
  --text-muted: #c4b5fd;
  /* Lavande sur fonds dégradés clairs : ≥ 4,5:1 (WCAG AA texte normal) */
  --text-lavender-soft: rgba(196, 181, 253, 0.85);
  --text-main: rgba(255, 255, 255, 0.95);
  --border-glow: rgba(168, 85, 247, 0.3);
  --transition: 0.3s ease;
  --page-bg: var(--purple-deep);
  --page-bg-rgb: 26, 10, 46;
}

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

html {
  scroll-behavior: smooth;
}

/* Accessibilité : lien d'évitement, texte masqué lecteur d'écran, focus visible */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 10001;
  padding: 0.65rem 1.1rem;
  background: var(--page-bg);
  color: var(--white);
  border: 2px solid var(--orange-orb);
  border-radius: 8px;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.35);
}

.skip-link:focus {
  left: 0.75rem;
  outline: none;
}

.skip-link:focus-visible {
  outline: 3px solid var(--orange-glow);
  outline-offset: 3px;
}

#main-content:focus {
  outline: none;
}

#main-content:focus-visible {
  outline: 3px solid var(--orange-glow);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--orange-glow);
  outline-offset: 3px;
}

body {
  font-family: 'Exo 2', sans-serif;
  background-color: var(--page-bg, var(--purple-deep));
  color: var(--white);
  overflow-x: hidden;
  transition: background-color 0.15s linear;
}

@media (pointer: fine) {
  body {
    cursor: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body {
    cursor: auto;
  }

  .cursor {
    display: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .orb,
  .hero-path path,
  .scroll-arrow,
  .download-orb-large {
    animation: none !important;
  }
}

/* CUSTOM CURSOR */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange-orb) 0%, rgba(249, 115, 22, 0) 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  box-shadow: 0 0 20px var(--orange-orb), 0 0 40px rgba(249, 115, 22, 0.4);
}




.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--border-glow);
  color: var(--text-muted);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Exo 2', sans-serif;
}

.lang-btn__flag {
  width: 1.25rem;
  height: auto;
  flex-shrink: 0;
  display: block;
  border-radius: 2px;
  object-fit: cover;
}

.lang-btn:hover {
  border-color: var(--purple-vivid);
  color: var(--white);
}

.lang-switch {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 9998;
  pointer-events: auto;
}

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 2rem 2rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(123, 45, 139, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(249, 115, 22, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 30% 40% at 80% 60%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #1a0a2e 0%, #0d0518 100%);
  z-index: 0;
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: floatOrb linear infinite;
}

.orb-1 {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, #fbbf24 0%, #f97316 60%, transparent 100%);
  box-shadow: 0 0 20px #fbbf24, 0 0 40px rgba(251, 191, 36, 0.5);
  top: 15%;
  left: 12%;
  animation-duration: 18s;
  animation-delay: 0s;
}

.orb-2 {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #fbbf24 0%, #f97316 60%, transparent 100%);
  box-shadow: 0 0 14px #fbbf24;
  top: 25%;
  right: 15%;
  animation-duration: 22s;
  animation-delay: -5s;
}

.orb-3 {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle, #fbbf24 0%, #f97316 70%, transparent 100%);
  box-shadow: 0 0 25px #f97316, 0 0 50px rgba(249, 115, 22, 0.4);
  top: 60%;
  left: 8%;
  animation-duration: 25s;
  animation-delay: -10s;
}

.orb-4 {
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #fbbf24 0%, #f97316 60%, transparent 100%);
  box-shadow: 0 0 12px #fbbf24;
  top: 70%;
  right: 10%;
  animation-duration: 20s;
  animation-delay: -15s;
}

.orb-5 {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle, #fb923c 0%, #f97316 70%, transparent 100%);
  box-shadow: 0 0 30px #f97316, 0 0 60px rgba(249, 115, 22, 0.3);
  top: 40%;
  left: 50%;
  animation-duration: 30s;
  animation-delay: -8s;
  opacity: 0.7;
}

@keyframes floatOrb {
  0% {
    transform: translateY(0px) translateX(0px);
  }

  25% {
    transform: translateY(-30px) translateX(15px);
  }

  50% {
    transform: translateY(-10px) translateX(-10px);
  }

  75% {
    transform: translateY(20px) translateX(20px);
  }

  100% {
    transform: translateY(0px) translateX(0px);
  }
}

/* Dashed path */
.hero-path {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.25;
  pointer-events: none;
}

/* Maze corners */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--orange-orb);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 0.95;
  color: var(--white);
  text-shadow: 0 0 60px rgba(168, 85, 247, 0.6), 0 0 120px rgba(168, 85, 247, 0.3);
  margin-bottom: 0.8rem;
}

.hero-title span {
  color: var(--orange-orb);
  text-shadow: 0 0 40px rgba(249, 115, 22, 0.8), 0 0 80px rgba(249, 115, 22, 0.4);
}

.hero-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-slogan {
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(196, 181, 253, 0.7);
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-orb), #ea580c);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.5), 0 0 60px rgba(249, 115, 22, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.7), 0 0 100px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--border-glow);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--purple-vivid);
  color: var(--purple-glow);
  background: rgba(168, 85, 247, 0.08);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(168, 85, 247, 0.55);
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.35));
}

.scroll-arrow {
  display: flex;
  animation: scrollArrowNudge 2s ease-in-out infinite;
}

.scroll-arrow svg {
  display: block;
}

@keyframes scrollArrowNudge {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

/* SECTIONS COMMON */
section {
  padding: 6rem 2rem;
  position: relative;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--orange-orb);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.section-label:is(h2, h3) {
  margin-top: 0;
  line-height: 1.35;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-orb), transparent);
  margin-bottom: 2.5rem;
}

/* GAMEPLAY SECTION */
#gameplay {
  background: linear-gradient(180deg, transparent 0%, rgba(45, 27, 78, 0.3) 50%, transparent 100%);
}

.gameplay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.gameplay-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 300;
}

.mechanic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.mechanic-tag {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gameplay-trailer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* VIDEO placeholder */
.gameplay-grid .video-box {
  margin-top: 0;
}

.video-box {
  margin-top: 3rem;
  background: rgba(45, 27, 78, 0.5);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(var(--page-bg-rgb), 0.92);
  backdrop-filter: blur(10px);
  text-align: center;
  z-index: 3;
}

.video-consent-text {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 34rem;
}

.video-consent-btn {
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* UPGRADES SECTION */
#upgrades {
  background: linear-gradient(180deg, transparent, rgba(var(--page-bg-rgb), 0.5), transparent);
  position: relative;
  z-index: 2;
}

/* LAVA STREAM (background effect behind upgrades -> bottom of the page) */
#lava-stream,
#lava-stream-right {
  position: absolute;
  left: 25%;
  transform: translateX(0);
  width: clamp(40px, 6vw, 95px);
  top: 0;
  height: 0;
  z-index: 0;
  /* behind content blocks (usually z-index:2) */
  pointer-events: none;
  opacity: 0.75;

  /* Taper + soft edges */
  clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
  border-radius: 999px;

  /* Top fade (avoid a straight top edge) */
  -webkit-mask-image: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 18%,
      rgba(0, 0, 0, 1) 82%,
      rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 18%,
      rgba(0, 0, 0, 1) 82%,
      rgba(0, 0, 0, 0) 100%);

  /* Base glow */
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 220, 120, 0.35), transparent 55%),
    linear-gradient(180deg, rgba(255, 80, 0, 0.0) 0%, rgba(255, 80, 0, 0.45) 10%, rgba(255, 80, 0, 0.75) 40%, rgba(150, 20, 0, 0.45) 100%);
  filter: drop-shadow(0 0 30px rgba(255, 90, 0, 0.18));
}

#lava-stream::before,
#lava-stream-right::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;

  /* Moving highlights = “lava flowing down” */
  background: repeating-linear-gradient(180deg,
      rgba(255, 200, 80, 0) 0px,
      rgba(255, 200, 80, 0.22) 14px,
      rgba(255, 80, 0, 0) 28px);
  background-size: 100% 120px;
  animation: lavaFlow 1.15s linear infinite;
  opacity: 0.9;
  mix-blend-mode: screen;
}

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

  to {
    background-position: 0 120px;
  }
}

/* A thinner lava on the right side */
#lava-stream-right {
  left: auto;
  right: 20%;
  width: clamp(18px, 3vw, 55px);
  opacity: 0.65;
}

/* DOWNLOAD SECTION */
#download {
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

#download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(123, 45, 139, 0.3) 0%, transparent 70%);
}

.download-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.download-orb-large {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #fbbf24 0%, #f97316 50%, transparent 100%);
  box-shadow: 0 0 60px #f97316, 0 0 120px rgba(249, 115, 22, 0.4);
  border-radius: 50%;
  margin: 0 auto 2.5rem;
  animation: orbBreath 3s ease-in-out infinite;
}

@keyframes orbBreath {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 60px #f97316, 0 0 120px rgba(249, 115, 22, 0.4);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 80px #f97316, 0 0 160px rgba(249, 115, 22, 0.5);
  }
}

.download-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.download-sub {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
}

.download-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.store-btn {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 0.9rem 1.8rem;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  font-family: 'Exo 2', sans-serif;
  min-width: 180px;
}

.store-btn:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--orange-orb);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3);
}

.store-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.store-label small {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1px;
}

.store-label strong {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.05em;
}

/* Social links (section download) */
.socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
  z-index: 1000;
}

.social-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.social-link:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--purple-vivid);
  color: var(--white);
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  background: rgba(var(--page-bg-rgb), 0.9);
  border-top: 1px solid var(--border-glow);
  padding: 2rem;
  text-align: center;
  color: rgba(196, 181, 253, 0.4);
  font-size: 0.8rem;
}

footer .footer-links {
  margin-bottom: 0.8rem;
}

footer a {
  color: rgba(196, 181, 253, 0.6);
  text-decoration: none;
  transition: var(--transition);
  margin: 0 0.5rem;
}

footer a:hover {
  color: var(--purple-glow);
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(var(--page-bg-rgb), 0.97);
  border-top: 1px solid var(--border-glow);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 200;
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 200px;
}

.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

.cookie-accept {
  background: var(--orange-orb);
  color: white;
  border: none;
  padding: 0.55rem 1.3rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-accept:hover {
  background: var(--orange-glow);
}

.cookie-refuse {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-glow);
  padding: 0.55rem 1.1rem;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-refuse:hover {
  border-color: var(--purple-vivid);
  color: var(--white);
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* PARTICLE BG */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* MOBILE */
@media (max-width: 768px) {
  section {
    padding: 4.5rem 1.25rem;
  }

  .hero {
    min-height: 88vh;
    padding: 1.5rem 1.25rem 3rem;
  }

  .hero-eyebrow {
    letter-spacing: 0.2em;
    font-size: 0.68rem;
  }

  .hero-subtitle {
    letter-spacing: 0.14em;
  }

  .hero-slogan {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: min(100%, 360px);
  }

  .gameplay-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .video-box {
    aspect-ratio: 16 / 9;
  }

  #download {
    padding: 5rem 1.25rem;
  }

  .download-sub {
    margin-bottom: 2rem;
  }

  .store-btn {
    width: min(100%, 320px);
    justify-content: center;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cookie-banner {
    flex-direction: column;
    padding: 1rem 1.25rem;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-accept,
  .cookie-refuse {
    flex: 1;
  }

  body {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  /* LEVEL UP (UPGRADES) — responsive tweaks */
  .levelup-wrap {
    padding: 2.1rem 1.4rem !important;
    border-radius: 26px !important;
  }

  .levelup-cards {
    gap: 1.1rem !important;
  }

  .levelup-card {
    padding: 1.4rem 1.35rem !important;
    gap: 1.05rem !important;
  }

  .levelup-icon {
    width: 60px !important;
    height: 60px !important;
    border-radius: 14px !important;
  }

  .levelup-card .rarity-tags {
    top: 10px !important;
    right: 10px !important;
    gap: 4px !important;
  }

  .levelup-card .rarity-tags span {
    font-size: 0.56rem !important;
    padding: 0.18rem 0.42rem !important;
    letter-spacing: 0.1em !important;
  }

  /* BIOMES */
  .biomes-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
  }

  /* ENEMIES */
  .enemies-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
  }

  /* BOSS */
  .boss-card {
    padding: 1.6rem !important;
    border-radius: 18px !important;
  }

  .boss-grid {
    grid-template-columns: 1fr !important;
    gap: 1.6rem !important;
    text-align: center;
  }

  .boss-grid>div:first-child {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  section {
    padding: 4rem 1rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 16vw, 3.1rem);
    line-height: 1.02;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 9vw, 2.2rem);
  }

  .mechanic-tag {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
  }

  .download-orb-large {
    width: 74px;
    height: 74px;
    margin-bottom: 1.5rem;
  }

  .store-btn {
    min-width: 0;
    padding: 0.8rem 1rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .scroll-hint {
    display: none;
  }

  .levelup-wrap {
    padding: 1.7rem 1.1rem !important;
  }

  .levelup-card {
    padding: 1.2rem 1.1rem !important;
  }

  .levelup-icon {
    width: 54px !important;
    height: 54px !important;
  }

  .biomes-grid {
    gap: 1rem !important;
  }

  .boss-card {
    padding: 1.25rem !important;
  }
}