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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.hero {
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.balloons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.balloon {
    position: absolute;
    width: 60px;
    height: 80px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: float 6s ease-in-out infinite;
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100px;
    background: #333;
}

.balloon-1 { background: #ff6b6b; top: 10%; left: 10%; animation-delay: 0s; }
.balloon-2 { background: #4ecdc4; top: 20%; right: 15%; animation-delay: 1s; }
.balloon-3 { background: #45b7d1; top: 15%; left: 80%; animation-delay: 2s; }
.balloon-4 { background: #f9ca24; top: 30%; left: 5%; animation-delay: 3s; }
.balloon-5 { background: #a55eea; top: 25%; right: 5%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    animation: bounce 2s ease infinite;
}

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

.subtitle {
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 40px;
}

.fixed-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    text-align: center;
    pointer-events: auto;
    transition: transform 0.1s ease;
}

.fixed-center:hover {
    transform: translate(-50%, -50%) scale(1.02);
}

.fixed-center:active {
    transform: translate(-50%, -50%) scale(0.98);
}

.main-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5), 0 0 30px rgba(255,255,255,0.5);
    margin-bottom: 30px;
    animation: pulse 3s ease infinite;
}

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

.countdown-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
}

.countdown-label {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px 10px;
    min-width: 70px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.time-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.time-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin-top: 5px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.infinite-content {
    min-height: 500vh;
    position: relative;
}

.scroll-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.floating-elements {
    position: relative;
    z-index: 1;
}

.celebration-text {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: floatSide 8s ease-in-out infinite;
}

.scroll-section:nth-child(even) .celebration-text {
    animation-delay: -4s;
}

@keyframes floatSide {
    0%, 100% { transform: translateX(-50px) rotate(-5deg); }
    50% { transform: translateX(50px) rotate(5deg); }
}

.footer {
    text-align: center;
    padding: 30px 0;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .content {
        padding: 25px;
        margin: 20px 0;
    }
    
    .birthday-message h2 {
        font-size: 2rem;
    }
    
    .cake {
        font-size: 4rem;
    }
    
    .balloon {
        width: 40px;
        height: 60px;
    }
}