.hero-simulation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInRight 1s ease-out;
    position: relative;
    width: 100%;
}

.canvas-container {
    background: #ffffff;
    border: 4px solid #000000;
    border-radius: 0;
    padding: 40px 10px 10px 10px;
    box-shadow: 12px 12px 0 #000000;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    position: relative;
}

.canvas-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    border-bottom: 4px solid #000000;
    background: #ffffff;
}

.canvas-container::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56;
    box-shadow:
        0 0 0 2px #000000,
        20px 0 0 0 #FFE600,
        20px 0 0 2px #000000,
        40px 0 0 0 #00D68F,
        40px 0 0 2px #000000;
}

canvas {
    border: 3px solid #000000;
    border-radius: 0;
    display: block;
    width: 100% !important;
    height: auto !important;
    background: #ffffff;
}

.sim-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Memaksa jadi 2 kolom yang sama lebar */
    gap: 15px;
    /* Jarak antar tombol */
    width: 100%;
    max-width: 500px;
    /* Lebarnya disamakan dengan kotak canvas di atasnya */
    margin-top: 15px;
}

.sim-btn {
    background: #ffffff;
    border: 4px solid #000000;
    color: #000000;
    padding: 0.8rem 1rem;
    border-radius: 0;
    cursor: pointer;
    font-weight: 900;
    font-size: 1rem;
    font-family: 'Lexend', sans-serif;
    text-transform: uppercase;
    box-shadow: 6px 6px 0 #000000;
    transition: all 0.1s ease;
    width: 100%;
    /* Memaksa tombol melebar memenuhi ruang sel grid-nya */
}

/* Mengaplikasikan palet warna dari gambar untuk tombol simulasi */
.sim-btn:nth-child(1) {
    background: #FFE600;
}

/* Translasi: Primary */
.sim-btn:nth-child(2) {
    background: #2D5BFF;
    color: #ffffff;
}

/* Refleksi: Secondary */
.sim-btn:nth-child(3) {
    background: #00D68F;
}

/* Rotasi: Tertiary */
.sim-btn:nth-child(4) {
    background: #E02424;
    color: #ffffff;
}

/* Dilatasi: Merah */

.sim-btn:hover {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0 #000000;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}