/* ==================== VARIABLES ==================== */
:root {
    /* Colores principales */
    --gold-primary: #8B9D83;
    --gold-dark: #6B7D63;
    --cream: #F5F5F0;
    --beige: #E8F0E8;
    
    /* Acentos */
    --rose-pastel: #E8F0E8;
    --sage-green: #C9D1C8;
    --lavender: #E8F0E8;
    
    /* Texto */
    --text-primary: #2C3428;
    --text-secondary: #5C6D5A;
    --text-on-gold: #FFFFFF;
    
    /* Tipografías */
    --font-heading: 'Cormorant Garamond', serif;
    --font-script: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* ==================== RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--cream);
    background-image: url('background.svg');
    background-position: top center;
    background-repeat: repeat-x;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==================== UTILIDADES ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.section-decoration {
    font-size: 2rem;
    margin-top: var(--spacing-sm);
}

/* ==================== BOTONES ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

.btn--primary {
    background: var(--gold-dark);
    color: var(--text-on-gold);
}

.btn--primary:hover {
    background: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 157, 131, 0.3);
}

.btn--secondary {
    background: var(--beige);
    color: var(--text-primary);
    border: 2px solid var(--gold-dark);
}

.btn--secondary:hover {
    background: var(--gold-dark);
    color: var(--text-on-gold);
}

.btn--cta {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-on-gold);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(139, 157, 131, 0.4);
}

.btn--cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 157, 131, 0.5);
}

.btn--outline {
    background: transparent;
    color: var(--gold-dark);
    border: 2px solid var(--gold-dark);
    padding: 0.8rem 1.5rem;
}

.btn--outline:hover {
    background: var(--gold-dark);
    color: var(--text-on-gold);
}

.btn-copy {
    background: var(--beige);
    border: 1px solid var(--gold-dark);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: var(--gold-primary);
    transform: scale(1.1);
}

/* ==================== MODAL DE BIENVENIDA ==================== */
.welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 36, 22, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.5s ease;
}

.welcome-modal.hidden {
    display: none;
}

.welcome-modal__content {
    background: var(--cream);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
}

.welcome-modal__decoration {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.welcome-modal__title {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--gold-dark);
    margin-bottom: var(--spacing-sm);
}

.welcome-modal__text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.welcome-modal__question {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.welcome-modal__buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}

/* ==================== NAVEGACIÓN ==================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--rose-pastel);
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.main-nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.main-nav__logo {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--gold-dark);
}

.main-nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
}

.main-nav__hamburger span {
    width: 100%;
    height: 3px;
    background: var(--gold-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.main-nav__menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.main-nav__menu a {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav__menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.main-nav__menu a:hover {
    color: var(--gold-dark);
}

.main-nav__menu a:hover::after {
    width: 100%;
}

/* ==================== BOTÓN FLOTANTE ==================== */
.floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-on-gold);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(139, 157, 131, 0.4);
    z-index: 999;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 157, 131, 0.6);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(44, 36, 22, 0.3), rgba(44, 36, 22, 0.5));
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-on-gold);
    padding: var(--spacing-md);
}

.hero__decoration {
    margin: var(--spacing-md) auto;
}

.floral-divider {
    width: 200px;
    height: 60px;
}

.hero__names {
    font-family: var(--font-script);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 400;
    margin: var(--spacing-sm) 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__ampersand {
    font-size: 0.8em;
    color: var(--gold-primary);
}

.hero__date {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 0.3em;
    margin: var(--spacing-sm) 0;
    text-transform: uppercase;
}

.hero__location {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-on-gold);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero__scroll-arrow {
    font-size: 2rem;
    margin-top: 0.5rem;
}

/* ==================== MÚSICA ==================== */
.music-section {
    padding: var(--spacing-lg) 0;
}

.music-player {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--cream);
    padding: var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.music-player__vinyl {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2C2416, #5C4A2F);
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.music-player__vinyl.spinning {
    animation: spin 3s linear infinite;
}

.music-player__vinyl-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gold-primary);
    border: 2px solid var(--text-on-gold);
}

.music-player__info {
    flex: 1;
}

.music-player__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.music-player__subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.music-player__toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-dark);
    color: var(--text-on-gold);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.music-player__toggle:hover {
    background: var(--gold-primary);
    transform: scale(1.1);
}

/* ==================== CUENTA ATRÁS ==================== */
.countdown-section {
    padding: var(--spacing-lg) var(--spacing-sm);
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.countdown__item {
    background: var(--cream);
    padding: var(--spacing-sm) var(--spacing-xs);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 0;
}

.countdown__number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1.2;
}

.countdown__label {
    display: block;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.countdown__details {
    text-align: center;
    background: var(--cream);
    padding: var(--spacing-md);
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.countdown__date,
.countdown__place {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin: 0.5rem 0;
    word-break: break-word;
}

.countdown__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.btn--calendar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-on-gold);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    border: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 157, 131, 0.3);
}

.btn--calendar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 157, 131, 0.4);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
}

.btn--maps {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.btn--maps:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
    background: linear-gradient(135deg, #3367D6, #2D9348);
}

/* ==================== LUGARES ==================== */
.places-section {
    padding: var(--spacing-xl) 0;
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: var(--spacing-md);
}

.places-grid__item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.places-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.places-grid__item:hover img {
    transform: scale(1.1);
}

.places-grid__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.places-grid__item--tall {
    grid-row: span 2;
}

.places-grid__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    .places-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .places-grid__item--large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .places-grid__item--tall {
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .places-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    
    .places-grid__item--large,
    .places-grid__item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 250px;
    background: linear-gradient(135deg, var(--beige), var(--sage-green));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: var(--spacing-md);
    text-align: center;
}

.image-placeholder span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.image-placeholder__note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ==================== TIMELINE ==================== */
.timeline-section {
    padding: var(--spacing-xl) 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold-primary);
    transform: translateX(-50%);
}

.timeline__item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline__item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline__icon {
    width: 80px;
    height: 80px;
    background: var(--cream);
    border: 4px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline__content {
    flex: 1;
    background: var(--cream);
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline__time {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

.timeline__title {
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline__description {
    color: var(--text-secondary);
}

/* ==================== RSVP ==================== */
.rsvp-section {
    padding: var(--spacing-xl) 0;
}

.rsvp-card {
    background: var(--cream);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.rsvp-card__text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: var(--spacing-md) 0;
}

.rsvp-card__text strong {
    color: var(--gold-dark);
}

/* ==================== ÁLBUM ==================== */
.album-section {
    padding: var(--spacing-xl) 0;
}

.album-card {
    background: var(--beige);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border: 2px dashed var(--gold-primary);
}

.album-card__icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.album-card__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.album-card__text {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* ==================== CONTACTO ==================== */
.contact-section {
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-card {
    background: var(--cream);
    padding: var(--spacing-md);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-card__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.contact-card__name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold-dark);
    margin-bottom: var(--spacing-sm);
}

.contact-card__info {
    margin-top: var(--spacing-sm);
}

.contact-card__label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-card__value-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-card__value {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.contact-card__value--link {
    text-decoration: none;
    color: var(--gold-primary);
    transition: all 0.3s ease;
}

.contact-card__value--link:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

.bank-info {
    background: var(--cream);
    padding: var(--spacing-lg);
    border-radius: 15px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    border: 2px solid var(--gold-primary);
}

.bank-info__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.bank-info__subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.bank-info__iban-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
}

.bank-info__iban {
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--text-primary);
    background: var(--beige);
    padding: 1rem;
    border-radius: 10px;
    letter-spacing: 0.1em;
}

/* ==================== AGRADECIMIENTOS ==================== */
.thanks-section {
    padding: var(--spacing-xl) 0;
}

.thanks-card {
    background: var(--cream);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.thanks-card__decoration {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.thanks-card__title {
    font-family: var(--font-script);
    font-size: 3.5rem;
    color: var(--gold-dark);
    margin-bottom: var(--spacing-md);
}

.thanks-card__text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.thanks-card__signature {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-top: var(--spacing-md);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--text-primary);
    color: var(--cream);
    text-align: center;
    padding: var(--spacing-md);
}

/* ==================== ANIMACIONES ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* ==================== APLICAR ANIMACIONES ==================== */

/* Hero con animaciones */
.hero__names {
    animation: fadeIn 1.2s ease-out;
}

.hero__date {
    animation: fadeIn 1.5s ease-out;
}

.hero__location {
    animation: fadeIn 1.8s ease-out;
}

.hero__decoration--top {
    animation: fadeInLeft 1s ease-out;
}

.hero__decoration--bottom {
    animation: fadeInRight 1s ease-out;
}

.hero__scroll-arrow {
    animation: bounce 2s infinite;
}

/* Floating decorations */
.section-decoration {
    animation: float 3s ease-in-out infinite;
}

/* Cards con hover mejorado */
.contact-card,
.rsvp-card,
.album-card,
.thanks-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-card:hover,
.rsvp-card:hover,
.album-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Timeline items alternados */
.timeline__item:nth-child(odd) {
    animation: fadeInLeft 0.8s ease-out;
}

.timeline__item:nth-child(even) {
    animation: fadeInRight 0.8s ease-out;
}

.timeline__icon {
    transition: all 0.3s ease;
}

.timeline__item:hover .timeline__icon {
    transform: scale(1.2) rotate(10deg);
}

/* Countdown items */
.countdown__item {
    animation: scaleIn 0.6s ease-out;
    transition: all 0.3s ease;
}

.countdown__item:nth-child(1) { animation-delay: 0.1s; }
.countdown__item:nth-child(2) { animation-delay: 0.2s; }
.countdown__item:nth-child(3) { animation-delay: 0.3s; }
.countdown__item:nth-child(4) { animation-delay: 0.4s; }

.countdown__item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(139, 157, 131, 0.3);
}

/* Places grid con stagger effect */
.places-grid__item {
    animation: scaleIn 0.8s ease-out;
    animation-fill-mode: both;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.places-grid__item:nth-child(1) { animation-delay: 0.1s; }
.places-grid__item:nth-child(2) { animation-delay: 0.2s; }
.places-grid__item:nth-child(3) { animation-delay: 0.3s; }
.places-grid__item:nth-child(4) { animation-delay: 0.4s; }

.places-grid__item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.places-grid__item img {
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.places-grid__item:hover img {
    transform: scale(1.15) rotate(2deg);
}

/* Botones con efecto ripple mejorado */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
}

/* Music player animations */
.music-player {
    transition: all 0.3s ease;
}

.music-player:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 157, 131, 0.2);
}

.music-player__vinyl {
    transition: all 0.4s ease;
}

.music-player:hover .music-player__vinyl {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(44, 36, 22, 0.3);
}

.music-player__toggle {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.music-player__toggle:hover {
    transform: scale(1.2) rotate(90deg);
}

/* Floating button enhanced */
.floating-btn {
    animation: pulse 2s infinite, float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-btn:hover {
    animation: none;
    transform: translateY(-5px) scale(1.1);
}

/* Navigation smooth */
.main-nav__menu a {
    position: relative;
    transition: all 0.3s ease;
}

.main-nav__menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
    transition: width 0.3s ease;
}

.main-nav__menu a:hover::after {
    width: 100%;
}

.main-nav__logo {
    transition: all 0.3s ease;
}

.main-nav__logo:hover {
    transform: scale(1.1);
    color: var(--gold-primary);
    text-shadow: 0 5px 15px rgba(139, 157, 131, 0.3);
}

/* Bank info hover */
.bank-info__iban {
    transition: all 0.3s ease;
}

.bank-info__iban:hover {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-on-gold);
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(139, 157, 131, 0.3);
}

/* Copy button animation */
.btn-copy {
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: var(--gold-primary);
    transform: scale(1.2) rotate(15deg);
    box-shadow: 0 5px 15px rgba(139, 157, 131, 0.3);
}

/* Thanks decorations floating */
.thanks-card__decoration {
    animation: float 4s ease-in-out infinite;
}

/* Section headers fade in */
.section-header {
    animation: fadeIn 0.8s ease-out;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    transition: width 0.6s ease;
}

.section-header:hover .section-title::after {
    width: 100%;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .main-nav__hamburger {
        display: flex;
    }
    
    .main-nav__menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--cream);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    
    .main-nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline__item,
    .timeline__item:nth-child(even) {
        flex-direction: row;
    }
    
    .places-grid__item--large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .places-grid__item--tall {
        grid-row: span 1;
    }
    
    .floating-btn {
        bottom: 1rem;
        right: 1rem;
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
    }
    
    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .countdown__item {
        padding: var(--spacing-sm);
    }
    
    .hero__names {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero__date {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }
    
    .hero__location {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
    
    .music-player {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .music-player__vinyl {
        margin: 0 auto;
    }
    
    .bank-info__iban {
        font-size: 0.8rem;
        word-break: break-all;
        padding: 0.8rem;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .timeline__content {
        padding: var(--spacing-sm);
    }
    
    .timeline__time {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
        --spacing-md: 1rem;
        --spacing-sm: 0.75rem;
    }
    
    .welcome-modal__content {
        padding: var(--spacing-md);
        margin: var(--spacing-sm);
    }
    
    .welcome-modal__buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
    }
    
    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .countdown__item {
        padding: 0.75rem 0.5rem;
    }
    
    .countdown__number {
        font-size: clamp(1.5rem, 10vw, 2rem);
    }
    
    .countdown__label {
        font-size: 0.7rem;
    }
    
    .countdown__details {
        padding: var(--spacing-sm);
        margin: 0 var(--spacing-sm);
    }
    
    .hero__scroll-indicator {
        font-size: 0.85rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .rsvp-card,
    .album-card,
    .thanks-card {
        padding: var(--spacing-md);
    }
}