.marquee {
    width: 100%;
    overflow: hidden;
}

#texto {
    display: flex;
    width: max-content;
}

#texto span {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 40px;
}

/* MAIN */

.main {
    position: relative;
    z-index: 1;
    min-width: 0;
    min-height: 100vh;
    max-width: 1400px;      /* centrado, sin barras laterales */
    margin: 0 auto;
    padding: 15px 60px 40px;
    background: #13001c;
}


/* TARJETAS */

.card {
    margin-top: 30px;
    padding: 30px;
    border-radius: 12px;
    background: #1d051d;
    border: 0.5px solid #ffd1ec;
    box-shadow: 0 0 10px -3px rgb(255, 165, 240);
}

.separador {
    border: none;
    height: 1px;
    background: #ff0095;
    margin: 40px 0;
}


/* PORTADA */

#principal-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 50px;
}

#tittle-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 42%;
}

#upper-caption {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ff6fc8;
}

#tittle-btn h1 {
    font-family: "Abril Fatface", serif;
    font-size: clamp(44px, 5.5vw, 76px);
    line-height: 1.05;
}

#hero-btn {
    margin-top: 12px;
    padding: 14px 34px;
    border-radius: 10px;
    background: #381321;
    border: 1px solid #ffd1ec;
    box-shadow: 0 0 10px -3px rgb(255, 165, 240);
    color: white;
    font-family: "Abril Fatface", serif;
    font-size: 24px;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.3s, transform 0.2s;
}

#hero-btn:hover {
    background: #5a1d4a;
    box-shadow: 0 0 18px -2px rgb(255, 165, 240);
    transform: translateY(-2px);
}

#img-container {
    width: 58%;
    max-width: 680px;
}

#main-gif {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 0.5px solid #ffd1ec;
    box-shadow: 0 0 14px -3px rgb(255, 165, 240);
}

#main-subtittle-container {
    padding: 22px 30px;
    text-align: center;
}

#main-subtittle {
    font-family: "Abril Fatface", serif;
    font-size: 21px;
}


/* SECCIONES */

.section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

#first-left,
#second-left {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.low-main-content-tittles {
    font-family: "Abril Fatface", serif;
    font-size: clamp(34px, 3.2vw, 45px);
    color: #ffc0e7;
}

.low-main-content-p {
    font-size: 18px;
}

#first-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mini-card-first-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 18px;
    border-radius: 14px;
    background: #1d051d;
    border: 0.5px solid #ffd1ec;
    box-shadow: 0 0 10px -3px rgb(255, 165, 240);
    text-align: center;
}

.mini-card-first-section h3 {
    font-family: "Abril Fatface", serif;
    font-size: 22px;
}

.mini-card-first-section p {
    font-size: 15px;
    opacity: 0.9;
}

.icon-step {
    height: 56px;
    width: 56px;
}

#second-right {
    flex: 1;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.second-section-step {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.second-section-step-upper-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.paso-numero {
    font-family: "Abril Fatface", serif;
    font-size: 48px;
    line-height: 1;
    color: #ffa8db;
}

.second-section-step-lower-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.second-section-step-lower-content h3 {
    font-family: "Abril Fatface", serif;
    font-size: 21px;
}

.second-section-step-lower-content p {
    font-size: 15px;
    opacity: 0.8;
}


/* PANTALLAS CHICAS */

@media (max-width: 1100px) {
    #principal-card {
        padding: 30px;
    }

    .section {
        flex-direction: column;
        align-items: stretch;
    }

    #first-left,
    #second-left {
        width: 100%;
    }
}

@media (max-width: 800px) {
    #principal-card {
        flex-direction: column;
        gap: 25px;
        padding: 22px;
    }

    #tittle-btn {
        order: 2;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    #img-container {
        order: 1;
        width: 100%;
    }

    #hero-btn {
        width: 100%;
        text-align: center;
        font-size: 21px;
    }

    #main-subtittle {
        font-size: 18px;
    }

    #first-right,
    #second-right {
        grid-template-columns: 1fr;
    }

    .mini-card-first-section {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: left;
        align-items: center;
    }

    .mini-card-first-section .icon-step {
        height: 44px;
        width: 44px;
    }

    .mini-card-first-section h3 {
        flex: 1;
    }

    .mini-card-first-section p {
        flex-basis: 100%;
    }
}
