/* ============================
   TIERRA CHAMÁN — Estilos
   ============================ */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0a;
    color: #e8dcc8;
    font-family: 'Cormorant Garamond', serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* ============================
   PANTALLAS
   ============================ */
.pantalla {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease, visibility 1.5s ease;
    z-index: 1;
}

.pantalla.activa {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* ============================
   PANTALLA DE ENTRADA
   ============================ */
.fondo-imagen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('fondotemazcalok.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.contenido-entrada {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.titulo-principal {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #e8dcc8;
    text-shadow: 0 0 40px rgba(210, 150, 60, 0.3),
                 0 0 80px rgba(210, 150, 60, 0.1);
    animation: aparecer-titulo 3s ease forwards;
    opacity: 0;
}

@keyframes aparecer-titulo {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.btn-entrar {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    letter-spacing: 0.3em;
    color: #a89070;
    background: none;
    border: 1px solid rgba(168, 144, 112, 0.3);
    padding: 15px 50px;
    cursor: pointer;
    transition: all 0.8s ease;
    animation: aparecer-boton 3s ease 1.5s forwards;
    opacity: 0;
}

.btn-entrar:hover {
    color: #e8dcc8;
    border-color: rgba(210, 150, 60, 0.6);
    box-shadow: 0 0 30px rgba(210, 150, 60, 0.15);
    text-shadow: 0 0 20px rgba(210, 150, 60, 0.3);
}

.texto-proximamente {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    letter-spacing: 0.3em;
    color: #a89070;
    animation: aparecer-boton 3s ease 2s forwards;
    opacity: 0;
}

@keyframes aparecer-boton {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

a.btn-bienvenido {
    text-decoration: none;
    display: inline-block;
}

.btn-bienvenido {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: #a89070;
    background: none;
    border: 1px solid rgba(168, 144, 112, 0.3);
    padding: 12px 35px;
    cursor: pointer;
    transition: all 0.6s ease;
    animation: aparecer-boton 3s ease 3s forwards;
    opacity: 0;
}

.btn-bienvenido:hover {
    color: #e8dcc8;
    border-color: rgba(210, 150, 60, 0.6);
    box-shadow: 0 0 20px rgba(210, 150, 60, 0.15);
}

/* ============================
   INSTAGRAM + PRÓXIMAMENTE
   ============================ */
.proximamente-info {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease, visibility 1.5s ease;
}

.proximamente-info.visible {
    opacity: 1;
    visibility: visible;
}

.link-instagram {
    display: inline-flex;
    transition: all 0.6s ease;
}

.link-instagram:hover {
    transform: scale(1.15);
}

.icono-instagram {
    width: 30px;
    height: 30px;
    color: rgba(168, 144, 112, 0.4);
    transition: color 0.6s ease;
}

.link-instagram:hover .icono-instagram {
    color: rgba(168, 144, 112, 0.7);
}

.texto-proximamente-pagina {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-style: italic;
    letter-spacing: 0.2em;
    color: rgba(168, 144, 112, 0.5);
}

/* ============================
   FONDOS INTERNOS
   ============================ */
.fondo-oscuro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center bottom,
        #1a0f05 0%,
        #0d0805 40%,
        #0a0a0a 100%);
    z-index: 1;
}

/* ============================
   PANTALLA BIENVENIDA
   ============================ */
.contenido-bienvenida {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 600px;
    padding: 20px;
}

.texto-ritual {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 300;
    line-height: 2;
    color: #c8b8a0;
    margin-bottom: 10px;
    animation: aparecer-texto 2s ease forwards;
    opacity: 0;
}

.texto-ritual:nth-child(1) { animation-delay: 0.5s; }
.texto-ritual:nth-child(2) { animation-delay: 2s; }
.texto-ritual:nth-child(3) { animation-delay: 3.5s; }

@keyframes aparecer-texto {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.separador {
    color: #6a4a2a;
    font-size: 1.2rem;
    margin: 30px 0;
    animation: aparecer-texto 2s ease 4.5s forwards;
    opacity: 0;
}

.texto-pregunta {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #d4a860;
    margin-bottom: 30px;
    animation: aparecer-texto 2s ease 5s forwards;
    opacity: 0;
}

.opciones-medicina {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    animation: aparecer-texto 2s ease 5.5s forwards;
    opacity: 0;
}

.btn-medicina {
    background: rgba(30, 20, 10, 0.8);
    border: 1px solid rgba(168, 144, 112, 0.15);
    padding: 25px 20px;
    cursor: pointer;
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.btn-medicina:hover {
    background: rgba(50, 30, 15, 0.9);
    border-color: rgba(210, 150, 60, 0.4);
    box-shadow: 0 0 20px rgba(210, 150, 60, 0.1);
}

.icono-medicina {
    font-size: 1.8rem;
}

.nombre-medicina {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: #e8dcc8;
    letter-spacing: 0.1em;
}

.desc-medicina {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    font-style: italic;
    color: #8a7a6a;
}

/* ============================
   PANTALLA DATOS
   ============================ */
.contenido-datos {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 500px;
    padding: 20px;
    width: 100%;
}

.form-cielo {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.campo {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.campo label {
    font-size: 1rem;
    font-style: italic;
    color: #a89070;
}

.campo .opcional {
    font-size: 0.85rem;
    color: #6a5a4a;
}

.campo input,
.campo textarea {
    background: rgba(20, 15, 10, 0.9);
    border: 1px solid rgba(168, 144, 112, 0.2);
    color: #e8dcc8;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    padding: 12px 15px;
    transition: border-color 0.5s ease;
}

.campo input:focus,
.campo textarea:focus {
    outline: none;
    border-color: rgba(210, 150, 60, 0.5);
}

.campo textarea {
    resize: none;
}

.btn-continuar {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-style: italic;
    letter-spacing: 0.2em;
    color: #a89070;
    background: rgba(30, 20, 10, 0.8);
    border: 1px solid rgba(168, 144, 112, 0.3);
    padding: 15px 40px;
    cursor: pointer;
    transition: all 0.6s ease;
    margin-top: 10px;
}

.btn-continuar:hover {
    color: #e8dcc8;
    border-color: rgba(210, 150, 60, 0.6);
    box-shadow: 0 0 20px rgba(210, 150, 60, 0.15);
}

/* ============================
   PANTALLA PIEDRAS
   ============================ */
.contenido-piedras {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 600px;
    padding: 20px;
}

.rio-piedras {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.piedra {
    width: 80px;
    height: 80px;
    border-radius: 50% 45% 50% 45%;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.5s ease;
    background: none;
    padding: 0;
}

.piedra-visual {
    width: 100%;
    height: 100%;
    border-radius: 50% 45% 50% 45%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5),
                inset 0 2px 5px rgba(255,255,255,0.1);
    transition: all 0.5s ease;
}

.piedra:hover .piedra-visual {
    box-shadow: 0 4px 25px rgba(210, 150, 60, 0.3),
                inset 0 2px 5px rgba(255,255,255,0.15);
    transform: scale(1.1);
}

.piedra.elegida .piedra-visual {
    box-shadow: 0 0 30px rgba(210, 150, 60, 0.5),
                0 0 60px rgba(210, 150, 60, 0.2),
                inset 0 2px 5px rgba(255,255,255,0.2);
    transform: scale(1.15);
}

.piedra.desactivada {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.piedra-brillo {
    position: absolute;
    top: 15%;
    left: 25%;
    width: 20%;
    height: 15%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.25), transparent);
    border-radius: 50%;
    transform: rotate(-30deg);
}

.contador-piedras {
    font-size: 0.95rem;
    font-style: italic;
    color: #6a5a4a;
}

/* ============================
   PANTALLA RESULTADO
   ============================ */
.contenido-resultado {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 650px;
    padding: 40px 20px;
    overflow-y: auto;
    max-height: 100vh;
}

#lectura-gratis h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #d4a860;
    margin-bottom: 15px;
    letter-spacing: 0.15em;
}

#lectura-gratis p {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.9;
    color: #c8b8a0;
    margin-bottom: 20px;
}

.bloqueo-premium {
    margin-top: 30px;
    padding: 30px;
    border: 1px solid rgba(168, 144, 112, 0.15);
    background: rgba(20, 15, 10, 0.6);
}

.texto-bloqueo {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #d4a860;
    margin-bottom: 15px;
}

.desc-bloqueo {
    font-size: 1rem;
    font-style: italic;
    color: #8a7a6a;
    margin-bottom: 25px;
    line-height: 1.8;
}

.btn-premium {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: #e8dcc8;
    background: rgba(140, 90, 30, 0.4);
    border: 1px solid rgba(210, 150, 60, 0.4);
    padding: 18px 50px;
    cursor: pointer;
    transition: all 0.6s ease;
}

.btn-premium:hover {
    background: rgba(160, 100, 30, 0.5);
    border-color: rgba(210, 150, 60, 0.7);
    box-shadow: 0 0 30px rgba(210, 150, 60, 0.2);
}

/* ============================
   PANTALLA PRÓXIMAMENTE
   ============================ */
.contenido-proximamente {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 500px;
    padding: 20px;
}

.titulo-proximamente {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #e8dcc8;
    text-shadow: 0 0 30px rgba(210, 150, 60, 0.2);
    margin-bottom: 20px;
}

.form-email {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-email label {
    font-size: 1rem;
    font-style: italic;
    color: #8a7a6a;
}

.form-email input {
    background: rgba(20, 15, 10, 0.9);
    border: 1px solid rgba(168, 144, 112, 0.2);
    color: #e8dcc8;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    padding: 12px 15px;
    text-align: center;
    transition: border-color 0.5s ease;
}

.form-email input:focus {
    outline: none;
    border-color: rgba(210, 150, 60, 0.5);
}

/* ============================
   BOTÓN SONIDO
   ============================ */
.btn-sonido {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(20, 15, 10, 0.6);
    border: 1px solid rgba(168, 144, 112, 0.2);
    color: #a89070;
    font-size: 1.2rem;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    display: none;
}

.btn-sonido.visible {
    display: block;
}

.btn-sonido:hover {
    border-color: rgba(210, 150, 60, 0.5);
}

/* ============================
   RESPONSIVE — MÓVIL
   ============================ */
@media (max-width: 768px) {
    .titulo-principal {
        font-size: 2.2rem;
        letter-spacing: 0.25em;
    }

    .texto-ritual {
        font-size: 1.15rem;
    }

    .texto-pregunta {
        font-size: 1.3rem;
    }

    .opciones-medicina {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .btn-medicina {
        padding: 20px 15px;
    }

    .piedra {
        width: 65px;
        height: 65px;
    }

    .rio-piedras {
        gap: 15px;
    }

    .titulo-proximamente {
        font-size: 1.8rem;
    }

    .contenido-resultado {
        padding: 30px 15px;
    }

    .btn-premium {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* ============================
   SCROLLBAR PERSONALIZADO
   ============================ */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: rgba(168, 144, 112, 0.3);
    border-radius: 3px;
}
