.tutorial-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

.tutorial-link:hover {
    border-bottom-color: var(--primary-color);
}

.breathing-app {
    max-width: 800px;
    margin: 0 auto;
}

.technique-selector {
    background-color: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.technique-selector h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
}

.technique-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.technique-btn {
    background-color: var(--bg-color);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    transition: var(--transition);
    cursor: pointer;
}

.technique-btn:hover {
    border-color: var(--primary-color);
    background-color: var(--accent-color);
}

.technique-btn.active {
    border-color: var(--primary-color);
    background-color: var(--accent-color);
}

.technique-name {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.technique-desc {
    display: block;
    font-size: 0.85rem;
    color: #64748B;
}

.breathing-visual {
    background-color: var(--white);
    border-radius: 16px;
    padding: 50px 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.breath-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 4s ease-in-out;
    margin-bottom: 30px;
}

.breath-circle.inhale {
    transform: scale(1.3);
}

.breath-circle.exhale {
    transform: scale(1);
}

.breath-circle.hold {
    transform: scale(1.3);
}

.breath-inner {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.breath-instruction {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.breath-timer {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cycle-counter {
    font-size: 1.1rem;
    color: #64748B;
}

.cycle-count {
    font-weight: 600;
    color: var(--primary-color);
}

.breathing-controls {
    background-color: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.cycle-setting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.cycle-setting label {
    font-weight: 500;
    color: var(--text-color);
}

.cycle-input-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cycle-adjust {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.cycle-adjust:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

#cycleInput {
    width: 60px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

#cycleInput:focus {
    outline: none;
    border-color: var(--primary-color);
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.control-buttons .btn {
    min-width: 120px;
}

.start-btn.running {
    background: linear-gradient(135deg, #E53E3E, #C53030);
}

@media (max-width: 768px) {
    .technique-options {
        grid-template-columns: 1fr;
    }

    .breath-circle {
        width: 200px;
        height: 200px;
    }

    .breath-inner {
        width: 140px;
        height: 140px;
    }

    .breath-instruction {
        font-size: 1.2rem;
    }

    .breath-timer {
        font-size: 2rem;
    }

    .cycle-setting {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .breathing-visual {
        padding: 30px 20px;
    }

    .breath-circle {
        width: 180px;
        height: 180px;
    }

    .breath-inner {
        width: 120px;
        height: 120px;
    }

    .control-buttons {
        flex-direction: column;
    }

    .control-buttons .btn {
        width: 100%;
    }
}
