* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

/* ==================== COUNTDOWN SCREEN ==================== */
.countdown-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.countdown-screen.blast {
    animation: blastEffect 0.8s ease-out forwards;
}

@keyframes blastEffect {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(3);
        pointer-events: none;
    }
}

.countdown-container {
    text-align: center;
    position: relative;
}

.countdown-text {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 5vw, 36px);
    color: white;
    font-weight: 600;
    margin-bottom: 40px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.countdown-number {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(80px, 20vw, 120px);
    font-weight: 900;
    color: white;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: countdownPop 1s ease-in-out;
}

@keyframes countdownPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.countdown-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(200px, 40vw, 250px);
    height: clamp(200px, 40vw, 250px);
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: circleExpand 1s ease-out infinite;
}

@keyframes circleExpand {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* ==================== MAIN SCREEN ==================== */
.main-screen {
    display: none;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    position: relative;
    overflow-x: hidden;
}

.main-screen.active {
    display: block;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==================== PARTICLES BACKGROUND ==================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 3s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

/* ==================== BALLOONS ==================== */
.balloons-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.balloon {
    position: absolute;
    font-size: clamp(30px, 8vw, 50px);
    animation: balloonFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.balloon-1 { left: 5%; animation-delay: 0s; }
.balloon-2 { left: 20%; animation-delay: 1s; }
.balloon-3 { left: 35%; animation-delay: 2s; }
.balloon-4 { left: 50%; animation-delay: 0.5s; }
.balloon-5 { left: 65%; animation-delay: 1.5s; }
.balloon-6 { left: 80%; animation-delay: 2.5s; }

@keyframes balloonFloat {
    0% {
        bottom: -100px;
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(30px) rotate(5deg);
    }
    100% {
        bottom: 110vh;
        transform: translateX(-30px) rotate(-5deg);
    }
}

/* ==================== CONFETTI ==================== */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confettiFall 4s linear infinite;
}

@keyframes confettiFall {
    to {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 10;
    padding: 20px 20px 40px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
}

/* ==================== CAKE ==================== */
.cake-wrapper {
    position: relative;
    margin: 0 auto 50px;
    width: clamp(160px, 40vw, 240px);
    height: clamp(180px, 45vw, 260px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.cake-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(255, 107, 157, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.5; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
    }
}

.cake {
    position: relative;
    width: 100%;
    max-width: 240px;
    animation: cakeFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.7));
}

@keyframes cakeFloat {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

.candles {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 5vw, 35px);
    margin-bottom: clamp(15px, 4vw, 25px);
    position: relative;
    z-index: 10;
}

.candle {
    position: relative;
    width: clamp(10px, 2.5vw, 16px);
    height: clamp(45px, 10vw, 70px);
    background: linear-gradient(180deg, 
        #ff1744 0%, 
        #f50057 20%, 
        #c51162 40%,
        #880e4f 60%,
        #4a0e2e 100%);
    border-radius: 50% 50% 2px 2px;
    box-shadow: inset -2px 0 6px rgba(0, 0, 0, 0.4),
                inset 2px 0 6px rgba(255, 255, 255, 0.2),
                0 3px 12px rgba(0, 0, 0, 0.5);
}

.candle::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 110%;
    height: clamp(8px, 2vw, 12px);
    background: linear-gradient(180deg, #4a0e2e 0%, #2d0a1f 100%);
    border-radius: 50% 50% 0 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.candle::after {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 25%;
    height: clamp(6px, 1.5vw, 10px);
    background: #1a0a0f;
    border-radius: 2px 2px 0 0;
}

.flame {
    position: absolute;
    top: clamp(-28px, -6vw, -40px);
    left: 50%;
    transform: translateX(-50%);
    width: clamp(14px, 3.5vw, 20px);
    height: clamp(24px, 6vw, 36px);
    background: radial-gradient(ellipse at center bottom, 
        #fff700 0%, 
        #ffed4e 15%,
        #ffd700 30%,
        #ff8c00 50%,
        #ff6b00 70%,
        #ff4500 85%,
        transparent 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flameFlicker 0.12s ease-in-out infinite alternate;
    box-shadow: 0 0 30px rgba(255, 215, 0, 1),
                0 0 50px rgba(255, 140, 0, 0.8);
}

.flame::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 65%;
    background: radial-gradient(ellipse at center, 
        #ffffff 0%,
        #fff700 30%,
        #ffed4e 60%,
        transparent 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

@keyframes flameFlicker {
    0% { 
        transform: translateX(-50%) scaleY(1) scaleX(1);
        opacity: 1;
    }
    100% { 
        transform: translateX(-50%) scaleY(1.15) scaleX(0.92);
        opacity: 0.95;
    }
}

.cake-layer {
    width: 100%;
    position: relative;
    border-radius: clamp(10px, 2.5vw, 18px);
    overflow: visible;
}

.layer-top {
    height: clamp(45px, 10vw, 70px);
    background: linear-gradient(135deg, 
        #ff6b9d 0%, 
        #ff8fab 25%,
        #ffb3c6 50%,
        #ff8fab 75%,
        #ff6b9d 100%);
    margin-bottom: clamp(8px, 2vw, 14px);
    border-radius: clamp(10px, 2.5vw, 18px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5),
                inset 0 -2px 8px rgba(0, 0, 0, 0.2),
                inset 0 2px 8px rgba(255, 255, 255, 0.3);
    position: relative;
}

.layer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 50%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
    border-radius: clamp(10px, 2.5vw, 18px) clamp(10px, 2.5vw, 18px) 0 0;
}

.layer-middle {
    height: clamp(50px, 11vw, 75px);
    background: linear-gradient(135deg, 
        #ffd700 0%, 
        #ffe44d 25%,
        #fff176 50%,
        #ffe44d 75%,
        #ffd700 100%);
    width: 97%;
    margin: 0 auto clamp(8px, 2vw, 14px);
    border-radius: clamp(10px, 2.5vw, 18px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5),
                inset 0 -2px 8px rgba(0, 0, 0, 0.2),
                inset 0 2px 8px rgba(255, 255, 255, 0.3);
    position: relative;
}

.layer-middle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 50%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
    border-radius: clamp(10px, 2.5vw, 18px) clamp(10px, 2.5vw, 18px) 0 0;
}

.layer-bottom {
    height: clamp(55px, 12vw, 80px);
    background: linear-gradient(135deg, 
        #6a11cb 0%, 
        #8e44ad 25%,
        #9b59b6 50%,
        #8e44ad 75%,
        #6a11cb 100%);
    width: 94%;
    margin: 0 auto;
    border-radius: clamp(10px, 2.5vw, 18px);
    box-shadow: 0 8px 25px rgba(106, 17, 203, 0.6),
                inset 0 -2px 8px rgba(0, 0, 0, 0.3),
                inset 0 2px 8px rgba(255, 255, 255, 0.2);
    position: relative;
}

.layer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 50%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%);
    border-radius: clamp(10px, 2.5vw, 18px) clamp(10px, 2.5vw, 18px) 0 0;
}

.frosting {
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: clamp(12px, 3vw, 20px);
    background: linear-gradient(to bottom, 
        #ffffff 0%, 
        #f8f8f8 50%,
        #f0f0f0 100%);
    border-radius: 0 0 clamp(10px, 2.5vw, 18px) clamp(10px, 2.5vw, 18px);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.1),
                0 2px 4px rgba(255, 255, 255, 0.6);
}

.frosting::before {
    content: '';
    position: absolute;
    top: clamp(-10px, -2.5vw, -16px);
    left: 0;
    width: 100%;
    height: clamp(10px, 2.5vw, 16px);
    background: radial-gradient(ellipse at top, 
        #ffffff 0%,
        #fafafa 40%,
        rgba(255, 255, 255, 0.95) 70%,
        rgba(255, 255, 255, 0.9) 100%);
    border-radius: 50%;
    box-shadow: 0 -2px 6px rgba(255, 255, 255, 0.9);
}

.frosting::after {
    content: '';
    position: absolute;
    top: clamp(-6px, -1.5vw, -10px);
    left: 10%;
    width: 80%;
    height: clamp(6px, 1.5vw, 10px);
    background: radial-gradient(ellipse at center, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.8) 100%);
    border-radius: 50%;
    filter: blur(1px);
}

/* ==================== BIRTHDAY TITLE ==================== */
.birthday-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 8vw, 64px);
    font-weight: 800;
    margin-bottom: clamp(40px, 8vw, 60px);
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8),
                 0 0 60px rgba(255, 215, 0, 0.6),
                 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: titleEntrance 1s ease-out;
    letter-spacing: 2px;
    line-height: 1.3;
    padding: 0 10px;
}

.title-line {
    display: block;
    animation: slideIn 0.8s ease-out;
}

.name-line {
    background: linear-gradient(45deg, #f093fb, #f5576c, #ffd700, #4facfe);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideIn 0.8s ease-out 0.3s both, gradientShift 3s ease infinite;
    filter: drop-shadow(0 4px 20px rgba(240, 147, 251, 0.6));
    margin-top: clamp(10px, 2vw, 15px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleEntrance {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==================== SCROLL INDICATOR ==================== */
.scroll-indicator {
    margin-top: clamp(40px, 8vw, 60px);
    color: white;
    font-size: clamp(13px, 3vw, 16px);
    font-weight: 400;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 8px;
    opacity: 0.9;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

.arrow-down {
    font-size: clamp(20px, 5vw, 28px);
    animation: arrowBounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ==================== WISHES SECTION ==================== */
.wishes-section {
    min-height: 100vh;
    padding: clamp(60px, 15vw, 120px) 20px;
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.wishes-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 6.5vw, 44px);
    font-weight: 700;
    text-align: center;
    color: white;
    margin-bottom: clamp(50px, 12vw, 90px);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.wish-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: clamp(15px, 4vw, 25px);
    padding: clamp(30px, 6vw, 50px) clamp(25px, 5vw, 40px);
    margin-bottom: clamp(30px, 6vw, 50px);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s ease;
}

.wish-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.wish-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.wish-icon {
    font-size: clamp(40px, 10vw, 70px);
    margin-bottom: clamp(15px, 3vw, 25px);
    animation: iconSpin 3s ease-in-out infinite;
}

@keyframes iconSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.1); }
}

.wish-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(20px, 5vw, 32px);
    color: white;
    margin-bottom: clamp(12px, 3vw, 18px);
    font-weight: 700;
}

.wish-card p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(14px, 3.5vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-weight: 300;
}

.wish-1 { animation-delay: 0.1s; }
.wish-2 { animation-delay: 0.2s; }
.wish-3 { animation-delay: 0.3s; }
.wish-4 { animation-delay: 0.4s; }

/* ==================== CELEBRATION SECTION ==================== */
.celebration-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(60px, 15vw, 120px) 20px;
    position: relative;
    z-index: 10;
}

.celebration-container {
    text-align: center;
    max-width: 700px;
    width: 100%;
}

.celebration-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(24px, 6vw, 40px);
    font-weight: 700;
    color: white;
    margin-bottom: clamp(15px, 3vw, 25px);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    letter-spacing: 1px;
}

.celebration-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(14px, 3.5vw, 22px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: clamp(40px, 8vw, 60px);
    font-weight: 300;
}

.celebrate-btn {
    position: relative;
    padding: clamp(15px, 3.5vw, 22px) clamp(40px, 8vw, 70px);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(16px, 4vw, 26px);
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #ffd700 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(240, 147, 251, 0.5);
}

.celebrate-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(240, 147, 251, 0.7);
}

.celebrate-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
}

.celebrate-btn:hover .btn-glow {
    width: 300px;
    height: 300px;
}

/* ==================== GIFT BOX ==================== */
.gift-box {
    margin-top: clamp(50px, 10vw, 70px);
    position: relative;
    width: clamp(120px, 25vw, 180px);
    height: clamp(120px, 25vw, 180px);
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
}

.gift-box.show {
    opacity: 1;
    transform: scale(1);
    animation: giftShake 0.5s ease-in-out;
}

@keyframes giftShake {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-10deg) scale(1.1); }
    75% { transform: rotate(10deg) scale(1.1); }
}

.gift-box.open .gift-lid {
    animation: lidOpen 0.8s ease-out forwards;
}

@keyframes lidOpen {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100px) rotate(-45deg);
        opacity: 0;
    }
}

.gift-lid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    border-radius: 8px 8px 0 0;
    z-index: 2;
}

.gift-body {
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 0 0 8px 8px;
}

.gift-ribbon-v {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15%;
    height: 100%;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    z-index: 1;
}

.gift-ribbon-h {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 15%;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    z-index: 1;
}

/* ==================== FIREWORKS ==================== */
.fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

.fireworks-container.active {
    display: block;
}

.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: fireworkExplode 1s ease-out forwards;
}

@keyframes fireworkExplode {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty));
        opacity: 0;
    }
}

/* ==================== FINAL MESSAGE ==================== */
.final-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: clamp(20px, 5vw, 35px);
    padding: clamp(40px, 8vw, 70px) clamp(50px, 10vw, 90px);
    text-align: center;
    z-index: 10000;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 600px;
}

.final-message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.close-message-btn {
    position: absolute;
    top: clamp(15px, 3vw, 25px);
    right: clamp(15px, 3vw, 25px);
    width: clamp(35px, 7vw, 45px);
    height: clamp(35px, 7vw, 45px);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
    z-index: 10;
}

.close-message-btn:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.6);
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.close-message-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.message-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 7vw, 46px);
    font-weight: 800;
    background: linear-gradient(45deg, #f093fb, #f5576c, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: clamp(15px, 3vw, 25px);
    line-height: 1.3;
    letter-spacing: 1px;
}

.message-content p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(14px, 3.5vw, 22px);
    color: #333;
    margin-bottom: clamp(12px, 2.5vw, 18px);
    line-height: 1.7;
    font-weight: 400;
}

.special-gift-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 4vw, 24px);
    font-weight: 700;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: clamp(20px, 4vw, 30px) 0;
    padding: clamp(15px, 3vw, 25px);
    border: 2px solid #f093fb;
    border-radius: 15px;
    animation: giftPulse 2s ease-in-out infinite;
}

@keyframes giftPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(240, 147, 251, 0);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(240, 147, 251, 0.5);
    }
}

.signature {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(15px, 3.5vw, 22px);
    font-weight: 600;
    color: #f5576c;
    margin-top: clamp(20px, 4vw, 35px);
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 768px) {
    .hero-section {
        padding: 15px 15px 30px;
    }
    
    .wishes-section {
        padding: 60px 15px;
    }
    
    .celebration-section {
        padding: 60px 15px;
    }
    
    .balloon {
        font-size: 35px;
    }
    
    .cake-wrapper {
        margin-bottom: 40px;
    }
    
    .birthday-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .name-line {
        font-size: 24px;
    }
    
    .scroll-indicator {
        margin-top: 35px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 10px 10px 25px;
    }
    
    .wish-card {
        padding: 25px 20px;
    }
    
    .final-message {
        padding: 35px 25px;
    }
    
    .cake-wrapper {
        margin-bottom: 35px;
        width: 140px;
        height: 160px;
    }
    
    .birthday-title {
        font-size: 24px;
        letter-spacing: 1px;
        line-height: 1.4;
    }
    
    .name-line {
        font-size: 22px;
    }
    
    .scroll-indicator {
        margin-top: 30px;
    }
    
    .scroll-indicator span {
        font-size: 12px;
    }
    
    .arrow-down {
        font-size: 18px;
    }
}

@media (min-width: 1400px) {
    .hero-content {
        max-width: 1000px;
    }
    
    .wishes-container {
        max-width: 1300px;
    }
}
