/* ========================================
   XV AÑOS - IVANA SALAZAR
   Glassmorphism Pink Theme — Enhanced
   ======================================== */

/* --- CSS Variables --- */
:root {
    --pink-100: #fff0f3;
    --pink-200: #ffd6e0;
    --pink-300: #f2b5c4;
    --pink-400: #e8929f;
    --pink-500: #d4738c;
    --pink-600: #c1556e;
    --pink-700: #a0435a;
    --pink-800: #7a3345;
    --pink-accent: #d4738c;
    --rose-gold: #b76e79;
    --rose-gold-light: #d4a0a8;
    --glass-bg: rgba(255, 240, 243, 0.45);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px rgba(180, 80, 100, 0.15);
    --text-dark: #5a2d3a;
    --text-light: #ffffff;
    --text-muted: #9a6070;
    --font-cursive: 'Great Vibes', cursive;
    --font-body: 'Outfit', sans-serif;
    --nav-height: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: #1a0a0f;
    color: var(--text-dark);
    overflow: hidden;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ========================================
   SPLASH SCREEN
   ======================================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a0f18, #1a0a0f, #2a0f18);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
}

/* Envelope */
.envelope {
    width: 220px;
    height: 160px;
    position: relative;
    margin: 0 auto 30px;
    perspective: 600px;
}

.envelope-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #f7d6df, #efc0ce);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 40px rgba(183, 110, 121, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.envelope-body::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 110px solid rgba(200, 130, 150, 0.2);
    border-right: 110px solid rgba(200, 130, 150, 0.2);
    border-top: 70px solid transparent;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-left: 110px solid transparent;
    border-right: 110px solid transparent;
    border-top: 90px solid #d4a0a8;
    z-index: 2;
    transform-origin: top center;
    transition: transform 0.6s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.envelope.open .envelope-flap {
    transform: rotateX(180deg);
}

.envelope-letter {
    background: white;
    width: 85%;
    padding: 16px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.6s ease 0.3s;
    text-align: center;
}

.envelope.open .envelope-letter {
    transform: translateY(-60px);
}

.envelope-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.envelope-name {
    font-family: var(--font-cursive);
    font-size: 1.8rem;
    color: var(--rose-gold);
}

.splash-hint {
    color: rgba(255, 200, 215, 0.7);
    font-size: 0.85rem;
    letter-spacing: 2px;
    animation: pulse-hint 2s ease-in-out infinite;
}

@keyframes pulse-hint {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* ========================================
   APP CONTAINER
   ======================================== */
.app-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 100dvh;
    overflow: hidden;
    background: var(--pink-100);
    box-shadow: 0 0 60px rgba(212, 115, 140, 0.3);
}

/* --- Sections --- */
section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: var(--nav-height);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
}

section.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    z-index: 2;
}

.content-scroll {
    height: 100%;
    overflow-y: auto;
    padding: 10px 20px 30px;
    scrollbar-width: none;
}

.content-scroll::-webkit-scrollbar {
    display: none;
}

/* --- Glassmorphism Card --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

/* ========================================
   FLOATING PETALS
   ======================================== */
.petals-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -30px;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 30% 30%, #ffc0cb, #e8929f);
    border-radius: 50% 0 50% 50%;
    opacity: 0;
    animation: petalFall linear infinite;
    filter: blur(0.5px);
    box-shadow: 0 0 6px rgba(232, 146, 159, 0.3);
}

.petal:nth-child(odd) {
    background: radial-gradient(circle at 30% 30%, #ffd6e0, #f2b5c4);
    width: 10px;
    height: 10px;
}

@keyframes petalFall {
    0% {
        opacity: 0;
        transform: translateX(0) rotate(0deg) scale(0.8);
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        transform: translateX(80px) rotate(360deg) scale(0.3);
        top: 110%;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
    background-image: url('FONDOS/HERO.png');
    display: block;
}

#hero .content-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    padding-bottom: 30px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(26, 10, 15, 0.3) 0%,
            rgba(26, 10, 15, 0.1) 30%,
            rgba(26, 10, 15, 0.1) 60%,
            rgba(26, 10, 15, 0.5) 100%);
    z-index: 0;
}

.hero-content {
    width: 100%;
    padding: 40px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.hero-name {
    font-family: var(--font-cursive);
    font-size: 5rem;
    color: var(--text-light);
    text-shadow:
        0 3px 25px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(120, 40, 60, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 5px;
    animation: fadeInDown 1.2s ease-out;
    text-align: center;
    width: 100%;
    word-break: keep-all;
    line-height: 1.1;
}

.hero-quote {
    font-family: var(--font-cursive);
    font-size: 3rem;
    color: var(--text-light);
    text-shadow:
        0 2px 20px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(120, 40, 60, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
    text-align: center;
}

/* Hero Image */
/* Hero Slider */
.hero-slider-container {
    width: 320px;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 50px rgba(180, 80, 100, 0.45);
    position: relative;
    animation: floatIn 1.5s ease-out;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Countdown */
.countdown-container {
    display: flex;
    gap: 15px;
    padding: 20px 30px;
    margin-top: 20px;
    animation: fadeInUp 1.5s ease-out;
}

.timer-item {
    text-align: center;
    min-width: 70px;
}

.timer-item span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.timer-item p {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 6px;
}

.hero-footer {
    margin-top: 15px;
    text-align: center;
    animation: fadeInUp 1.8s ease-out;
}

.hero-date {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 25px;
    letter-spacing: 3px;
    text-align: center;
}

.scroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--rose-gold), var(--pink-600));
    color: var(--text-light);
    border: none;
    padding: 18px 44px;
    border-radius: 50px;
    font-family: var(--font-cursive);
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(183, 110, 121, 0.5);
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(183, 110, 121, 0.6);
}

.scroll-btn i {
    animation: bounce 2s infinite;
}

/* ========================================
   AUDIO CONTROL
   ======================================== */
.audio-control {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 240, 243, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--pink-600);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 115, 140, 0.3);
}

.audio-waves {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
    margin-bottom: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.audio-control.playing .audio-waves {
    opacity: 1;
}

.audio-waves span {
    width: 3px;
    height: 4px;
    background: var(--pink-600);
    border-radius: 3px;
}

.audio-control.playing .audio-waves span {
    animation: wave 1s ease-in-out infinite;
}

.audio-control.playing .audio-waves span:nth-child(2) {
    animation-delay: 0.2s;
    height: 8px;
}

.audio-control.playing .audio-waves span:nth-child(3) {
    animation-delay: 0.4s;
    height: 10px;
}

.audio-control.playing .audio-waves span:nth-child(4) {
    animation-delay: 0.6s;
    height: 6px;
}

@keyframes wave {

    0%,
    100% {
        height: 4px;
    }

    50% {
        height: 12px;
    }
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    position: relative;
    background: rgba(255, 240, 243, 0.6);
    backdrop-filter: blur(10px);
}

.header button {
    position: absolute;
    left: 16px;
    background: none;
    border: none;
    color: var(--rose-gold);
    font-size: 1.2rem;
    cursor: pointer;
}

.header h2 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-dark);
    letter-spacing: 1px;
}

/* ========================================
   UBICACIONES SECTION
   ======================================== */
#lugares {
    background-image: url('FONDOS/6e29e2c649dbe8a3820f7ddb0fa4a1c8.jpg');
}

.place-card {
    padding: 24px 20px;
    margin-bottom: 20px;
}

.place-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.place-header i {
    font-size: 1.4rem;
    color: var(--rose-gold);
}

.place-header h3 {
    font-family: var(--font-cursive);
    font-size: 2.8rem;
    color: var(--text-dark);
}

.place-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.place-info p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.5;
}

.time-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--rose-gold-light), var(--pink-400));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    margin: 8px 0 10px;
}

.time-badge i {
    font-size: 0.8rem;
}

.place-time {
    font-size: 0.85rem;
    font-weight: 600;
}

.place-info .quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-muted);
    border-left: 3px solid var(--rose-gold-light);
    padding-left: 12px;
    margin: 15px 0;
}

.place-info .family-quote {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
    padding: 0 10px;
}

.map-preview {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    height: 120px;
}

.map-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accent-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--rose-gold), var(--pink-500));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(183, 110, 121, 0.3);
}

.accent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 110, 121, 0.5);
}

/* ========================================
   GALERÍA / MOMENTOS SECTION
   ======================================== */
#momentos {
    background-image: url('FONDOS/5f0b25c61561acfddebef8b25c9a1b03.jpg');
}

.gallery-slider {
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.gallery-slider h3 {
    font-family: var(--font-cursive);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.gallery-slider p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
}

.slider-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slider-wrapper img.slide-active {
    opacity: 1;
    transform: scale(1);
}

.slider-indicator {
    text-align: center;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}

.slider-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(183, 110, 121, 0.2);
    color: var(--rose-gold);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.slider-controls button:hover {
    background: var(--rose-gold);
    color: white;
    transform: scale(1.1);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink-300);
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.slider-dots span.active {
    background: var(--rose-gold);
    transform: scale(1.3);
}

/* Itinerary */
.itinerary {
    padding: 24px 20px;
}

.itinerary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.itinerary-header i {
    color: var(--rose-gold);
}

.itinerary-header h3 {
    font-family: var(--font-cursive);
    font-size: 1.8rem;
    color: var(--text-dark);
}

.itinerary-list {
    list-style: none;
    margin-top: 16px;
}

.itinerary-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(183, 110, 121, 0.12);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.itinerary-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.itinerary-list li:nth-child(2) {
    animation-delay: 0.25s;
}

.itinerary-list li:nth-child(3) {
    animation-delay: 0.4s;
}

.itinerary-list li:nth-child(4) {
    animation-delay: 0.55s;
}

.itinerary-list li:last-child {
    border-bottom: none;
}

.it-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-gold-light), var(--pink-400));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.it-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.it-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========================================
   SUGIERE TU CANCIÓN SECTION
   ======================================== */
#musica {
    background-image: url('FONDOS/dad70b660127da17c0853cb3c940ad64.jpg');
}

.song-card {
    padding: 24px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.song-visual {
    position: relative;
    height: 180px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Vinyl Record */
.vinyl-container {
    position: relative;
    z-index: 1;
}

.vinyl {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            #1a1a2e, #2d1b30, #1a1a2e, #2d1b30,
            #1a1a2e, #2d1b30, #1a1a2e, #2d1b30);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 3px rgba(183, 110, 121, 0.3),
        0 0 0 6px rgba(30, 20, 25, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.3);
    animation: vinylSpin 8s linear infinite;
    position: relative;
}

.vinyl::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: repeating-radial-gradient(circle,
            transparent 0px,
            transparent 3px,
            rgba(255, 255, 255, 0.03) 3px,
            rgba(255, 255, 255, 0.03) 4px);
}

.vinyl-label {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-gold), var(--pink-500));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(183, 110, 121, 0.4);
    z-index: 1;
}

.vinyl-label span {
    font-family: var(--font-cursive);
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
}

@keyframes vinylSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Music Notes */
.music-notes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.music-notes span {
    position: absolute;
    font-size: 1.6rem;
    color: var(--rose-gold);
    opacity: 0;
    animation: noteFloat 3s ease-in-out infinite;
}

.music-notes span:nth-child(1) {
    left: 10%;
    top: 30%;
    animation-delay: 0s;
}

.music-notes span:nth-child(2) {
    right: 10%;
    top: 20%;
    animation-delay: 0.8s;
}

.music-notes span:nth-child(3) {
    left: 5%;
    bottom: 25%;
    animation-delay: 1.5s;
}

.music-notes span:nth-child(4) {
    right: 8%;
    bottom: 15%;
    animation-delay: 2.2s;
}

@keyframes noteFloat {
    0% {
        opacity: 0;
        transform: translateY(10px) rotate(-10deg);
    }

    30% {
        opacity: 0.8;
    }

    70% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-40px) rotate(15deg);
    }
}

.song-card h3 {
    font-family: var(--font-cursive);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.song-card p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.song-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.song-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(183, 110, 121, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.song-input:focus {
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.15);
}

.song-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.song-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-body);
}

.song-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.song-btn i {
    font-size: 1.3rem;
}

/* Song Tips */
.song-tips {
    padding: 20px;
    text-align: left;
}

.song-tips h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.song-tips h4 i {
    color: #f0c848;
}

.song-tips ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.song-tips li {
    font-size: 1.1rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid rgba(183, 110, 121, 0.08);
}

.song-tips li:last-child {
    border-bottom: none;
}

/* ========================================
   CONFIRMAR / RSVP SECTION
   ======================================== */
#confirmar {
    background-image: url('FONDOS/e5013819b86e1c56975a4b7d1b7f21d2.jpg');
}

.dress-code-card {
    padding: 24px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.dress-visual {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(255, 214, 224, 0.3), rgba(242, 181, 196, 0.3));
}

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

.dress-code-card .label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.dress-code-card h3 {
    font-family: var(--font-cursive);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.dress-code-card p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.style-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.style-badge span {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.style-badge strong {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* RSVP Card */
.rsvp-card {
    padding: 30px 20px;
    text-align: center;
}

.rsvp-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-gold-light), var(--pink-400));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin: 0 auto 14px;
}

.rsvp-card h3 {
    font-family: var(--font-cursive);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.rsvp-card p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* RSVP Name Input */
.rsvp-name-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.rsvp-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(183, 110, 121, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.rsvp-input:focus {
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.15);
}

.rsvp-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Hide number input arrows */
.rsvp-input[type="number"]::-webkit-inner-spin-button,
.rsvp-input[type="number"]::-webkit-outer-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}

.rsvp-input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}


.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-body);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

.alternative {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 15px;
}

.alternative a {
    color: var(--rose-gold);
    text-decoration: underline;
    font-weight: 600;
}

/* ========================================
   BOTTOM NAVIGATION
   ======================================== */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 240, 243, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 6px 8px;
}

.nav-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-btn span {
    font-size: 0.58rem;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.nav-btn.active {
    color: var(--rose-gold);
}

.nav-btn.active i {
    transform: scale(1.15);
}

.nav-btn:hover {
    color: var(--rose-gold);
    transform: translateY(-2px);
}

/* ========================================
   MAP MODAL
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
}

.modal-content {
    width: 90%;
    max-width: 440px;
    max-height: 80vh;
    padding: 24px;
    position: relative;
    animation: modalIn 0.4s ease-out;
}

.modal-content .close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
    background: none;
    border: none;
    line-height: 1;
}

.modal-content .close:hover {
    color: var(--rose-gold);
}

.modal-content h3 {
    font-family: var(--font-cursive);
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
}

#mapContainer {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
}

#mapContainer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(6px);
    }

    60% {
        transform: translateY(3px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulse-audio {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(183, 110, 121, 0.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(183, 110, 121, 0);
    }
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 481px) {
    body {
        background: linear-gradient(135deg, #1a0a0f, #2a1520, #1a0a0f);
    }

    .app-container {
        border-radius: 30px;
        max-height: 900px;
        margin: 20px auto;
        border: 2px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 380px) {
    .hero-name {
        font-size: 2.4rem;
    }

    .hero-quote {
        font-size: 1.8rem;
    }

    .hero-image-container {
        width: 180px;
        height: 230px;
    }

    .timer-item span {
        font-size: 1.5rem;
    }

    .timer-item {
        min-width: 48px;
    }

    .countdown-container {
        gap: 8px;
        padding: 12px 16px;
    }

    .nav-btn span {
        font-size: 0.5rem;
    }

    .vinyl {
        width: 110px;
        height: 110px;
    }
}

/* ========================================
   FAMILIA SECTION
   ======================================== */
#familia {
    background-image: url('FONDOS/f6c0e341f4e25f61703e9b86e77ec053.jpg');
}

.family-card {
    padding: 30px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.family-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-gold-light), var(--pink-400));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    margin: 0 auto 16px;
    box-shadow: 0 5px 15px rgba(183, 110, 121, 0.3);
}

.family-card h3 {
    font-family: var(--font-cursive);
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.family-quote {
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding: 0 10px;
    line-height: 1.5;
}

.family-names {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.parent {
    display: flex;
    flex-direction: column;
}

.parent .role {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--rose-gold);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.parent .name {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

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

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffd6e0;
    border-radius: 2px;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}