/* ===================================================== */
/* CUPISSA — BASE GLOBAL */
/* ===================================================== *

/* ========================= */
/* RESET BÁSICO */
/* ========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color var(--transition-medium),
              color var(--transition-medium);
  position: relative;

  /* Fondo global continuo */
  background:
  radial-gradient(circle at 20% 30%, rgba(219,19,122,0.12), transparent 40%),
  radial-gradient(circle at 80% 70%, rgba(219,19,122,0.08), transparent 40%),
  linear-gradient(145deg, #000000, #111111);
}

/* ========================= */
/* IMÁGENES */
/* ========================= */

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

/* ========================= */
/* LINKS */
/* ========================= */

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

/* ========================= */
/* BOTONES */
/* ========================= */

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
}

/* ========================= */
/* LISTAS */
/* ========================= */

ul {
  list-style: none;
}

/* ========================= */
/* SCROLL PERSONALIZADO */
/* ========================= */

::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-pink);
  border-radius: 10px;
}

/* ========================= */
/* CONTENEDOR PRINCIPAL */
/* ========================= */

main {
  padding-top: calc(var(--header-height) + var(--mundos-height));
}

/* ===================================================== */
/* ✦ ESTRELLAS CUPISSA */
/* ===================================================== */

.global-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-pink);
  clip-path: polygon(
    50% 0%,
    60% 40%,
    100% 50%,
    60% 60%,
    50% 100%,
    40% 60%,
    0% 50%,
    40% 40%
  );
  opacity: 0.2;
  animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
  0%,100% { opacity: 0.1; transform: scale(0.8); }
  50% { opacity: 0.6; transform: scale(1.2); }
}