/* Importar tipografías personalizadas */
@font-face {
    font-family: 'High Spirited';
    src: url('fonts/HighSpirited.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IM Black';
    src: url('fonts/IAMBlack.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Assistant';
    src: url('fonts/AssistantVariableFont.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de colores del sitio de referencia */
    --color-cream: #FEF7F1;           /* Fondo principal - Crema claro */
    --color-beige: #F6EBE4;           /* Fondo secundario - Rosa Pastel */
    --color-terracota: #ECD2C4;       /* Acentos suaves - Terracota claro */
    --color-azul-gris: #567782;       /* Botones y acentos principales - Azul gris */
    --color-azul-oscuro: #135A72;     /* Hover de botones - Azul oscuro */
    --color-gris-oscuro: #343434;     /* Texto principal - Gris oscuro */
    --color-gris-medio: #707070;      /* Texto secundario - Gris medio */
    --color-dorado: #BA9F50;          /* Detalles especiales - Dorado medio */
    --color-blanco: #FFFFFF;          /* Blanco puro */

    /* Variables simplificadas para uso en el código */
    --color-primary: #707070;         /* Azul gris - Color principal */
    --color-secondary: #FEF7F1;       /* Crema claro - Fondo secundario */
    --color-accent: #BA9F50;          /* Dorado - Color de acento */
    --color-text: #343434;            /* Gris oscuro - Texto principal */
    --color-text-light: #707070;      /* Gris medio - Texto secundario */
    --color-background: #FEF7F1;      /* Crema - Fondo general */

    /* Tipografías */
    --font-heading: 'High Spirited', cursive;
    --font-body: 'IM Black', 'Georgia', serif;
    --font-secondary: 'IM Black', 'Georgia', serif;
}

/* Importar Google Fonts para mejor legibilidad */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 18px;
    font-weight: 400;
    background-color: var(--color-background);
    position: relative;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('fondo-hojas.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: -2;
    opacity: 0.5;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(254, 247, 241, 0.256);
    pointer-events: none;
    z-index: -1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Music Player - Esquina superior derecha */
.music-player {
    position: fixed;
    top: 15px;
    right: 20px;
    width: auto;
    max-width: 350px;
    background: rgba(42, 42, 42, 0.4);
    border-radius: 20px;
    padding: 8px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideInFromRight 0.4s ease-out;
    backdrop-filter: blur(8px);
}

.music-player.hidden {
    display: none;
}

.close-music {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2a2a2a;
    color: white;
    border: 2px solid white;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
    font-weight: bold;
    line-height: 1;
}

.close-music:hover {
    background: #ff4444;
    transform: scale(1.1);
}

.audio-player-container {
    width: 100%;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.audio-play-pause {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.audio-play-pause svg {
    width: 13px;
    height: 13px;
}

.audio-play-pause:hover {
    background: #c9a956;
    transform: scale(1.1);
}

.audio-info {
    flex: 1;
    min-width: 0;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.audio-title {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audio-time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.progress-bar {
    display: none;
}

.volume-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.volume-btn svg {
    width: 14px;
    height: 14px;
}

.volume-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Foto Principal Section */
.foto-principal-section {
    position: relative;
    width: 100%;
    max-width: 1230px;
    margin: 40px auto 60px;
    padding: 0 20px !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
}

.foto-principal-wrapper {
    position: relative;
    width: 100%;
}

/* Gradiente removido - ya no es necesario porque la imagen incluye el texto */
/* .foto-principal-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        transparent 100%
    );
    border-radius: 25px;
    z-index: 1;
    pointer-events: none;
} */

.foto-principal {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 25px;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.foto-principal:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1);
}

.foto-principal-overlay {
    position: relative;
    width: 100%;
    padding: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -90px;
    z-index: 10;
    margin-bottom: 10px;
}

.nos-casamos {
    display: none; /* Ocultado porque la nueva imagen ya incluye el texto */
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: pulseGlow 2.5s ease-in-out 2.5s infinite;
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
    z-index: 20;
}

.play-button::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
    animation: ripple 2s ease-out 2.5s infinite;
}

.play-button:hover {
    transform: scale(1.2);
    animation: none;
}

.play-button svg {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
}

.play-button:hover svg circle {
    fill: white;
    fill-opacity: 1;
}

.play-button:active {
    transform: scale(1.05);
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.decorative-heart-main {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
}

.decorative-heart-main img {
    filter: brightness(0) invert(1);
    opacity: 0.3;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3d3d3d;
    color: var(--color-beige);
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 1200px;
    margin: 0 auto 60px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 30px 20px 60px;
}

.names {
    font-family: var(--font-heading);
    color: var(--color-beige);
    font-size: clamp(5rem, 12vw + 1rem, 12rem);
    margin-bottom: 1rem;
    letter-spacing: 0;
    text-shadow: none;
}

.hero-star-top {
    text-align: center;
    margin-bottom: 1rem;
}

.hero-star-top img {
    filter: brightness(0) saturate(100%) invert(67%) sepia(18%) saturate(775%) hue-rotate(8deg) brightness(94%) contrast(87%);
    opacity: 0.8;
    width: 50px;
    height: 50px;
}

.hero-star-bottom {
    text-align: center;
    margin-top: 1rem;
}

.hero-star-bottom img {
    filter: brightness(0) saturate(100%) invert(67%) sepia(18%) saturate(775%) hue-rotate(8deg) brightness(94%) contrast(87%);
    opacity: 0.8;
    width: 50px;
    height: 50px;
}

.hero-text {
    font-family: var(--font-body);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
    font-weight: 900;
    line-height: 1.9;
    font-style: italic;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-beige);
}

/* Countdown */
.countdown {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 90px;
    gap: 0.5rem;
}

.countdown-number {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 300;
    line-height: 1.2;
    color: white;
    text-shadow: none;
    font-family: var(--font-body);
    min-width: 2.5ch;
    text-align: center;
    display: block;
}

.countdown-label {
    font-size: clamp(0.65rem, 1vw, 0.75rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    font-weight: 400;
    line-height: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 3;
}

/* Sections */
section {
    padding: 60px 20px;
    margin: 40px 0;
}

section:not(.hero-section):not(.foto-principal-section) {
    background-color: var(--color-beige);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


section:not(.hero-section):not(.foto-principal-section):hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

section:nth-child(even):not(.hero-section):not(.foto-principal-section) {
    background-color: var(--color-cream);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw + 0.5rem, 4rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section-subtitle {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
}

.section-text {
    text-align: center;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    margin-bottom: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.8;
}

/* Nosotros Section */
.nosotros-section {
    background: var(--color-beige) !important;
    padding: 40px 20px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nosotros-section .section-title {
    font-size: clamp(3rem, 6vw + 0.5rem, 6.5rem);
}

.nosotros-text {
    text-align: center;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-style: italic;
    margin-bottom: 2rem;
    margin-top: -0.5rem;
    color: var(--color-gris-medio);
    font-weight: 900;
    line-height: 1.4;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-secondary);
    -webkit-text-stroke: 0.3px var(--color-gris-medio);
    text-shadow: 0 0 0.5px var(--color-gris-medio);
}

.photo-carousel {
    max-width: 480px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    aspect-ratio: 3/4;
}

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

.carousel-slide:nth-child(2) img {
    object-position: 58% center;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-text-light);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--color-accent);
    transform: scale(1.3);
}

/* Cuando Section */
.cuando-section {
    position: relative;
    background: var(--color-blanco);
    padding: 100px 40px;
    margin: 60px auto;
    max-width: 1000px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: visible;
}

.section-tag {
    display: none;
}

@keyframes fadeInTag {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.decorative-icon {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
    z-index: 5;
}

/* Ajuste específico para los iconos en regalos, playlist y fotos */
.regalos-section .decorative-icon,
.playlist-section .decorative-icon,
.fotos-section .decorative-icon {
    position: relative;
    left: auto;
    transform: none;
    display: flex;
    justify-content: center;
    margin: 0 auto 30px;
    top: 0;
}

/* Icono de DJ en Playlist - color beige para fondo oscuro */
.playlist-section .decorative-icon img {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.cuando-content {
    text-align: center;
    position: relative;
    z-index: 5;
}

.cuando-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw + 0.5rem, 4rem);
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-style: normal;
    letter-spacing: 0;
    text-align: center;
}

.cuando-intro {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--color-gris-medio);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-style: italic;
    font-weight: 900;
    -webkit-text-stroke: 0.3px var(--color-gris-medio);
    text-shadow: 0 0 0.5px var(--color-gris-medio);
}

.cuando-fecha {
    font-family: var(--font-secondary);
    font-size: clamp(3.5rem, 7vw, 6rem);
    color: var(--color-gris-oscuro);
    letter-spacing: 4px;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    font-weight: 900;
}

.cuando-year {
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: 5px;
    display: inline-block;
    margin-top: 0.3rem;
    font-weight: 900;
}

.cuando-final {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--color-gris-medio);
    font-style: italic;
    margin-top: 2rem;
    font-weight: 900;
    -webkit-text-stroke: 0.3px var(--color-gris-medio);
    text-shadow: 0 0 0.5px var(--color-gris-medio);
}

/* Donde Section */
.donde-section {
    position: relative;
    background: var(--color-blanco);
    padding: 100px 40px;
    margin: 60px auto;
    max-width: 1000px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: visible;
}

.donde-content {
    text-align: center;
    position: relative;
    z-index: 5;
}

.donde-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw + 0.5rem, 6rem);
    color: var(--color-text);
    margin-bottom: 2.5rem;
    letter-spacing: 0;
}

.donde-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.donde-time {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-gris-oscuro);
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.donde-venue {
    font-family: var(--font-body);
    font-size: clamp(1.6rem, 3vw, 2rem);
    color: var(--color-text);
    font-weight: 900;
    margin-bottom: 0.5rem;
    -webkit-text-stroke: 0.3px var(--color-text);
    text-shadow: 0 0 0.5px var(--color-text);
}

.donde-address {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--color-gris-medio);
    font-style: italic;
    margin-bottom: 2rem;
    font-weight: 900;
    -webkit-text-stroke: 0.5px var(--color-gris-medio);
    text-shadow: 0 0 1px var(--color-gris-medio);
}

.donde-note {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    color: var(--color-gris-oscuro);
    font-style: italic;
    line-height: 1.8;
    max-width: 900px;
    margin: 2rem auto 0;
    background: transparent;
    padding: 20px 30px;
    border-radius: 0;
    border: none;
    font-weight: 900;
    -webkit-text-stroke: 0.3px var(--color-gris-oscuro);
    text-shadow: 0 0 0.5px var(--color-gris-oscuro);
}

/* Map */
.map-container {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.map-container iframe {
    display: block;
}

/* Dress Code */
.dresscode-section {
    background: #2a2a2a !important;
    color: white;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.dresscode-tag {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: white;
    font-style: italic;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dresscode-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 40px 0;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.dresscode-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.dresscode-icon img {
    filter: brightness(0) saturate(100%) invert(67%) sepia(18%) saturate(775%) hue-rotate(8deg) brightness(94%) contrast(87%);
    opacity: 0.9;
}

.dresscode-stars {
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
    color: var(--color-accent);
}

.dresscode-title {
    font-family: var(--font-body);
    font-size: clamp(2.3rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 8px;
    margin: 0;
    padding: 0;
    color: var(--color-beige);
    -webkit-text-stroke: 0.3px var(--color-beige);
    text-shadow: 0 0 0.5px var(--color-beige);
}

.dresscode-divider {
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-beige), transparent);
    margin: 0 auto;
}

.dresscode-type {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 7vw + 0.5rem, 7rem);
    text-align: center;
    margin: 0;
    padding: 0;
    color: var(--color-accent);
    font-weight: 400;
    letter-spacing: 0;
}

.dresscode-description {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    line-height: 1.9;
    color: var(--color-beige);
    font-weight: 500;
    margin: 0;
    padding: 0 20px;
    font-style: italic;
    -webkit-text-stroke: 0.1px var(--color-beige);
    text-shadow: 0 0 0.2px var(--color-beige);
}

.dresscode-description em {
    font-style: italic;
    font-weight: 400;
}

/* Confirmacion Section */
.confirmacion-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-blanco);
    color: var(--color-text);
    text-align: center;
    overflow: visible;
}

.confirmacion-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.confirmacion-section .section-title {
    color: var(--color-primary) !important;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.confirmacion-section .section-subtitle {
    color: var(--color-text-light) !important;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    font-weight: 900;
    text-shadow: none;
    -webkit-text-stroke: 0.3px var(--color-text-light);
}

.confirmacion-section .section-text {
    color: var(--color-text-light) !important;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    text-shadow: none;
    font-weight: 900;
    -webkit-text-stroke: 0.3px var(--color-text-light);
}

.confirmation-note {
    color: var(--color-gris-medio);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin-top: 2rem;
    font-style: italic;
    font-weight: 900;
    -webkit-text-stroke: 0.3px var(--color-gris-medio);
    text-shadow: 0 0 0.5px var(--color-gris-medio);
}

.btn-confirmar {
    background: transparent !important;
    color: var(--color-gris-oscuro) !important;
    border: 2px solid var(--color-gris-oscuro) !important;
    font-weight: 900;
    -webkit-text-stroke: 0.3px var(--color-gris-oscuro);
    text-shadow: 0 0 0.5px var(--color-gris-oscuro);
}

.btn-confirmar:hover {
    background: var(--color-gris-oscuro) !important;
    color: white !important;
    border-color: var(--color-gris-oscuro) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    -webkit-text-stroke: 0.3px white;
    text-shadow: 0 0 0.5px white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 45px;
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 10px;
}

.btn-wrapper {
  text-align: center;
}

.btn-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 900;
    -webkit-text-stroke: 0.3px white;
    text-shadow: 0 0 0.5px white;
}

.btn-primary:hover {
    background: white;
    color: #2a2a2a;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
    -webkit-text-stroke: 0.3px #2a2a2a;
    text-shadow: 0 0 0.5px #2a2a2a;
}

.btn-secondary {
    background: var(--color-blanco);
    color: var(--color-azul-gris);
    border: 2px solid var(--color-azul-gris);
}

.btn-secondary:hover {
    background: var(--color-azul-gris);
    color: var(--color-blanco);
}

.btn-map {
    background: transparent;
    color: var(--color-gris-oscuro);
    border: 2px solid var(--color-gris-oscuro);
    font-weight: 900;
    -webkit-text-stroke: 0.3px var(--color-gris-oscuro);
    text-shadow: 0 0 0.5px var(--color-gris-oscuro);
}

.btn-map:hover {
    background: var(--color-gris-oscuro);
    color: white;
    border-color: var(--color-gris-oscuro);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    -webkit-text-stroke: 0.3px white;
    text-shadow: 0 0 0.5px white;
}



/* Regalos */
.regalos-section{
    background: #F6EBE4 !important;
}

.regalos-section .btn-primary {
    background: transparent;
    color: var(--color-gris-oscuro);
    border: 2px solid var(--color-gris-oscuro);
    -webkit-text-stroke: 0.3px var(--color-gris-oscuro);
    text-shadow: 0 0 0.5px var(--color-gris-oscuro);
}

.regalos-section .btn-primary:hover {
    background: var(--color-gris-oscuro);
    color: white;
    border-color: var(--color-gris-oscuro);
    -webkit-text-stroke: 0.3px white;
    text-shadow: 0 0 0.5px white;
}
.datos-cuenta {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.datos-cuenta p {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    margin-bottom: 12px;
    font-weight: 900;
    -webkit-text-stroke: 0.3px var(--color-gris-oscuro);
    text-shadow: 0 0 0.5px var(--color-gris-oscuro);
    color: var(--color-gris-oscuro);
}

.hidden {
    display: none;
}

/* Quote */
.section-quote {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-style: italic;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 900;
    line-height: 1.7;
    -webkit-text-stroke: 0.3px var(--color-text-light);
    text-shadow: 0 0 0.5px var(--color-text-light);
}

/* Highlight */
.highlight {
    color: var(--color-accent);
    font-weight: 700;
}

.playlist-section {
    background: #2a2a2a !important;
}

.playlist-section .section-title,
.playlist-section .section-subtitle,
.playlist-section .section-text {
    color: var(--color-beige);
    font-weight: 900;
    -webkit-text-stroke: 0.3px var(--color-beige);
    text-shadow: 0 0 0.5px var(--color-beige);
}

.fotos-section {
    background:#F6EBE4 !important;
}

.fotos-section strong {
    font-family: 'Assistant', 'Montserrat', 'Arial', sans-serif;
    font-weight: 700;
}

.fotos-section .section-subtitle {
    font-weight: 900;
    -webkit-text-stroke: 0.3px var(--color-text-light);
    text-shadow: 0 0 0.5px var(--color-text-light);
}

.fotos-section .section-text {
    font-weight: 900;
    -webkit-text-stroke: 0.3px var(--color-text);
    text-shadow: 0 0 0.5px var(--color-text);
}

.app-link {
    color: inherit;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.app-link:hover {
    opacity: 0.7;
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 1rem;
    font-family: 'Assistant', 'Montserrat', 'Arial', sans-serif;
}

.footer p {
    margin: 0.5rem 0;
}

.footer-names {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.footer-date {
    font-weight: 400;
}

.attribution {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.8rem !important;
}

.attribution a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: opacity 0.3s ease;
}

.attribution a:hover {
    opacity: 0.8;
    border-bottom-color: white;
}

/* 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 bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    /* Fix para el fondo en móviles */
    body::after {
        background-attachment: scroll;
    }

    section {
        padding: 30px 15px;
    }

    .music-player {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: auto;
        max-width: 85%;
        background: rgba(42, 42, 42, 0.6);
        padding: 5px 8px;
        backdrop-filter: blur(8px);
        border-radius: 18px;
        z-index: 100;
    }

    .audio-controls {
        gap: 6px;
        flex-wrap: nowrap;
    }

    .close-music {
        width: 18px;
        height: 18px;
        font-size: 11px;
        top: -4px;
        right: -4px;
    }

    .audio-play-pause {
        width: 24px;
        height: 24px;
    }

    .audio-play-pause svg {
        width: 10px;
        height: 10px;
    }

    .audio-info {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .audio-title {
        font-size: 9px;
        margin-bottom: 0;
    }

    .audio-time {
        font-size: 8px;
    }

    .volume-btn {
        width: 24px;
        height: 24px;
    }

    .volume-btn svg {
        width: 12px;
        height: 12px;
    }

    .progress-bar {
        display: none;
    }

    .foto-principal-section {
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 20px;
        margin-bottom: 40px;
        padding: 0 !important;
        max-width: 85%;
        width: 85%;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        display: block;
        position: relative;
    }

    .foto-principal-wrapper {
        position: relative;
        width: 100%;
    }

    .foto-principal {
        border-radius: 15px;
        aspect-ratio: 3/4;
        object-fit: cover;
        width: 100%;
        margin: 0 auto;
        display: block;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        position: relative;
    }

    .foto-principal-overlay {
        position: relative;
        width: 100%;
        padding: 0;
        background: transparent;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: -70px;
        z-index: 10;
        margin-bottom: 10px;
    }

    .decorative-heart-main {
        position: absolute;
        bottom: -25px;
        right: 10px;
        z-index: 10;
    }

    .decorative-heart-main img {
        width: 65px;
        height: 65px;
        opacity: 1;
    }

    .nos-casamos {
        position: absolute;
        top: 35px;
        left: 0;
        right: 0;
        margin: 0;
        letter-spacing: 3px;
        font-size: clamp(2.2rem, 9vw, 3.2rem);
        color: white;
        text-shadow:
            2px 4px 12px rgba(0, 0, 0, 0.6),
            0 2px 4px rgba(0, 0, 0, 0.4);
        z-index: 10;
        text-align: center;
        padding: 0 10px;
    }

    .play-button {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        animation: pulseGlowMobile 2.5s ease-in-out 2.5s infinite;
        margin-top: 15px;
    }

    .play-button::before {
        width: 40px;
        height: 40px;
    }

    .play-button svg {
        width: 35px;
        height: 35px;
    }

    @keyframes pulseGlowMobile {
        0%, 100% {
            transform: scale(1);
            filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.4));
        }
        50% {
            transform: scale(1.05);
            filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
        }
    }

    .hero-section {
        min-height: 60vh;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 20px;
        margin-bottom: 20px;
        max-width: 85%;
        width: 85%;
        border-radius: 15px;
        padding: 40px 20px;
    }

    .hero-content {
        padding: 3px 15px 25px;
    }

    .names {
        padding-top: 0.5rem;
        font-size: 14vw;
        margin-bottom: 1.5rem;
    }

    .names::before {
        top: -30px;
        font-size: 1.3rem;
    }

    .hero-text {
        font-size: clamp(0.95rem, 3.5vw, 1.2rem);
        margin-top: 2rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        padding: 0 10px;
    }

    .hero-star-top img,
    .hero-star-bottom img {
        width: 8vw;
        height: 8vw;
    }

    .dresscode-icon img {
        width: 7vw;
        height: 7vw;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 15px;
    }

    .countdown {
        gap: 0.3rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .countdown-item {
        min-width: 60px;
        padding: 8px 8px;
        gap: 0.3rem;
    }

    .countdown-number {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
        min-width: 2.5ch;
    }

    .countdown-label {
        font-size: clamp(0.55rem, 2vw, 0.65rem);
        letter-spacing: 0.5px;
    }

    section:not(.hero-section):not(.foto-principal-section) {
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 20px;
        margin-bottom: 20px;
        max-width: 85%;
        width: 85%;
        border-radius: 15px;
    }

    /* Cuando Section Mobile */
    .cuando-section {
        padding: 60px 20px 50px;
    }

    .section-tag {
        left: -10px;
        top: 20px;
        font-size: 0.8rem;
        padding: 6px 18px 6px 14px;
        letter-spacing: 1px;
    }

    .decorative-icon {
        top: 20px;
    }

    .decorative-icon img {
        width: 50px;
        height: 50px;
    }

    /* Ajuste para iconos en regalos, playlist y fotos mobile */
    .regalos-section .decorative-icon,
    .playlist-section .decorative-icon,
    .fotos-section .decorative-icon {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }

    .regalos-section .decorative-icon img,
    .playlist-section .decorative-icon img,
    .fotos-section .decorative-icon img {
        width: 60px;
        height: 60px;
    }

    .cuando-subtitle {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    .cuando-intro {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 2rem;
        font-weight: 900;
        -webkit-text-stroke: 0.3px var(--color-gris-medio);
        text-shadow: 0 0 0.5px var(--color-gris-medio);
    }

    .cuando-fecha {
        font-size: clamp(2rem, 8vw, 3.5rem);
        letter-spacing: 2px;
        margin-bottom: 2rem;
    }

    .cuando-year {
        font-size: clamp(1.8rem, 7vw, 3rem);
        letter-spacing: 3px;
    }

    .cuando-final {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        font-weight: 900;
        -webkit-text-stroke: 0.3px var(--color-gris-medio);
        text-shadow: 0 0 0.5px var(--color-gris-medio);
    }

    /* Nosotros Section Mobile */
    .nosotros-section {
        padding: 40px 20px;
    }

    .nosotros-section .section-title {
        font-size: clamp(2.5rem, 7.5vw, 3.8rem);
    }

    .nosotros-text {
        font-size: clamp(0.95rem, 3.5vw, 1.2rem);
        margin-bottom: 30px;
        font-weight: 900;
        -webkit-text-stroke: 0.3px var(--color-gris-medio);
        text-shadow: 0 0 0.5px var(--color-gris-medio);
    }

    /* Donde Section Mobile */
    .donde-section {
        position: relative;
        padding: 60px 20px 50px;
        overflow: visible;
    }

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

    .donde-title {
        font-family: var(--font-heading);
        font-size: clamp(2.5rem, 7.5vw, 3.8rem);
        color: var(--color-text);
        margin-bottom: 1.5rem;
        letter-spacing: 0;
        position: relative;
        padding-bottom: 1.5rem;
    }

    .donde-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--color-text), transparent);
    }

    .donde-info {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-top: 2rem;
    }

    .donde-time {
        font-family: var(--font-secondary);
        font-size: clamp(2rem, 7vw, 3rem);
        color: var(--color-gris-oscuro);
        font-weight: 900;
        letter-spacing: 2px;
        margin-bottom: 0.5rem;
    }

    .donde-venue {
        font-family: var(--font-body);
        font-size: clamp(1.1rem, 3.5vw, 1.4rem);
        color: var(--color-text);
        font-weight: 900;
        margin-bottom: 0.3rem;
        -webkit-text-stroke: 0.3px var(--color-text);
        text-shadow: 0 0 0.5px var(--color-text);
    }

    .donde-address {
        font-family: var(--font-body);
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        color: var(--color-gris-medio);
        font-style: italic;
        margin-bottom: 1.5rem;
        font-weight: 900;
        -webkit-text-stroke: 0.5px var(--color-gris-medio);
        text-shadow: 0 0 1px var(--color-gris-medio);
    }

    .btn-map {
        font-family: var(--font-body);
        background: transparent;
        color: var(--color-gris-oscuro);
        border: 2px solid var(--color-gris-oscuro);
        padding: 10px 30px;
        border-radius: 5px;
        text-decoration: none;
        font-size: clamp(0.85rem, 2.8vw, 0.95rem);
        letter-spacing: 1.5px;
        text-transform: uppercase;
        transition: all 0.3s ease;
        display: inline-block;
        margin-bottom: 1.5rem;
        font-weight: 900;
        -webkit-text-stroke: 0.3px var(--color-gris-oscuro);
        text-shadow: 0 0 0.5px var(--color-gris-oscuro);
    }

    .btn-map:hover {
        background: var(--color-gris-oscuro);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .donde-note {
        font-family: var(--font-body);
        font-size: clamp(0.85rem, 2.5vw, 1rem);
        color: var(--color-gris-oscuro);
        font-style: italic;
        line-height: 1.8;
        max-width: 90%;
        margin: 0 auto;
        font-weight: 900;
        -webkit-text-stroke: 0.3px var(--color-gris-oscuro);
        text-shadow: 0 0 0.5px var(--color-gris-oscuro);
    }

    /* Dresscode Section Mobile */
    .dresscode-section {
        min-height: 500px;
        padding: 50px 20px;
    }

    .dresscode-content {
        padding: 40px 25px;
    }

    .dresscode-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        letter-spacing: 4px;
        margin-bottom: 1rem;
        font-weight: 700;
        -webkit-text-stroke: 0.3px var(--color-beige);
        text-shadow: 0 0 0.5px var(--color-beige);
    }

    .dresscode-type {
        font-size: clamp(3.5rem, 15vw, 7rem);
        letter-spacing: 0;
        margin-bottom: 1.5rem;
    }

    .dresscode-description {
        font-size: clamp(0.95rem, 3vw, 1.15rem);
        line-height: 1.7;
        font-weight: 500;
        font-style: italic;
        -webkit-text-stroke: 0.1px var(--color-beige);
        text-shadow: 0 0 0.2px var(--color-beige);
    }

    .dresscode-stars {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }

    /* Confirmacion/Regalos/Playlist/Fotos Sections Mobile */
    .confirmacion-section,
    .regalos-section,
    .playlist-section,
    .fotos-section {
        min-height: 450px;
        padding: 50px 20px;
    }

    .confirmacion-content,
    .regalos-content,
    .playlist-content,
    .fotos-content {
        padding: 40px 20px;
    }

    .datos-cuenta {
        padding: 20px 15px;
    }

    .datos-cuenta p {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        font-weight: 900;
        -webkit-text-stroke: 0.3px var(--color-gris-oscuro);
        text-shadow: 0 0 0.5px var(--color-gris-oscuro);
    }

    /* Footer Mobile */
    .footer {
        padding: 30px 20px;
    }

    .footer-names {
        font-family: var(--font-heading);
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 0.5rem;
        letter-spacing: 0;
    }

    .footer-date {
        font-family: var(--font-body);
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 1rem;
        opacity: 0.9;
    }

    .attribution {
        font-size: 0.8rem;
        opacity: 1;
        line-height: 1.6;
        margin-top: 1rem;
    }

    .attribution a {
        color: white;
        text-decoration: underline;
        opacity: 1;
        font-weight: 500;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
