body {
    font-family: 'Arial', sans-serif;
    background-color: #faf9f6;
    background-image: none;
    margin: 0;
    padding: 0;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.left-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 25%;
    padding: 10px;
    border: 2px dashed #ccc;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    z-index: 2;
}

.right-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30%;
    padding: 10px;
    border: 2px dashed #ccc;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    z-index: 2;
}

.center-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.img-blender {
    width: 100%;
    height: auto;
    max-width: 300px;
    transition: transform 0.3s ease;
}

.img-blender.mixing {
    animation: mix-spin 2s linear;
}

@keyframes mix-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
}

@keyframes confetti-fall {
    0% { transform: translateY(-100%); opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

.mix-button, .reset-button {
    margin: 10px auto;
    padding: 10px 20px;
    font-size: 18px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mix-button {
    background-color: #4CAF50;
}

.mix-button:hover {
    background-color: #45a049;
}

.reset-button {
    background-color: #2196f3;
}

.reset-button:hover {
    background-color: #1976d2;
}

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

.item-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.draggable-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    cursor: grab;
    transition: transform 0.2s;
    padding: 0;
}

.draggable-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: none;
    border: none;
    box-shadow: none;
}

.draggable-item:hover {
    transform: scale(1.08);
}

.draggable-item:active {
    cursor: grabbing;
}

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