/* Reset y configuración base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  overflow-x: hidden !important;
  height: 100%;
}

/* Loading Screen */
#loading {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 1s ease;
}

.loading-logo {
  max-width: 400px;
  height: auto;
  opacity: 0;
  animation: fadeInZoom 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInZoom {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* App Container */
.app {
  opacity: 0;
  transition: opacity 1s ease;
}

.app-ready {
  opacity: 1;
}

/* Header */

.header {
  position: relative;
  overflow: visible;
  padding-top: 0;
  z-index: 1000;
}

.cloud-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  overflow: hidden;
}

.nube {
  position: relative;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
}

.main-nav {
  display: flex;
  position: absolute;
  top: 40px;
  margin-left: 40px;
  z-index: 999;
  gap: 15px;
}

.nav-item {
  font-family: 'Chewy', cursive;
  color: #4EDAFF;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  background: #ffffff;
  padding: 12px 25px;
  border-radius: 25px;
  border: 2px solid #dbdbdb9e;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  opacity: 0;
  transform: translateY(-20px);
  margin-right: 15px;
}

.nav-item:hover {
  color: #ffffff;
  background: #4EDAFF;
  border: 2px solid #dbdbdb9e;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Animación para mostrar los elementos */
.nav-item.show-on-scroll {
  animation: slideIn 0.6s ease-out forwards;
}

.nav-item:nth-child(1) {
  animation-delay: 0.1s;
}

.nav-item:nth-child(2) {
  animation-delay: 0.2s;
}

.nav-item:nth-child(3) {
  animation-delay: 0.3s;
}

.nav-item:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-header {
  position: absolute;
  top: 30px;
  right: 60px;
  width: 280px;
  transform: rotate(3deg) translateY(-50px);
  z-index: 10;
  display: block;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.show-header-logo {
  transform: rotate(3deg) translateY(0);
  opacity: 1;
}

.logo-img {
  height: auto;
  pointer-events: none;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  min-height: 100vh;
  min-width: 100%;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(135, 206, 235, 0.1);
  z-index: 1;
  pointer-events: none;
}

/* Ajustes para móviles */
@media (max-width: 480px) {
  .bg-video {
    left: -100%;
  }
}

/* Asegurar que el video permanezca visible en diferentes dispositivos */
@media (max-width: 768px) {
  .bg-video {
    height: 100vh;
    width: auto;
    min-width: 100%;
  }
}

/* Asegurar que el video permanezca visible en orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
  .bg-video {
    height: auto;
    width: 100%;
  }
}

/* Section Clouds */
.section-clouds {
  position: relative;
  width: 110%;
  overflow: hidden;
  margin-top: -240px;
  z-index: 1000;
}

.section-clouds-bottom {
  position: relative;
  width: 110%;
  margin-top: -25px;
  overflow: hidden;
  z-index: 10;
}

.nube-superior {
  position: relative;
  width: 100%;
  z-index: 5;
  display: block;
  pointer-events: none;
  margin-bottom: -5px;
}

.nube-inferior-section {
  position: relative;
  width: 120%;
  z-index: 4;
  margin-top: -1px;
  display: block;
  pointer-events: none;
}

/* Responsive adjustments for clouds  Tablet*/
@media (min-width: 481px) and (max-width: 884px) {
  .comisiones {
    min-height: 0vh !important;
    padding-top: 0 !important;
  }

  .section-clouds {
    width: 160%;
    margin-top: -110px !important;
    left: -15%;
    position: relative;
  }

  .section-clouds-bottom {
    width: 160%;
    position: relative;
  }

  .nube-superior {
    width: 140%;
  }

  .nube-inferior-section {
    width: 140%;
  }

  .about-section-clouds {
    width: 160% !important;
    margin-top: -125px !important;
    position: relative !important;
    left: -15%;
  }

  .about-section-clouds-bottom {
    width: 160% !important;
    position: relative !important;
  }

  .about-nube-superior {
    width: 140% !important;
  }

  .about-nube-inferior-section {
    width: 140% !important;
    margin-top: -2px !important;
  }
}

/* Responsive adjustments for clouds Mobile*/
@media (max-width: 480px) {
  .comisiones {
    min-height: 0vh !important;
    padding-top: 0 !important;
  }

  .section-clouds {
    width: 160%;
    margin-top: -48px !important;
    left: -20%;
    position: relative;
  }

  .section-clouds-bottom {
    width: 160%;
    position: relative;
  }

  .nube-superior {
    width: 140%;
  }

  .nube-inferior-section {
    width: 140%;
  }

  .about-section-clouds {
    width: 160% !important;
    margin-top: -70px !important;
    position: relative !important;
    left: -15%;
  }

  .about-section-clouds-bottom {
    width: 160% !important;
    margin-top: -15px !important;
    position: relative !important;
  }

  .about-nube-superior {
    width: 140% !important;
  }

  .about-nube-inferior-section {
    width: 140% !important;
  }
}

/* Comisiones Section */
.comisiones {
  background-image: url("../assets/fondo_de_patos.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  padding: 100px 20px;
  z-index: 1;
  min-height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contenido {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
}

.contenido h2 {
  font-family: 'Chewy', cursive;
  font-size: 3.5rem;
  color: #8B4513;
  transform: rotate(-2deg);
  line-height: 1.2;
  text-align: center;
  text-shadow: 3px 3px 0 #FFFACD, -1px -1px 0 #FFFACD, 1px -1px 0 #FFFACD, -1px 1px 0 #FFFACD;
  margin-bottom: 40px;
}

.comisiones-subtitle {
  font-size: 2rem;
  text-align: center;
  color: #8B4513;
  font-family: 'Chewy', cursive;
  margin-bottom: 40px;
}

.cartel-container {
  margin: 40px 0;
  position: relative;
  z-index: 3;
}

.cartel {
  width: 200px;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.cartel:hover {
  transform: scale(1.05) rotate(-1deg);
}

/* Decoraciones */
.estrella,
.patito {
  position: absolute;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1s ease, transform 1s ease;
}

.estrella-1 {
  width: 300px;
  bottom: 50% !important;
  margin-left: 130px;
  left: 0;
  transform: scale(0.8) rotate(-15deg);
}

.estrella-2 {
  width: 300px;
  bottom: 40% !important;
  margin-right: 70px;
  right: 0;
  transform: scale(0.8) rotate(15deg);
}

.estrella-3 {
  width: 150px;
  bottom: 30%;
  left: 25%;
  transform: scale(0.8) rotate(20deg);
}

.estrella-4 {
  width: 150px;
  bottom: 20%;
  right: 5%;
  transform: scale(0.8) rotate(-20deg);
}

.patito-1 {
  width: 250px;
  bottom: 0%;
  right: 20%;
  transform: scale(0.8) rotate(5deg);
}

.estrella {
  animation: girarEstrella 4s ease-in-out infinite alternate;
}

@keyframes girarEstrella {
  0% {
    transform: rotate(0deg) scale(1);
  }

  100% {
    transform: rotate(10deg) scale(1.05);
  }
}

/* Responsive adjustments for decorations */
@media (min-width: 481px) and (max-width: 884px) {

  .estrella-1 {
    width: 160px;
    bottom: 50% !important;
    margin-left: 10px;
  }

  .estrella-2 {
    width: 160px;
    right: 50%;
    top: 30%;
  }

  .estrella-3 {
    width: 160px;
    margin-bottom: -60px;
    left: 80%;
  }

  .estrella-4 {
    width: 160px;
    bottom: 60%;
    left: 85%;
  }

  .patito-1 {
    width: 150px;
    top: 65%;
    right: 20%;
  }

  .patito-2 {
    width: 90px;
  }

  .contenido h2 {
    font-size: 2.5rem;
  }

  .comisiones-subtitle {
    font-size: 1.5rem;
  }

  .cartel {
    width: 150px;
  }
}

@media (max-width: 480px) {

  .estrella-1 {
    width: 60px;
    bottom: 70% !important;
    margin-left: 10px;
  }

  .estrella-2 {
    width: 100px;
    right: 50%;
    top: 30%;
  }

  .estrella-3 {
    width: 100px;
    margin-top: 100px;
    left: 80%;
  }

  .estrella-4 {
    width: 80px;
    bottom: 60%;
    left: 85%;
  }

  .patito-1 {
    width: 75px;
    left: 75%;
  }

  .contenido h2 {
    font-size: 2rem;
  }

  .comisiones-subtitle {
    font-size: 1.2rem;
  }

  .cartel {
    width: 120px;
  }
}

/* About Section Clouds*/
.about-section-clouds {
  position: relative;
  width: 110%;
  overflow: hidden;
  margin-top: -120px;
  z-index: 1000;
}

.about-section-clouds-bottom {
  position: relative;
  width: 110%;
  margin-top: -25px;
  overflow: hidden;
  z-index: 10;
}

.about-nube-superior {
  position: relative;
  width: 100%;
  z-index: 5;
  display: block;
  pointer-events: none;
  margin-bottom: -5px;
}

.about-nube-inferior-section {
  position: relative;
  width: 120%;
  z-index: 4;
  margin-top: -1px;
  display: block;
  pointer-events: none;
}

/* Responsive adjustments for clouds */
@media (max-width: 768px) {
  .about-section-clouds {
    width: 100%;
    margin-top: -120px;
  }

  .about-section-clouds-bottom {
    width: 100%;
    margin-top: -15px;
  }

  .about-nube-superior {
    width: 100%;
  }

  .about-nube-inferior-section {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .section-clouds {
    margin-top: -80px;
  }

  .section-clouds-bottom {
    margin-top: -10px;
  }
}

/* About Section */
.about-section {
  background: linear-gradient(119.28deg, #FFFFFF 7.28%, #4EDAFF 118.25%);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 2;
  margin: auto;
  padding: 80px 40px;
}

.about-avatar {
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.avatar-img {
  width: 350px;
  height: 350px;
  border-radius: 200rem;
  box-shadow: none;
  border: none;
  object-fit: contain;
  rotate: 12deg;
}

.about-text-container {
  flex: 1;
  position: relative;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-text-container::before {
  display: none;
}

.speech-bubble-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-bottom: 30px;
  object-fit: contain;
}

.about-title,
.about-description {
  display: none;
}

.about-cta {
  font-size: 1.2rem;
  font-family: 'Chewy';
  color: #2c5f7c;
  margin: 20px 0 30px 0;
  font-weight: 400;
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 3;
}

.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 3;
  margin-bottom: 40px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  color: #38bdf8;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-icon svg {
  width: 24px;
  height: 24px;
  transition: all 0.4s ease;
  z-index: 2;
  position: relative;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #38bdf8 0%, #0d8bd9 50%, #0284c7 100%);
  opacity: 0;
  transition: all 0.4s ease;
  border-radius: 50%;
}

.social-icon:hover {
  transform: translateY(-8px) rotate(-8deg) scale(1.15);
  box-shadow: 0 15px 30px rgba(56, 189, 248, 0.4);
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover svg {
  color: white;
  transform: scale(1.1);
}

.social-twitter:hover::before {
  background: #000000;
  /* Color negro sólido para X (anteriormente Twitter) */
}

.social-discord:hover::before {
  background: linear-gradient(135deg, #7289da 0%, #5b6eae 50%, #4a5d96 100%);
}

.social-instagram:hover::before {
  background: linear-gradient(135deg, #e4405f 0%, #c13584 50%, #833ab4 100%);
}

.social-youtube:hover::before {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 50%, #990000 100%);
}

.social-patreon:hover::before {
  background: linear-gradient(135deg, #f96854 0%, #e85142 50%, #d73f30 100%);
}

/* Responsive styles about section*/

/* Tablet*/
@media (min-width: 481px) and (max-width: 884px) {}

/* Mobile*/
@media (max-width:481px) {}

/* Footer */
.footer {
  background: linear-gradient(19.28deg, #FFFFFF 3.0%, #4EDAFF 120%);
  padding: 40px 20px 40px;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
  margin-top: -1px;
  z-index: 1000 !important;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.footer-nav-item {
  font-family: "Chewy", cursive;
  font-size: 1.1rem;
  color: #2E9BB8;
  text-decoration: none;
  background: #88E6FF;
  padding: 12px 25px;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: solid 3px #4EDAFF;
  font-weight: 400;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.copyright {
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  color: #2E9BB8;
  font-weight: 400;
}

/* Responsive adjustments for mobile and tablet */
@media (min-width: 481px) and (max-width: 884px) {
  .footer {
    margin-top: -1px;
    z-index: 5 !important;
    background: linear-gradient(39.28deg, #FFFFFF 0.0%, #4EDAFF 100%);
  }

  .about-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding: 60px 30px;
  }

  .avatar-img {
    width: 160px;
    height: 160px;
  }

  .speech-bubble-img {
    max-width: 400px;
  }

  .social-icons {
    gap: 15px;
  }

  .social-icon {
    width: 55px;
    height: 55px;
  }

  .social-icon svg {
    width: 22px;
    height: 22px;
  }

  .footer-nav {
    gap: 15px;
  }

  .footer-nav-item {
    font-size: 1rem;
    padding: 10px 20px;
    width: 20%;
    align-self: center;
  }
}

@media (max-width: 480px) {
  .footer {
    background: linear-gradient(50deg, #FFFFFF 1.0%, #4EDAFF 100%);
    margin-top: -1px;
    z-index: 5 !important;
    opacity: 0.9;
  }

  .avatar-img {
    width: 140px;
    height: 140px;
  }

  .speech-bubble-img {
    max-width: 320px;
    margin-left: 60px;
  }

  .social-icons {
    gap: 12px;
  }

  .social-icon {
    width: 50px;
    height: 50px;
  }

  .social-icon svg {
    width: 20px;
    height: 20px;
  }

  .footer-nav-item {
    font-size: 0.9rem;
    padding: 8px 16px;
    width: 50%;
    align-self: center;
  }

  .about-content {
    padding: 60px 20px;
  }
}


/* Animaciones de Scroll */
.show-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.show-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

/* Animaciones especiales para navegación */
.nav-item:nth-child(1) {
  transition-delay: 0.1s;
}

.nav-item:nth-child(2) {
  transition-delay: 0.2s;
}

.nav-item:nth-child(3) {
  transition-delay: 0.3s;
}

.nav-item:nth-child(4) {
  transition-delay: 0.4s;
}

/* Animaciones para iconos sociales */
.social-icons .social-icon {
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icons.show .social-icon:nth-child(1) {
  animation: socialReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.1s;
}

.social-icons.show .social-icon:nth-child(2) {
  animation: socialReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.2s;
}

.social-icons.show .social-icon:nth-child(3) {
  animation: socialReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.3s;
}

.social-icons.show .social-icon:nth-child(4) {
  animation: socialReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.4s;
}

.social-icons.show .social-icon:nth-child(5) {
  animation: socialReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.5s;
}

@keyframes socialReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive Design */

/* Tablet*/
@media (min-width: 481px) and (max-width: 884px) {
  .relleno-blanco {
    width: 100%;
    height: 40px;
    background-color: #fff;
  }

  .nube {
    margin-top: 30px;
  }

  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-item {
    font-size: 18px;
    padding: 10px 20px;
  }

  .logo-header {
    width: 180px;
    right: 20px;
    top: 5px;
  }

  .contenido h2 {
    font-size: 2.5rem;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }

}

/* Mobile */
@media (max-width: 480px) {

  .logo-header {
    width: 180px;
    right: 10px;
    top: 5px;
  }

  .relleno-blanco {
    height: 50px;
  }

  .nube {
    margin-top: 45px;
  }

  .loading-logo {
    max-width: 250px;
    justify-self: center;
  }

  .contenido h2 {
    font-size: 2rem;
  }

  .about-title {
    font-size: 2rem;
  }

  .social-icons {
    justify-content: center;
  }

  .cartel {
    width: 150px;
  }
}

/* Mobile Menu - Solo líneas */
.mobile-menu-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 30px;
  height: 24px;
  border: none;
  background: transparent;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}

.mobile-menu-btn:hover .hamburger-line {
  background: #36B5E8;
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

.hamburger-line {
  display: block;
  width: 30px;
  height: 3px;
  background: #0a2a38;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
  transform-origin: center;
}

.hamburger-line+.hamburger-line {
  margin-top: 6px;
}

/* Animación a X, simple y limpia */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hover de líneas */
.mobile-menu-btn:hover .hamburger-line {
  background: #42C4F5;
}

/* Overlay container */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  visibility: hidden;
  opacity: 0;
  z-index: 1500;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-nav-overlay.open {
  visibility: visible;
  opacity: 1;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Sliding panel */
.mobile-nav {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(85%, 340px);
  background: linear-gradient(145deg, #ffffff 0%, #f8fffe 100%);
  border-left: 1px solid rgba(66, 196, 245, 0.1);
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
}

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

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px;
  background: linear-gradient(135deg, rgba(66, 196, 245, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid rgba(66, 196, 245, 0.1);
}

.mobile-nav-logo {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(66, 196, 245, 0.2));
}

.mobile-close-btn {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  color: #666;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 16px;
}

.mobile-close-btn:hover {
  background: linear-gradient(135deg, #42C4F5 0%, #36B5E8 100%);
  color: white;
  transform: rotate(90deg) scale(1.1);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mobile-nav-item {
  display: block;
  font-family: 'Chewy', cursive;
  font-size: 20px;
  color: #4EDAFF;
  ;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 2px solid #dbdbdb9e;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(20px);
}

.mobile-nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(66, 196, 245, 0.1), transparent);
  transition: left 0.6s ease;
}

.mobile-nav-item:hover::before {
  left: 100%;
}

.mobile-nav-item:hover {
  background: linear-gradient(135deg, #42C4F5 0%, #36B5E8 100%);
  color: white;
  transform: translateX(4px) scale(1.02);
  border-color: #42C4F5;
  box-shadow: 0 8px 25px rgba(66, 196, 245, 0.3);
}

.mobile-nav-overlay.open .mobile-nav-item {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-overlay.open .mobile-nav-item:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-nav-overlay.open .mobile-nav-item:nth-child(2) {
  transition-delay: 0.15s;
}

.mobile-nav-overlay.open .mobile-nav-item:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-nav-overlay.open .mobile-nav-item:nth-child(4) {
  transition-delay: 0.25s;
}

.mobile-nav-text {
  font-weight: 600;
  color: #666;
  margin-bottom: 16px;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  transition-delay: 0.3s;
}

/* Estilos para el botón del carrito en todas las páginas */
.nav-actions {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1200;
}

/* Responsive behavior */
@media (max-width: 900px) {
  .mobile-menu-btn {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  .logo-header {
    right: 16px;
    width: 220px;
  }

  .nav-actions {
    top: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .about-content {
    padding: 60px 20px;
  }

  .nav-actions {
    top: 10px;
    right: 10px;
  }
}

/* Estilos para la página de contacto */
.contact-page {
  min-height: 100vh;
  background: linear-gradient(299.28deg, #FFFFFF -18.25%, #4EDAFF 92.72%);
  position: relative;
  overflow-x: hidden;
}

.header-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
}

.logo-header-link {
  display: inline-block;
}

.logo-contact {
  max-width: 250px;
  width: 100%;
  height: auto;
  margin-top: 3rem;
}

.back-home-link {
  margin-bottom: 2rem;
  margin-left: 84px;
  border-radius: 200px;
  border-width: 4px;
  opacity: 1;
  border: 4px solid rgba(161, 235, 255, 1);
}

.contact-main {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 2rem 0;
  margin-top: -5rem;
}

.contact-container {
  width: 100%;
  position: relative;
  z-index: 2;
}

.contact-content {
  border-radius: 20px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.contact-title {
  font-family: 'Chewy', cursive;
  font-size: 2.5rem;
  color: #165566;
  text-align: center;
  margin: 20px auto 30px;
  width: 100%;
}

.back-home-link {
  position: fixed;
  top: 150px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 519px;
  margin: 0 auto;
  margin-bottom: 12rem;
  padding: 0 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  width: 100%;
}

.form-group label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #3D95AC;
  font-size: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E3348D;
  border-radius: 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  transition: border-color 0.3s ease;
  background-color: white;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #4EDAFF;
  outline: none;
}

.form-group textarea {
  min-height: 165px;
  resize: vertical;
}

::placeholder {
  color: #E3348D;
  opacity: 0.6;
}

.form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

.terms-text {
  font-size: 0.9rem;
  color: #3D95AC;
  font-family: 'Poppins';
  margin: 0;
}

.terms-link {
  color: #E3348D;
  font-weight: 500;
}

.submit-btn {
  background: #E3348D;
  color: #fff;
  font-family: 'Chewy';
  font-size: 16px;
  min-width: 180px;
  width: auto;
  padding: 0 30px;
  height: 44px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 107, 158, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 107, 158, 0.4);
}

/* Decorative elements */
.decorative-elements {
  position: absolute;
  width: 100%;
  height: calc(100% + 100px);
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.duck-left {
  position: absolute;
  width: 150px;
  left: 0;
  bottom: 30%;
}

.duck-right {
  position: fixed;
  width: 120px;
  bottom: 0;
  left: 0;
  z-index: 1000;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.character-right {
  position: fixed;
  width: 300px;
  right: 30px;
  bottom: 0;
  z-index: 1000;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.about-contact {
  font-size: 24px;
  font-family: 'Chewy';
  color: #3D95AC;
  margin: 20px 0 30px 0;
  font-weight: 400;
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 3;
}

/* Responsive styles */
@media (min-width: 481px) and (max-width: 884px) {

  ::-webkit-scrollbar {
    display: none;
  }

  .back-home-link {
    left: 10px;
    margin-top: -8rem;
    position: absolute;
  }


  .contact-content {
    padding: 20px 20px;
  }

  .form-footer {
    margin-right: 8.5rem;
  }

  .contact-title {
    font-size: 2rem;
  }

  .duck-left {
    width: 100px;
    left: 0;
  }

  .duck-right {
    width: 120px;
    left: 0;
  }

  .character-right {
    width: 200px;
    right: 2%;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px;
    width: 100%;
  }

}

@media (max-width: 480px) {

  .logo-contact {
    max-width: 200px;
    width: 100%;
    margin-top: 1rem;
  }

  .contact-content {
    padding: 10px 10px;
  }

  .contact-title {
    font-size: 1.8rem;
    margin-top: 2rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px;
    width: 100%;
  }

  .form-footer {
    margin-right: 8.5rem;
  }

  .submit-btn {
    padding: 10px 25px;
    font-size: 1rem;
  }

  .back-home-link {
    margin-left: 5px;
    position: absolute;
    margin-top: -170px;
  }

  .duck-left {
    width: 70px;
    top: 25%;
  }

  .duck-right {
    width: 100px;
    bottom: 0;
  }

  .character-right {
    width: 140px;
    right: 2%;
    top: 80%;
  }

  ::-webkit-scrollbar {
    display: none;
  }

}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #E3348D;
  color: white;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(227, 52, 141, 0.3);
  font-family: 'Chewy', cursive;
  font-size: 16px;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Custom Scroll Bar*/
::-webkit-scrollbar {
  width: 16px;
}

::-webkit-scrollbar-track {
  background: #E8F7FC;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #4EDAFF;
  border-radius: 10px;
  border: 3px solid #E8F7FC;
}

::-webkit-scrollbar-thumb:hover {
  background: #36B5E8;
}