/* styles.css - Versión final con estilos originales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #e4d5c7;
    overflow-x: hidden;
}

.logo-flotante {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
    width: 120px;
    filter: drop-shadow(0 0 5px rgba(200, 168, 117, 0.5));
}

#video-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
}

@media (max-width: 768px) {
    #video-bg {
        -webkit-transform: translate(-50%, -50%) scale(1.1);
        transform: translate(-50%, -50%) scale(1.1);
    }
    
    video {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
    }
}

.container {
    position: relative;
    min-height: 100vh;
    padding: 20px;
    }

.step {
    display: none;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(72, 50, 32, 0.9);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: fadeIn 1s ease-in;
}

.active-step {
    display: block;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 1.5rem auto;
    padding: 1.5rem;
    background: linear-gradient(145deg, #5a3e2b, #7a5c48);
    color: #e4d5c7;
    border: none;
    border-radius: 30px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    min-height: 80px;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(200, 168, 117, 0.6);
}

.option-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.option-btn {
    flex: 1 1 280px;
    padding: 2rem;
    background: rgba(90, 62, 43, 0.8);
    border: 2px solid #c8a875;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.option-btn:hover {
    transform: translateY(-8px);
    background: rgba(122, 92, 72, 0.9);
}

.selected {
    background: #7a5c48 !important;
    border-color: #e4d5c7 !important;
}

.tonos-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tono-btn {
    padding: 1.8rem;
    background: rgba(72, 50, 32, 0.8);
    border: 2px solid #c8a875;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-image {
    background: none;
    border: none;
    padding: 0;
    margin: 2rem auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tono-image {
    width: 240px;
    height: 240px;
    border-radius: 20px;
    border: 3px solid #c8a875;
    box-shadow: 0 0 20px rgba(200, 168, 117, 0.4);
    object-fit: cover;
    margin: 0 auto;
}

.btn-image:hover .tono-image {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(200, 168, 117, 0.6);
}

.motivacion p {
    margin: 1.5rem 0;
    font-size: 1.2rem;
    text-align: center;
}

#tono-revelado {
    margin-top: 2rem;
    animation: fadeIn 0.5s ease-out;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    #video-bg {
        display: none;
    }
    
    body {
        background: url('fondo-madera-mobile.jpg') center/cover;
    }
    
    .logo-flotante {
        width: 80px;
        top: 10px;
        left: 10px;
    }
    
    .btn {
        width: 100%;
        font-size: 1.1rem;
        padding: 1.2rem;
        min-height: 70px;
    }
    
    .option-btn {
        flex: 1 1 100%;
        min-height: 160px;
        padding: 1.5rem;
    }
    
    .tono-image {
        width: 200px;
        height: 200px;
    }
    
    .tonos-options {
        grid-template-columns: 1fr;
    }
}

.tonos-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.tono-btn {
    padding: 1rem;
    background: rgba(72, 50, 32, 0.8);
    border: 2px solid #c8a875;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.instruccion-chakras {
    text-align: center;
    font-size: 1.2rem;
    margin: -1rem 0 1.5rem;
    color: #c8a875;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.tonos-options.chakras {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.chakra-btn {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 180px;
    border: 3px solid #c8a875 !important;
}

.chakra-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.chakra-number {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(72, 50, 32, 0.8);
    color: #c8a875;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Cinzel Decorative', cursive;
}

.chakra-btn:hover .chakra-img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .tonos-options.chakras {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chakra-btn {
        min-height: 150px;
    }
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: rgba(50, 30, 20, 0.9);
}

.redes-sociales {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 10px;
}

.redes-sociales img {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.redes-sociales a:hover img {
    transform: scale(1.2);
}

.copyright {
    font-size: 14px;
    color: #e4d5c7;
}

#mago-seleccionado {
    margin-top: 2rem;
    text-align: center;
    }

#mago-seleccionado .tono-image {
    width: 280px;
    height: 280px;
    border-width: 4px;
}

#mago-seleccionado .tono-btn h4,
#mago-seleccionado .tono-btn p {
    color: #ffffff !important;
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

#mago-seleccionado .tono-btn h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#mago-seleccionado .tono-btn p {
    font-size: 1.1rem;
    opacity: 0.9;
}

#mago-seleccionado .tono-btn {
    padding: 1.2rem;
    min-height: 120px;
}

.tono-btn.mago-btn h4,
.tono-btn.mago-btn p {
    color: #ffffff !important;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.tono-btn.mago-btn h4 {
    font-size: 1.4rem !important;
    margin-bottom: 8px;
}

.tono-btn.mago-btn p {
    font-size: 1.1rem !important;
    opacity: 0.95;
}

.video-desktop {
    display: block;
}

.mobile-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('images/fondo-mobile.jpg') center/cover;
    filter: brightness(0.7);
}

@media (max-width: 768px) {
    #video-bg {
        display: none;
    }
    
    body {
        background: url('images/fondo-mobile.jpg') center/cover fixed;
        background-size: cover;
        background-repeat: no-repeat;
    }
    
    .container {
        }
}

.instruccion-chakras {
    display: block;
    text-align: center;
    font-size: 1.3rem;
    color: #e4d5c7;
    margin: 15px 0 25px;
    font-family: 'Cinzel Decorative', cursive;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.chakras-grid {
    margin-top: 1.5rem !important;
}

.flauta-img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 2px solid #c8a875;
    transition: transform 0.3s ease;
}

.option-btn:hover .flauta-img {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(200, 168, 117, 0.4);
}

.option-btn {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
}

.option-btn h3 {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .flauta-img {
        max-width: 200px;
    }
    
    .option-btn {
        padding: 1rem;
    }
}

#flute-selection-container {
    margin-top: 2rem;
    text-align: center;
}

.flute-selection {
    max-width: 600px;
    margin: 0 auto;
}

.flute-image-btn {
    width: 100%;
    max-width: 400px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.flute-img {
    width: 100%;
    border-radius: 15px;
    border: 3px solid #c8a875;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.flute-image-btn:hover .flute-img {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(200, 168, 117, 0.5);
}

#flute-audio {
    display: block;
    margin: 1rem auto;
    width: 80%;
}

.nota-actual {
    text-align: center;
    color: #c8a875;
    font-family: 'Cinzel Decorative', cursive;
    margin: 1.5rem 0;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#nota-final {
    color: #e4d5c7;
    font-size: 2.2rem;
    display: inline-block;
    margin-left: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: pulseNote 1.5s infinite;
}

@keyframes pulseNote {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.linea-img {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    border: 2px solid #c8a875;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.option-btn:hover .linea-img {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(200, 168, 117, 0.4);
}

#step5 h3 {
    color: #c8a875;
    margin: 0.5rem 0;
    font-size: 1.4rem;
}

#step5 p {
    font-size: 1rem;
    color: #e4d5c7;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .linea-img {
        width: 150px;
        height: 150px;
    }
    
    #step5 h3 {
        font-size: 1.2rem;
    }
    
    #step5 p {
        font-size: 0.9rem;
    }
}

.btn-continuar {
    display: block;
    width: 80%;
    margin: 2rem auto;
    padding: 1rem;
    background: linear-gradient(145deg, #3e2b1f, #5a4435);
    border: 2px solid #c8a875;
    border-radius: 25px;
    color: #e4d5c7;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-continuar:hover {
    transform: scale(1.05);
    background: linear-gradient(145deg, #5a4435, #3e2b1f);
}

.flute-confirmation {
    text-align: center;
    padding: 2rem;
    background: rgba(90, 62, 43, 0.8);
    border-radius: 15px;
    margin-top: 2rem;
}

.flute-active-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 3px solid #c8a875;
    border-radius: 15px;
    margin: 1.5rem 0;
    box-shadow: 0 0 20px rgba(200, 168, 117, 0.3);
}

.nota-actual {
    color: #c8a875;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.seleccion-final {
    background: rgba(90, 62, 43, 0.9);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
}

.detalle-nota, .detalle-flauta {
    font-size: 1.4rem;
    color: #c8a875;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#nota-final {
    color: #e4d5c7;
    font-weight: bold;
    display: inline-block;
    margin-left: 10px;
}

.flute-confirmation {
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease-out;
}

#flauta-final, #linea-final {
    color: #c8a875;
    font-weight: bold;
    font-size: 1.8rem;
    display: inline-block;
    margin-left: 10px;
}

.seleccion-final p {
    margin: 1.5rem 0;
}

.option-btn[onclick*="sencilla"] {
    background: linear-gradient(rgba(90, 62, 43, 0.7), 
                rgba(90, 62, 43, 0.7)),
                url('images/fsencilla1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.option-btn[onclick*="doble"] {
    background: linear-gradient(rgba(90, 62, 43, 0.7), 
                rgba(90, 62, 43, 0.7)),
                url('images/fdoble1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.option-btn h3,
.option-btn p {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.option-btn:hover {
    background-blend-mode: hard-light;
}

#step6 .btn:active {
    transform: scale(0.95) translateY(2px);
    box-shadow: 0 0 15px rgba(200, 168, 117, 0.8) inset;
}

#step6 .btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#step6 .btn:active::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, 
        rgba(200, 168, 117, 0.4) 0%, 
        rgba(200, 168, 117, 0.2) 50%, 
        transparent 100%);
    transform: translate(-50%, -50%);
    animation: spark 0.4s ease-out;
}

@keyframes spark {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

#step6 .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(200, 168, 117, 0.4);
}
/* Nuevos estilos agregados al final */
.option-btn[onclick*="selectTherapist"] {
    background: linear-gradient(rgba(90, 62, 43, 0.7), 
                rgba(90, 62, 43, 0.7)),
                url('images/terapeuta-bg.jpg');
    background-size: cover;
    border: 2px solid #6ab7ff;
    position: relative;
    overflow: hidden;
}

.option-btn[onclick*="selectTherapist"] h3 {
    color: #6ab7ff !important;
    text-shadow: 0 0 10px rgba(106, 183, 255, 0.5) !important;
    transition: all 0.3s ease;
}

.option-btn[onclick*="selectTherapist"] p {
    color: #e4f3ff !important;
}

.option-btn[onclick*="selectTherapist"]:hover {
    border-color: #a8d8ff;
    background-blend-mode: overlay;
    transform: translateY(-8px) scale(1.02);
}

.option-btn[onclick*="selectTherapist"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(106, 183, 255, 0.1) 0%, 
        transparent 70%);
    pointer-events: none;
}