/* =================================================================
   BIRTHDAY THEME - PREMIUM CELEBRATION STYLES
   
   Premium birthday party theme with vibrant colors and festive elements
   ================================================================= */

/* =================================================================
   COLOR SYSTEM - BIRTHDAY PALETTE
   ================================================================= */
:root {
    /* Primary Palette - Sophisticated & Elegant */
    --birthday-primary: #8B3A5A;      /* Deep rose/burgundy - mature, sophisticated */
    --birthday-secondary: #D4849A;    /* Soft dusty rose - harmonious accent */
    --birthday-accent: #E8D5C4;       /* Warm cream - subtle highlight */
    --birthday-gold: #C9A961;         /* Muted gold - elegant celebration */
    --birthday-deep: #4A2838;         /* Very deep burgundy - maximum contrast */
    
    /* Neutral Support Colors */
    --birthday-dark: #2C2C2C;         /* Near black for primary text */
    --birthday-light: #F8F6F4;        /* Off-white background */
    --birthday-white: #FFFFFF;
    
    /* Gradients - Subtle & Sophisticated */
    --birthday-gradient: linear-gradient(135deg, #8B3A5A 0%, #4A2838 100%);
    --birthday-gradient-soft: linear-gradient(135deg, #D4849A 0%, #8B3A5A 100%);
}

/* =================================================================
   BODY & BACKGROUND
   ================================================================= */
body {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--birthday-dark) !important;
    background: linear-gradient(135deg, #F8F6F4 0%, #E8D5C4 100%) !important;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 58, 90, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 169, 97, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(212, 132, 154, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* =================================================================
   HERO SECTION - BIRTHDAY CELEBRATION
   ================================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background: var(--birthday-gradient);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 10;
    position: relative;
}

.hero h1 {
    font-family: 'Bebas Neue', cursive !important;
    font-size: clamp(3rem, 8vw, 5.5rem) !important;
    color: var(--birthday-white) !important;
    margin-bottom: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    color: var(--birthday-accent) !important;
    margin-bottom: 2rem !important;
    letter-spacing: 1px;
}

/* =================================================================
   SECTIONS - BIRTHDAY THEMED
   ================================================================= */
.section {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.section:nth-child(even) {
    background: var(--birthday-white);
}

.section:nth-child(odd) {
    background: var(--birthday-light);
}

/* =================================================================
   BUTTONS - BIRTHDAY STYLE
   ================================================================= */
.btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--birthday-primary);
    color: var(--birthday-white);
    box-shadow: 0 4px 12px rgba(139, 58, 90, 0.25);
}

.btn-primary:hover {
    background: var(--birthday-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 40, 56, 0.3);
}

.btn-secondary {
    background: var(--birthday-accent);
    color: var(--birthday-deep);
    box-shadow: 0 4px 12px rgba(232, 213, 196, 0.4);
}

.btn-secondary:hover {
    background: var(--birthday-secondary);
    color: var(--birthday-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 132, 154, 0.35);
}

/* =================================================================
   COUNTDOWN TIMER - BIRTHDAY SPECIAL
   ================================================================= */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--birthday-white);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    min-width: 120px;
    box-shadow: 0 6px 20px rgba(139, 58, 90, 0.12);
    border: 2px solid var(--birthday-accent);
    animation: bounce-gentle 3s ease-in-out infinite;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--birthday-primary);
    font-family: 'Bebas Neue', sans-serif;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--birthday-dark);
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* =================================================================
   BALLOON ANIMATIONS
   ================================================================= */
.balloon {
    display: inline-block;
    font-size: 3rem;
    animation: float-balloon 3s ease-in-out infinite;
}

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

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

/* =================================================================
   CONFETTI EFFECT
   ================================================================= */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1000;
}

.confetti {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--birthday-secondary);
    opacity: 0.7;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* =================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem !important;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: 1.5rem 1rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
}

/* =================================================================
   ACCESSIBILITY OVERRIDES
   ================================================================= */
*:focus-visible {
    outline: 3px solid var(--birthday-primary) !important;
    outline-offset: 3px !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero h1 {
        color: var(--birthday-white) !important;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    }
    
    .btn-primary {
        background: var(--birthday-deep);
        color: var(--birthday-white);
        border: 2px solid var(--birthday-white);
    }
}