* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100dvh;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100vw;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE y Edge antiguo */
}

body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge moderno */
}

@media (min-width: 900px) {
    body {
        width: 60%;
        margin-top: 1rem;
        margin-bottom: 1rem;
        background-color: white;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        margin: auto;
        background-image: url('images/sections/Vista_aérea_del_Estadio_Alejandro_Villanueva_2023.jpg');
        background-repeat: repeat;
        background-size: cover;
    }
}

.container-one {
    width: 100%;
    min-height: 130vh;
    background-image: url('images/sections/Vista_aérea_del_Estadio_Alejandro_Villanueva_2023.jpg');
    background-position: center;
    background-size: cover;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    margin: auto;
}


@media (min-width: 900px) {
    .container-one {
        width: 100%;
    }
}

/* HEADER */
.container-one .header {
    width: 100%;
    height: 33vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.container-one .header .sub-header {
    width: 100%;
    height: 20vh;
    display: flex; 
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    font-size: 1.5rem;
    z-index: 103;
}

.container-one .header .banderola {
    width: 100%;
    height: 11vh;
    background-image: url('images/banderola.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

@media (min-width: 900px) {
    .container-one .header {
        height: 20%;
    }
    .container-one .header .banderola {
        background-size: contain;
        background-repeat: repeat-x;
    }

    .container .header .sub-header {
        margin-top: 1rem;
        font-size: 2.5rem;
    }
}

/* FOOTER */
.container-one .footer .footer-register {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 103;
}

.container-one .footer .footer-register .footer-button {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
}

.container-one .footer  .footer-register .footer-img {
    z-index: 103;
}

.container-one .footer  .footer-register .footer-img img {
    width: 20rem;
    height: auto;
    object-fit: cover;
    margin-bottom: -10px;
    z-index: 103;
}

.container-one .footer .footer-options {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.container-one .footer .footer-options span {
    color: white;
    text-decoration: underline white;
    padding: 0.2rem;
    z-index: 103;
}


@media (min-width: 900px) {
    .container-one .footer .footer-button button {
        width: 22rem;
    }
    .container-one .footer .footer-img img {
        width: 30rem;
        height: auto;
        object-fit: cover;
        margin-bottom: -10px;
    }
}

/* FUENTES */
.trade-winds-regular {
    font-family: "Trade Winds", system-ui;
    font-weight: 800;
    font-style: normal;
    color: white;
}


/* BOTÓN CON LATIDO */
.btn-pulso {
    background: #030ea1;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    cursor: pointer;
    outline: none;
    position: relative;
    font-family: "Trade Winds", system-ui;
    animation: latido 1.4s ease-in-out infinite;
    z-index: 104;
}

@media (min-width: 900px) {
    .btn-pulso {
        font-size: 22px;
        padding: 20px 40px;
    }
}

.btn-pulso:hover {
    background: #030ea1;
}

/* Ondas que laten con el botón */
.btn-pulso::before,
.btn-pulso::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.3);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    animation: latido 1.4s ease-out infinite;
    z-index: -1;
}

/* segunda onda con pequeño retraso para dar efecto */
.btn-pulso::after {
    animation-delay: 0.7s;
}

/* Animación del latido (doble golpe) */
@keyframes latido {
    0%   { transform: scale(1); }
    10%  { transform: scale(1.15); }
    20%  { transform: scale(1); }
    30%  { transform: scale(1.15); }
    40%  { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Animación de onda */
@keyframes onda {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    80% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/*SECTION 2 - PREMIOS*/

.container-two {
    width: 100%;
    min-height: 100vh;
    background-image: url('images/sections/001022668W.webp');
    background-position: center;
    background-size: cover;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.container-two .header {
    width: 100%;
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 2rem;
    margin-top: 2rem;
    z-index: 103;
}

.container-two .prizes {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  z-index: 103;
}

.container-two .prizes .prize-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.container-two .prizes .prize-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.container-two .prizes .prize-content .prize-trophy img {
    width: 8.5rem;
}

.container-two .prizes .prize-content .prize-additional {
  width: 40%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.container-two .prizes .prize-content .prize-additional .icon-more img {
  width: 2rem;
}

.container-two .prizes .prize-content .prize-additional .quantity .uno-medio {
  width: 3rem;
}

.container-two .prizes .prize-content .prize-additional .quantity .uno {
  width: 1.5rem;
}

.container-two .prizes .prize-content .prize-additional .additional-pic img {
  width: 7rem;
}

@media (min-width: 900px) {
    .container-two .prizes .prize-content .prize-additional {
        width: 15%;
    }
}

/*SECTION 3 - PATROCINADORES*/

.container-three {
    width: 100%;
    min-height: 80vh;
    background-image: url('images/sections/face-cami-cut-2.jpg');
    background-position: center;
    background-size: cover;
    display: none;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}


.container-three .header {
    width: 100%;
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 2rem;
    margin-top: 2rem;
    z-index: 103;
}

.container-three .sponsors {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    z-index: 103;
}

.container-three .sponsors .item-sponsor {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (min-width: 900px) {
    .container-three .sponsors {
        width: 40%;
    }
}

/*Preloader*/

/* Fondo de carga */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #a3a7e0, #030ea1); /* Fondo negro */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo animado */
#preloader .logo {
  width: 150px;
  border-radius: 50%;
  height: auto;
  margin-bottom: 20px;
  animation: latidoLogo 1s ease-in-out infinite; /* efecto corazón */
}

/* Barra de carga */
.progress-bar {
  width: 200px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  border: 0.5px solid white;
  overflow: hidden;
}

.progress {
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #4049c9, #030ea1);
  border-radius: 5px;
  animation: loadBar 4s linear forwards;
}

/* Animación de latido del logo */
@keyframes latidoLogo {
  0%   { transform: scale(1); }
  10%  { transform: scale(1.1); }
  20%  { transform: scale(1); }
  30%  { transform: scale(1.1); }
  40%  { transform: scale(1); }
  100% { transform: scale(1); }
}

/* Animación de la barra */
@keyframes loadBar {
  from { width: 0; }
  to   { width: 100%; }
}

/*Humo*/

/* Contenedor del humo */
.humo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* No bloquea clicks */
  z-index: 100; /* Encima de todo */
  overflow: hidden;
}

/* Nubes de humo */
.humo span {
  position: absolute;
  bottom: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle, 
    rgba(0, 102, 255, 0.9) 0%,  /* más sólido */
    rgba(0, 102, 255, 0.6) 40%, /* menos transparente */
    rgba(0, 102, 255, 0.3) 70%, 
    transparent 90%
    );
  border-radius: 50%;
  animation: flotar 18s linear infinite;
  opacity: 0.9;
  filter: blur(20px);
}

/* Variaciones */
.humo span:nth-child(1) {
  left: 10%;
  animation-duration: 25s;
  animation-delay: 0s;
}

.humo span:nth-child(2) {
  left: 40%;
  animation-duration: 30s;
  animation-delay: 5s;
}

.humo span:nth-child(3) {
  left: 65%;
  animation-duration: 22s;
  animation-delay: 3s;
}

.humo span:nth-child(4) {
  left: 80%;
  animation-duration: 28s;
  animation-delay: 7s;
}

.humo span:nth-child(5) {
  left: 25%;
  animation-duration: 26s;
  animation-delay: 10s;
}

.humo span:nth-child(6) {
  left: 55%;
  animation-duration: 24s;
  animation-delay: 2s;
}

.humo span:nth-child(7) {
  left: 70%;
  animation-duration: 28s;
  animation-delay: 4s;
}

/* Animación de flotar */
@keyframes flotar {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-50vh) scale(1.7);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) scale(2.3);
    opacity: 0.3;
  }
}

/* Modal Reglamento Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #fff;
    max-height: 80vh;
    max-width: min(90vh, 800px);
    overflow-y: auto;
    position: relative;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE y Edge antiguo */
}

.modal-header {
    background: linear-gradient(135deg, #030ea1, #3b4efc);
    color: #1a1a1a;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    position: relative;
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.close {
    color: #1a1a1a;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
    overflow-x: hidden;
    overflow-y: auto;
    word-wrap: break-word;
}

.reglamento-section {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #030ea1;
    overflow-x: hidden;
    overflow-y: auto;
    word-wrap: break-word;
}

.reglamento-section p {
    line-height: 1.6;
    margin: 0;
    color: #e0e0e0;
}

#btnReglamento {
    cursor: pointer;
    transition: all 0.3s ease;
}

#btnReglamento:hover {
    color: white;
    transform: scale(1.05);
}

/* Animación de entrada del modal */
.modal.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.modal.show .modal-content {
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .modal-body {
        padding: 20px;
    }
}

/* Estilos específicos para el modal del lugar */
.lugar-section {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #030ea1;
}

.direccion-info h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.direccion-info p {
    line-height: 1.6;
    margin: 8px 0;
    color: #e0e0e0;
    font-size: 1rem;
}

.lugar-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
    overflow-x: hidden;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.lugar-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: filter 0.3s ease;
    max-width: 100%;
    height: auto;
}

.lugar-img:hover {
    filter: brightness(1.1);
}

.maps-button-container {
    text-align: center;
    margin-top: 20px;
}

.btn-maps {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}

.btn-maps:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
    background: linear-gradient(135deg, #3367d6, #2d8a43);
}

.btn-maps span {
    font-size: 1.2rem;
}

#btnLugar {
    cursor: pointer;
    transition: all 0.3s ease;
}

#btnLugar:hover {
    color: white;
    transform: scale(1.05);
}

/* Responsive para el modal del lugar */
@media (max-width: 768px) {
    .lugar-gallery {
        grid-template-columns: 1fr;
    }
    
    .lugar-img {
        height: 200px;
    }
    
    .btn-maps {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .modal-content {
        width: 95vw;
        max-width: 95vw;
        margin: 2vh auto;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
}

/* Sección de créditos */
.container-credits {
    background: linear-gradient(135deg, #383cfd, #020b91);
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid rgba(58, 68, 202, 0.3);
}

.credits-content {
    max-width: 1200px;
    margin: 0 auto;
}

.credits-text {
    color: #ccc;
    font-size: 1rem;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.latin-tech-link {
    color: white;
    text-decoration: underline white;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    
}

.latin-tech-link:hover {
    color: #f4e487;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transform: scale(1.05);
    display: inline-block;
}

.latin-tech-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: linear-gradient(90deg, #d4af37, #f4e487);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.latin-tech-link:hover::after {
    width: 100%;
}

/* Efecto de brillo en hover */
.latin-tech-link:hover {
    animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 30px rgba(212, 175, 55, 0.6);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container-credits {
        padding: 20px 15px;
    }
    
    .credits-text {
        font-size: 0.9rem;
    }
}









