body {
    background: linear-gradient(135deg, #e0e7ff 0%, #f4f4f4 100%);
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
.container {
    max-width: 540px;
    min-width: 340px;
    margin: 32px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 28px 24px 36px 24px;
    text-align: center;
    box-sizing: border-box;
}
h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.palette {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 24px 0 10px 0;
    gap: 32px; /* Perbesar jarak antar warna */
}

.color-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70px;
}

.color-label {
    display: inline-block;
    background: #fff;
    border-radius: 8px;
    padding: 5px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #22223b;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-top: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    user-select: all;
    transition: background 0.2s;
    min-width: 70px;
    text-align: center;
    word-break: break-all;
}
.color-box {
    width: 70px;
    height: 64px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    transition: transform 0.08s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 2px solid #f1f5f9;
    margin-bottom: 10px;
}

.color-label {
    display: inline-block;
    background: #fff;
    border-radius: 8px;
    padding: 5px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #22223b;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-top: 0;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    user-select: all;
    transition: background 0.2s;
    min-width: 70px;
    text-align: center;
    word-break: break-all;
}
.color-box span {
    background: rgba(255,255,255,0.92);
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #22223b;
    user-select: all;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: background 0.2s;
}
.color-box:active {
    transform: scale(0.96);
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
button {
    background: linear-gradient(90deg, #4f8cff 0%, #2563eb 100%);
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 2px 8px rgba(79,140,255,0.08);
    transition: background 0.2s, transform 0.08s;
    margin-top: 8px;
    letter-spacing: 0.5px;
}
button:hover {
    background: linear-gradient(90deg, #2563eb 0%, #4f8cff 100%);
    transform: scale(0.98);
}
@media (max-width: 600px) {
    .container {
        max-width: 98vw;
        padding: 12px 4vw 20px 4vw;
    }
    .palette {
        gap: 4px;
    }
    .color-box {
        height: 44px;
        border-radius: 7px;
    }
    h1 {
        font-size: 1.1rem;
    }
    button {
        font-size: 0.95rem;
        padding: 10px 0;
    }
}
.palette-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    list-style: none;
    padding: 0 0;
    margin: 14px 0 0 0;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
}

.color-label-item {
    flex: 0 0 70px;
    display: flex;
    justify-content: center;
}

.color-label {
    display: inline-block;
    background: #fff;
    border-radius: 8px;
    padding: 5px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #22223b;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-top: 0px;
    margin-bottom: 8px; /* Tambahkan jarak bawah */
    cursor: pointer;
    border: 1px solid #e5e7eb;
    user-select: all;
    transition: background 0.2s;
    min-width: 70px;
    text-align: center;
    word-break: break-all;
}
.color-label-hsl {
    margin-top: 0 !important;
}
body::before {
    content: "";
    position: fixed;
    z-index: 0;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    background: inherit;
    filter: blur(60px) brightness(1.15) saturate(1.3);
    opacity: 0.7;
    animation: mirageMove 8s infinite alternate;
}

@keyframes mirageMove {
    0% {
        filter: blur(60px) brightness(1.1) saturate(1.2);
        opacity: 0.7;
        transform: scale(1) translate(0px, 0px) rotate(0deg) skew(0deg, 0deg);
    }
    20% {
        filter: blur(70px) brightness(1.2) saturate(1.3);
        opacity: 0.8;
        transform: scale(1.05) translate(-30px, 20px) rotate(3deg) skew(2deg, 4deg);
    }
    40% {
        filter: blur(65px) brightness(1.18) saturate(1.4);
        opacity: 0.75;
        transform: scale(1.08) translate(25px, -18px) rotate(-2deg) skew(-3deg, 2deg);
    }
    60% {
        filter: blur(75px) brightness(1.22) saturate(1.5);
        opacity: 0.85;
        transform: scale(1.12) translate(-18px, 30px) rotate(4deg) skew(3deg, -2deg);
    }
    80% {
        filter: blur(68px) brightness(1.15) saturate(1.3);
        opacity: 0.8;
        transform: scale(1.07) translate(20px, -25px) rotate(-3deg) skew(-2deg, 3deg);
    }
    100% {
        filter: blur(60px) brightness(1.1) saturate(1.2);
        opacity: 0.7;
        transform: scale(1) translate(0px, 0px) rotate(0deg) skew(0deg, 0deg);
    }
}

.container, .container * {
    position: relative;
    z-index: 1;
}