* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a2e;
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 15% 85%, rgba(255, 0, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(148, 0, 211, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 165, 0, 0.1) 0%, transparent 60%);
}

/* Floating rainbow emojis background */
.rainbow-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.rainbow-bg::before,
.rainbow-bg::after {
    content: '\1F308 \1F3F3\FE0F\200D\1F308 \2728 \1F31F \1F600';
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.2;
    animation: floatUp 14s linear infinite;
    white-space: nowrap;
    top: 100%;
    left: 10%;
}

.rainbow-bg::after {
    animation-delay: 7s;
    left: 60%;
    content: '\2728 \1F308 \1F31F \1F3F3\FE0F\200D\1F308 \1F600';
}

@keyframes floatUp {
    from { transform: translateY(0); opacity: 0.2; }
    to { transform: translateY(-110vh); opacity: 0; }
}

.container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
}

h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ff0000, #ff8c00, #ffd700, #00c853, #2979ff, #9c27b0);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowShift 3s ease-in-out infinite, wiggle 2s ease-in-out infinite;
    text-shadow: none;
}

@keyframes rainbowShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-1deg); }
    50% { transform: rotate(1deg); }
}

.gif-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

#meme-gif {
    width: 280px;
    height: 220px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 8px 20px rgba(156, 39, 176, 0.4));
    transition: opacity 0.3s ease;
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

#yes-btn {
    background: linear-gradient(135deg, #e91e63, #9c27b0, #673ab7);
    background-size: 200% 200%;
    animation: gradientPulse 2s ease infinite;
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.6rem;
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
    padding: 18px 45px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.5);
    letter-spacing: 1px;
}

@keyframes gradientPulse {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

#yes-btn:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 10px 28px rgba(156, 39, 176, 0.65);
}

#yes-btn:active {
    transform: scale(0.98);
}

#no-btn {
    background: linear-gradient(135deg, #455a64, #37474f);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    padding: 12px 28px;
    cursor: pointer;
    transition: background 0.2s, left 0.25s ease, top 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

#no-btn:hover {
    background: linear-gradient(135deg, #37474f, #263238);
}

#tease-toast {
    margin-top: 14px;
    font-size: 1rem;
    color: #e040fb;
    font-weight: 700;
    font-style: italic;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-height: 1.5rem;
}

#tease-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Yes page specific */
.yes-container h1.yes-title {
    font-size: 3rem;
    animation: bounceTitle 0.6s ease infinite alternate, rainbowShift 3s ease-in-out infinite;
}

@keyframes bounceTitle {
    from { transform: translateY(0) rotate(-1deg); }
    to { transform: translateY(-12px) rotate(1deg); }
}

.yes-message {
    font-size: 1.4rem;
    color: #e040fb;
    font-weight: 700;
    margin-top: 24px;
    animation: fadeIn 1s ease 0.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.yes-container #meme-gif {
    width: 320px;
    height: 280px;
}
