/* ============================================
   Happy Birthday Maria - Styles
   ============================================ */

/* CSS Variables for easy color customization */
:root {
    --pink: #ff6b9d;
    --purple: #c44dff;
    --gold: #ffd700;
    --light-pink: #ffb6c1;
    --light-purple: #e6b3ff;
    --turquoise: #40e0d0;
    --coral: #ff7f50;
    --sky-blue: #87ceeb;
    --background: linear-gradient(135deg, #fff5f7 0%, #f0e6ff 50%, #e6f3ff 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   Balloons Animation
   ============================================ */
.balloons-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.balloon {
    position: absolute;
    width: 40px;
    height: 50px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    animation: float-up 15s infinite ease-in-out;
    opacity: 0.8;
}

.balloon::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid inherit;
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    width: 1px;
    height: 50px;
    background: rgba(0, 0, 0, 0.2);
    transform: translateX(-50%);
}

/* Individual balloon styles */
.balloon-1 {
    background: var(--pink);
    left: 5%;
    animation-delay: 0s;
    animation-duration: 18s;
}
.balloon-1::before { border-top-color: var(--pink); }

.balloon-2 {
    background: var(--purple);
    left: 15%;
    animation-delay: 2s;
    animation-duration: 16s;
}
.balloon-2::before { border-top-color: var(--purple); }

.balloon-3 {
    background: var(--gold);
    left: 25%;
    animation-delay: 4s;
    animation-duration: 20s;
}
.balloon-3::before { border-top-color: var(--gold); }

.balloon-4 {
    background: var(--turquoise);
    left: 35%;
    animation-delay: 1s;
    animation-duration: 17s;
}
.balloon-4::before { border-top-color: var(--turquoise); }

.balloon-5 {
    background: var(--coral);
    left: 45%;
    animation-delay: 3s;
    animation-duration: 19s;
}
.balloon-5::before { border-top-color: var(--coral); }

.balloon-6 {
    background: var(--light-pink);
    left: 55%;
    animation-delay: 5s;
    animation-duration: 15s;
}
.balloon-6::before { border-top-color: var(--light-pink); }

.balloon-7 {
    background: var(--sky-blue);
    left: 65%;
    animation-delay: 2.5s;
    animation-duration: 21s;
}
.balloon-7::before { border-top-color: var(--sky-blue); }

.balloon-8 {
    background: var(--purple);
    left: 75%;
    animation-delay: 0.5s;
    animation-duration: 16s;
}
.balloon-8::before { border-top-color: var(--purple); }

.balloon-9 {
    background: var(--pink);
    left: 85%;
    animation-delay: 4.5s;
    animation-duration: 18s;
}
.balloon-9::before { border-top-color: var(--pink); }

.balloon-10 {
    background: var(--gold);
    left: 95%;
    animation-delay: 1.5s;
    animation-duration: 22s;
}
.balloon-10::before { border-top-color: var(--gold); }

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(-5deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-150px) rotate(5deg);
        opacity: 0;
    }
}

/* ============================================
   Confetti Decoration
   ============================================ */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confetti-fall 10s infinite linear;
    opacity: 0.7;
}

.confetti-1 {
    background: var(--pink);
    left: 10%;
    animation-delay: 0s;
    border-radius: 50%;
}

.confetti-2 {
    background: var(--gold);
    left: 30%;
    animation-delay: 2s;
    transform: rotate(45deg);
}

.confetti-3 {
    background: var(--purple);
    left: 50%;
    animation-delay: 4s;
    border-radius: 50%;
}

.confetti-4 {
    background: var(--turquoise);
    left: 70%;
    animation-delay: 1s;
    transform: rotate(45deg);
}

.confetti-5 {
    background: var(--coral);
    left: 85%;
    animation-delay: 3s;
    border-radius: 50%;
}

.confetti-6 {
    background: var(--light-pink);
    left: 95%;
    animation-delay: 5s;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ============================================
   Main Content
   ============================================ */
.content {
    position: relative;
    z-index: 10;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    text-align: center;
    padding: 60px 20px 40px;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-title {
    font-family: 'Pacifico', cursive;
    font-size: clamp(2.5rem, 8vw, 5rem);
    background: linear-gradient(45deg, var(--pink), var(--purple), var(--coral), var(--gold));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite, bounce-in 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes bounce-in {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.cake-emoji {
    font-size: 4rem;
    animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

/* ============================================
   Wishes Section
   ============================================ */
.wishes {
    margin: 40px 0;
}

.wishes-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(196, 77, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 157, 0.2);
}

.wishes-card h2 {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: var(--purple);
    text-align: center;
    margin-bottom: 25px;
}

.wishes-list {
    list-style: none;
    margin-bottom: 25px;
}

.wishes-list li {
    padding: 12px 0;
    font-size: 1.1rem;
    color: #555;
    border-bottom: 1px dashed rgba(196, 77, 255, 0.2);
    transition: transform 0.3s ease;
}

.wishes-list li:last-child {
    border-bottom: none;
}

.wishes-list li:hover {
    transform: translateX(10px);
}

.wishes-message {
    text-align: center;
    font-size: 1.15rem;
    color: #666;
    font-style: italic;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(196, 77, 255, 0.1));
    border-radius: 15px;
    margin-top: 20px;
}

/* ============================================
   Music Section
   ============================================ */
.music-section {
    margin: 60px 0;
}

.music-intro {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.music-intro h2 {
    font-family: 'Pacifico', cursive;
    font-size: 2.2rem;
    color: var(--pink);
    margin-bottom: 15px;
}

.music-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.music-note {
    font-size: 3rem;
    margin-top: 20px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Videos Container */
.videos-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.video-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(196, 77, 255, 0.2);
    border-color: rgba(255, 107, 157, 0.3);
}

.video-title {
    font-size: 1.3rem;
    color: var(--purple);
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid var(--pink);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
}

.footer p {
    color: var(--purple);
    font-size: 1.1rem;
}

.footer-year {
    font-size: 0.9rem !important;
    color: #999 !important;
    margin-top: 10px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .content {
        padding: 15px;
    }

    .hero {
        padding: 40px 15px 30px;
        min-height: 40vh;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .cake-emoji {
        font-size: 3rem;
    }

    .wishes-card {
        padding: 25px 20px;
    }

    .wishes-card h2 {
        font-size: 1.6rem;
    }

    .wishes-list li {
        font-size: 1rem;
        padding: 10px 0;
    }

    .wishes-message {
        font-size: 1rem;
        padding: 15px;
    }

    .music-intro h2 {
        font-size: 1.8rem;
    }

    .music-intro p {
        font-size: 1rem;
    }

    .video-item {
        padding: 20px 15px;
    }

    .video-title {
        font-size: 1.1rem;
    }

    /* Reduce number of visible balloons on mobile */
    .balloon-3,
    .balloon-5,
    .balloon-7,
    .balloon-9 {
        display: none;
    }

    .balloon {
        width: 30px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .wishes-card h2 {
        font-size: 1.4rem;
    }

    .music-intro h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   Smooth Scrollbar (optional enhancement)
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--pink), var(--purple));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--purple), var(--pink));
}
