/* Early 2000s Internet Aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="24" font-size="24">&#10084;</text></svg>'), auto;
}

body {
    min-height: 100vh;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
    overflow: hidden;
}

/* === PAGE 1: THE QUESTION === */
.page-question {
    background: linear-gradient(180deg, #ffb6c1 0%, #ff85a2 50%, #ffb6c1 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 5px dashed #ff1493;
    border-radius: 20px;
    box-shadow:
        0 0 20px #ff69b4,
        0 0 40px #ff69b4,
        0 0 60px #ff69b4;
}

.title {
    font-size: 3rem;
    color: #ff1493;
    text-shadow:
        2px 2px 0 #ffb6c1,
        4px 4px 0 #ff69b4;
    margin-bottom: 20px;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hearts-decoration {
    font-size: 2rem;
    margin: 20px 0;
    animation: bounce 0.5s ease-in-out infinite alternate;
}

.hearts-decoration span {
    color: #ff1493;
    margin: 0 10px;
    display: inline-block;
}

.hearts-decoration span:nth-child(2) {
    animation-delay: 0.1s;
    color: #ff69b4;
}

.hearts-decoration span:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}

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

.btn {
    padding: 15px 50px;
    font-size: 1.5rem;
    font-family: inherit;
    border: 3px solid;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.1s;
}

.btn:hover {
    transform: scale(1.1);
}

.btn-yes {
    background: linear-gradient(180deg, #90EE90, #32CD32);
    border-color: #228B22;
    color: #006400;
    box-shadow: 0 4px 0 #228B22;
}

.btn-yes:hover {
    background: linear-gradient(180deg, #98FB98, #3CB371);
}

.btn-yes:active {
    box-shadow: 0 2px 0 #228B22;
    transform: translateY(2px);
}

.btn-no {
    background: linear-gradient(180deg, #ff6b6b, #ee5a5a);
    border-color: #cc4444;
    color: #8b0000;
    box-shadow: 0 4px 0 #cc4444;
    position: relative;
}

/* === PAGE 2: CELEBRATION === */
.page-yes {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

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

.celebration-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #ff1493;
    text-shadow:
        3px 3px 0 #fff,
        6px 6px 0 #ff69b4;
    animation: celebratePulse 0.5s ease-in-out infinite alternate;
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

@keyframes celebratePulse {
    from {
        transform: translate(-50%, -50%) scale(1) rotate(-2deg);
    }
    to {
        transform: translate(-50%, -50%) scale(1.1) rotate(2deg);
    }
}

.photo-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.photo {
    position: absolute;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow:
        0 0 10px rgba(0,0,0,0.3),
        0 0 20px #ff69b4;
    animation: photoPopIn 0.3s ease-out forwards;
    transform: rotate(var(--rotation));
}

@keyframes photoPopIn {
    0% {
        transform: scale(0) rotate(var(--rotation));
        opacity: 0;
    }
    70% {
        transform: scale(1.2) rotate(var(--rotation));
    }
    100% {
        transform: scale(1) rotate(var(--rotation));
        opacity: 1;
    }
}

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

.sparkle {
    position: absolute;
    font-size: 2rem;
    animation: sparkleAnim 1s ease-out forwards;
}

@keyframes sparkleAnim {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Marquee style text - very 2000s */
.marquee {
    position: fixed;
    bottom: 20px;
    width: 100%;
    overflow: hidden;
    background: #ff1493;
    padding: 10px 0;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 10s linear infinite;
    color: white;
    font-size: 1.5rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Stars background effect */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, white, transparent),
        radial-gradient(2px 2px at 50px 160px, white, transparent),
        radial-gradient(2px 2px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 130px 80px, white, transparent),
        radial-gradient(2px 2px at 160px 120px, white, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 2s ease-in-out infinite alternate;
}

@keyframes twinkle {
    from { opacity: 0.3; }
    to { opacity: 0.7; }
}
