/* 
cuadro de dialogo:
font-family: "Story Script", sans-serif;
  font-weight: 400;
  font-style: normal;
*/

/*
header:
font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;

Titulos:
font-family: "Sirivennela", sans-serif;
  font-weight: 400;
  font-style: normal;
*/

:root{
    --blanco: #FFF;
    --negro: #000;
    --gris: #1f1f1f;
}

/* 🔥 Flash inicial */
#flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10000;
    animation: fadeOut 1s forwards;
}
@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

/* 🔥 Modal +18 */
#age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(31,31,31,0.95));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#age-box {
    background: linear-gradient(145deg, var(--negro), var(--gris));
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    width: 90%;
    color: var(--blanco);
    box-shadow: 0 10px 30px rgba(255,255,255,0.1), inset 0 1px 0 rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
}

#logo-modal {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

#age-box h2 {
    margin-bottom: 30px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 1.2em;
    line-height: 1.4;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 300;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-si {
    background: linear-gradient(145deg, var(--gris), var(--negro));
    color: var(--blanco);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-si:hover {
    background: linear-gradient(145deg, var(--blanco), var(--gris));
    color: var(--negro);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.btn-no {
    background: transparent;
    color: var(--blanco);
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-no:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--blanco);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}


body{
    background-color: var(--negro);
}

/* Responsive design for index.html */
@media (max-width: 1024px) {
    main {
        height: auto;
        padding: 2rem;
    }
    #age-box {
        max-width: 90%;
        padding: 20px;
    }
    #age-box h2 {
        font-size: 1em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    main {
        height: auto;
        padding: 1rem;
    }
    #age-box {
        max-width: 95%;
        padding: 15px;
    }
    #age-box h2 {
        font-size: 0.9em;
    }
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    main {
        height: auto;
        padding: 1rem;
    }
    #age-box {
        max-width: 100%;
        padding: 10px;
        border-radius: 15px;
    }
    #age-box h2 {
        font-size: 0.85em;
    }
    .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

h1{
    color: var(--blanco);
}

.sexos{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.h{
    background-color: var(--gris);
    padding: 1rem;
    border-radius: .8rem;
}

.sexos a{
    text-decoration: none;
    color: var(--blanco);
}
