/* Estilos adicionales para métodos de conexión */

.connection-method {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.connection-method i {
    transition: transform 0.3s ease;
}

.connection-method:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Opción especial para terapeuta */
.therapist-option {
    border: 2px solid #6ab7ff !important;
    background: linear-gradient(rgba(90, 62, 43, 0.7), 
                rgba(90, 62, 43, 0.7)),
                url('images/terapeuta-bg.jpg');
    background-size: cover;
    position: relative;
}

.therapist-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(106, 183, 255, 0.15) 0%, 
        transparent 70%);
    pointer-events: none;
}

.therapist-option h3 {
    color: #6ab7ff !important;
    text-shadow: 0 0 10px rgba(106, 183, 255, 0.5) !important;
}

/* Estilos para imágenes de opciones del terapeuta */
.therapist-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.option-btn:hover .therapist-img {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.therapist-kit .therapist-img {
    border: 2px solid #6ab7ff;
}

.therapist-tatanka .therapist-img {
    border: 2px solid #c8a875;
}

/* Estilos para Flautas Armonía */
.therapist-armonia .therapist-img {
    border: 2px solid #d4af37;
}

.armonia-card {
    cursor: default;
    transition: all 0.3s ease;
}

.armonia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.armonia-card.selected {
    border-width: 3px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.armonia-card .btn-listen:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.armonia-card .btn-choose:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.armonia-grid {
    margin: 2rem auto;
}

@media (max-width: 768px) {
    .armonia-grid {
        grid-template-columns: 1fr;
    }
    
    .armonia-card {
        padding: 1.5rem;
    }
}

.therapist-option p {
    color: #e4f3ff !important;
}

.therapist-option:hover {
    border-color: #a8d8ff !important;
    background-blend-mode: overlay;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(106, 183, 255, 0.3);
}

/* Grid para las opciones de conexión */
#step2 .option-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* ======================================
   ESTILOS PARA CHAKRAS POR EMOCIONES
   ====================================== */

/* Grid para las tarjetas de chakras */
.chakras-emotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

/* Tarjeta de chakra individual */
.chakra-emotion-card {
    background: linear-gradient(135deg, 
        rgba(90, 62, 43, 0.9) 0%, 
        rgba(70, 50, 35, 0.95) 100%);
    border: 2px solid rgba(200, 168, 117, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.chakra-emotion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(200, 168, 117, 0.05) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.chakra-emotion-card:hover::before {
    opacity: 1;
}

.chakra-emotion-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 168, 117, 0.6);
    box-shadow: 0 8px 25px rgba(200, 168, 117, 0.2);
}

.chakra-emotion-card.selected {
    border-color: #c8a875;
    box-shadow: 0 0 30px rgba(200, 168, 117, 0.4);
    background: linear-gradient(135deg, 
        rgba(200, 168, 117, 0.3) 0%, 
        rgba(90, 62, 43, 0.95) 100%);
}

/* Header de la tarjeta con imagen y número */
.chakra-emotion-header {
    position: relative;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chakra-emotion-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.chakra-emotion-card:hover .chakra-emotion-img {
    transform: scale(1.1) rotate(5deg);
}

.chakra-emotion-number {
    position: absolute;
    top: -5px;
    right: 20%;
    background: rgba(200, 168, 117, 0.9);
    color: #2e2014;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Título del chakra */
.chakra-emotion-card h3 {
    color: #c8a875;
    font-size: 1.3rem;
    margin: 0.5rem 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Ubicación y nota */
.chakra-location {
    color: #e4d5c7;
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0.3rem 0 1rem 0;
}

/* Contenedor de emociones */
.chakra-emotions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

/* Etiquetas de emociones */
.emotion-tag {
    display: inline-block;
    background: rgba(200, 168, 117, 0.2);
    color: #c8a875;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(200, 168, 117, 0.3);
    transition: all 0.3s ease;
}

.chakra-emotion-card:hover .emotion-tag {
    background: rgba(200, 168, 117, 0.3);
    border-color: rgba(200, 168, 117, 0.5);
    transform: scale(1.05);
}

/* Descripción del trabajo del chakra */
.chakra-work {
    color: #e4d5c7;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 1rem 0;
    opacity: 0.9;
    font-style: italic;
}

/* Contenedor de botones de acción */
.chakra-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    justify-content: center;
}

/* Botón de reproducir sonido */
.btn-play-sound {
    flex: 1;
    background: rgba(200, 168, 117, 0.2);
    border: 2px solid rgba(200, 168, 117, 0.4);
    color: #c8a875;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-play-sound:hover {
    background: rgba(200, 168, 117, 0.3);
    border-color: rgba(200, 168, 117, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 168, 117, 0.3);
}

.btn-play-sound.playing {
    background: rgba(200, 168, 117, 0.4);
    border-color: #c8a875;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Botón de selección */
.btn-select-chakra {
    flex: 1;
    background: linear-gradient(135deg, #c8a875 0%, #a68a5f 100%);
    border: none;
    color: #2e2014;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-select-chakra:hover {
    background: linear-gradient(135deg, #d4b584 0%, #b89a6e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 168, 117, 0.4);
}

.btn-select-chakra:active {
    transform: translateY(0);
}

/* Instrucción para chakras */
.instruccion-chakras {
    text-align: center;
    font-size: 1.5rem;
    color: #c8a875;
    font-weight: 600;
    margin: 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ======================================
   ESTILOS PARA INTUICIÓN SONORA
   ====================================== */

/* Contenedor de instrucciones */
.intuition-instructions {
    background: linear-gradient(135deg, 
        rgba(200, 168, 117, 0.15) 0%, 
        rgba(90, 62, 43, 0.3) 100%);
    border: 2px solid rgba(200, 168, 117, 0.4);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.breathing-guide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.breathing-guide i {
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

.breathing-steps {
    text-align: left;
    max-width: 600px;
    margin: 1.5rem auto;
    padding-left: 2rem;
    color: #e4d5c7;
    line-height: 1.8;
}

.breathing-steps li {
    margin: 1rem 0;
    font-size: 1.05rem;
}

.breathing-steps strong {
    color: #c8a875;
}

.breathing-steps ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    list-style-type: circle;
}

.breathing-steps ul li {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Grid de notas intuitivas */
.intuition-notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

/* Tarjeta de nota individual */
.intuition-note-card {
    background: linear-gradient(135deg, 
        rgba(90, 62, 43, 0.9) 0%, 
        rgba(70, 50, 35, 0.95) 100%);
    border: 2px solid rgba(200, 168, 117, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.intuition-note-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(200, 168, 117, 0.05) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.intuition-note-card:hover::before {
    opacity: 1;
}

.intuition-note-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 168, 117, 0.6);
    box-shadow: 0 8px 25px rgba(200, 168, 117, 0.2);
}

.intuition-note-card.selected {
    border-color: #c8a875;
    box-shadow: 0 0 30px rgba(200, 168, 117, 0.4);
    background: linear-gradient(135deg, 
        rgba(200, 168, 117, 0.3) 0%, 
        rgba(90, 62, 43, 0.95) 100%);
}

/* Visual de la nota con imagen */
.note-visual {
    position: relative;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

.note-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(0.8) sepia(0.3);
    transition: all 0.3s ease;
}

.intuition-note-card:hover .note-image {
    filter: brightness(1) sepia(0.2);
    transform: scale(1.05);
}

.note-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(200, 168, 117, 0.95);
    color: #2e2014;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Título y descripción de la nota */
.intuition-note-card h3 {
    color: #c8a875;
    font-size: 1.4rem;
    margin: 0.5rem 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.note-name-spanish {
    color: #e4d5c7;
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 0.5rem 0 1rem 0;
    font-style: italic;
}

/* Contenedor de acciones */
.intuition-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    justify-content: center;
}

/* Botón de escuchar */
.btn-listen {
    flex: 1;
    background: rgba(200, 168, 117, 0.2);
    border: 2px solid rgba(200, 168, 117, 0.4);
    color: #c8a875;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-listen:hover {
    background: rgba(200, 168, 117, 0.3);
    border-color: rgba(200, 168, 117, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 168, 117, 0.3);
}

.btn-listen.playing {
    background: rgba(200, 168, 117, 0.4);
    border-color: #c8a875;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Botón de elegir */
.btn-choose {
    flex: 1;
    background: linear-gradient(135deg, #c8a875 0%, #a68a5f 100%);
    border: none;
    color: #2e2014;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-choose:hover {
    background: linear-gradient(135deg, #d4b584 0%, #b89a6e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 168, 117, 0.4);
}

.btn-choose:active {
    transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 768px) {
    #step2 .option-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .connection-method {
        min-height: 160px;
    }
    
    .connection-method i {
        font-size: 2rem !important;
    }
    
    .connection-method h3 {
        font-size: 1.1rem !important;
    }
    
    .connection-method p {
        font-size: 0.9rem !important;
    }
    
    /* Chakras en móvil */
    .chakras-emotion-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .chakra-emotion-card {
        padding: 1rem;
    }
    
    .chakra-emotion-img {
        width: 60px;
        height: 60px;
    }
    
    .chakra-emotion-number {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    
    .chakra-emotion-card h3 {
        font-size: 1.1rem;
    }
    
    .chakra-actions {
        flex-direction: column;
    }
    
    .btn-play-sound,
    .btn-select-chakra {
        width: 100%;
        padding: 0.8rem;
    }
    
    .instruccion-chakras {
        font-size: 1.2rem;
    }
    
    /* Intuición Sonora en móvil */
    .intuition-instructions {
        padding: 1.5rem 1rem;
        margin: 1rem 0.5rem;
    }
    
    .intuition-instructions h3 {
        font-size: 1.4rem !important;
    }
    
    .intuition-instructions h4 {
        font-size: 1.1rem !important;
    }
    
    .breathing-guide i {
        font-size: 2rem !important;
    }
    
    .breathing-steps {
        padding-left: 1.2rem;
        font-size: 0.95rem;
    }
    
    .breathing-steps li {
        font-size: 0.95rem;
        margin: 0.8rem 0;
    }
    
    .intuition-notes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .intuition-note-card {
        padding: 1rem;
    }
    
    .note-visual {
        height: 120px;
    }
    
    .note-badge {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .intuition-note-card h3 {
        font-size: 1.2rem !important;
    }
    
    .intuition-actions {
        flex-direction: column;
    }
    
    .btn-listen,
    .btn-choose {
        width: 100%;
        padding: 0.8rem;
    }
}

/* ======================================
   ESTILOS PARA SENDERO DEL MAGO
   ====================================== */

/* Contenedor de la historia */
.mago-story-container {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.15) 0%, 
        rgba(90, 62, 43, 0.3) 100%);
    border: 3px solid rgba(212, 175, 55, 0.5);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.mago-story-container::before {
    content: '✨';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    opacity: 0.3;
    animation: sparkle 3s ease-in-out infinite;
}

.mago-story-container::after {
    content: '✨';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.3;
    animation: sparkle 3s ease-in-out infinite 1.5s;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Scroll de la historia */
.story-scroll {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(200, 168, 117, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    max-height: 500px;
    overflow-y: auto;
}

.story-scroll::-webkit-scrollbar {
    width: 8px;
}

.story-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.story-scroll::-webkit-scrollbar-thumb {
    background: rgba(200, 168, 117, 0.5);
    border-radius: 4px;
}

.story-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 168, 117, 0.7);
}

/* Contenido de la historia */
.story-content p {
    color: #e4d5c7;
    font-size: 1.05rem;
    line-height: 1.9;
    margin: 1.5rem 0;
    text-align: justify;
}

.story-content strong {
    color: #d4af37;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.story-citation {
    text-align: right;
    font-style: italic;
    color: #c8a875;
    margin-top: 2rem;
    opacity: 0.9;
}

/* Advertencia para usuarios avanzados */
.mago-warning {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.2) 0%, 
        rgba(200, 100, 0, 0.2) 100%);
    border: 2px solid rgba(212, 175, 55, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    animation: warning-pulse 2s ease-in-out infinite;
}

@keyframes warning-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.6); }
}

.mago-warning p {
    color: #e4d5c7;
    margin: 0.5rem 0;
}

/* Grid de frecuencias mágicas */
.mago-frequencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

/* Tarjeta de frecuencia */
.mago-frequency-card {
    background: linear-gradient(135deg, 
        rgba(90, 62, 43, 0.9) 0%, 
        rgba(70, 50, 35, 0.95) 100%);
    border: 3px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.mago-frequency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(212, 175, 55, 0.1) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.mago-frequency-card:hover::before {
    opacity: 1;
}

.mago-frequency-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.mago-frequency-card.selected {
    border-color: #d4af37;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.3) 0%, 
        rgba(90, 62, 43, 0.95) 100%);
}

/* Visual de la frecuencia con imagen */
.frequency-visual {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
}

.frequency-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    filter: brightness(0.7) contrast(1.2);
    transition: all 0.4s ease;
}

.mago-frequency-card:hover .frequency-image {
    filter: brightness(0.9) contrast(1.1);
    transform: scale(1.05);
}

.frequency-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #d4af37 0%, #c8a875 100%);
    color: #2e2014;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5); }
    50% { box-shadow: 0 6px 30px rgba(212, 175, 55, 0.8), 0 0 20px rgba(212, 175, 55, 0.4); }
}

/* Títulos y descripciones */
.mago-frequency-card h3 {
    color: #d4af37;
    font-size: 1.6rem;
    margin: 0.5rem 0;
    font-weight: 700;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.frequency-subtitle {
    color: #c8a875;
    font-size: 1.1rem;
    margin: 0.5rem 0 1rem;
    font-weight: 600;
    font-style: italic;
}

.frequency-description {
    color: #e4d5c7;
    font-size: 1rem;
    line-height: 1.7;
    margin: 1rem 0;
    text-align: justify;
}

.frequency-description strong {
    color: #d4af37;
    font-weight: 600;
}

/* Etiquetas de notas */
.frequency-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.note-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.3);
    color: #d4af37;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
}

.mago-frequency-card:hover .note-tag {
    background: rgba(212, 175, 55, 0.4);
    border-color: rgba(212, 175, 55, 0.7);
    transform: scale(1.05);
}

/* Botones de notas interactivos */
.note-btn {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.note-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.note-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.7);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}

.note-btn:hover::before {
    width: 200%;
    height: 200%;
}

.note-btn.selected {
    background: linear-gradient(135deg, #d4af37 0%, #c8a875 100%);
    color: #2e2014;
    border-color: #d4af37;
    font-weight: 700;
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6),
                0 0 40px rgba(212, 175, 55, 0.4);
    animation: note-selected 0.5s ease;
}

@keyframes note-selected {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.08); }
}

.note-btn:active {
    transform: scale(0.98);
}

/* Contenedor de acciones */
.mago-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    justify-content: center;
}

/* Botón de escuchar del mago */
.btn-listen-mago {
    flex: 1;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid rgba(212, 175, 55, 0.5);
    color: #d4af37;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-listen-mago:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(100, 100, 100, 0.2);
    border-color: rgba(150, 150, 150, 0.3);
    color: #999;
}

.btn-listen-mago:not(:disabled):hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}

.btn-listen-mago.playing {
    background: rgba(212, 175, 55, 0.5);
    border-color: #d4af37;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Botón de elegir del mago */
.btn-choose-mago {
    flex: 1;
    background: linear-gradient(135deg, #d4af37 0%, #c8a875 100%);
    border: none;
    color: #2e2014;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-choose-mago:hover {
    background: linear-gradient(135deg, #e4bf47 0%, #d4b584 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-choose-mago:active {
    transform: translateY(0);
}

/* Mobile responsive para Sendero del Mago */
@media (max-width: 768px) {
    .mago-story-container {
        padding: 1.5rem 1rem;
        margin: 1rem 0.5rem;
    }
    
    .mago-story-container h3 {
        font-size: 1.5rem !important;
    }
    
    .mago-story-container h4 {
        font-size: 1.2rem !important;
    }
    
    .story-scroll {
        padding: 1.5rem 1rem;
        max-height: 400px;
    }
    
    .story-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .mago-warning {
        padding: 1rem;
    }
    
    .mago-warning i {
        font-size: 1.5rem !important;
    }
    
    .mago-warning p {
        font-size: 0.9rem;
    }
    
    .mago-frequencies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .mago-frequency-card {
        padding: 1.5rem;
    }
    
    .frequency-visual {
        height: 150px;
    }
    
    .frequency-badge {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .mago-frequency-card h3 {
        font-size: 1.3rem !important;
    }
    
    .frequency-subtitle {
        font-size: 1rem !important;
    }
    
    .frequency-description {
        font-size: 0.95rem;
    }
    
    .mago-actions {
        flex-direction: column;
    }
    
    .btn-listen-mago,
    .btn-choose-mago {
        width: 100%;
        padding: 0.9rem;
    }
    
    .note-btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .frequency-notes {
        gap: 0.5rem;
    }
}
