/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink-primary: #ec4899;
    --pink-dark: #db2777;
    --pink-light: #fce7f3;
    --rose-gold: #b76e79;
    --blue-primary: #0000FF;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Intro Overlay (Unboxing Screen) */
.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
    transition: opacity 1s ease;
    opacity: 1;
}

.intro-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.intro-content {
    text-align: center;
    padding: 2rem;
}

.intro-box {
    max-width: 80vw;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    animation: pulse 2s ease-in-out infinite;
}

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

.intro-text-main {
    color: white;
    margin-top: 2rem;
    font-size: 1.125rem;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

@media (min-width: 768px) {
    .intro-text-main {
        font-size: 3rem;
        margin-top: 3rem;
    }
}

.intro-text-click {
    color: var(--pink-primary);
    margin-top: 1.5rem;
    font-size: 1.125rem;
    font-family: 'Bad Script', cursive;
    animation: pulse 2s ease-in-out infinite;
    font-weight: 700;
}

@media (min-width: 768px) {
    .intro-text-click {
        font-size: 3.75rem;
        margin-top: 2rem;
    }
}

/* Raining Lights Effect */
.raining-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.light-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 1;
    box-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
    will-change: transform, opacity;
}

@keyframes fall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) translateX(calc(var(--drift) * 0.5)) rotate(180deg) scale(1.3);
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) translateX(var(--drift)) rotate(360deg) scale(1);
        opacity: 0;
    }
}

/* Nav Pills */
.nav-pills {
    position: fixed;
    top: calc(1rem + env(safe-area-inset-top));
    left: 0;
    right: 0;
    width: fit-content;
    margin-inline: auto;
    z-index: 50;
    display: flex;
    gap: 0;
    /* Solid fallback for browsers without backdrop-filter */
    background: rgba(253, 242, 248, 0.95);
    border-radius: 9999px;
    padding: 0.3rem 0.4rem;
    border: 1px solid rgba(236, 72, 153, 0.25);
    box-shadow:
        0 8px 32px rgba(236, 72, 153, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Glass upgrade for browsers that support backdrop-filter */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .nav-pills {
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.08) 100%
        );
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-color: rgba(255, 255, 255, 0.35);
        box-shadow:
            0 8px 32px rgba(236, 72, 153, 0.15),
            0 2px 8px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

.nav-pills.visible {
    opacity: 1;
    pointer-events: auto;
}

.nav-pill,
.nav-pill:link,
.nav-pill:visited,
.nav-pill:active {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--pink-primary);
    text-decoration: none;
    text-shadow: none;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.nav-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    color: var(--pink-primary);
}

.nav-pill.active,
.nav-pill.active:link,
.nav-pill.active:visited {
    background: linear-gradient(135deg, var(--pink-primary), var(--pink-dark));
    color: white;
    text-shadow: none;
    box-shadow:
        0 4px 12px rgba(236, 72, 153, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

@media (min-width: 768px) {
    .nav-pills {
        top: calc(1.5rem + env(safe-area-inset-top));
        gap: 0.35rem;
        padding: 0.35rem 0.5rem;
    }

    .nav-pill {
        font-size: 0.8rem;
        padding: 0.45rem 1.1rem;
    }
}

/* Music Controls */
.music-controls {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--pink-dark);
    transition: border 0.3s ease, opacity 0.4s ease;
}

.music-controls.playing {
    border: 2px solid transparent;
}

@media (min-width: 768px) {
    .music-controls {
        top: 1.5rem;
        right: 1.5rem;
    }
}

.music-btn {
    border-radius: 9999px;
    padding: 0.75rem;
    color: white;
    background: var(--pink-primary);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-btn:hover {
    background: var(--pink-dark);
}

@media (min-width: 768px) {
    .music-btn {
        padding: 0.875rem;
    }

    .music-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0.2;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('images/hero.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: blur(4px) brightness(1.2);
    width: 100vw;
    height: 120vh;
    opacity: 0.9;
    z-index: 0;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 1rem;
    width: 100%;
    text-align: center;
}

.hero-title {
    font-family: 'Bad Script', cursive;
    font-size: 3.75rem;
    color: #fff;
    margin-bottom: 1rem;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow:
            0 0 7px #fff,
            0 0 15px #fff,
            0 0 30px #fff,
            0 0 50px #ec4899,
            0 0 80px #ec4899,
            0 0 120px #ec4899;
    }
    to {
        text-shadow:
            0 0 10px #fff,
            0 0 25px #fff,
            0 0 55px #fff,
            0 0 90px #ec4899,
            0 0 140px #ec4899,
            0 0 200px #db2777;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-subtitle {
    font-family: 'Great Vibes', cursive;
    font-size: 2.625rem;
    color: white;
    opacity: 0.9;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 3.75rem;
    }
}

.hero-image {
    width: 16rem;
    height: 16rem;
    margin: 0 auto 2rem;
    border-radius: 9999px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .hero-image {
        width: 20rem;
        height: 20rem;
    }
}

.hero-image img,
.hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Efectos Section */
.photobooth-section {
    padding: 3rem 1rem;
    background-image:
        linear-gradient(180deg,
            rgba(244, 128, 190, 0.75) 0%,
            rgba(248, 160, 210, 0.58) 50%,
            rgba(244, 128, 190, 0.75) 100%),
        url('images/background.png');
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px) {
    .photobooth-section {
        padding: 4rem 1rem;
    }
}

.photobooth-section .section-title {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.photobooth-cta {
    text-align: center;
    margin-top: 2rem;
}

.photobooth-btn {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background: #fff;
    color: #9d174d;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(157, 23, 77, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photobooth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(157, 23, 77, 0.4);
}

.photobooth-carousel {
    position: relative;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
}

.photobooth-carousel .carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.photobooth-carousel .carousel-slide {
    min-width: 100%;
    position: relative;
}

.photobooth-carousel .carousel-slide img {
    width: 100%;
    height: 22rem;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .photobooth-carousel .carousel-slide img {
        height: 30rem;
    }
}

.photobooth-carousel .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    color: #fff;
}

.photobooth-carousel .slide-caption h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .photobooth-carousel .slide-caption h3 {
        font-size: 1.5rem;
    }
}

.photobooth-carousel .slide-caption p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.photobooth-carousel .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.photobooth-carousel .carousel-button:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.photobooth-carousel .carousel-button.prev { left: 0.75rem; }
.photobooth-carousel .carousel-button.next { right: 0.75rem; }

.photobooth-carousel .carousel-button svg {
    color: var(--pink-primary);
}

.photobooth-carousel .carousel-indicators {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.4rem;
    z-index: 10;
}

.photobooth-carousel .carousel-indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.photobooth-carousel .carousel-indicator.active {
    background: #fff;
    width: 1.5rem;
    border-radius: 0.25rem;
}

/* Concept Image Section */
.concept-section {
    width: 100%;
    background: #fde0f2;
    padding: 50px 0 0;
}

.concept-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Concept Accordion */
.concept-accordion {
    padding: 2rem 1rem 2.5rem;
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .concept-accordion {
        padding: 2.5rem 2rem 3rem;
    }
}

.accordion-item {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(236, 72, 153, 0.12);
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 3rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s ease;
}

.accordion-trigger:hover {
    background: rgba(253, 224, 242, 0.5);
}

.accordion-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .accordion-label {
        font-size: 1.125rem;
    }
}

.accordion-chevron {
    position: absolute;
    right: 1.5rem;
    color: #ec4899;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.accordion-item.open .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

.accordion-item.open .accordion-panel {
    max-height: 4000px;
}

.accordion-panel-inner {
    padding: 0.5rem 1.5rem 1.5rem;
}


/* Features Section */
.features {
    padding: 2rem 1rem;
    background-image:
        linear-gradient(135deg,
            rgba(248, 160, 210, 0.78) 0%,
            rgba(244, 128, 190, 0.62) 40%,
            rgba(252, 192, 230, 0.70) 75%,
            rgba(246, 144, 200, 0.80) 100%),
        url('images/background.png');
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px) {
    .features {
        padding: 3rem 1rem;
    }
}

.features-wrapper {
    max-width: 64rem;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.section-title {
    font-family: 'Bad Script', cursive;
    font-size: 2.25rem;
    text-align: center;
    color: var(--blue-primary);
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.features-card {
    background: var(--bg-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    border: 2px solid var(--pink-primary);
}

@media (min-width: 768px) {
    .features-card {
        padding: 2rem;
    }
}

.feature-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-check {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--pink-primary);
    margin-top: 0.125rem;
}

.feature-content {
    flex: 1;
}

.feature-title {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .feature-title {
        font-size: 1.125rem;
    }
}

.feature-description {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .feature-description {
        font-size: 1rem;
    }
}

.feature-list {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
    list-style: none;
}

.feature-list li {
    color: var(--text-gray);
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .feature-list li {
        font-size: 1rem;
    }
}

.feature-list .bullet {
    color: var(--pink-primary);
    margin-top: 0.25rem;
}

/* Extras Section */
.extras-section {
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.extras-section .parallax-bg {
    position: absolute;
    inset: -30%;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 0;
}

.extras-section .parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        200deg,
        rgba(252, 192, 230, 0.92) 0%,
        rgba(248, 160, 210, 0.45) 50%,
        rgba(252, 192, 230, 0.92) 100%
    );
    z-index: 1;
}

.extras-section .container,
.extras-section .section-title {
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .extras-section {
        padding: 3rem 1rem;
    }
}

.extras-carousel-wrap {
    position: relative;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
}

.extras-carousel-wrap .carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.extras-carousel-wrap .carousel-slide {
    min-width: 100%;
    position: relative;
}

.extras-carousel-wrap .carousel-slide img {
    width: 100%;
    height: 22rem;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .extras-carousel-wrap .carousel-slide img {
        height: 30rem;
    }
}

.extras-carousel-wrap .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    color: #fff;
}

.extras-carousel-wrap .slide-caption h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .extras-carousel-wrap .slide-caption h3 {
        font-size: 1.5rem;
    }
}

.extras-carousel-wrap .slide-caption p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.extras-carousel-wrap .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.extras-carousel-wrap .carousel-button:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.extras-carousel-wrap .carousel-button.prev { left: 0.75rem; }
.extras-carousel-wrap .carousel-button.next { right: 0.75rem; }

.extras-carousel-wrap .carousel-button svg {
    color: var(--pink-primary);
}

.extras-carousel-wrap .carousel-indicators {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.4rem;
    z-index: 10;
}

.extras-carousel-wrap .carousel-indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.extras-carousel-wrap .carousel-indicator.active {
    background: #fff;
    width: 1.5rem;
    border-radius: 0.25rem;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 16rem;
    overflow: hidden;
    background: var(--bg-light);
}

@media (min-width: 768px) {
    .carousel-container {
        height: 18rem;
    }
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.carousel-button:hover {
    background: white;
    box-shadow: var(--shadow-lg);
}

.carousel-button.prev {
    left: 0.5rem;
}

.carousel-button.next {
    right: 0.5rem;
}

.carousel-button svg {
    color: var(--pink-primary);
}

.carousel-indicators {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    width: 1.5rem;
    border-radius: 0.25rem;
}

.extra-content {
    padding: 1.5rem;
}

.extra-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .extra-title {
        font-size: 1.5rem;
    }
}

.extra-description {
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .extra-description {
        font-size: 1rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}

.gallery-section .parallax-bg {
    position: absolute;
    inset: -30%;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 0;
}

.gallery-section .parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(252, 192, 230, 0.88) 0%,
        rgba(248, 160, 210, 0.42) 50%,
        rgba(252, 192, 230, 0.88) 100%
    );
    z-index: 1;
}

.gallery-section .container,
.gallery-section .section-title {
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .gallery-section {
        padding: 6rem 1rem;
    }
}

.gallery-section .section-title {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .gallery-section .section-title {
        margin-bottom: 3rem;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.gallery-item:hover {
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

@media (min-width: 768px) {
    .gallery-item img {
        height: 16rem;
    }
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* WhatsApp Bubble */
.whatsapp-bubble,
.whatsapp-bubble:link,
.whatsapp-bubble:visited,
.whatsapp-bubble:active {
    position: fixed;
    bottom: 1.5rem;
    left: 1rem;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    /* Solid fallback */
    background: rgba(253, 242, 248, 0.95);
    border: 1px solid rgba(236, 72, 153, 0.25);
    box-shadow:
        0 8px 32px rgba(236, 72, 153, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.12);
    color: var(--pink-primary);
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .whatsapp-bubble {
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.08) 100%
        );
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-color: rgba(255, 255, 255, 0.35);
        box-shadow:
            0 8px 32px rgba(236, 72, 153, 0.15),
            0 2px 8px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

.whatsapp-bubble.visible {
    opacity: 1;
    pointer-events: auto;
}

.whatsapp-bubble:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--pink-primary), var(--pink-dark));
    color: white;
}

@media (min-width: 768px) {
    .whatsapp-bubble {
        bottom: 2rem;
        left: 1.5rem;
        width: 4.25rem;
        height: 4.25rem;
    }
}

/* Chat panel (Party) */
.whatsapp-bubble[type="button"] {
    cursor: pointer;
    border: 1px solid rgba(236, 72, 153, 0.25);
    font: inherit;
}
.chat-panel[hidden] {
    display: none;
}
.chat-panel {
    position: fixed;
    bottom: 6.5rem;
    left: 1rem;
    z-index: 51;
    width: min(400px, calc(100vw - 2rem));
    height: min(580px, calc(100dvh - 8rem));
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #12080d;
    box-shadow:
        0 12px 40px rgba(15, 5, 12, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.15);
}
.chat-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #221320;
    border-bottom: 1px solid #3a2233;
}
.chat-panel-title {
    color: #f6ecf1;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.chat-panel-close {
    background: transparent;
    border: 0;
    color: #b995a6;
    font-size: 1rem;
    line-height: 1;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 8px;
}
.chat-panel-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}
#chatFrame {
    width: 100%;
    flex: 1 1 auto;
    border: 0;
    display: block;
    background: #12080d;
}
@media (min-width: 768px) {
    .chat-panel {
        bottom: 7rem;
        left: 1.5rem;
    }
}

/* Footer */
.footer {
    padding: 2rem 1rem;
    background: var(--pink-primary);
    color: white;
    text-align: center;
}

.footer-link {
    color: #000000;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #000000;
}

.footer-text {
    font-family: 'Bad Script', cursive;
    font-size: 0.875rem;
    opacity: 0.75;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.6s; }
.feature-item:nth-child(7) { animation-delay: 0.7s; }
.feature-item:nth-child(8) { animation-delay: 0.8s; }
.feature-item:nth-child(9) { animation-delay: 0.9s; }
.feature-item:nth-child(10) { animation-delay: 1s; }

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-modal.hidden {
    display: none;
}

.lightbox-content {
    max-width: 80rem;
    width: 100%;
    position: relative;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 2.5rem;
    z-index: 51;
    transition: color 0.3s ease;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: #d1d5db;
}

.lightbox-close svg {
    width: 2rem;
    height: 2rem;
}

.lightbox-image {
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 2rem;
    display: block;
}

.lightbox-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .lightbox-buttons {
        flex-direction: row;
    }
}

.lightbox-btn {
    background: var(--pink-primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

@media (min-width: 640px) {
    .lightbox-btn {
        width: auto;
    }
}

.lightbox-btn:hover {
    background: var(--pink-dark);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
