/* --- style.css --- */
:root {
    --bg-color: #fdf2f8; 
    --text-color: #4c1d95;
    --card-bg: #ffffff; 
    --accent-color: #db2777;
}

* { box-sizing: border-box; }

body {
    margin: 0; padding: 0;
    font-family: 'Comic Sans MS', 'Segoe UI', Tahoma, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: grid;
    place-items: center;
    min-height: 100vh;
    width: 100vw;
}

.container {
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(219, 39, 119, 0.1);
    max-width: 600px; 
    width: 95%; 
    padding: 40px 20px;
    text-align: center;
    border: 5px dashed #ffb3cc;
}

h1 { color: var(--accent-color); margin-bottom: 5px; font-size: 2.2rem;}
.subtitle { color: #6b7280; font-size: 1.1rem; margin-bottom: 40px; }

/* WADAH PILIHAN MENU */
.menu-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* KARTU PILIHAN */
.menu-card {
    background-color: #fff5f8;
    border: 4px solid #ffccdd;
    border-radius: 20px;
    padding: 30px 20px;
    width: 220px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.menu-card:hover {
    transform: translateY(-10px) scale(1.05);
    background-color: #ffe6f2;
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(219, 39, 119, 0.2);
}

.menu-card h2 {
    margin-top: 30px;
    margin-bottom: 0;
    font-size: 1.4rem;
    color: var(--accent-color);
}

/* --- WADAH KUCING --- */
.cat-container {
    width: 100px; height: 90px; 
    position: relative;
    transform: scale(1.3); 
    margin-top: 10px;
}

/* --- KODE CSS KUCING ANIMASI --- */
.cat { position: relative; width: 100%; height: 100%; animation: breathe 3s infinite alternate ease-in-out; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.12)); }
.cat-head { width: 76px; height: 55px; border-radius: 38px 38px 25px 25px; position: absolute; bottom: 0; left: 12px; overflow: hidden; z-index: 2; }
.ear { width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-bottom: 28px solid; position: absolute; top: 12px; z-index: 1; }
.ear-left { left: 18px; transform: rotate(-15deg); animation: twitch-left 4s infinite; }
.ear-right { right: 18px; transform: rotate(15deg); animation: twitch-right 4s infinite 1s; }

/* VARIAN: CALICO (UNTUK ABJAD) */
.cat-calico .cat-head { background: #ffffff; } .cat-calico .ear-left { border-bottom-color: #f59e0b; } .cat-calico .ear-right { border-bottom-color: #374151; }
.cat-calico .patch-orange { position: absolute; top: -10px; left: -15px; width: 50px; height: 45px; background: #f59e0b; border-radius: 50%; } .cat-calico .patch-black { position: absolute; top: -12px; right: -10px; width: 45px; height: 55px; background: #374151; border-radius: 50%; }
.cat-calico .eye { position: absolute; top: 26px; width: 8px; height: 8px; background: #1f2937; border-radius: 50%; animation: blink 3s infinite; } .cat-calico .eye-left { left: 18px; } .cat-calico .eye-right { right: 18px; }
.cat-calico .nose { position: absolute; top: 35px; left: 35px; width: 6px; height: 4px; background: #f472b6; border-radius: 50%; }

/* VARIAN: OREN MILU (UNTUK MENGEJA) */
.cat-oren-milu .cat-head { background: #f59e0b; border: 2px solid #ec9600; }
.cat-oren-milu .ear { border-bottom-color: #ffaa33; }
.cat-oren-milu .tabby-M { position: absolute; top: -4px; left: 25px; width: 25px; height: 22px; background: #e07203; clip-path: polygon(0% 0%, 20% 0%, 50% 30%, 80% 0%, 100% 0%, 100% 100%, 80% 100%, 50% 70%, 20% 100%, 0% 100%); border-radius: 4px; }
.cat-oren-milu .eye { position: absolute; top: 18px; width: 8px; height: 8px; background: #1f2937; border-radius: 50%; animation: blink 3s infinite; }
.cat-oren-milu .eye-left { left: 18px; } .cat-oren-milu .eye-right { right: 18px; }
.cat-oren-milu .cheek { position: absolute; top: 24px; width: 10px; height: 5px; background: #d88b05; border-radius: 50%; opacity: 0.8; }
.cat-oren-milu .cheek-left { left: 8px; } .cat-oren-milu .cheek-right { right: 8px; }
.cat-oren-milu .cheek-stripes { position: absolute; top: 28px; left: 10px; display: flex; gap: 3px; }
.cat-oren-milu .cheek-stripes.right { left: auto; right: 10px; }
.cat-oren-milu .stripe-pipi { width: 2px; height: 10px; background: #ce6a06; border-radius: 1px; transform: rotate(5deg); }
.cat-oren-milu .cheek-stripes.right .stripe-pipi { transform: rotate(-5deg); }
.cat-oren-milu .nose { position: absolute; top: 30px; left: 34px; width: 6px; height: 4px; background: #f472b6; border-radius: 50%; }
.cat-oren-milu .mouth .tooth { position: absolute; top: 33px; left: 32px; width: 2px; height: 4px; background: white; border-radius: 50% 50% 0 0; transform: rotate(-10deg); }
.cat-oren-milu .whisker { position: absolute; height: 2px; background: #fff; border-radius: 2px; }
.cat-oren-milu .wl-1 { width: 10px; top: 30px; left: 2px; transform: rotate(10deg); } .cat-oren-milu .wl-2 { width: 12px; top: 35px; left: 1px; } .cat-oren-milu .wl-3 { width: 10px; top: 40px; left: 3px; transform: rotate(-10deg); }
.cat-oren-milu .wr-1 { width: 10px; top: 30px; right: 2px; transform: rotate(-10deg); } .cat-oren-milu .wr-2 { width: 12px; top: 35px; right: 1px; } .cat-oren-milu .wr-3 { width: 10px; top: 40px; right: 3px; transform: rotate(10deg); }

/* KEYFRAMES */
@keyframes breathe { 0% { transform: translateY(0); } 100% { transform: translateY(4px); } }
@keyframes blink { 0%, 9%, 11%, 100% { transform: scaleY(1); } 10% { transform: scaleY(0.1); } }
@keyframes twitch-left { 0%, 90%, 100% { transform: rotate(-15deg); } 95% { transform: rotate(-25deg); } }
@keyframes twitch-right { 0%, 90%, 100% { transform: rotate(15deg); } 95% { transform: rotate(25deg); } }

/* --- MEDIA QUERY UNTUK LAYAR HP (MOBILE) --- */
@media (max-width: 480px) {
    .container {
        padding: 25px 15px;
        border-width: 4px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .menu-wrapper {
        gap: 15px; 
    }

    .menu-card {
        width: 100%; 
        max-width: 280px; 
        padding: 20px 15px;
    }

    .cat-container {
        transform: scale(1.1); 
    }
}