:root {
    --bg-dark: #070708;
    --bg-card: #121215;
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA7C11;
    --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    --text-light: #F5F5F7;
    --text-muted: #A1A1AA;
    --accent-red: #E63946;
    --font-title: 'Cinzel', serif;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #2a2a30;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Typography Helper Classes */
.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gold-border {
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Ambient Audio Controls Floating Button */
.audio-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(18, 18, 21, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(10px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}
.audio-control:hover {
    transform: scale(1.08);
    border-color: var(--gold-primary);
}
.audio-control svg {
    width: 20px;
    height: 20px;
    fill: var(--gold-primary);
}

/* General Section Styling */
section {
    min-height: 100vh;
    width: 100%;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.section-tag {
    font-family: var(--font-title);
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--gold-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 24px;
    font-weight: 400;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 300;
}

/* 1. HERO SECTION */
#hero {
    background: radial-gradient(circle at center, #1a160d 0%, var(--bg-dark) 70%);
    text-align: center;
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3.5rem;
    letter-spacing: 8px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-date {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    letter-spacing: 5px;
    color: var(--gold-light);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-couple {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 15px;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-stats span::after {
    content: "•";
    color: var(--gold-primary);
    margin-left: 12px;
}
.hero-stats span:last-child::after {
    content: "";
}

.btn-start {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    padding: 16px 36px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    letter-spacing: 3px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
}

.btn-start:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* Floating Hearts Animation */
.heart-float {
    position: absolute;
    color: rgba(212, 175, 55, 0.2);
    font-size: 1.2rem;
    pointer-events: none;
    animation: floatUp 8s linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* 2. THE BEGINNING */
.beginning-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 24px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.img-container {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.08);
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.beginning-card:hover .img-container img {
    transform: scale(1.05);
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    color: #E2E8F0;
}

/* 3. EARLY YEARS TIMELINE */
.timeline-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.timeline-item {
    display: flex;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateX(5px);
}

.timeline-year {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
}

.timeline-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 4. FAMILY SECTION */
.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

.family-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.family-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.family-card.highlight {
    grid-column: 1 / -1;
    background: linear-gradient(180deg, rgba(212,175,55,0.08) 0%, var(--bg-card) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
}

.family-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px auto;
    overflow: hidden;
    border: 2px solid var(--gold-primary);
}

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

.family-name {
    font-family: var(--font-title);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 6px;
    color: var(--gold-light);
}

.family-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 5. THE WEDDING DAY */
#wedding {
    background: radial-gradient(circle at center, #262012 0%, var(--bg-dark) 80%);
}

.wedding-frame {
    position: relative;
    max-width: 650px;
    width: 100%;
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--gold-primary);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
    text-align: center;
}

.wedding-date-badge {
    display: inline-block;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 30px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* 6. LIFE MOSAIC */
.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 700px;
}

@media(min-width: 640px) {
    .mosaic-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mosaic-item {
    position: relative;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mosaic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 7, 8, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mosaic-item:hover .mosaic-overlay,
.mosaic-item:active .mosaic-overlay {
    opacity: 1;
}

.mosaic-item:hover img {
    transform: scale(1.1);
}

.mosaic-title {
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--gold-light);
    margin-bottom: 6px;
}

.mosaic-desc {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.3;
}

/* 7. OVERCOMING TOGETHER */
.overcome-card {
    background: linear-gradient(135deg, rgba(20,20,25,0.9) 0%, rgba(10,10,12,0.95) 100%);
    border-left: 3px solid var(--gold-primary);
    padding: 30px;
    border-radius: 0 16px 16px 0;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.overcome-card p {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #E2E8F0;
    margin-bottom: 16px;
}

.overcome-author {
    font-family: var(--font-title);
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--gold-primary);
    text-transform: uppercase;
}

/* 8. YEARS COUNTER */
.counter-box {
    text-align: center;
    margin: 20px 0;
}

.counter-number {
    font-family: var(--font-title);
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.counter-label {
    font-family: var(--font-title);
    font-size: 1.2rem;
    letter-spacing: 6px;
    color: var(--text-light);
    margin-top: 10px;
    text-transform: uppercase;
}

/* 9. TODAY & FUTURE */
.future-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px;
}

.future-pill {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 20px 30px;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.future-pill:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.future-pill span:first-child {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--gold-light);
    letter-spacing: 2px;
}

.future-pill span:last-child {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-muted);
}

/* 10. FINAL OUTRO */
#outro {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #15120a 100%);
    text-align: center;
    position: relative;
}

.outro-hero-img {
    width: 100%;
    max-width: 600px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

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

.final-message {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
}

.final-signature {
    font-family: var(--font-title);
    font-size: 1.1rem;
    letter-spacing: 4px;
    color: var(--gold-primary);
    margin-bottom: 40px;
}

.btn-customize {
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(212, 175, 55, 0.4);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-customize:hover {
    color: var(--gold-light);
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

/* Customizer Modal Drawer */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--gold-primary);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.modal-title {
    font-family: var(--font-title);
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: #1a1a20;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.input-group textarea {
    resize: vertical;
    height: 70px;
}

.btn-save {
    width: 100%;
    background: var(--gold-primary);
    color: var(--bg-dark);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-family: var(--font-title);
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .counter-number {
        font-size: 4rem;
    }
    section {
        padding: 60px 16px;
    }
}
/* =========================================
   PHOTO FAN - CONSTRUYENDO EL CAMINO
   ========================================= */

   .timeline-item {
    position: relative;
    margin-bottom: 35px;
}

.timeline-year {
    position: relative;
    z-index: 20;
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    padding: 12px 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.timeline-year:active {
    transform: scale(0.95);
}


/* Contenedor del contenido */

.timeline-content {
    position: relative;
}


/* Abanico */

.photo-fan {
    position: relative;
    width: 280px;
    height: 240px;
    margin: 35px auto 10px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-15px);
    transition:
        opacity 0.45s ease,
        transform 0.55s cubic-bezier(.2,.8,.2,1);

    pointer-events: none;
}


/* Cuando abrimos un año */

.timeline-item.active .photo-fan {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

    pointer-events: auto;
}


/* Fotografías */

.fan-photo {
    position: absolute;

    width: 135px;
    height: 175px;

    padding: 5px;

    border: none;
    background: #fff;

    box-shadow: 0 12px 30px rgba(0,0,0,.25);

    cursor: pointer;

    transition:
        transform .55s cubic-bezier(.2,.8,.2,1),
        z-index .1s,
        box-shadow .3s ease;

    -webkit-tap-highlight-color: transparent;
}


.fan-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Foto izquierda */

.photo-left {
    left: 8px;
    top: 35px;

    transform: rotate(-14deg) translateX(35px) scale(.9);

    z-index: 1;
}


/* Foto central */

.photo-center {
    left: 72px;
    top: 0;

    transform: rotate(0deg) translateY(25px) scale(.92);

    z-index: 3;
}


/* Foto derecha */

.photo-right {
    right: 8px;
    top: 35px;

    transform: rotate(14deg) translateX(-35px) scale(.9);

    z-index: 2;
}


/* ABANICO ABIERTO */

.timeline-item.active .photo-left {
    transform: rotate(-17deg) translateX(0) scale(1);
}


.timeline-item.active .photo-center {
    transform: rotate(0deg) translateY(0) scale(1.05);
}


.timeline-item.active .photo-right {
    transform: rotate(17deg) translateX(0) scale(1);
}


/* Al tocar una foto */

.fan-photo:active {
    transform: scale(1.08) !important;
    z-index: 10;
}


/* El año activo */

.timeline-item.active .timeline-year {
    transform: scale(1.08);
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .photo-fan {
        width: 270px;
        height: 225px;
    }

    .fan-photo {
        width: 125px;
        height: 165px;
    }

    .photo-center {
        left: 72px;
    }

    .timeline-item.active .photo-left {
        transform: rotate(-15deg) translateX(0) scale(.96);
    }

    .timeline-item.active .photo-center {
        transform: rotate(0deg) translateY(0) scale(1.02);
    }

    .timeline-item.active .photo-right {
        transform: rotate(15deg) translateX(0) scale(.96);
    }

}

/* =========================================
   NUEVAS TARJETAS DE VÍDEO POR AÑO
   ========================================= */


   .video-years-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 650px;
}

.year-video-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.year-video-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, var(--bg-card) 100%);
}

.year-badge {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 12px 18px;
    border-radius: 12px;
    min-width: 85px;
    text-align: center;
}

.year-info {
    flex: 1;
}

.year-info h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.year-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-play-year {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    padding: 10px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-play-year svg {
    width: 14px;
    height: 14px;
    fill: var(--gold-primary);
    transition: transform 0.3s ease;
}

.year-video-card:hover .btn-play-year {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

.year-video-card:hover .btn-play-year svg {
    fill: var(--bg-dark);
    transform: scale(1.2);
}

/* MODAL DE VÍDEO */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3500;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
}

.video-modal-container {
    position: relative;
    z-index: 3501;
    width: 100%;
    max-width: 800px;
    background: var(--bg-card);
    border: 1px solid var(--gold-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.25);
}

.video-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.8rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3502;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.video-wrapper {
    width: 100%;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-modal-header {
    padding: 20px 24px;
    text-align: center;
}

.video-modal-header h3 {
    font-family: var(--font-title);
    color: var(--gold-light);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.video-modal-header p {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 550px) {
    .year-video-card {
        flex-direction: column;
        text-align: center;
    }
    .year-info {
        margin: 6px 0;
    }
    .btn-play-year {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   ESTILOS VÍDEO BODA YOUTUBE
   ========================================= */
   .wedding-media-container {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
}

/* Portada con Imagen */
.wedding-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.wedding-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.wedding-poster:hover img {
    transform: scale(1.04);
}

/* Botón flotante de Play sobre la foto */
.wedding-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 8, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: background 0.3s ease;
}

.wedding-poster:hover .wedding-play-overlay {
    background: rgba(7, 7, 8, 0.25);
}

.btn-play-wedding {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(18, 18, 21, 0.85);
    border: 2px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.btn-play-wedding svg {
    width: 28px;
    height: 28px;
    fill: var(--gold-primary);
    margin-left: 4px; /* Alinear icono triángulo */
    transition: transform 0.3s ease;
}

.wedding-poster:hover .btn-play-wedding {
    transform: scale(1.12);
    background: var(--gold-primary);
}

.wedding-poster:hover .btn-play-wedding svg {
    fill: var(--bg-dark);
}

.play-text {
    font-family: var(--font-title);
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--gold-light);
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Reproductor de YouTube */
.wedding-iframe-wrapper {
    width: 100%;
    height: 100%;
}

.wedding-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Ocultar la portada cuando empieza la reproducción */
.wedding-media-container.playing .wedding-poster {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

@media (max-width: 600px) {
    .wedding-media-container {
        height: 250px;
    }
    .btn-play-wedding {
        width: 55px;
        height: 55px;
    }
    .btn-play-wedding svg {
        width: 22px;
        height: 22px;
    }
}

/* Oculta el visor modal de fotos por defecto */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 4000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Solo se muestra al hacer clic en una foto */
.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    z-index: 4001;
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--gold-primary);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2.2rem;
    color: #fff;
    cursor: pointer;
}