* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family:
        'Poppins',
        'Segoe UI Emoji',
        'Apple Color Emoji',
        'Noto Color Emoji',
        sans-serif;
}

/* =======================
   BACKGROUND
======================= */
body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

    background: linear-gradient(
        -45deg,
        #ffd6e7,
        #ffc2d1,
        #fbc4ff,
        #e0c3fc
    );

    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =======================
   CONTAINER
======================= */
.container {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 20px;

    max-width: 520px;
    margin: 20px;
    padding: 40px 30px;

    position: relative;

    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.35);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-radius: 30px;

    box-shadow:
        0 8px 32px rgba(255, 105, 180, 0.18),
        inset 0 1px 1px rgba(255,255,255,0.3);

    animation: popIn 0.6s ease;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* =======================
   STICKER
======================= */
.sticker {
    width: 190px;
    height: 190px;
    margin: 0 auto;

    filter: drop-shadow(0 10px 20px rgba(255, 105, 180, 0.25));
    animation: floaty 3s ease-in-out infinite;
}

@keyframes floaty {
    0%,100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* =======================
   H1 GRADIENT TEXT
======================= */
h1 {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.2;

    background: linear-gradient(135deg, #ff2e63, #ff4f9a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 5px 20px rgba(255, 46, 99, 0.15);
}

/* =======================
   EMOJI FIX (IMPORTANT)
======================= */
h1 .emoji {
    -webkit-text-fill-color: initial;
    background: none;
    background-clip: initial;
    -webkit-background-clip: initial;

    font-family:
        'Apple Color Emoji',
        'Segoe UI Emoji',
        'Noto Color Emoji',
        sans-serif;

    display: inline-block;
    animation: emojiFloat 1.8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes emojiFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* =======================
   TEXT
======================= */
p {
    color: #5c4b51;
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 420px;
}

/* =======================
   BUTTONS
======================= */
.btn {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.btn a {
    text-decoration: none;
    color: white;

    padding: 14px 34px;
    border-radius: 999px;

    font-weight: 600;

    background: linear-gradient(135deg, #ff4d8d, #ff2e63);

    box-shadow: 0 8px 20px rgba(255, 46, 99, 0.28);

    transition: all 0.28s ease;

    border: 1px solid rgba(255,255,255,0.25);

    position: relative;
    overflow: hidden;

    transform: translateZ(0);
}

.btn a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    );

    transition: 0.6s;
}

.btn a:hover::before {
    left: 100%;
}

.btn a:hover {
    transform: translateY(-4px) scale(1.04);
}

/* =======================
   RANDOM BUTTON
======================= */
#move-random {
    background: linear-gradient(135deg, #b388ff, #ff7eb3) !important;
    box-shadow: 0 8px 20px rgba(179, 136, 255, 0.3);
    position: relative;
}

/* =======================
   SCREEN SYSTEM (IMPORTANT FIX)
======================= */
.proposal-screen {
    display: none;
    animation: fadeIn 0.6s ease;
}

.proposal-screen.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =======================
   FADE ANIMATION
======================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}