@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100;200;300;400;600&display=swap");
/* Global Styles */

:root {
  --character-lumo-color: #10600a;
  --character-zetta-color: #6d30c5;
  --character-electra-color: #093fb4;
  --character-blip-: #c3772b;
  --character-pixie-color: #ca2e4a;
  --character-silencio-color: #a19aa4;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: black;
  color: white;
  font-family: "Lexend", sans-serif;
  font-weight: 300;
}

/*********************************************
 *              LOGO & MENU
 *********************************************/
nav.custom-navbar {
  background: rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(5px);
  display: block !important;
  padding-top: 10px;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s ease !important;
  z-index: 9999 !important;
}

/* Initial state at desktop - hidden */
.navbar-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Active state */
.navbar-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

nav.navbar .nav-link {
  color: white !important;
  font-size: 9pt;
  font-weight: 300;
  margin: 0 10px;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

nav.navbar .nav-link:hover {
  color: #ffffff !important;
  text-shadow: 0 0px 15px white;
}

button.navbar-toggler {
  border: 0 !important;
}

.navbar-toggler-icon {
  width: 30px;
  height: 30px;
}
/* Burger button for mobile */
.custom-toggler .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

/* Important: in mobile we force it to always be visible */
@media (max-width: 991px) {
  /* .custom-navbar {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
  } */

  .custom-navbar .nav-link {
    font-size: 12pt !important;
    padding: 5px 0;
    text-align: center;
  }
}
/*********************************************
 *          EOF LOGO & MENU
 *********************************************/

.snap-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

section {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Background of space */
.space-bg {
  position: relative;
  background-color: transparent !important;
  overflow: visible;
  z-index: 5;
}

section .container,
section .content,
.planet-wrapper,
.home-header,
.home-footer-wrapper {
  position: relative;
  z-index: 10 !important; /* Saltamos al nivel 10 */
}

/* Background with stars */
.space-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/stars.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
  animation: star-glow-fixed 4s ease-in-out infinite alternate !important;
}

@keyframes star-glow-fixed {
  0% {
    filter: brightness(0.8) contrast(1);
  }
  100% {
    filter: brightness(1.8) contrast(1.2);
  }
}
/* Eof background with stars */

/* Star layer */
#star-layer {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200vw;
  height: 200vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  animation: rotate-universe 280s linear infinite;
}

@keyframes rotate-universe {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.custom-star {
  position: absolute;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: star-flash 3s infinite alternate;
}

@keyframes star-flash {
  0% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1.2);
  }
}
/* Eof star layer */

/* Content with Fade Out/In (using the previous JS) */
.content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  color: white;
  text-align: center;
}

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

/*********************************************
 *          FIRST SECTION
 *********************************************/
.home {
  background: url("../images/bg-intro.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: visible !important;
  z-index: 20 !important;
}

/* Logo */
.home-logo {
  max-width: 600px;
  width: 90%;
  height: auto;
}

.home-footer-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.home-band {
  width: 80%;
  max-width: 900px;
  height: auto;
  z-index: 2;
  margin-bottom: 65px;
  pointer-events: none;
}

/* Footer hair */
.bg-hair {
  width: 100%;
  height: 262px;
  background-image: url("../images/bg-hair-double.png");
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.home-footer-wrapper {
  will-change: opacity, transform;
  transition: opacity 0.5s ease-out;
}

/* Button goes down */
.scroll-down.mouse {
  background-color: transparent;
  cursor: pointer;
  pointer-events: auto;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  height: 56px;
  z-index: 20;
  display: flex;
  justify-content: center;
}

.scroll-down.mouse:hover span {
  background-color: rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s ease;
}

.scroll-down.mouse:hover span::after {
  border-color: #000000;
  transition: border-color 0.3s ease;
}

.scroll-down.mouse span {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 55px;
  border: 2px solid #fff;
  border-radius: 50px;
}

.scroll-down.mouse.effect-arrow span::after {
  position: absolute;
  content: "";
  top: 10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: animateArrowScroll 1.8s infinite ease-in-out;
}

@keyframes animateArrowScroll {
  0% {
    opacity: 0;
    top: 5px;
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    top: 30px;
  }
  100% {
    opacity: 0;
    top: 35px;
  }
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .scroll-down.mouse {
    bottom: 20px;
    transform: translateX(-50%) scale(0.8);
  }
}

@media (max-width: 768px) {
  .home {
    height: 100svh;
    display: flex !important;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
    position: relative;
  }
  .home-header {
    padding-top: 0 !important;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }
  .home-logo {
    height: auto;
    margin-bottom: 150px;
    max-width: 80%;
  }
  .home-footer-wrapper {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 5;
  }

  .home-band {
    width: 100%;
    max-width: none;
    margin-bottom: 104px;
    transform: translateX(0);
  }
  .bg-hair {
    bottom: -36px;
  }
}
/*********************************************
 *      EOF FIRST SECTION
 *********************************************/
/*********************************************
 *     PELURNO PLANET SECTION
 *********************************************/
.pelurno-planet-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  z-index: 10;
}

.pelurno-planet-section .planet-wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  pointer-events: none;
  top: 0;
  width: 100%;
  z-index: 11;
}

.pelurno-planet-section .planet-wrapper .pelurno-img {
  filter: drop-shadow(0 0 20px rgba(109, 48, 197, 0.3));
  height: auto;
  max-width: 100%;
  max-height: 80vh;
}

.pelurno-planet-section .planet-wrapper .planet-description {
  color: white;
  font-family: "Lexend", sans-serif;
  font-weight: 200;
  font-size: 14pt;
  line-height: 28px;
}
@media (max-width: 768px) {
  .pelurno-planet-section .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .pelurno-planet-section .row {
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
    display: flex;
  }

  .pelurno-planet-section .planet-wrapper .pelurno-img {
    max-width: 80% !important;
  }
  .pelurno-planet-section .planet-wrapper .planet-description {
    font-size: 12pt; /* Un poco más chico para que entre bien */
    line-height: 22px;
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6); /* Más oscuro para leer mejor sobre el planeta */
    border-radius: 10px;
  }

  /* Ajustamos el planeta para que no se corte */
  .pelurno-planet-section .planet-wrapper .pelurno-img {
    max-width: 90% !important; /* Que no toque los bordes */
    height: auto;
    object-fit: contain; /* Asegura que se vea la esfera completa */
  }

  /* Centramos el contenido verticalmente en móvil */
  .pelurno-planet-section .row {
    margin: 0;
    width: 100%;
  }
}
/*********************************************
 *     EOF PELURNO PLANET SECTION
 *********************************************/

/*********************************************
 *     BAND CHARACTERS SECTION
 *********************************************/
section.band-section .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 0;
}

@media (max-width: 767px) {
  section.band-section .flex-nowrap-mobile {
    flex-wrap: nowrap !important; /* Prevent characters from wrapping */
    overflow-x: auto; /* Enable horizontal scroll */
    -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
    padding-bottom: 20px;
    justify-content: flex-start !important;
    scroll-snap-type: x mandatory; /* So characters "stick" to the center */
  }

  section.band-section .character-card {
    scroll-snap-align: center;
    flex: 0 0 auto; /* Prevent Bootstrap from shrinking them */
  }

  /* Hide the scrollbar for a cleaner look */
  section.band-section.flex-nowrap-mobile::-webkit-scrollbar {
    display: none;
  }
}

/* Style the cards to look good */
section.band-section .character-card {
  margin-top: 50px;
  transition: transform 0.3s ease;
}

section.band-section .card-inner {
  margin: 0 20px 30px 20px;
  position: relative;
}

/* Characters / Band section */
section.band-section .character-card .box-character {
  background: radial-gradient(circle at top left, #412c11 0%, #000000 60%);
  border-width: 2px;
  border-style: solid;
  min-height: 280px;
  width: 250px;
}
section.band-section .character-card .box-character.lumo {
  border-color: var(--character-lumo-color);
}
section.band-section .character-card .box-character.lumo img {
  left: -5px;
  height: 330px;
  top: -50px;
  width: 270px;
}

section.band-section .character-card .box-character.zetta {
  border-color: var(--character-zetta-color);
}

section.band-section .character-card .box-character.zetta img {
  left: 2px;
  top: -65px;
  width: 298px;
}

section.band-section .character-card .box-character.electra {
  border-color: var(--character-electra-color);
}
section.band-section .character-card .box-character.electra img {
  left: -10px;
  top: -33px;
  width: 295px;
}

section.band-section .character-card .box-character.blip {
  border-color: var(--character-blip-);
}
section.band-section .character-card .box-character.blip img {
  left: 5px;
  top: -67px;
  width: 240px;
}

section.band-section .character-card .box-character.pixie {
  border-color: var(--character-pixie-color);
}
section.band-section .character-card .box-character.pixie img {
  left: -36px;
  top: -31px;
  width: 360px;
}

section.band-section .character-card .box-character.silencio {
  border-color: var(--character-silencio-color);
}
section.band-section .character-card .box-character.silencio img {
  left: 15px;

  right: 0;
  top: -44px;
  width: 195px;
}
/* Eof characters / Band section */

section.band-section .character-card img {
  margin: 0 auto;
  position: absolute;
}

section.band-section .character-card h3 {
  bottom: -28px;
  color: white;
  font-family: "Lexend", sans-serif;
  font-size: 32pt;
  font-weight: 600;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  text-shadow: 0px 0px 10px rgb(152 152 152 / 90%);
}
@media (max-width: 767px) {
  .band-section .flex-nowrap-mobile {
    padding-left: 20px;
    padding-right: 50px;
  }

  /* "Button" to see more characters */
  /* .band-section::after {
    content: "Desliza para ver más →";
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10pt;
    color: white;
    animation: bounceLR 2s infinite;
    opacity: 0.8;
    z-index: 20;
  } */
}

/* @keyframes bounceLR {
  0%,
  100% {
    transform: translateX(-50%);
  }
  50% {
    transform: translateX(-40%);
  }
} */

.scroll-right.mouse {
  display: none;
}

/* Display icon to slide lateral */
@media (max-width: 768px) {
  .scroll-right.mouse {
    display: flex;
    background-color: transparent;
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    z-index: 20;
    justify-content: center;
  }

  .scroll-right.mouse span {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 50px;
  }

  .scroll-right.mouse.effect-arrow span::after {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: 5px;
    margin: auto 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    animation: animateArrowRight 1.8s infinite ease-in-out;
  }
}

@keyframes animateArrowRight {
  0% {
    opacity: 0;
    left: 5px;
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    left: 30px;
  }
  100% {
    opacity: 0;
    left: 40px;
  }
}
/*********************************************
 *     EOF BAND CHARACTERS SECTION
 *********************************************/

/*********************************************
 *             DISC SECTION
 *********************************************/
section.section-disc h2 {
  font-size: 18pt;
}
section.section-disc .social-icon {
  width: 80px;
  height: auto;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  filter: brightness(0.9);
}

section.section-disc .social-link:hover .social-icon {
  transform: scale(1.1);
  filter: brightness(1.2);
}

@media (max-width: 768px) {
  section.section-disc .social-icon {
    width: 80px;
  }
}
/*********************************************
 *           EOF DISC SECTION
 *********************************************/
/*********************************************
 *           CONTACT SECTION
 *********************************************/
section.section-contact .contact-card .form-control {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #000;
  color: black;
  font-size: 11pt;
  font-weight: 300;
}

section.section-contact .contact-card .form-control:focus {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

section.section-contact .contact-card .btn-submit {
  background-color: #9900ff !important;
  color: white !important;
  border: none !important;
}

section.section-contact .contact-card .btn-submit:hover {
  background-color: #b333ff !important;
  color: white !important;
}

footer {
  min-height: 220px;
  padding: 40px 0;
  background-image: url("../images/bg-footer.png");
  background-size: cover;
  background-position: top center;
  position: relative;
  z-index: 10;
  width: 100%;
}

section.section-contact .footer-icons a {
  transition: all 0.3s ease;
  opacity: 0.8;
  display: inline-block;
}

section.section-contact .footer-icons a:hover {
  opacity: 1;
  transform: translateY(-5px);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}
/*********************************************
 *           EOF CONTACT SECTION
 *********************************************/
