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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    overflow: hidden;
    height: 100vh;
}

/* Screen Management */
.screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.screen.active {
    opacity: 1;
    visibility: visible;
}

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

/* Content Styling */
.content {
    text-align: center;
    padding: 2rem;
    max-width: 90%;
    width: 100%;
}

/* Initial Screen */
#initial-screen h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    animation: bounce 2s infinite;
}

#initial-screen p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.surprise-btn {
    background: linear-gradient(45deg, #ff6b6b, #ffd700);
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.5rem;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    font-weight: 600;
    animation: pulse 2s infinite;
}

.surprise-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Hacked Screen */
#hacked-screen {
    background: linear-gradient(45deg, #ff0000, #8b0000, #000000);
    animation: glitch 0.5s infinite;
}

.hacked-text h1 {
    font-size: 2.5rem;
    color: #ff0000;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 1rem;
    animation: shake 0.5s infinite;
}

.hacked-text p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.blink {
    animation: blink 1s infinite;
    color: #ff0000;
    font-weight: bold;
    font-size: 1.5rem !important;
}

.payment-section {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(0,0,0,0.5);
    border-radius: 15px;
    border: 2px solid #ff0000;
}

.pay-btn {
    background: linear-gradient(45deg, #00ff00, #008000);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

/* Payment Screen */
#payment-screen {
    background: linear-gradient(45deg, #4CAF50, #2196F3);
}

.loading h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

/* Photo Display Screens */
.photo-display {
    text-align: center;
}

.photo-display img {
    width: 80%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    animation: photoZoom 0.8s ease-out;
}

.photo-display h1,
.photo-display h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #ffd700;
}

.emoji-text {
    font-size: 2rem;
    margin-bottom: 2rem;
    animation: bounce 2s infinite;
}

.next-btn {
    background: linear-gradient(45deg, #ff6b6b, #ffd700);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.next-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* Final Screen */
#final-screen {
    background: linear-gradient(45deg, #ffd700, #ff6b6b, #4ecdc4);
    background-size: 600% 600%;
    animation: finalCelebration 3s ease infinite;
}

.final .final-text {
    font-size: 3rem;
    animation: finalGlow 2s ease infinite;
    text-shadow: 0 0 20px #ffd700;
}

.celebration-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes glitch {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

@keyframes finalGlow {
    0%, 100% { text-shadow: 0 0 20px #ffd700; }
    50% { text-shadow: 0 0 40px #ffd700, 0 0 60px #ff6b6b; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #initial-screen h1 {
        font-size: 2.5rem;
    }
    
    .surprise-btn {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }
    
    .hacked-text h1 {
        font-size: 2rem;
    }
    
    .photo-display img {
        width: 90%;
    }
    
    .photo-display h1,
    .photo-display h2 {
        font-size: 2rem;
    }
    
    .final .final-text {
        font-size: 2.5rem;
    }
    
    .content {
        padding: 1rem;
    }
}