html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #fff;
    color: #333;
    font-size: 14px;
    overflow-x: hidden;
    /* ✅ solo oculta scroll horizontal */
    overflow-y: hidden;
}

.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.banner {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Mobile: grupo-evento-inscritos sobre el banner */
@media (max-width: 767px) {
    .landing {
        position: relative;
    }
    .grupo-evento-inscritos {
        position: absolute;
        top: 200px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        width: 90%;
        max-width: 350px;
        border-radius: 18px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        text-align: center;
    }
    .banner {
        position: relative;
        z-index: 1;
    }

    .evento {
        margin: 0 auto;
        background: linear-gradient(90deg, #00b4d8 0%, #48cae4 100%);
        color: #fff;
        border-radius: 14px;
        padding: 8px 18px;
        box-shadow: 0 2px 16px rgba(0,180,216,0.13);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        font-weight: 600;
        font-size: 16px;
        letter-spacing: 0.05em;
        /* Sin animación, solo fondo moderno */
    }

    .inscritos {
        padding: 5px;
        background-color: rgba(0, 0, 0, 0.8);
    }
    .inscritos span{
        background: none !important;
    }
    .titulo{
        text-transform: uppercase;
        text-align: center;
        font-size: 35px;
        line-height: 1.2;
    }
    .resalta-adolescente {
        color: yellow;
        font-weight: 700; 
    }
}

.header {
    display: none;
}

.contenido {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background-color: #000;
    margin-top: -20px;
    z-index: 200;
}

.inscritos {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    /* sin espacio entre elementos */
    margin: 0 auto;
}

.inscritos .foto {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #00b4d8;
    margin-left: -10px;
    /* superposici車n hacia la izquierda */
    box-shadow: 0 0 0 1px #000;
    /* opcional: mejora contraste del borde */
}

.inscritos .foto:first-child {
    margin-left: 0;
    /* el primero no se solapa */
}

.inscritos span {
    font-weight: bold;
    font-size: 14px;
    margin-left: 8px;
    white-space: nowrap;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    text-align: center;
}


.anim-fadeup {
    animation: fadeUp 0.7s cubic-bezier(.4,1.4,.6,1.1);
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    40% {
        opacity: 1;
        transform: translateY(-4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }

}

.evento {
    color: #00B4D8;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #fff;
    position: relative;
    text-shadow:
        0 0 4px rgba(255, 255, 255, 0.2),
        0 0 8px rgba(0, 229, 255, 0.2),
        0 0 12px rgba(255, 255, 255, 0.2);
}

@keyframes glowScale {

    0%,
    100% {
        transform: scale(1);
        text-shadow:
            0 0 4px rgba(255, 255, 255, 0.3),
            0 0 8px rgba(0, 229, 255, 0.3),
            0 0 12px rgba(255, 255, 255, 0.3);
    }

    50% {
        transform: scale(1.06);
        text-shadow:
            0 0 6px rgba(255, 255, 255, 0.4),
            0 0 14px rgba(0, 229, 255, 0.5),
            0 0 20px rgba(255, 255, 255, 0.4);
    }
}




h1 {
    font-size: 24px;
    margin: 0;
    color: #fff;
    text-shadow:
        0 0 4px rgba(255, 255, 255, 0.1),
        0 0 8px rgba(255, 255, 255, 0.3),
        0 0 16px rgba(255, 255, 255, 0.8);
}

p {
    margin: 0;

}

#titulo {
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.3;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  transition: font-size 0.3s ease;
}

.subtitulo {
    font-size: 14px;
    color: #ffffffe6;
    text-align: center;
}

.invitacion {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #ffffff
}

form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

input {
    padding: 15px 16px;
    font-size: 15px;
    border: 1px solid #fff;
    border-radius: 9999px;
    /* redondeado tipo pill */
    background-color: #111111;
    color: #fff;
    outline: none;
}

input::placeholder {
    color: #fff;
    font-size: 15px;
}

/* Cambio de borde al hacer clic (focus) */
input:focus {
    border-color: rgba(15, 231, 255, 0.6);
}

input:hover {
    border-color: rgba(15, 231, 255, 0.3);
}

/* Bot車n redondeado con fondo din芍mico */
button {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 9999px;
    /* pill shape */
    padding: 12px 20px;
    font-size: 14px;
    color: white;
    background: linear-gradient(to right, #00b4d8, #0077b6);
    /* degradado base */
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* Efecto hover como el que viste */
button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 229, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: 0;
}

button:hover::before {
    opacity: 1;
}

button span {
    position: relative;
    z-index: 1;
}

button svg {
    vertical-align: middle;
}

footer {
    font-size: 11px;
    color: #555555;
    background-color: #000;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
}

/*para escritorio*/
@media (min-width: 768px) {
    .banner {
        display: none;
        /* 👈 Oculta el banner en desktop */
    }

    .landing {
        background-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.6) 0%,
                /* negro arriba */
                /* celeste suave al centro */
                rgba(0, 0, 0, 0.5) 100%
                /* negro abajo */
            ),
            url('img/diana.png');

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .contenido {
        max-width: 800px;
        margin: auto;
        padding: 20px;
        background-color: transparent;
        display: flex;
        flex-direction: column;
        margin-top: -50px !important;
    }

    .header {
        display: block;
        margin-bottom: 0px;
        padding: 23px 16px;
    }

    .header h4 {
        color: #fff;
        margin: 0;
        font-size: 20px;
    }

    .header span {
        color: #fff;
        font-weight: 100;
        font-size: 16px;
    }

    .titulo {
        font-size: 48px;
        text-align: center;
        line-height: 50px;
        margin-bottom: 10px;
    }

    .subtitulo {
        font-size: 20px;
        text-align: center;
        line-height: 24px;
    }

    .evento {
        order: 0;
        text-align: center;
        font-size: 16px;
    }

    .grupo-evento-inscritos {
        display: flex;
        flex-direction: column;
    }

    .evento {
        order: 0;
        /* primero en desktop */
    }

    .inscritos {
        order: 1;
        /* segundo en desktop */
    }



    .invitacion {
        font-size: 14px;
        text-align: center;
    }

    form.form-inline {
        display: flex;
        flex-direction: row;
        gap: 8px;
        align-items: center;
        margin-top: 4px;
        margin: 0 auto;
    }

    form.form-inline input {
        flex: 1;
        font-size: 15px;
        outline: none;
        min-width: 0;
        max-width: 300px;
        /* Previene desbordamiento */
    }

    form.form-inline input::placeholder {
        color: #555555;
    }

    form.form-inline button {
        white-space: nowrap;
        padding: 16px 28px;
        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
        color: white;
        background: linear-gradient(to right, #00b4d8, #0077b6);
        border: none;
        border-radius: 9999px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    form.form-inline button svg {
        margin-left: 20px;
        transition: margin-left 0.3s ease;
    }

    form.form-inline button:hover svg {
        margin-left: 26px;
        /* aumenta en 3px al hacer hover */
    }

    input::placeholder {
        color: #555555;
        font-size: 20px;
    }

   

    footer {
        background-color: transparent;
        font-size: 14px;
        color: #fff;
    }

}

@media (min-width: 1024px) {

    .contenido {
        max-width: 90%;
        margin: auto;
        padding: 40px;
        background-color: transparent;
        display: flex;
        flex-direction: column;
    }

    .titulo {
        width: 900px;
        margin: 0 auto;
        margin-bottom: 18px;
    }

    .subtitulo {
        width: 800px;
        margin: 0 auto;
    }

}