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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8b0 30%, #ffeaa7 70%, #fdcb6e 100%);
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    position: relative;
}

/* Floating Hearts Background */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    font-size: 24px;
    animation: floatUp 6s linear infinite;
    opacity: 0.6;
}

/* Desktop Warning */
.desktop-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.5s ease-out;
}

.desktop-warning.hidden {
    display: none;
}

.desktop-warning-content {
    text-align: center;
    padding: 40px;
    max-width: 500px;
}

.warning-emoji {
    font-size: 100px;
    margin-bottom: 20px;
    animation: wobble 2s ease-in-out infinite;
}

@keyframes wobble {

    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

.desktop-warning h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 15px;
}

.desktop-warning p {
    font-size: 1.2rem;
    color: #dfe6e9;
    margin-bottom: 10px;
}

.desktop-warning .small-text {
    font-size: 1rem;
    color: #b2bec3;
    margin-bottom: 25px;
}

.desktop-warning .spy-text {
    font-size: 0.9rem;
    color: #74b9ff;
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.btn-continue {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 15px 30px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-continue:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Main Card */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 0 100px rgba(255, 107, 157, 0.3);
    text-align: center;
    z-index: 10;
    position: relative;
    max-width: 420px;
    width: 92%;
    animation: cardAppear 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes cardAppear {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.heart-icon {
    font-size: 70px;
    animation: heartbeat 1.5s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.15);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.1);
    }
}

h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #00b894;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 184, 148, 0.2);
}

.question {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.5;
    padding: 0 10px;
}

.gif-container {
    margin: 20px 0 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cute-gif {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
}

/* Buttons Container */
.buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    min-height: 80px;
    position: relative;
}

.btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-yes {
    background: linear-gradient(135deg, #00b894 0%, #55efc4 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.4);
}

.btn-yes:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(0, 184, 148, 0.6);
}

.btn-no {
    background: linear-gradient(135deg, #a0a0a0 0%, #c0c0c0 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.15s ease-out;
}

.btn-no.shrinking {
    animation: shrink 0.3s ease-out forwards;
}

@keyframes shrink {
    to {
        transform: scale(0.7);
        opacity: 0.7;
    }
}

.btn-no.tiny {
    padding: 8px 20px;
    font-size: 0.7rem;
}

.btn-no.micro {
    padding: 4px 10px;
    font-size: 0.5rem;
}

.btn-no.invisible {
    opacity: 0.3;
    font-size: 0.4rem;
    padding: 2px 5px;
}

/* Hint Messages */
.hint {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #00b894;
    font-style: italic;
    min-height: 25px;
    animation: fadeIn 0.5s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Screen */
.success-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00b894 0%, #55efc4 50%, #ffeaa7 100%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    animation: successAppear 0.5s ease-out;
}

.success-screen.active {
    display: flex;
}

@keyframes successAppear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.success-content {
    text-align: center;
    color: white;
    padding: 40px;
}

.big-heart {
    font-size: 120px;
    animation: heartbeat 1s ease-in-out infinite;
    margin-bottom: 20px;
}

.success-content h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    color: white;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.success-content p {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

.date-text {
    font-size: 1.5rem;
    opacity: 0.9;
}

.celebration-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.celebration-heart {
    position: absolute;
    font-size: 40px;
    animation: celebrate 2s ease-out forwards;
}

@keyframes celebrate {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: scale(1.5) rotate(360deg) translateY(-200px);
        opacity: 0;
    }
}

/* Growing Yes Button */
.btn-yes.growing {
    animation: growYes 0.3s ease-out forwards;
}

@keyframes growYes {
    to {
        transform: scale(1.3);
    }
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    .card {
        padding: 30px 20px;
        margin: 10px;
        border-radius: 25px;
    }

    h1 {
        font-size: 2.2rem;
    }

    .question {
        font-size: 1.05rem;
        padding: 0 5px;
    }

    .heart-icon {
        font-size: 55px;
        margin-bottom: 10px;
    }

    .btn {
        padding: 14px 32px;
        font-size: 1rem;
        min-height: 50px;
    }

    .btn-yes {
        padding: 16px 40px;
        font-size: 1.1rem;
    }

    .cute-gif {
        max-width: 180px;
    }

    .gif-container {
        margin: 15px 0 20px;
    }

    .buttons-container {
        gap: 15px;
        min-height: 70px;
    }

    .hint {
        font-size: 0.9rem;
        margin-top: 15px;
        padding: 0 10px;
    }

    .success-content h1 {
        font-size: 3rem;
    }

    .success-content p {
        font-size: 1.4rem;
    }

    .big-heart {
        font-size: 90px;
    }
}

/* Extra small phones */
@media (max-width: 380px) {
    .card {
        padding: 25px 15px;
    }

    h1 {
        font-size: 1.9rem;
    }

    .question {
        font-size: 0.95rem;
    }

    .heart-icon {
        font-size: 45px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .cute-gif {
        max-width: 150px;
    }
}

/* Jumpscare */
.jumpscare {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: jumpscareFlash 0.1s ease-out;
}

.jumpscare.active {
    display: flex;
}

@keyframes jumpscareFlash {

    0%,
    50% {
        background: #ff0000;
    }

    100% {
        background: #000;
    }
}

.jumpscare-content {
    text-align: center;
    animation: jumpscareShake 0.3s ease-out;
}

@keyframes jumpscareShake {

    0%,
    100% {
        transform: translateX(0);
    }

    10% {
        transform: translateX(-25px) rotate(-5deg);
    }

    20% {
        transform: translateX(25px) rotate(5deg);
    }

    30% {
        transform: translateX(-20px) rotate(-3deg);
    }

    40% {
        transform: translateX(20px) rotate(3deg);
    }

    50% {
        transform: translateX(-15px) rotate(-2deg);
    }

    60% {
        transform: translateX(15px) rotate(2deg);
    }

    70% {
        transform: translateX(-10px) rotate(-1deg);
    }

    80% {
        transform: translateX(10px) rotate(1deg);
    }

    90% {
        transform: translateX(-5px);
    }
}

.jumpscare-face {
    font-size: 200px;
    animation: jumpscarePulse 0.2s ease-in-out infinite;
}

@keyframes jumpscarePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.jumpscare-text {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    color: #ff0000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-top: 20px;
    animation: textFlicker 0.1s ease-in-out infinite alternate;
}

@keyframes textFlicker {
    from {
        opacity: 1;
        color: #ff0000;
    }

    to {
        opacity: 0.8;
        color: #ff4444;
    }
}

@media (max-width: 600px) {
    .jumpscare-face {
        font-size: 120px;
    }

    .jumpscare-text {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }
}