/* #region RESET Y FUENTE */
body {
    margin: 0;
    font-family: 'Merriweather Sans', sans-serif;
    background: white;
    overflow-x: hidden;
    max-width: 100vw;
}
/* #endregion */

/* #region TÍTULOS PRINCIPALES */
.info-container h1,
.cubos-title h2,
.cronograma-title h2,
.premios-title h2,
.ubicacion-title,
.primera-edicion-title h2 {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 800;
    font-size: 32px;
    text-transform: uppercase;
    color: #4d4d4d;
    margin: 0 0 35px 0;
}
/* #endregion */

/* #region HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 160px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.header-inner {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8%;
    position: relative;
}

.social-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-logos img {
    height: 40px;
}



.login-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: black;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.login-link:hover::after {
    transform: scaleX(0);
    transform-origin: right;
}

.header-logo {
    display: none;
    height: 60px;
    transition: opacity 0.3s ease;
    position: absolute;
    left: 0;
}



header.scrolled .social-logos {
    transform: scaleY(0);
    opacity: 0;
}

header.scrolled .header-logo {
    display: block;
    opacity: 1;
}



/* Header responsive */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 5%;
    }
    
    .social-logos img {
        height: 35px;
    }
    
    .login-link {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    header {
        height: 120px;
    }
    
    .header-inner {
        padding: 0 4%;
    }
    
    .social-logos {
        gap: 15px;
    }
    
    .social-logos img {
        height: 30px;
    }
    

    
    .header-logo {
        height: 50px;
    }
}

@media (max-width: 480px) {
    header {
        height: 100px;
    }
    
    .header-inner {
        padding: 0 3%;
    }
    
    .social-logos {
        gap: 12px;
    }
    
    .social-logos img {
        height: 25px;
    }
    

    
    .header-logo {
        height: 40px;
    }
}
/* #endregion */

/* #region MAIN LANDING */
main {
    padding-top: 200px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.landing-logo {
    height: 200px;
    margin-bottom: 40px;
}

.social-logos-landing {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.social-logos-landing img {
    height: 35px;
    transition: transform 0.3s ease;
}

.social-logos-landing img:hover {
    transform: scale(1.1);
}

.title {
    font-weight: 300;
    font-size: 28px;
    color: #4d4d4d;
    text-transform: uppercase;
}

.title b {
    font-weight: 700;
}

.subtitle {
    font-weight: 300;
    color: #808080;
    font-size: 18px;
    margin: 30px 0;
}

.cta-button {
    background-color: #4d4d4d;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    width: 300px;
    height: 68px;
    border: none;
    font-size: 24px;
    cursor: pointer;
    border-radius: 34px;
    font-family: 'Merriweather Sans', sans-serif;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 43px;
}

.proponer-cubo-button {
    background-color: #6b6b6b;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    width: 200px;
    height: 50px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 25px;
    font-family: 'Merriweather Sans', sans-serif;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    background-color: #b3cfeb;
}

.proponer-cubo-button:hover {
    background-color: #8a8a8a;
}
/* #endregion */

/* Media queries para tablets */
@media (max-width: 1024px) {
    .descripcion-section {
        margin-bottom: 150px;
        margin-top: 120px;
    }
    
    .descripcion-wrapper {
        width: 90%;
        gap: 40px;
    }
    
    .descripcion-cubo {
        flex: 0 0 350px;
        height: 350px;
    }
    
    .descripcion-texto {
        text-align: center;
    }
    
    .cube {
        width: 250px;
        height: 250px;
    }
    
    .face {
        width: 250px;
        height: 250px;
    }
    
    .front  { transform: translateZ(125px); }
    .back   { transform: rotateY(180deg) translateZ(125px); }
    .right  { transform: rotateY(90deg) translateZ(125px); }
    .left   { transform: rotateY(-90deg) translateZ(125px); }
    .top    { transform: rotateX(90deg) translateZ(125px); }
    .bottom { transform: rotateX(-90deg) translateZ(125px); }
    
    .descripcion-texto h2 {
        font-size: 30px;
    }
    
    .descripcion-texto p {
        font-size: 16px;
    }
}

/* #region DESCRIPCIÓN */
.descripcion-section {
    background: white;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 200px;
    margin-top: 157px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.descripcion-wrapper {
    width: 100%;
    display: flex;
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
    min-height: 100%;
    gap: 60px;
}

.descripcion-cubo {
    flex: 0 0 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.cube {
    position: relative;
    width: 280px;
    height: 280px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.face {
    position: absolute;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.1);
    overflow: hidden;
}

.face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front  { transform: translateZ(140px); }
.back   { transform: rotateY(180deg) translateZ(140px); }
.right  { transform: rotateY(90deg) translateZ(140px); }
.left   { transform: rotateY(-90deg) translateZ(140px); }
.top    { transform: rotateX(90deg) translateZ(140px); }
.bottom { transform: rotateX(-90deg) translateZ(140px); }

.descripcion-texto {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    font-family: 'Merriweather Sans', sans-serif;
}

.descripcion-texto h2 {
    font-size: 36px;
    font-weight: 500;
    color: #4d4d4d;
    margin-bottom: 20px;
}

.descripcion-texto p {
    font-size: 16px;
    font-weight: 300;
    color: #808080;
    line-height: 1.5;
}
/* #endregion */

/* #region INFO */
.info-section {
    background: #f2f2f2;
    min-height: 740px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
    padding: 0 20px;
}

.info-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    height: 470px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.info-container {
    flex: 1;
    height: 470px;
    background: #f2f2f2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.info-container:not(:last-child) {
    border-right: 1px solid #333333;
}

.info-container img {
    height: 130px;
    margin: 0 0 35px 0;
}

.info-container h2 {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #333333;
    margin: 0 0 20px 0;
}

.info-container .address {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: #333333;
    line-height: 1.4;
    margin: 0;
}
/* #endregion */

/* Media queries para cubos */
@media (max-width: 1024px) {
    /* Footer tablet */
    .footer-container {
        padding: 50px 30px;
        gap: 40px;
    }
    
    .footer-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .social-links svg {
        width: 35px;
        height: 35px;
    }
    
    .contact-item {
        font-size: 18px;
    }
    
    .cubos-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 20px;
        max-width: 800px;
    }
    
    .cubo-item {
        padding: 25px 20px;
    }
    
    .cubo-name {
        font-size: 20px;
    }
    
    .cubo-subtitle {
        font-size: 16px;
    }
    
    .cubo-desc {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .cubos-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        max-width: 400px;
    }
    
    .cubo-item {
        padding: 25px 20px;
        max-width: 100%;
    }
    
    .cubo-name {
        font-size: 20px;
    }
    
    .cubo-subtitle {
        font-size: 16px;
    }
    
    .cubo-desc {
        font-size: 14px;
    }
}

/* #region CUBOS */
.cubos {
    text-align: center;
    margin: 100px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.cubos-underline {
    margin: 40px auto 60px;
    width: 62px;
    height: 2px;
    background: black;
}

.cubos-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cubo-item {
    text-align: center;
    max-width: 280px;
    width: 100%;
    text-decoration: none;
    color: inherit;
    padding: 40px 25px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.cubo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b3cfeb, #4d4d4d);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.cubo-item:hover::before {
    transform: scaleX(1);
}

.cubo-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateY(-8px);
    border-color: #b3cfeb;
}

.cubo-img {
    height: 120px;
    width: auto;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.cubo-item:hover .cubo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2));
}

.cubo-name {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cubo-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.cubo-desc {
    font-size: 14px;
    font-weight: 400;
    color: #777;
    line-height: 1.5;
    margin-bottom: 0;
}


/* #endregion */

/* #region CRONOGRAMA */
.cronograma-section {
    background: #f2f2f2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 20px 60px 20px;
    text-align: center;
}

.cronograma-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: black;
    margin: 10px 0;
}

.cronograma-underline {
    margin: 40px auto;
    width: 62px;
    height: 2px;
    background: black;
}

.cronograma-cuadro {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cronograma-cuadro .columna {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cronograma-item {
    background: white;
    width: 500px;
    height: 62px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    font-size: 20px;
    gap: 40px;
}

.cronograma-item .hora {
    font-weight: bold;
}

.cronograma-item .actividad {
    font-weight: 300;
}

@media (max-width: 480px) {
.cubos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}
}
/* #endregion */

/* #region PREMIOS */
.premios-section {
    background: white;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 20px;
    text-align: center;
}

.premios-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: black;
    margin: 10px 0;
}

.premios-underline {
    margin: 40px auto;
    width: 62px;
    height: 2px;
    background: black;
}

.premios-cuadro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 800px;
    width: 100%;
    margin-top: 40px;
    text-align: center;
}

.premio-row {
    display: contents;
}

.premio-pos, .premio-detalle {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.premio-pos {
    color: white;
    font-weight: 800;
}

.premio-detalle {
    background: #f2f2f2;
    color: black;
    font-weight: 300;
}

.pos1 { background: #eda385; }
.pos2 { background: #f4e2b6; }
.pos3 { background: #bad4c0; }
.pos4 { background: #b3cfeb; }
.pos5 { background: #a69e9c; }

.premios-disclaimer {
    margin-top: 40px;
    font-size: 20px;
    font-weight: 300;
    color: black;
    text-align: center;
}
/* #endregion */

/* #region UBICACIÓN */
  .ubicacion-section {
      margin: 100px 0;
  }

  .map-container {
      position: relative;
      width: 100vw;
      left: 50%;
      margin-left: -50vw;
      border-top: 1px solid black;
      border-bottom: 1px solid black;
      background: white;
  }

  .map-container iframe {
      display: block;
      width: 100%;
      height: 650px;
      border: none;
  }

  /* Rectángulo que interrumpe el borde superior del mapa */
  .title-box {
      position: absolute;
      top: -1px;
      left: 50%;
      transform: translateX(-50%);
      background: white;
      border-left: 1px solid black;
      border-right: 1px solid black;
      border-bottom: 1px solid black;
      padding: 0px 100px;
      z-index: 2;
  }

  .ubicacion-title {
      margin: 0;
      position: relative;
      top: -30px;
  }

  @media (max-width: 768px) {
      .map-container iframe {
          height: 50vh;
      }

      .title-box {
          padding: 1px 10%;
          top: -1.5px;
      }
      
      .ubicacion-title {
          font-size: 28px;
      }
  }
  
  @media (max-width: 480px) {
      .map-container iframe {
          height: 40vh;
      }
      
      .title-box {
          padding: 1px 5%;
      }
      
      .ubicacion-title {
          font-size: 24px;
      }
  }
/* #endregion */

/* #region PRIMERA EDICIÓN */
 .primera-edicion-section {
     background: white;
     text-align: center;
     overflow: hidden;
 }

 .container {
     padding: 0 20px;
 }

 .primera-edicion-underline {
     margin: 40px auto 60px;
     width: 62px;
     height: 2px;
     background: black;
 }

 .subtitulo-container {
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 60px;
 }

 .subtitulo-link {
     display: flex;
     align-items: center;
     text-decoration: none;
     color: #333;
     font-size: 20px;
     font-weight: 300;
     transition: color 0.3s ease;
 }

 .diario-icon {
     margin-right: 12px;
     transition: stroke 0.3s ease;
 }

 .subtitulo-link:hover .diario-icon {
     stroke: #b3cfeb;
 }

 .slider-wrapper {
     width: 100%;
     overflow: hidden;
     position: relative;
 }

 .slider-container {
     display: flex;
     transition: transform 0.3s ease;
     will-change: transform;
 }

 .slide {
     min-width: 500px;
     height: 400px;
     background-size: cover;
     background-position: center;
     cursor: grab;
     user-select: none;
     flex-shrink: 0;
 }
 
 /* Media queries para primera edición */
 @media (max-width: 1024px) {
     .slide {
         min-width: 400px;
         height: 350px;
     }
     
     .subtitulo-link {
         font-size: 18px;
     }
 }
 
 @media (max-width: 768px) {
     .slide {
         min-width: 300px;
         height: 250px;
     }
     
     .subtitulo-link {
         font-size: 16px;
     }
     
     .primera-edicion-title h2 {
         font-size: 28px;
     }
 }
 
 @media (max-width: 480px) {
     .slide {
         min-width: 250px;
         height: 200px;
     }
     
     .subtitulo-link {
         font-size: 14px;
     }
     
     .primera-edicion-title h2 {
         font-size: 24px;
     }
 }

 .slide:active {
     cursor: grabbing;
 }

 .slide1 {
     background-image: url('images/slider1.jpg');
 }

 .slide2 {
     background-image: url('images/slider2.jpg');
 }

 .slide3 {
     background-image: url('images/slider3.jpg');
 }

 .slide4 {
     background-image: url('images/slider4.jpg');
 }

 .slide5 {
     background-image: url('images/slider5.jpg');
 }

 .slide6 {
     background-image: url('images/slider6.jpg');
 }

 .slide7 {
     background-image: url('images/slider7.jpg');
 }

 .slide8 {
     background-image: url('images/slider8.jpg');
 }

 /* Mobile */
 @media (max-width: 768px) {
     .primera-edicion-section {
         padding: 0;
         margin: 0;
     }

     .subtitulo-link {
         font-size: 18px;
     }

     .slide {
         min-width: 350px;
         height: 300px;
     }
 }
/* #endregion */

/* #region FOOTER */
.footer {
    background: #f2f2f2;
    padding: 80px 20px;
}

.footer-title {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 800;
    font-size: 24px;
    text-transform: uppercase;
    color: #4d4d4d;
    margin: 0 0 35px 0;
}
.footer-container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-section {
    flex: 0 0 auto;
}

.footer-section:first-child {
    text-align: left;
}

.footer-section:last-child {
    text-align: right;
}

/* Sección redes */
.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-links a {
    transition: transform 0.3s ease, opacity 0.3s ease;
    fill:#a69e9c;
}

.social-links a:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.social-links svg {
    width: 40px;
    height: 40px;
    color:#a69e9c;
}

/* Sección contacto */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    font-size: 20px;
    font-weight: 300;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #b3cfeb;
}

/* Responsive */
@media (max-width: 1240px) {
    .footer-container {
        width: calc(100% - 40px);
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 20px;
    }

    .footer-container {
        width: 100%;
        padding: 0;
        flex-direction: column;
        gap: 50px;
    }

    .footer-section:first-child,
    .footer-section:last-child {
        text-align: left;
    }

    .footer-title {
        margin-bottom: 25px;
    }

    .social-links {
        justify-content: flex-start;
    }

    .contact-info {
        align-items: flex-start;
    }

    .contact-item {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .contact-item {
        font-size: 16px;
    }

    .social-links svg {
        width: 40px;
        height: 40px;
    }
}
/* #endregion */

/* #region RESPONSIVE */
@media (max-width: 768px) {
    /* Header mobile */
    header {
        height: 80px;
    }

    .header-inner {
        padding: 0 5%;
    }

    .social-logos {
        gap: 15px;
    }

    .social-logos img {
        height: 30px;
    }

    .login-link {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    header.scrolled .login-link {
        display: none;
    }



    .header-logo {
        height: 40px;
    }

    /* Main landing mobile */
    main {
        height: 100vh;
        /* 100% de la pantalla */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        /* apilamos desde arriba */
        padding: 40% 20px 20% 20px;
        /* menos padding para optimizar espacio */
        box-sizing: border-box;
        text-align: center;
    }

    .landing-logo {
        height: 120px;
        margin-bottom: 25px;
        /* distancia al título */
    }
    
    .social-logos-landing {
        margin-bottom: 25px;
    }
    
    .social-logos-landing img {
        height: 30px;
    }

    .title {
        font-size: 28px;
        /* más pequeño para pantallas pequeñas */
        margin-bottom: 20px;
        /* distancia al texto */
    }

    .subtitle {
        font-size: 18px;
        /* mismo que desktop */
        margin-bottom: 30px;
        /* distancia al botón */
    }

    .cta-button {
        width: 300px;
        height: 68px;
        font-size: 24px;
        /* mismo que desktop */
    }

    .buttons-container {
        gap: 15px;
    }

    .proponer-cubo-button {
        width: 180px;
        height: 45px;
        font-size: 14px;
    }


    /* Descripción mobile */
    .descripcion-section {
        height: auto;
        min-height: 100vh;
        margin-bottom: 30px;
        padding: 40px 0;
        margin-top: 0px;
    }

    .descripcion-wrapper {
        width: 95%;
        flex-direction: column;
        height: auto;
        border-left: none;
        border-right: none;
        gap: 30px;
        padding: 20px;
    }

    .descripcion-cubo {
        width: 100%;
        aspect-ratio: 1;
        padding: 0;
        flex: none;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .descripcion-texto {
        text-align: center;
        padding: 20px;
    }
    
    .descripcion-texto h2 {
        font-size: 28px;
    }
    
    .descripcion-texto p {
        font-size: 15px;
    }

    .cube {
        width: 200px;
        height: 200px;
    }

    .face {
        width: 200px;
        height: 200px;
    }

    .front  { transform: translateZ(100px); }
    .back   { transform: rotateY(180deg) translateZ(100px); }
    .right  { transform: rotateY(90deg) translateZ(100px); }
    .left   { transform: rotateY(-90deg) translateZ(100px); }
    .top    { transform: rotateX(90deg) translateZ(100px); }
    .bottom { transform: rotateX(-90deg) translateZ(100px); }

    .descripcion-texto {
        padding: 0px 30px 30px 30px;
        text-align: center;
    }

    .descripcion-texto h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .descripcion-texto p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Info section mobile */
    .info-section {
        height: auto;
        padding: 40px 0;
    }
    
    .info-wrapper {
        flex-direction: column;
        gap: 0;
        height: auto;
        width: 100%;
        max-width: 600px;
    }
    
    .info-container {
        width: 100%;
        max-width: none;
        height: 400px;
        border: none;
        border-bottom: 1px solid #333;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .info-container:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #333;
    }
    
    .info-container:last-child {
        border-bottom: none;
    }
    
    .info-container h1 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .info-container h2 {
        font-size: 24px;
    }
    
    .info-container p {
        font-size: 16px;
    }

    .info-wrapper {
        flex-direction: column;
        gap: 0;
        height: auto;
        width: 100%;
    }

    .info-container {
        width: 100%;
        max-width: none;
        height: 470px;
        border: none;
        border-bottom: 0px;
    }

    .info-container:not(:last-child) {
        border-right: none;
    }

    .info-container:last-child {
        border-bottom: none;
    }

    /* Cronograma & Premios mobile */
    .cronograma-section {
        height: auto;
        padding: 40px 0;
    }

    .cronograma-cuadro {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .cronograma-item {
        width: 100%;
        max-width: 500px;
        padding: 15px 20px;
    }
    
    .cronograma-title h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .cronograma-subtitle {
        font-size: 16px;
    }

    .premios-section {
        height: auto;
        padding: 40px 0;
    }

    .premios-cuadro {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .premio-row {
        padding: 15px 20px;
    }
    
    .premios-title h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .premios-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cubos-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
        max-width: 350px;
    }
    
    .cubo-item {
        padding: 20px 15px;
    }
    
    .cubo-name {
        font-size: 18px;
    }
    
    .cubo-subtitle {
        font-size: 14px;
    }
    
    .cubo-desc {
        font-size: 13px;
    }
    
    .landing-logo {
        height: 100px;
        margin-bottom: 20px;
    }
    
    .social-logos-landing {
        margin-bottom: 20px;
    }
    
    .social-logos-landing img {
        height: 25px;
    }
    
    .title {
        font-size: 24px;
    }

    .cta-button {
        width: 200px;
        height: 50px;
        font-size: 18px;
    }

    .buttons-container {
        flex-direction: column;
        gap: 15px;
    }

    .proponer-cubo-button {
        width: 160px;
        height: 40px;
        font-size: 14px;
    }

    .cube {
        width: 150px;
        height: 150px;
    }

    .face {
        width: 150px;
        height: 150px;
    }

    .front  { transform: translateZ(75px); }
    .back   { transform: rotateY(180deg) translateZ(75px); }
    .right  { transform: rotateY(90deg) translateZ(75px); }
    .left   { transform: rotateY(-90deg) translateZ(75px); }
    .top    { transform: rotateX(90deg) translateZ(75px); }
    .bottom { transform: rotateX(-90deg) translateZ(75px); }

    .descripcion-texto h2 {
        font-size: 24px;
    }
    
    .descripcion-wrapper {
        width: 98%;
        padding: 15px;
        gap: 20px;
    }
    
    .descripcion-cubo {
        max-width: 250px;
    }
    
    .descripcion-texto {
        padding: 15px;
    }
    
    .descripcion-texto h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .descripcion-texto p {
        font-size: 14px;
    }
    
    main {
        padding: 35% 20px 15% 20px;
    }
    
    /* Footer mobile */
    .footer-container {
        flex-direction: column;
        gap: 25px;
        padding: 30px 15px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-links svg {
        width: 25px;
        height: 25px;
    }
    
    .contact-info {
        gap: 12px;
    }
    
    .contact-item {
        font-size: 14px;
    }
}

/* Modal de Inscripción */
.modal {
    display: none !important;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Clase para mostrar el modal */
.modal.show {
    display: block !important;
}

/* Asegurar que el modal sea visible en todas las pantallas */
.modal.show,
.modal[style*="display: block"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-btn {
    padding: 18px 25px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.crypto-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.crypto-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.transfer-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.transfer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.pre-inscripcion-btn {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.pre-inscripcion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 237, 234, 0.4);
}

/* Sección de Transferencia Expandida */
.transferencia-expandida {
    margin-top: 30px;
    padding-top: 30px;
}

.transfer-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    margin-bottom: 30px;
}

.transferencia-expandida h3 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
}

.transfer-details {
    text-align: center;
}

.transfer-details p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.alias-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.alias {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    font-family: 'Courier New', monospace;
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #007bff;
}

.copy-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.transfer-instructions {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #2196f3;
}

.transfer-instructions a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 600;
}

.transfer-instructions a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 600;
}

.transfer-instructions a:hover {
    text-decoration: underline;
}

.transfer-note {
    background: #fff3e0;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #ff9800;
    font-size: 15px;
}

.back-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.back-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Responsive para modales */
@media (min-width: 769px) {
    .modal.show {
        display: block !important;
    }
    
    .modal-content {
        margin: 8% auto;
        max-width: 600px;
        max-height: 80vh;
    }
}

/* Scroll suave para el modal en mobile */
@media (max-width: 768px) {
    .modal-content {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .modal-content::-webkit-scrollbar {
        width: 6px;
    }
    
    .modal-content::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    
    .modal-content::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 3px;
    }
    
    .modal-content::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        padding: 25px 20px;
        width: 90%;
        max-height: 85vh;
        border-radius: 15px;
    }
    
    .modal-content h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .payment-btn {
        padding: 14px 18px;
        font-size: 14px;
    }
    
    .alias {
        font-size: 18px;
        padding: 8px 16px;
    }
    
    .transferencia-expandida h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .transferencia-expandida {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .transfer-details p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .alias-box {
        padding: 15px;
        margin: 20px 0;
    }
    
    .transfer-instructions,
    .transfer-note {
        padding: 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 3% auto;
        padding: 20px 15px;
        width: 88%;
        max-height: 90vh;
        border-radius: 12px;
    }
    
    .modal-content h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .payment-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .alias-box {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
        margin: 15px 0;
    }
    
    .transferencia-expandida h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .transferencia-expandida {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .transfer-details p {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .transfer-instructions,
    .transfer-note {
        padding: 12px;
        font-size: 13px;
    }
    
    .alias {
        font-size: 16px;
        padding: 6px 12px;
    }
    
    .copy-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .back-btn {
        padding: 10px 20px;
        font-size: 13px;
        margin-top: 15px;
    }
}

/* Ajustes específicos para pantallas muy pequeñas */
@media (max-width: 390px) {
    .modal-content {
        width: 85%;
        margin: 2% auto;
        padding: 18px 12px;
    }
    
    .modal-content h2 {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    .payment-btn {
        padding: 10px 14px;
        font-size: 12px;
    }
    
    .transferencia-expandida h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .transfer-details p {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .alias-box {
        padding: 10px;
        margin: 12px 0;
    }
    
    .alias {
        font-size: 14px;
        padding: 5px 10px;
    }
    
    .copy-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .transfer-instructions,
    .transfer-note {
        padding: 10px;
        font-size: 12px;
    }
    
    .back-btn {
        padding: 8px 16px;
        font-size: 12px;
        margin-top: 12px;
    }
}

/* Ajustes para pantallas extremadamente pequeñas */
@media (max-width: 360px) {
    .modal-content {
        width: 85%;
        margin: 0.5% auto;
        padding: 15px 10px;
    }
    
    .modal-content h2 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .payment-btn {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .transferencia-expandida h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .transfer-details p {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .alias-box {
        padding: 8px;
        margin: 10px 0;
    }
    
    .alias {
        font-size: 13px;
        padding: 4px 8px;
    }
    
    .copy-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .transfer-instructions,
    .transfer-note {
        padding: 8px;
        font-size: 11px;
    }
    
    .back-btn {
        padding: 6px 14px;
        font-size: 11px;
        margin-top: 10px;
    }
}