/* Extracted from sound-design.html — keep in sync if structure changes. */
        /* Sound Design Page Specific Styles */
        
        .sound-design-hero {
            background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(139, 92, 246, 0.05));
            border-bottom: 1px solid var(--border-color);
            padding: 4rem 0;
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .sound-design-hero h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .sound-design-hero p {
            color: var(--muted-text);
            font-size: 1.1rem;
        }

        .fundamentals-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .fundamental-card {
            background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(139, 92, 246, 0.05));
            border: 1px solid var(--border-color);
            padding: 2rem;
            border-radius: 10px;
            transition: var(--transition);
        }

        .fundamental-card:hover {
            transform: translateY(-8px);
            border-color: var(--primary-color);
            box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2);
        }

        .fundamental-card h3 {
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .fundamental-card p {
            color: var(--muted-text);
            line-height: 1.7;
        }

        .fundamental-card ul {
            color: var(--muted-text);
            line-height: 1.7;
        }

        .fundamental-card li {
            margin-bottom: 0.5rem;
        }

        .visual-demo {
            background: rgba(0, 212, 255, 0.03);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 2rem;
            margin: 2rem 0;
            text-align: center;
        }

        .visual-demo p {
            color: var(--muted-text);
        }

        .visual-demo strong {
            color: var(--primary-color);
        }

        .visual-demo em {
            color: var(--muted-text);
            font-size: 0.9rem;
        }

        .waveform-visual {
            display: flex;
            align-items: flex-end;
            justify-content: center;
            gap: 3px;
            height: 150px;
            margin: 2rem 0;
            background: rgba(0, 0, 0, 0.3);
            padding: 1.5rem;
            border-radius: 8px;
        }

        .wave-bar {
            background: linear-gradient(to top, var(--primary-color), var(--accent-purple));
            width: 8px;
            border-radius: 2px;
            animation: wave 0.6s ease-in-out infinite;
        }

        @keyframes wave {
            0%, 100% { height: 20px; }
            50% { height: 100px; }
        }

        .filter-visual {
            max-width: 100%;
            height: 250px;
            background: linear-gradient(to right, var(--primary-color), transparent);
            border-radius: 8px;
            margin: 2rem 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            opacity: 0.8;
        }

        .envelope-diagram {
            background: rgba(0, 0, 0, 0.2);
            padding: 1.5rem;
            border-radius: 8px;
            margin: 2rem 0;
            text-align: left;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            color: var(--primary-color);
            border: 1px solid var(--border-color);
        }

        .concept-section {
            background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(139, 92, 246, 0.05));
            border: 1px solid var(--border-color);
            padding: 2rem;
            margin-bottom: 2rem;
            border-radius: 10px;
            transition: var(--transition);
        }

        .concept-section h3 {
            color: var(--primary-color);
            margin-top: 0;
            margin-bottom: 1.5rem;
        }

        .concept-section h4 {
            color: var(--primary-color);
            margin-top: 1.5rem;
            margin-bottom: 1rem;
        }

        .concept-section p {
            color: var(--muted-text);
            line-height: 1.7;
        }

        .concept-section ul {
            color: var(--muted-text);
        }

        .concept-section li {
            margin-bottom: 0.5rem;
            line-height: 1.6;
        }

        .tips-callout {
            background: rgba(139, 92, 246, 0.1);
            border-left: 4px solid var(--accent-purple);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 8px;
        }

        .tips-callout strong {
            color: var(--primary-color);
        }

        .tips-callout {
            color: var(--muted-text);
        }

        .interactive-section {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
            border: 1px solid var(--border-color);
            padding: 3rem 2rem;
            border-radius: 10px;
            margin: 3rem 0;
        }

        .interactive-section h2 {
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 2rem;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .slider-demo {
            margin: 1.5rem 0;
            padding: 1.5rem;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }

        .slider-demo label {
            display: block;
            margin-bottom: 1rem;
            font-weight: 600;
            color: var(--primary-color);
        }

        .slider-demo input[type="range"] {
            width: 100%;
            cursor: pointer;
            accent-color: var(--primary-color);
        }

        .slider-value {
            color: var(--primary-color);
            font-weight: 600;
            margin-top: 0.5rem;
        }

        .slider-demo p {
            color: var(--muted-text);
            font-size: 0.9rem;
            margin-top: 0.5rem;
        }

        .back-link {
            margin-bottom: 2rem;
        }

        .back-link a {
            color: var(--primary-color);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-weight: 500;
            transition: var(--transition);
        }

        .back-link a:hover {
            color: var(--secondary-color);
        }

        @media (max-width: 768px) {
            .sound-design-hero h1 {
                font-size: 1.8rem;
            }

            .waveform-visual {
                height: 120px;
            }

            .filter-visual {
                height: 200px;
            }

            .fundamentals-grid {
                grid-template-columns: 1fr;
            }
        }

        .toc-nav {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 1rem;
            margin: 2rem 0 3rem;
            padding: 0;
        }

        .toc-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 1.2rem 0.8rem;
            background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(139, 92, 246, 0.06));
            border: 1px solid var(--border-color);
            border-radius: 10px;
            text-decoration: none;
            color: var(--muted-text);
            transition: var(--transition);
            font-size: 0.85rem;
            line-height: 1.3;
        }

        .toc-item:hover {
            border-color: var(--primary-color);
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0, 212, 255, 0.15);
            color: var(--primary-color);
        }

        .toc-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            display: block;
        }

        @media (max-width: 480px) {
            .toc-nav {
                grid-template-columns: repeat(2, 1fr);
            }
        }