body {
    background: #181a1b;
    min-height: 100vh;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    /* Use the same animated doodle background as index.html */
    background-image: none;
    margin: 0;
    padding: 0;
    height: 100vh;
    position: relative;
    overflow: hidden;
    color: #f7f7f7;
}

#doodle-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
    filter: blur(2.5px) brightness(0.7) contrast(1.1);
}

.lofi-mixer-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-top: 80px;
    z-index: 2;
    position: relative;
}

.sound-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: rgba(30,32,34,0.97);
    border-radius: 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
    border: 3.5px dashed #ffe066;
    padding: 36px 32px 32px 32px;
    min-width: 220px;
    max-width: 320px;
    margin: 0 12px;
    color: #ffe066;
}

.sound-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #eee;
    background: #f7f7f7;
    box-shadow: 2px 2px 0 #e2d6b7;
    object-fit: cover;
    margin-bottom: 18px;
}

.sound-label {
    font-size: 1.5em;
    color: #ffe066;
    margin-bottom: 18px;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 #222;
}

.slider-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    height: 18px;
    background: repeating-linear-gradient(90deg, #ffe066 0 8px, #222 8px 16px);
    border-radius: 9px;
    border: 3px solid #ffe066;
    outline: none;
    box-shadow: 1px 1px 0 #e2d6b7;
    transition: background 0.2s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #222;
    border: 4px solid #ffe066;
    box-shadow: 2px 2px 0 #e2d6b7;
    cursor: pointer;
    transition: background 0.2s;
}

.slider::-moz-range-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #222;
    border: 4px solid #ffe066;
    box-shadow: 2px 2px 0 #e2d6b7;
    cursor: pointer;
    transition: background 0.2s;
}

.slider::-ms-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #222;
    border: 4px solid #ffe066;
    box-shadow: 2px 2px 0 #e2d6b7;
    cursor: pointer;
    transition: background 0.2s;
}

.slider-value {
    font-size: 1.1em;
    color: #ffe066;
    min-width: 36px;
    text-align: right;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    text-shadow: 1px 1px 0 #222;
}

.hamburger {
    position: fixed;
    top: 24px;
    right: 28px;
    width: 38px;
    height: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    border: 1.5px solid #bbb;
    transition: background 0.2s;
}

.hamburger:hover,
.hamburger:focus {
    background: #f7f7f7;
    outline: 2px solid #ffe066;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 3px;
    margin: 3px 0;
    background: #222;
    border-radius: 2px;
    transition: all 0.2s;
}

.lofi-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(250, 249, 246, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    animation: fadeIn 0.3s;
}

.lofi-modal-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
    padding: 32px 28px 24px 28px;
    min-width: 320px;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
    position: relative;
    border: 2.5px dashed #bbb;
}

.close-lofi {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2em;
    color: #888;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}

.close-lofi:hover,
.close-lofi:focus {
    color: #ffb7b2;
    outline: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.10);
    border-left: 2.5px dashed #bbb;
    z-index: 300;
    display: none;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.77, 0, .18, 1);
}

.sidebar.open {
    display: block;
    transform: translateX(0);
}

.sidebar-content {
    padding: 36px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.sidebar-title {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.5em;
    color: #444;
    margin: 0 0 12px 0;
    letter-spacing: 1px;
}

.close-sidebar {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2em;
    color: #888;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}

.close-sidebar:hover,
.close-sidebar:focus {
    color: #ffb7b2;
    outline: none;
}

.sidebar-link {
    color: #444;
    text-decoration: none;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.sidebar-link:hover,
.sidebar-link:focus {
    color: #ffb7b2;
    text-decoration: underline wavy #ffe066 2px;
    outline: none;
}

.theme-toggle {
    position: fixed;
    top: 32px;
    left: 32px;
    right: auto;
    bottom: auto;
    z-index: 400;
    background: #ffe066;
    color: #222;
    border: 2.5px solid #ffb7b2;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    font-size: 2em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    outline: none;
}

.theme-toggle:hover, .theme-toggle:focus {
    background: #ffb7b2;
    color: #ffe066;
    border-color: #ffe066;
}

body.dark-theme {
    background: #181a1b;
    color: #f7f7f7;
}

body.dark-theme #doodle-bg-canvas {
    opacity: 0.85;
    filter: blur(2.5px) brightness(0.7) contrast(1.1);
}

body.dark-theme .sound-block {
    background: rgba(30,32,34,0.97);
    border: 3.5px dashed #ffe066;
    color: #ffe066;
}

body.dark-theme .sound-label,
body.dark-theme .slider-value {
    color: #ffe066;
    text-shadow: 1px 1px 0 #222;
}

body.dark-theme .slider {
    background: repeating-linear-gradient(90deg, #ffe066 0 8px, #222 8px 16px);
    border: 3px solid #ffe066;
}

body.dark-theme .slider::-webkit-slider-thumb,
body.dark-theme .slider::-moz-range-thumb,
body.dark-theme .slider::-ms-thumb {
    background: #222;
    border: 4px solid #ffe066;
}

body.light-theme {
    background: #faf9f6;
    color: #222;
}

body.light-theme #doodle-bg-canvas {
    opacity: 0.95;
    filter: blur(2.5px) brightness(1.08);
}

body.light-theme .sound-block {
    background: rgba(255,255,255,0.97);
    border: 3.5px dashed #ffe066;
    color: #444;
}

body.light-theme .sound-label,
body.light-theme .slider-value {
    color: #ffb7b2;
    text-shadow: 1px 1px 0 #ffe;
}

body.light-theme .slider {
    background: repeating-linear-gradient(90deg, #ffe066 0 8px, #fffbe7 8px 16px);
    border: 3px solid #ffe066;
}

body.light-theme .slider::-webkit-slider-thumb,
body.light-theme .slider::-moz-range-thumb,
body.light-theme .slider::-ms-thumb {
    background: #fffbe7;
    border: 4px solid #ffb7b2;
}

@media (max-width: 1100px) {
    .lofi-mixer-row {
        flex-direction: column;
        gap: 32px;
    }
}