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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.screen.active {
    display: flex;
}

/* ==================== LOADING SCREEN ==================== */
#loading-screen {
    background: linear-gradient(135deg, #0c0c1e 0%, #1a1a3e 50%, #0c0c1e 100%);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

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

.loader-container {
    position: relative;
    width: 150px;
    height: 150px;
}

.loader {
    width: 100px;
    height: 100px;
    border: 6px solid transparent;
    border-top: 6px solid #00d4ff;
    border-right: 6px solid #ff00ff;
    border-bottom: 6px solid #00ff88;
    border-left: 6px solid #ffff00;
    border-radius: 50%;
    animation: spin 1s linear infinite, pulse-glow 2s ease-in-out infinite;
    position: relative;
}

.loader::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 4px solid transparent;
    border-top: 4px solid #ff00ff;
    border-right: 4px solid #00ff88;
    border-radius: 50%;
    animation: spin-reverse 0.8s linear infinite;
}

.loader::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    bottom: 25px;
    border: 3px solid transparent;
    border-top: 3px solid #ffff00;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px #00d4ff, 0 0 40px #00d4ff33; }
    50% { box-shadow: 0 0 40px #ff00ff, 0 0 80px #ff00ff33; }
}

#loading-screen p {
    color: white;
    margin-top: 30px;
    font-size: 1.4rem;
    letter-spacing: 3px;
    animation: text-flicker 2s ease-in-out infinite;
}

@keyframes text-flicker {
    0%, 100% { opacity: 0.4; text-shadow: 0 0 10px #00d4ff; }
    50% { opacity: 1; text-shadow: 0 0 20px #00d4ff, 0 0 40px #00d4ff; }
}

.loading-dots {
    display: inline-block;
}

.loading-dots span {
    animation: dot-bounce 1.4s ease-in-out infinite;
    display: inline-block;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
}

/* Floating particles in loading */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
    border-radius: 50%;
    animation: particle-float 8s ease-in-out infinite;
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(80vh) translateX(20px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) translateX(-20px) scale(1);
    }
    100% {
        transform: translateY(-10vh) translateX(0) scale(0);
        opacity: 0;
    }
}

/* ==================== PENGUIN SCREEN ==================== */
#penguin-screen {
    background: linear-gradient(180deg, #87CEEB 0%, #E0F6FF 50%, #98D8AA 80%, #4CAF50 100%);
    overflow: hidden;
}

/* Animated clouds */
.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    overflow: hidden;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: white;
    border-radius: 100px;
    filter: blur(2px);
    opacity: 0.9;
}

.cloud::before, .cloud::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 50%;
}

.cloud-1 {
    width: 200px;
    height: 60px;
    top: 10%;
    animation: cloud-drift 25s linear infinite;
}

.cloud-1::before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 30px;
}

.cloud-1::after {
    width: 100px;
    height: 100px;
    top: -50px;
    right: 30px;
}

.cloud-2 {
    width: 150px;
    height: 50px;
    top: 20%;
    animation: cloud-drift 30s linear infinite;
    animation-delay: -10s;
}

.cloud-2::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 20px;
}

.cloud-2::after {
    width: 70px;
    height: 70px;
    top: -35px;
    right: 25px;
}

.cloud-3 {
    width: 180px;
    height: 55px;
    top: 5%;
    animation: cloud-drift 35s linear infinite;
    animation-delay: -20s;
}

.cloud-3::before {
    width: 70px;
    height: 70px;
    top: -35px;
    left: 25px;
}

.cloud-3::after {
    width: 85px;
    height: 85px;
    top: -42px;
    right: 28px;
}

@keyframes cloud-drift {
    0% { transform: translateX(-300px); }
    100% { transform: translateX(calc(100vw + 300px)); }
}

/* Ground */
.ground {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(180deg, #4CAF50 0%, #388E3C 100%);
}

.ground::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 20 Q 25 0, 50 20 T 100 20' fill='%234CAF50'/%3E%3C/svg%3E") repeat-x;
    animation: grass-wave 3s ease-in-out infinite;
}

@keyframes grass-wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-50px); }
}

.penguin-container {
    position: relative;
    margin-bottom: 60px;
    z-index: 10;
}

/* ==================== SUPER ANIMATED PENGUIN ==================== */
.penguin {
    position: relative;
    width: 180px;
    height: 220px;
    cursor: pointer;
    animation: penguin-entrance 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
               penguin-idle 3s ease-in-out 1s infinite;
    transform-origin: bottom center;
}

@keyframes penguin-entrance {
    0% {
        transform: translateY(-100vh) rotate(720deg) scale(0);
        opacity: 0;
    }
    60% {
        transform: translateY(50px) rotate(0deg) scale(1.2);
        opacity: 1;
    }
    80% {
        transform: translateY(-30px) scale(0.9);
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes penguin-idle {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(0) rotate(-2deg);
    }
    75% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.penguin:hover {
    animation: penguin-excited 0.5s ease-in-out infinite;
}

@keyframes penguin-excited {
    0%, 100% {
        transform: translateY(0) rotate(-5deg) scale(1);
    }
    25% {
        transform: translateY(-30px) rotate(5deg) scale(1.1);
    }
    50% {
        transform: translateY(0) rotate(-5deg) scale(1);
    }
    75% {
        transform: translateY(-20px) rotate(3deg) scale(1.05);
    }
}

.penguin-body {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 150px;
    background: linear-gradient(135deg, #2d3436 0%, #1a1a2e 100%);
    border-radius: 70px 70px 55px 55px;
    box-shadow: inset -10px -10px 20px rgba(0,0,0,0.3),
                inset 5px 5px 10px rgba(255,255,255,0.1);
    animation: body-breathe 4s ease-in-out infinite;
}

@keyframes body-breathe {
    0%, 100% { transform: translateX(-50%) scaleY(1); }
    50% { transform: translateX(-50%) scaleY(1.02); }
}

.penguin-belly {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 110px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 50px 50px 45px 45px;
    box-shadow: inset 0 -10px 20px rgba(0,0,0,0.05);
}

.penguin-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 110px;
    background: linear-gradient(135deg, #2d3436 0%, #1a1a2e 100%);
    border-radius: 60px 60px 55px 55px;
    z-index: 2;
    animation: head-bob 2s ease-in-out infinite;
    box-shadow: inset -5px -5px 15px rgba(0,0,0,0.3);
}

@keyframes head-bob {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    30% { transform: translateX(-50%) rotate(3deg) translateX(3px); }
    60% { transform: translateX(-50%) rotate(-3deg) translateX(-3px); }
}

.penguin-face {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    height: 60px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 42px 42px 35px 35px;
}

.eye {
    position: absolute;
    top: 12px;
    width: 24px;
    height: 28px;
    background: white;
    border-radius: 50%;
    border: 3px solid #2d3436;
    overflow: hidden;
}

.left-eye { left: 10px; }
.right-eye { right: 10px; }

.pupil {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 14px;
    background: #2d3436;
    border-radius: 50%;
    animation: eye-look 4s ease-in-out infinite;
}

.pupil::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

@keyframes eye-look {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    20% { transform: translateX(-80%) translateY(-2px); }
    40% { transform: translateX(-20%) translateY(2px); }
    60% { transform: translateX(-50%) translateY(-1px); }
    80% { transform: translateX(-70%) translateY(1px); }
}

/* Eye blink */
.eye::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: #2d3436;
    transform: scaleY(0);
    transform-origin: top;
    animation: blink 4s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes blink {
    0%, 96%, 100% { transform: scaleY(0); }
    98% { transform: scaleY(1); }
}

.beak {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 22px solid #e17055;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
    animation: beak-talk 0.3s ease-in-out infinite;
}

@keyframes beak-talk {
    0%, 100% { transform: translateX(-50%) scaleY(1); }
    50% { transform: translateX(-50%) scaleY(0.8); }
}

.blush {
    position: absolute;
    bottom: 20px;
    width: 18px;
    height: 10px;
    background: radial-gradient(ellipse, #ffb6c1 0%, transparent 70%);
    border-radius: 50%;
    animation: blush-pulse 2s ease-in-out infinite;
}

.left-blush { left: 0px; }
.right-blush { right: 0px; }

@keyframes blush-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* Animated wings waving */
.wing {
    position: absolute;
    top: 80px;
    width: 40px;
    height: 85px;
    background: linear-gradient(180deg, #2d3436 0%, #1a1a2e 100%);
    border-radius: 20px 20px 25px 25px;
    box-shadow: inset -3px -3px 10px rgba(0,0,0,0.3);
}

.left-wing {
    left: -8px;
    transform-origin: top center;
    animation: wing-wave-left 0.4s ease-in-out infinite;
}

.right-wing {
    right: -8px;
    transform-origin: top center;
    animation: wing-wave-right 0.4s ease-in-out infinite;
}

@keyframes wing-wave-left {
    0%, 100% { transform: rotate(30deg) translateY(0); }
    50% { transform: rotate(-45deg) translateY(-10px); }
}

@keyframes wing-wave-right {
    0%, 100% { transform: rotate(-30deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-10px); }
}

.foot {
    position: absolute;
    bottom: 0;
    width: 45px;
    height: 20px;
    background: linear-gradient(180deg, #e17055 0%, #d35400 100%);
    border-radius: 50%;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}

.left-foot {
    left: 25px;
    animation: foot-tap-left 1s ease-in-out infinite;
}

.right-foot {
    right: 25px;
    animation: foot-tap-right 1s ease-in-out infinite 0.5s;
}

@keyframes foot-tap-left {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(10deg) translateY(-3px); }
}

@keyframes foot-tap-right {
    0%, 100% { transform: rotate(5deg); }
    50% { transform: rotate(-10deg) translateY(-3px); }
}

/* Penguin shadow */
.penguin-shadow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.3) 0%, transparent 70%);
    animation: shadow-pulse 3s ease-in-out infinite;
}

@keyframes shadow-pulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.3; }
    25% { transform: translateX(-50%) scale(0.8); opacity: 0.5; }
    50% { transform: translateX(-50%) scale(1); opacity: 0.3; }
    75% { transform: translateX(-50%) scale(0.85); opacity: 0.45; }
}

/* Sparkles around penguin */
.penguin-sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 1.5rem;
    animation: sparkle-float 2s ease-in-out infinite;
}

.sparkle:nth-child(1) { top: 10%; left: -20%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 30%; right: -20%; animation-delay: 0.5s; }
.sparkle:nth-child(3) { top: 60%; left: -25%; animation-delay: 1s; }
.sparkle:nth-child(4) { top: 80%; right: -15%; animation-delay: 1.5s; }

@keyframes sparkle-float {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.5; }
    50% { transform: translateY(-20px) rotate(180deg) scale(1.3); opacity: 1; }
}

/* ==================== QUESTION STYLES ==================== */
.question-container {
    text-align: center;
    z-index: 10;
    animation: question-slide-up 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s backwards;
}

@keyframes question-slide-up {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.main-question {
    font-size: 2.8rem;
    color: #2d3436;
    margin-bottom: 35px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.1);
    animation: question-bounce 2s ease-in-out infinite;
    background: linear-gradient(90deg, #e84393, #6c5ce7, #00cec9, #e84393);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: question-bounce 2s ease-in-out infinite, gradient-shift 3s linear infinite;
}

@keyframes question-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

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

.btn {
    padding: 18px 55px;
    font-size: 1.4rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: btn-shine 2s ease-in-out infinite;
}

@keyframes btn-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.yes-btn {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 50%, #00b894 100%);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.5);
    animation: btn-pulse 2s ease-in-out infinite, gradient-animate 3s ease infinite;
}

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

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

.yes-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 184, 148, 0.6);
}

.no-btn {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 50%, #fd79a8 100%);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 8px 25px rgba(232, 67, 147, 0.5);
    animation: gradient-animate 3s ease infinite;
    transition: all 0.3s ease;
}

.no-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(232, 67, 147, 0.6);
}

/* ==================== BIRTHDAY SCREEN ==================== */
#birthday-screen {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ff9a9e 100%);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    align-items: flex-start;
}

.birthday-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px 50px;
    position: relative;
    z-index: 10;
}

/* Header */
.birthday-header {
    text-align: center;
    margin-bottom: 30px;
    animation: header-pop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes header-pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.cake-emoji {
    font-size: 4rem;
    animation: cake-float 2s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

@keyframes cake-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

.birthday-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 3px 3px 0 #e84393, 6px 6px 0 rgba(0,0,0,0.1);
    margin: 15px 0 10px;
    animation: title-slide 0.6s ease-out 0.2s backwards;
}

@keyframes title-slide {
    0% { transform: translateY(-30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.birthday-name {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    text-shadow: 2px 2px 0 #e84393;
    animation: title-slide 0.6s ease-out 0.4s backwards;
}

/* Photo Section */
.photo-section {
    width: 100%;
    max-width: 800px;
    animation: photos-fade 0.8s ease-out 0.6s backwards;
}

@keyframes photos-fade {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

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

.confetti {
    position: absolute;
    animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0.8;
    }
}

/* Balloon animations */
.balloons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.balloon {
    position: absolute;
    width: 50px;
    height: 65px;
    border-radius: 50% 50% 50% 50%;
    animation: balloon-float 8s ease-in-out infinite;
}

.balloon::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, currentColor, transparent);
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid currentColor;
}

.balloon:nth-child(1) { left: 5%; background: #ff6b6b; color: #ff6b6b; animation-delay: 0s; }
.balloon:nth-child(2) { left: 20%; background: #feca57; color: #feca57; animation-delay: 1s; }
.balloon:nth-child(3) { left: 35%; background: #48dbfb; color: #48dbfb; animation-delay: 2s; }
.balloon:nth-child(4) { left: 50%; background: #ff9ff3; color: #ff9ff3; animation-delay: 0.5s; }
.balloon:nth-child(5) { left: 65%; background: #54a0ff; color: #54a0ff; animation-delay: 1.5s; }
.balloon:nth-child(6) { left: 80%; background: #5f27cd; color: #5f27cd; animation-delay: 2.5s; }
.balloon:nth-child(7) { left: 95%; background: #00d2d3; color: #00d2d3; animation-delay: 3s; }

@keyframes balloon-float {
    0% {
        transform: translateY(110vh) rotate(-5deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) rotate(5deg) translateX(30px);
    }
    100% {
        transform: translateY(-20vh) rotate(-5deg) translateX(-20px);
        opacity: 0.8;
    }
}

/* Birthday Footer */
.birthday-footer {
    text-align: center;
    margin-top: 30px;
    animation: footer-pop 0.8s ease-out 0.8s backwards;
}

@keyframes footer-pop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.birthday-wish {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(135deg, #e84393, #6c5ce7);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(232, 67, 147, 0.4);
    animation: wish-glow 2s ease-in-out infinite;
}

@keyframes wish-glow {
    0%, 100% { box-shadow: 0 8px 25px rgba(232, 67, 147, 0.4); }
    50% { box-shadow: 0 8px 40px rgba(232, 67, 147, 0.7); }
}

.heart-row {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.heart-row span {
    font-size: 1.8rem;
    animation: heart-bounce 1s ease-in-out infinite;
}

.heart-row span:nth-child(1) { animation-delay: 0s; }
.heart-row span:nth-child(2) { animation-delay: 0.1s; }
.heart-row span:nth-child(3) { animation-delay: 0.2s; }
.heart-row span:nth-child(4) { animation-delay: 0.3s; }
.heart-row span:nth-child(5) { animation-delay: 0.4s; }

@keyframes heart-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* ==================== PHOTO GALLERY ==================== */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    padding: 10px;
}

.photo-frame {
    position: relative;
    background: #fff;
    padding: 8px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: photo-pop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.photo-frame:nth-child(1) { animation-delay: 0.1s; }
.photo-frame:nth-child(2) { animation-delay: 0.2s; }
.photo-frame:nth-child(3) { animation-delay: 0.3s; }
.photo-frame:nth-child(4) { animation-delay: 0.4s; }
.photo-frame:nth-child(5) { animation-delay: 0.5s; }
.photo-frame:nth-child(6) { animation-delay: 0.6s; }

@keyframes photo-pop {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.photo-frame img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.photo-frame:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.photo-frame:hover img {
    transform: scale(1.05);
}

.photo-frame::after {
    content: '❤️';
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 1rem;
    animation: heart-pulse 1s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

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

/* ==================== LIGHTBOX ==================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightbox-zoom 0.3s ease;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

@keyframes lightbox-zoom {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: #ff6b6b;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 20px 15px;
    transition: background 0.2s ease, transform 0.2s ease;
    border-radius: 5px;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.lightbox-next {
    right: 20px;
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(3px);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
}

/* Mobile lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 1.5rem;
    }

    .lightbox-nav {
        font-size: 1.5rem;
        padding: 15px 12px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-content img {
        max-height: 70vh;
    }
}

/* ==================== NO SCREEN ==================== */
#no-screen {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 50%, #2d3436 100%);
    background-size: 400% 400%;
    animation: dark-pulse 5s ease infinite;
}

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

.no-content {
    text-align: center;
    animation: no-entrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes no-entrance {
    0% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(-10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.sad-penguin {
    font-size: 10rem;
    animation: sad-walk 4s ease-in-out infinite;
    display: inline-block;
}

@keyframes sad-walk {
    0%, 100% {
        transform: translateX(0) rotate(-5deg) scaleX(1);
    }
    25% {
        transform: translateX(-50px) rotate(5deg) scaleX(-1);
    }
    50% {
        transform: translateX(0) rotate(-5deg) scaleX(-1);
    }
    75% {
        transform: translateX(50px) rotate(5deg) scaleX(1);
    }
}

.no-message {
    font-size: 2.8rem;
    color: #dfe6e9;
    margin: 25px 0;
    animation: text-glitch 3s ease-in-out infinite;
}

@keyframes text-glitch {
    0%, 100% { transform: translateX(0); filter: hue-rotate(0deg); }
    10% { transform: translateX(-5px); filter: hue-rotate(90deg); }
    20% { transform: translateX(5px); filter: hue-rotate(180deg); }
    30% { transform: translateX(0); filter: hue-rotate(0deg); }
}

.shoo-message {
    font-size: 2.2rem;
    color: #b2bec3;
    animation: shoo-wave 1s ease-in-out infinite;
}

@keyframes shoo-wave {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(30px) rotate(10deg); }
    75% { transform: translateX(-30px) rotate(-10deg); }
}

/* Tumbleweeds */
.tumbleweed {
    position: absolute;
    font-size: 3rem;
    animation: tumbleweed-roll 8s linear infinite;
    opacity: 0.6;
}

.tumbleweed:nth-child(1) {
    bottom: 20%;
    animation-delay: 0s;
}

.tumbleweed:nth-child(2) {
    bottom: 30%;
    animation-delay: 3s;
}

@keyframes tumbleweed-roll {
    0% {
        transform: translateX(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) rotate(1440deg);
        opacity: 0;
    }
}

/* ==================== RESPONSIVE ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .birthday-title {
        font-size: 2.2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    /* Loading screen mobile */
    .loader {
        width: 70px;
        height: 70px;
    }

    #loading-screen p {
        font-size: 1.1rem;
    }

    /* Penguin screen mobile */
    .penguin {
        transform: scale(0.65);
    }

    .penguin-container {
        margin-bottom: 40px;
    }

    .main-question {
        font-size: 1.5rem;
        padding: 0 15px;
        line-height: 1.4;
        margin-bottom: 25px;
    }

    .buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 30px;
    }

    .btn {
        padding: 16px 40px;
        font-size: 1.1rem;
        width: 100%;
        letter-spacing: 2px;
    }

    .clouds {
        height: 30%;
    }

    .cloud-1, .cloud-2, .cloud-3 {
        transform: scale(0.6);
    }

    /* Birthday screen mobile */
    .birthday-wrapper {
        padding: 20px 15px 40px;
    }

    .cake-emoji {
        font-size: 3rem;
    }

    .birthday-title {
        font-size: 1.8rem;
    }

    .birthday-name {
        font-size: 1.2rem;
    }

    .birthday-header {
        margin-bottom: 20px;
    }

    .photo-gallery {
        gap: 10px;
    }

    .photo-frame {
        padding: 6px;
        border-radius: 12px;
    }

    .photo-frame img {
        border-radius: 8px;
    }

    .photo-frame::after {
        font-size: 0.8rem;
        bottom: 10px;
        right: 10px;
    }

    .birthday-wish {
        font-size: 1.1rem;
        padding: 12px 20px;
    }

    .heart-row span {
        font-size: 1.4rem;
    }

    /* No screen mobile */
    .sad-penguin {
        font-size: 5rem;
    }

    .no-message {
        font-size: 1.5rem;
        padding: 0 15px;
    }

    .shoo-message {
        font-size: 1.5rem;
    }

    .tumbleweed {
        font-size: 2rem;
    }

    /* Pulse rings mobile */
    @keyframes pulse-ring-expand {
        0% { width: 0; height: 0; opacity: 1; }
        100% { width: 250px; height: 250px; opacity: 0; }
    }
}

/* Small phones */
@media (max-width: 480px) {
    .penguin {
        transform: scale(0.55);
    }

    .penguin-container {
        margin-bottom: 30px;
    }

    .main-question {
        font-size: 1.3rem;
    }

    .btn {
        padding: 14px 30px;
        font-size: 1rem;
    }

    /* Birthday small phones */
    .cake-emoji {
        font-size: 2.5rem;
    }

    .birthday-title {
        font-size: 1.5rem;
    }

    .birthday-name {
        font-size: 1rem;
    }

    .photo-frame {
        padding: 5px;
        border-radius: 10px;
    }

    .birthday-wish {
        font-size: 1rem;
        padding: 10px 18px;
    }

    .heart-row span {
        font-size: 1.2rem;
    }

    .sad-penguin {
        font-size: 4rem;
    }

    .no-message {
        font-size: 1.2rem;
    }

    .shoo-message {
        font-size: 1.2rem;
    }
}

/* Landscape phone */
@media (max-height: 500px) and (orientation: landscape) {
    .penguin {
        transform: scale(0.45);
    }

    .penguin-container {
        margin-bottom: 20px;
    }

    .main-question {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .buttons {
        flex-direction: row;
        gap: 15px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* Birthday landscape */
    .birthday-wrapper {
        padding: 15px;
    }

    .cake-emoji {
        font-size: 2rem;
    }

    .birthday-title {
        font-size: 1.3rem;
        margin: 10px 0 5px;
    }

    .birthday-name {
        font-size: 0.9rem;
    }

    .birthday-header {
        margin-bottom: 15px;
    }

    .photo-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
}
