.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);
}

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

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

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

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

.scene-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 15px;
    background-color: var(--bg-color);
    border: 2px solid transparent;
    border-radius: 12px;
    transition: var(--transition);
}

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

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

.scene-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scene-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.scene-name {
    font-weight: 600;
    color: var(--text-color);
}

.mixer-section {
    background-color: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.mixer-section h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
}

.mixer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mixer-channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background-color: var(--bg-color);
    border-radius: 12px;
    transition: var(--transition);
}

.mixer-channel.active {
    background-color: var(--accent-color);
}

.channel-icon {
    width: 44px;
    height: 44px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
}

.channel-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.channel-volume {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: var(--border-color);
    border-radius: 3px;
    outline: none;
}

.channel-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

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

.master-control {
    display: flex;
    align-items: center;
    gap: 30px;
}

.master-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #3D7A8C);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.master-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.master-btn.playing {
    background: linear-gradient(135deg, var(--secondary-color), #4CAF50);
}

.master-btn svg {
    width: 28px;
    height: 28px;
}

.master-volume {
    flex: 1;
}

.master-volume label {
    display: block;
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 10px;
}

.master-volume input {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: var(--border-color);
    border-radius: 4px;
    outline: none;
}

.master-volume input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

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

    .mixer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .master-control {
        flex-direction: column;
        gap: 20px;
    }

    .master-volume {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .mixer-grid {
        grid-template-columns: 1fr;
    }

    .mixer-channel {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .channel-volume {
        width: 120px;
    }
}
