*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0e14;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.5);
    --accent-1: #8b5cf6;
    --accent-2: #06b6d4;
    --accent-3: #f472b6;
    --accent-4: #34d399;
    --accent-5: #fbbf24;
    --accent-6: #f87171;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== Живой фон ===== */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(139, 92, 246, 0.15), transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(6, 182, 212, 0.12), transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(244, 114, 182, 0.06), transparent 70%),
        #0a0e14;
}

.bg-noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
}

/* ===== Частицы ===== */
.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: rise linear infinite;
}

@keyframes rise {
    from { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    to { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== Хедер ===== */
header {
    position: relative;
    z-index: 10;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    background: rgba(10, 14, 20, 0.6);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.logo-mark::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
}

.logo-mark svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    position: relative;
    z-index: 1;
}

.logo-text span {
    background: linear-gradient(135deg, #fff, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.timer:hover {
    background: var(--surface-hover);
    color: var(--text);
    border-color: rgba(139, 92, 246, 0.4);
}

.timer.active {
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.timer svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 4rem 2rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #a78bfa;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a78bfa;
    box-shadow: 0 0 10px #a78bfa;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

h1 .gradient {
    background: linear-gradient(135deg, #a78bfa 0%, #22d3ee 50%, #f472b6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ===== Плеер ===== */
.player-bar {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    z-index: 100;
    width: calc(100% - 3rem);
    max-width: 700px;
    padding: 1rem 1.5rem;
    border-radius: 24px;
    background: rgba(15, 20, 30, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.player-bar.visible {
    transform: translateX(-50%) translateY(0);
}

.player-art {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
}

.player-art-icon {
    font-size: 26px;
    line-height: 1;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.player-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

.player-info {
    flex: 1;
    min-width: 0;
}

.player-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-sub {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.btn-icon:hover {
    background: var(--surface-hover);
    transform: scale(1.05);
}

.btn-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.btn-play {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-play:hover {
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.6);
    transform: scale(1.08);
}

.btn-play svg {
    width: 20px;
    height: 20px;
}

.volume-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 4px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
}

/* ===== Сетка звуков ===== */
.sounds-section {
    position: relative;
    z-index: 10;
    padding: 2rem 2rem 8rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.3rem;
}

.filter-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.chip {
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.chip:hover {
    background: var(--surface-hover);
    color: var(--text);
}

.chip.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    color: #a78bfa;
}

.sounds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.2rem;
}

/* ===== Карточка звука ===== */
.sound-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: var(--surface);
    border: 1px solid var(--border);
    aspect-ratio: 4 / 5;
    animation: fadeInUp 0.6s ease-out both;
}

.sound-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.sound-card.playing {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.3), 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card-visual {
    position: absolute;
    inset: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sound-card:hover .card-visual {
    transform: scale(1.08);
}

/* ===== Визуалы звуков ===== */
.visual-forest {
    background:
        radial-gradient(ellipse at 50% 100%, rgba(52, 211, 153, 0.6), transparent 60%),
        radial-gradient(ellipse at 20% 30%, rgba(16, 185, 129, 0.5), transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(34, 197, 94, 0.4), transparent 50%),
        linear-gradient(180deg, #064e3b, #022c22);
}

.visual-ocean {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(34, 211, 238, 0.6), transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.5), transparent 50%),
        linear-gradient(180deg, #0c4a6e, #082f49);
}

.visual-rain {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(148, 163, 184, 0.5), transparent 60%),
        radial-gradient(ellipse at 30% 70%, rgba(100, 116, 139, 0.4), transparent 50%),
        linear-gradient(180deg, #334155, #0f172a);
}

.visual-fire {
    background:
        radial-gradient(ellipse at 50% 100%, rgba(251, 146, 60, 0.8), transparent 55%),
        radial-gradient(ellipse at 30% 70%, rgba(239, 68, 68, 0.5), transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(251, 191, 36, 0.4), transparent 50%),
        linear-gradient(180deg, #7c2d12, #1c0a05);
}

.visual-waterfall {
    background:
        radial-gradient(ellipse at 50% 30%, rgba(125, 211, 252, 0.7), transparent 60%),
        radial-gradient(ellipse at 20% 70%, rgba(56, 189, 248, 0.5), transparent 50%),
        linear-gradient(180deg, #075985, #0c4a6e);
}

.visual-thunder {
    background:
        radial-gradient(ellipse at 70% 20%, rgba(167, 139, 250, 0.6), transparent 55%),
        radial-gradient(ellipse at 30% 60%, rgba(88, 28, 135, 0.5), transparent 50%),
        linear-gradient(180deg, #2e1065, #0f0524);
}

.visual-birds {
    background:
        radial-gradient(ellipse at 60% 30%, rgba(251, 191, 36, 0.5), transparent 55%),
        radial-gradient(ellipse at 30% 80%, rgba(132, 204, 22, 0.4), transparent 50%),
        linear-gradient(180deg, #365314, #1a2e05);
}

.visual-wind {
    background:
        radial-gradient(ellipse at 40% 40%, rgba(203, 213, 225, 0.5), transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(148, 163, 184, 0.4), transparent 50%),
        linear-gradient(180deg, #1e293b, #0f172a);
}

.visual-night {
    background:
        radial-gradient(ellipse at 70% 20%, rgba(196, 181, 253, 0.5), transparent 50%),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 15%),
        radial-gradient(circle at 60% 15%, rgba(255, 255, 255, 0.2), transparent 10%),
        radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.25), transparent 8%),
        linear-gradient(180deg, #1e1b4b, #0a0a1a);
}

.visual-desert {
    background:
        radial-gradient(ellipse at 50% 100%, rgba(251, 191, 36, 0.55), transparent 60%),
        radial-gradient(ellipse at 20% 40%, rgba(234, 88, 12, 0.4), transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(250, 204, 21, 0.35), transparent 50%),
        linear-gradient(180deg, #b45309, #451a03);
}

.visual-village {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(132, 204, 22, 0.5), transparent 55%),
        radial-gradient(ellipse at 70% 80%, rgba(101, 163, 13, 0.4), transparent 50%),
        radial-gradient(ellipse at 60% 40%, rgba(251, 191, 36, 0.3), transparent 45%),
        linear-gradient(180deg, #3f6212, #1a2e05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
}

.card-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-emoji {
    font-size: 2.2rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease;
}

.sound-card:hover .card-emoji {
    transform: scale(1.15) rotate(-5deg);
}

.card-play {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.sound-card:hover .card-play,
.sound-card.playing .card-play {
    opacity: 1;
    transform: scale(1);
}

.card-play svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    transition: transform 0.3s ease;
}

.sound-card.playing .card-play {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border-color: transparent;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
}

.card-bottom {
    transform: translateY(0);
}

.card-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.card-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.card-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.card-tag {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ===== Эквалайзер на играющей карточке ===== */
.eq-bars {
    position: absolute;
    bottom: 1.4rem;
    right: 1.4rem;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sound-card.playing .eq-bars {
    opacity: 1;
}

.eq-bar {
    width: 3px;
    background: linear-gradient(180deg, #a78bfa, #22d3ee);
    border-radius: 2px;
    animation: eqBounce 0.8s ease-in-out infinite;
}

.eq-bar:nth-child(1) { animation-delay: 0s; }
.eq-bar:nth-child(2) { animation-delay: 0.15s; }
.eq-bar:nth-child(3) { animation-delay: 0.3s; }
.eq-bar:nth-child(4) { animation-delay: 0.45s; }

@keyframes eqBounce {
    0%, 100% { height: 6px; }
    50% { height: 20px; }
}

/* ===== Миксер ===== */
.mixer-section {
    position: relative;
    z-index: 10;
    padding: 2rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.mixer-panel {
    padding: 2rem;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(6, 182, 212, 0.05));
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.mixer-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.mixer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.mixer-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-3), var(--accent-1));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(244, 114, 182, 0.3);
}

.mixer-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.mixer-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.mixer-subtitle {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.15rem;
}

.mixer-presets {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.preset-btn {
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.preset-btn:hover {
    background: var(--surface-hover);
    color: var(--text);
    border-color: rgba(139, 92, 246, 0.4);
}

.mixer-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.channel {
    padding: 1.2rem;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.channel:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.channel.active {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.08);
}

.channel-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.channel-emoji { font-size: 1.3rem; }
.channel-name { font-size: 0.85rem; font-weight: 600; }

.channel-toggle {
    margin-left: auto;
    width: 34px;
    height: 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
    flex-shrink: 0;
}

.channel-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.channel-toggle.on {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}

.channel-toggle.on::after {
    transform: translateX(14px);
}

.channel-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
}

.channel-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
    transition: transform 0.2s ease;
}

.channel-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.channel-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
}

/* ===== Футер ===== */
footer {
    position: relative;
    z-index: 10;
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 3rem;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.7;
}

.footer-heart { color: var(--accent-3); }

/* ===== Скролл ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* ===== Адаптив ===== */
@media (max-width: 768px) {
    header { padding: 1rem 1.2rem; }
    .logo-text { font-size: 1rem; }
    .timer { padding: 0.5rem 0.9rem; font-size: 0.78rem; }
    .hero { padding: 2.5rem 1.2rem 2rem; }
    .sounds-section, .mixer-section {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
    .sounds-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    .sound-card { aspect-ratio: 3 / 4; }
    .mixer-header { flex-direction: column; align-items: flex-start; }
    .mixer-presets { margin-left: 0; }
    .player-bar {
        padding: 0.8rem 1rem;
        gap: 0.7rem;
        border-radius: 20px;
    }
    .player-art { width: 44px; height: 44px; }
    .player-art-icon { font-size: 20px; }
    .volume-wrap { display: none; }
    .btn-icon { width: 36px; height: 36px; }
    .btn-play { width: 44px; height: 44px; }
    .section-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .sounds-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
    }
    .card-content { padding: 1rem; }
    .card-title { font-size: 0.9rem; }
    .card-desc { display: none; }
    .card-tags { display: none; }
    .card-emoji { font-size: 1.8rem; }
    .card-play { width: 36px; height: 36px; }
    .card-play svg { width: 14px; height: 14px; }
}
