body {
    margin: 0;
    padding: 0;
    background-color: #ffebee;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.screen {
    display: none;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.5);
    animation: zoomIn 0.4s ease;
}

.screen.active {
    display: flex;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

img {
    width: 200px;
    border-radius: 15px;
    margin-bottom: 20px;
}

button {
    background: #ff80ab;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 15px;
}

button:hover {
    transform: scale(1.1);
    background: #ff4081;
}

#pinDisplay {
    font-size: 28px;
    margin: 20px 0;
    color: #c2185b;
    font-weight: bold;
    letter-spacing: 10px;
}

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.keypad button {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    background: white;
    color: #ff4081;
    margin-top: 0;
}

.card {
    background: white;
    padding: 15px;
    border-radius: 15px;
    font-style: italic;
    color: #d81b60;
}
/* Update atau tambahkan bagian ini di style.css */

.screen {
    display: none;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(240, 98, 146, 0.3);
    animation: fadeIn 0.5s ease;
    
    /* Tambahkan 3 baris di bawah ini */
    max-height: 80vh;    /* Membatasi tinggi slide agar tidak melebihi layar HP */
    overflow-y: auto;    /* Munculkan scrollbar jika teks kepanjangan */
    width: 85%;          /* Menjaga lebar slide tetap konsisten */
}

/* Opsional: Agar scrollbar-nya terlihat cantik/pink */
.screen::-webkit-scrollbar {
    width: 5px;
}

.screen::-webkit-scrollbar-thumb {
    background: #f06292;
    border-radius: 10px;
}
