body {
    background-color: #E6E0F8; /* This matches your new GIF! */
    font-family: 'Courier New', monospace; /* Typewriter style */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    text-align: center;
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 500px;
}

.hidden { display: none; }
.active { display: block; animation: fadeIn 1s; }

h1 { font-size: 24px; color: #333; margin-bottom: 30px; }

/* The Arrow Buttons */
.arrow-btn {
    font-size: 20px;
    cursor: pointer;
    margin-top: 20px;
    color: #d32f2f;
    animation: bounce 2s infinite;
}

/* Images */
.main-img {
    width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Dialogue Bubbles */
.dialogue-box {
    background: white;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #333;
    margin: 15px auto;
    width: fit-content;
    position: relative;
    font-weight: bold;
}

/* Make it look like a speech bubble */
.dialogue-box::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    border-width: 0 10px 10px;
    border-style: solid;
    border-color: white transparent;
    display: block;
    width: 0;
}

/* Buttons */
.buttons { margin-top: 20px; }
button {
    padding: 10px 30px;
    font-size: 18px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s ease; 
}
#yes-btn { background-color: #4CAF50; color: white; }
#no-btn { background-color: #f44336; color: white; transition: transform 0.2s; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-10px);} 60% {transform: translateY(-5px);} }

/* --- NEW ADDITION FOR CARTOON LAYOUT --- */
.split-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Pushes Image Left, Button Right */
    align-items: flex-start; /* Aligns their tops perfectly */
    padding-top: 40px;
}

.split-layout .character-area {
    width: 45%; /* Yoongi takes left half */
    order: 1;
    text-align: left; /* Align image to left */
}

.split-layout .buttons {
    width: 45%; /* Yes button takes right half */
    order: 2;
    text-align: right; /* Align button to right */
    margin-top: 20px; /* Fine-tune this to match Yoongi's finger height */
}

/* Move the text to the bottom so it doesn't block the pointing */
.split-layout h1 {
    width: 100%;
    order: 3;
    margin-top: 50px; 
    font-size: 18px; /* Make text smaller to fit */
}

/* Force the No button to stay out of the way (bottom center) */
.split-layout #no-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Animation for the reveal sequence */
.main-img, .buttons button, #question-text {
    transition: opacity 0.5s ease-in-out;
}

/* Ensure hidden actually hides things but keeps them ready */
.hidden {
    display: none;
    opacity: 0;
}