/* New Year 2025 Celebration Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Georgia', serif;
}

body {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 25%, #0d1b2a 50%, #1a0a2e 75%, #0a0a1a 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Fireworks Canvas */
#fireworks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Main Container */
.celebration-container {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 2;
    overflow: hidden;
}

/* Champagne Glasses Row */
.champagne-row {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 450px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0,0,0,0.5) 3%,
        black 8%,
        black 100%);
    mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0,0,0,0.5) 3%,
        black 8%,
        black 100%);
}

.champagne-row img {
    height: 100%;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
}

/* Bubble Container */
.bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

/* Photo Bubbles */
.photo-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.2) 20%, 
        transparent 60%);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.2),
        inset -5px -5px 15px rgba(255, 215, 0, 0.3);
    animation: floatUp linear forwards;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.photo-bubble::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 25%;
    height: 20%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: rotate(-30deg);
    filter: blur(2px);
}

.photo-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0.85;
    transform: scale(0.9);
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0.3) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translateY(95vh) scale(1) rotate(5deg);
    }
    25% {
        transform: translateY(70vh) scale(1) rotate(-3deg) translateX(20px);
    }
    50% {
        transform: translateY(45vh) scale(1) rotate(5deg) translateX(-15px);
    }
    75% {
        transform: translateY(20vh) scale(1) rotate(-3deg) translateX(10px);
    }
    95% {
        opacity: 1;
        transform: translateY(-5vh) scale(1) rotate(3deg);
    }
    100% {
        transform: translateY(-20vh) scale(0.8) rotate(0deg);
        opacity: 0;
    }
}

/* Wobble animation variations */
.photo-bubble.wobble-1 {
    animation: floatUp linear forwards, wobble1 3s ease-in-out infinite;
}

.photo-bubble.wobble-2 {
    animation: floatUp linear forwards, wobble2 4s ease-in-out infinite;
}

.photo-bubble.wobble-3 {
    animation: floatUp linear forwards, wobble3 2.5s ease-in-out infinite;
}

@keyframes wobble1 {
    0%, 100% { margin-left: 0; }
    25% { margin-left: 15px; }
    75% { margin-left: -15px; }
}

@keyframes wobble2 {
    0%, 100% { margin-left: 0; }
    33% { margin-left: -20px; }
    66% { margin-left: 20px; }
}

@keyframes wobble3 {
    0%, 100% { margin-left: 0; }
    50% { margin-left: 10px; }
}

/* New Year Text */
.new-year-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 200px));
    text-align: center;
    z-index: 3;
    pointer-events: none;
}

.new-year-text h1 {
    font-size: 4rem;
    font-weight: bold;
    color: transparent;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b6b 25%, #ffd700 50%, #ff69b4 75%, #ffd700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.year-number {
    font-size: 8rem;
    font-weight: bold;
    color: transparent;
    background: linear-gradient(135deg, #ffd700 0%, #ffffff 25%, #ffd700 50%, #ff69b4 75%, #ffd700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite reverse;
    text-shadow: 0 0 50px rgba(255, 215, 0, 0.7);
    letter-spacing: 10px;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Sparkle overlay */
.celebration-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 90% 10%, rgba(255, 105, 180, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 105, 180, 0.3) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: sparkle 4s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes sparkle {
    0% { opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { opacity: 0.3; }
}

/* Mobile Styles - Portrait */
@media (max-width: 768px) and (orientation: portrait) {
    .new-year-text {
        transform: translate(-50%, calc(-50% - 120px));
    }
    
    .new-year-text h1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .year-number {
        font-size: 6rem;
        letter-spacing: 5px;
    }
    
    .champagne-row {
        height: 300px;
    }
    
    .photo-bubble {
        max-width: 100px;
        max-height: 100px;
    }
}

/* Mobile Styles - Landscape */
@media (max-width: 900px) and (orientation: landscape) {
    .new-year-text {
        transform: translate(-50%, calc(-50% - 100px));
    }
    
    .new-year-text h1 {
        font-size: 3rem;
    }
    
    .year-number {
        font-size: 6rem;
    }
    
    .champagne-row {
        height: 250px;
    }
    
    .photo-bubble {
        max-width: 80px;
        max-height: 80px;
    }
}

/* Desktop and Tablet */
@media (min-width: 769px) {
    .new-year-text h1 {
        font-size: 5rem;
    }
    
    .year-number {
        font-size: 10rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .new-year-text {
        transform: translate(-50%, calc(-50% - 100px));
    }
    
    .new-year-text h1 {
        font-size: 6rem;
    }
    
    .year-number {
        font-size: 12rem;
    }
    
    .champagne-row {
        height: 280px;
    }
}

/* Home Button */
.home-button {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    padding: 12px 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 30px;
    color: #ffd700;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.2),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
}

.home-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 
        0 0 25px rgba(255, 215, 0, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    transform: translateX(-50%) scale(1.05);
}

@media (max-width: 768px) {
    .home-button {
        padding: 10px 30px;
        font-size: 0.95rem;
        bottom: 20px;
    }
}
