* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none; 
}

body {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    background-color: #2c2c35;
    color: #f5f5f5;
    transition: background-color 2s ease, color 2s ease;
}

body.stage-2 { 
    background-color: #3b303b; 
}
body.stage-3 { 
    background-color: #ffe4e1; 
    color: #4a4a4a; 
}

.screen {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-out;
    transform: scale(0.95);
}

.screen.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 450px;
    width: 100%;
}

img.chibi {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slowFloat 6s ease-in-out infinite;
}

body.stage-3 img.chibi {
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.15);
}

@keyframes slowFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

p.message {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

body.stage-3 p.message {
    text-shadow: none;
}

.highlight {
    font-size: 1.6rem;
    font-weight: 700;
    font-style: italic;
}

.final-love {
    font-size: 2.2rem;
    color: #e91e63;
    margin-bottom: 15px;
}

.hint {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-top: 20px;
    animation: fadeBlink 3s infinite;
}

@keyframes fadeBlink {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.7; }
}

.btn-container {
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

button {
    font-family: 'Nunito', sans-serif;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:active { 
    transform: scale(0.95); 
}

#btnYes {
    background-color: #fff;
    color: #e91e63;
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.2);
    z-index: 10;
}

#btnNo {
    background-color: #f0f0f0;
    color: #999;
    position: relative;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #e91e63;
    padding: 12px 25px;
    border-radius: 30px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 100;
    white-space: nowrap;
}