/* Estilos para a seção de exercícios de respiração */
.breathing-exercises-container {
    background-color: #f6f6f6;
    padding: 60px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.breathing-exercises-intro {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    color: #2c3e50;
}

/* Estilo para as abas de seleção de exercício */
.breathing-exercise-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.breathing-tab-btn {
    padding: 12px 24px;
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.breathing-tab-btn:hover {
    background-color: #e8f6ff;
    border-color: #3498db;
}

.breathing-tab-btn.active {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.breathing-exercise {
    display: none;
    animation: fadeIn 0.5s ease;
}

.breathing-exercise.active {
    display: block;
}

.breathing-exercise-description {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Estilos específicos para o Wim Hof */
.wimhof-exercise {
    position: relative;
    margin: 30px auto;
    max-width: 320px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Container para o botão de pular e texto explicativo - em cinza discreto */
.wimhof-skip-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px;
    padding: 15px;
    background-color: rgba(189, 195, 199, 0.2);
    border-radius: 10px;
    animation: fadeIn 0.5s ease;
    border: 1px solid rgba(189, 195, 199, 0.5);
}

.wimhof-skip-text {
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Botão de pular retenção - em cinza escuro */
.wimhof-skip-btn {
    background-color: #868585;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(74, 74, 74, 0.3);
    transition: all 0.3s ease;
}

.wimhof-skip-btn:hover {
    background-color: #5f5f5f;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(51, 51, 51, 0.4);
}

.wimhof-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, #74eafc 0%, #2e86de 60%, #0984e3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(46, 134, 222, 0.5);
    -webkit-tap-highlight-color: transparent;
    
    /* Transições base */
    transition-property: transform, background, box-shadow;
    transition-duration: 0.5s, 0.5s, 0.5s;
    
    position: relative;
    z-index: 10;
}

.wimhof-circle.ready {
    animation: pulse-indicator 2s infinite;
}

.wimhof-circle.inhale {
    /* Reduzindo o tamanho máximo para evitar sobreposição com o texto */
    transform: scale(1.3);
    background: radial-gradient(circle, #a6e3fa 0%, #2e86de 70%, #0984e3 100%);
    box-shadow: 0 0 30px rgba(46, 134, 222, 0.7);
}

.wimhof-circle.exhale {
    transform: scale(0.9);
    background: radial-gradient(circle, #a6e3fa 0%, #2e86de 70%, #0984e3 100%);
    box-shadow: 0 0 30px rgba(46, 134, 222, 0.5);
}

.wimhof-circle.retention {
    transform: scale(0.9);
    background: radial-gradient(circle, #fdcb6e 0%, #e17055 70%, #d63031 100%);
    box-shadow: 0 0 25px rgba(214, 48, 49, 0.5);
}

.wimhof-circle.recovery {
    transform: scale(1.1);
    background: radial-gradient(circle, #55efc4 0%, #00b894 70%, #00a896 100%);
    box-shadow: 0 0 25px rgba(0, 184, 148, 0.5);
}

.wimhof-timer {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wimhof-instructions-container {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.wimhof-instructions {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.wimhof-phase {
    color: #3498db;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.wimhof-stats {
    display: flex;
    justify-content: space-between;
    background-color: rgba(46, 134, 222, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.wimhof-round, .wimhof-breath-counter {
    font-size: 1.1rem;
    color: #2e86de;
    font-weight: 500;
}

.wimhof-info {
    margin-top: 20px;
    font-size: 1rem;
    color: #7f8c8d;
}

.wimhof-congratulations {
    background: linear-gradient(135deg, #2e86de 0%, #0984e3 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin: 20px auto;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(46, 134, 222, 0.4);
}

.wimhof-congratulations h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}

.wimhof-congratulations p {
    margin-bottom: 15px;
}

.wimhof-restart-btn {
    background-color: white;
    color: #2e86de;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
}

@keyframes pulse-alert {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

/* Botão de fallback para dispositivos móveis */
.wimhof-fallback-btn {
    background-color: #2e86de;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .breathing-exercise-tabs {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }
    
    .wimhof-circle {
        width: 160px;
        height: 160px;
    }
    
    .wimhof-stats {
        flex-direction: column;
        gap: 10px;
    }
}