* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    background: #0d0d0d;
    color: #2c2c2c;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* FONDO ANIMADO ELEGANTE */
.background-elegant {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(139, 116, 75, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(184, 157, 102, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #f8f6f1 0%, #ebe8df 50%, #e5e1d5 100%);
    z-index: 0;
    overflow: hidden;
}

.elegant-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.particle-elegant {
    position: absolute;
    background: radial-gradient(circle, rgba(139, 116, 75, 0.6) 0%, rgba(184, 157, 102, 0.4) 50%, transparent 100%);
    border-radius: 50%;
    animation: floatElegant 30s infinite ease-in-out;
    filter: blur(0.5px);
    z-index: 1;
}

.particle-elegant:nth-child(1) {
    width: 6px;
    height: 6px;
    top: 10%;
    left: 20%;
    animation-duration: 35s;
    animation-delay: 0s;
}

.particle-elegant:nth-child(2) {
    width: 4px;
    height: 4px;
    top: 25%;
    left: 75%;
    animation-duration: 40s;
    animation-delay: 5s;
}

.particle-elegant:nth-child(3) {
    width: 7px;
    height: 7px;
    top: 60%;
    left: 15%;
    animation-duration: 45s;
    animation-delay: 10s;
}

.particle-elegant:nth-child(4) {
    width: 5px;
    height: 5px;
    top: 80%;
    left: 85%;
    animation-duration: 38s;
    animation-delay: 15s;
}

.particle-elegant:nth-child(5) {
    width: 6px;
    height: 6px;
    top: 40%;
    left: 50%;
    animation-duration: 42s;
    animation-delay: 20s;
}

.particle-elegant:nth-child(6) {
    width: 4px;
    height: 4px;
    top: 15%;
    left: 60%;
    animation-duration: 36s;
    animation-delay: 25s;
}

.particle-elegant:nth-child(7) {
    width: 8px;
    height: 8px;
    top: 70%;
    left: 40%;
    animation-duration: 44s;
    animation-delay: 8s;
}

.particle-elegant:nth-child(8) {
    width: 5px;
    height: 5px;
    top: 90%;
    left: 30%;
    animation-duration: 39s;
    animation-delay: 12s;
}

.particle-elegant:nth-child(9) {
    width: 6px;
    height: 6px;
    top: 30%;
    left: 10%;
    animation-duration: 41s;
    animation-delay: 18s;
}

.particle-elegant:nth-child(10) {
    width: 7px;
    height: 7px;
    top: 85%;
    left: 70%;
    animation-duration: 37s;
    animation-delay: 22s;
}

@keyframes floatElegant {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(60px, -80px) scale(1.3);
        opacity: 0.8;
    }
    50% {
        transform: translate(-40px, -150px) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translate(70px, -100px) scale(1.2);
        opacity: 0.7;
    }
}

.golden-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 30%, rgba(139, 116, 75, 0.08) 31%, transparent 32%);
    animation: waveRotate 60s linear infinite;
}

.wave:nth-child(2) {
    animation-duration: 80s;
    animation-direction: reverse;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 40%, rgba(184, 157, 102, 0.06) 41%, transparent 42%);
}

.wave:nth-child(3) {
    animation-duration: 100s;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(212, 175, 55, 0.05) 51%, transparent 52%);
}

@keyframes waveRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.shimmer-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 60%,
        transparent 100%
    );
    background-size: 200% 200%;
    animation: shimmerMove 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes shimmerMove {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

.floating-ornaments {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.ornament-float {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(139, 116, 75, 0.3);
    transform: rotate(45deg);
    animation: ornamentDrift 40s infinite ease-in-out;
    opacity: 0.4;
}

.ornament-float::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 1px solid rgba(139, 116, 75, 0.2);
}

.ornament-float:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.ornament-float:nth-child(2) {
    top: 50%;
    right: 15%;
    animation-delay: 10s;
    animation-duration: 50s;
}

.ornament-float:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 20s;
    animation-duration: 45s;
}

.ornament-float:nth-child(4) {
    top: 70%;
    right: 25%;
    animation-delay: 15s;
    animation-duration: 55s;
}

@keyframes ornamentDrift {
    0%, 100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.4;
    }
    25% {
        transform: rotate(90deg) translate(50px, -60px);
        opacity: 0.6;
    }
    50% {
        transform: rotate(135deg) translate(-30px, -100px);
        opacity: 0.3;
    }
    75% {
        transform: rotate(180deg) translate(60px, -80px);
        opacity: 0.5;
    }
}

.texture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 116, 75, 0.04) 2px, rgba(139, 116, 75, 0.04) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 116, 75, 0.04) 2px, rgba(139, 116, 75, 0.04) 4px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

.ornamental-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.line-decoration {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(139, 116, 75, 0.25), transparent);
    height: 1px;
    animation: lineFloat 25s infinite ease-in-out;
    opacity: 0.5;
}

.line-decoration:nth-child(1) {
    top: 15%;
    left: -20%;
    width: 40%;
    animation-delay: 0s;
}

.line-decoration:nth-child(2) {
    top: 35%;
    right: -20%;
    width: 35%;
    animation-delay: 5s;
}

.line-decoration:nth-child(3) {
    top: 55%;
    left: -15%;
    width: 30%;
    animation-delay: 10s;
}

.line-decoration:nth-child(4) {
    top: 75%;
    right: -25%;
    width: 45%;
    animation-delay: 15s;
}

.line-decoration:nth-child(5) {
    top: 25%;
    left: -10%;
    width: 25%;
    animation-delay: 8s;
}

@keyframes lineFloat {
    0%, 100% {
        transform: translateX(0) scaleX(1);
        opacity: 0.4;
    }
    50% {
        transform: translateX(150px) scaleX(1.3);
        opacity: 0.8;
    }
}

.music-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(139, 116, 75, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 22px;
}

.music-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 116, 75, 0.25);
    border-color: rgba(139, 116, 75, 0.5);
}

.music-toggle.active {
    animation: musicBeat 1.5s ease-in-out infinite;
}

@keyframes musicBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.container {
    position: relative;
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 30px;
    z-index: 10;
}

.invitation-card {
    background: linear-gradient(180deg, #ffffff 0%, #fefefe 100%);
    border: 1px solid rgba(139, 116, 75, 0.2);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.card-border {
    position: absolute;
    border: 2px solid rgba(139, 116, 75, 0.25);
    pointer-events: none;
    z-index: 10;
}

.card-border.outer {
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
}

.card-border.inner {
    top: 25px;
    left: 25px;
    right: 25px;
    bottom: 25px;
    border-color: rgba(139, 116, 75, 0.15);
}

.corner-accent {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: none;
    z-index: 11;
}

.corner-accent::before,
.corner-accent::after {
    content: '';
    position: absolute;
    background: rgba(139, 116, 75, 0.4);
}

.corner-accent::before {
    width: 25px;
    height: 1px;
}

.corner-accent::after {
    width: 1px;
    height: 25px;
}

.corner-accent.tl {
    top: 20px;
    left: 20px;
}

.corner-accent.tl::before {
    top: 0;
    left: 0;
}

.corner-accent.tl::after {
    top: 0;
    left: 0;
}

.corner-accent.tr {
    top: 20px;
    right: 20px;
}

.corner-accent.tr::before {
    top: 0;
    right: 0;
}

.corner-accent.tr::after {
    top: 0;
    right: 0;
}

.corner-accent.bl {
    bottom: 20px;
    left: 20px;
}

.corner-accent.bl::before {
    bottom: 0;
    left: 0;
}

.corner-accent.bl::after {
    bottom: 0;
    left: 0;
}

.corner-accent.br {
    bottom: 20px;
    right: 20px;
}

.corner-accent.br::before {
    bottom: 0;
    right: 0;
}

.corner-accent.br::after {
    bottom: 0;
    right: 0;
}

.header-section {
    padding: 80px 60px 60px;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 246, 241, 0.3) 100%);
}

.ornament-top {
    width: 60px;
    height: 60px;
    margin: 0 auto 30px;
    border: 1px solid rgba(139, 116, 75, 0.3);
    transform: rotate(45deg);
    position: relative;
    opacity: 0;
    animation: fadeInRotate 1.2s ease 0.3s forwards;
}

.ornament-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 35px;
    height: 35px;
    border: 1px solid rgba(139, 116, 75, 0.2);
}

@keyframes fadeInRotate {
    from {
        opacity: 0;
        transform: rotate(45deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

.label-text {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(139, 116, 75, 0.8);
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 20px 0;
    letter-spacing: 8px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInScale 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.divider {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 116, 75, 0.5), transparent);
    margin: 30px auto;
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(139, 116, 75, 0.6);
    border-radius: 50%;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.honoree-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 500;
    color: rgba(139, 116, 75, 0.9);
    margin: 30px 0;
    letter-spacing: 2px;
    font-style: italic;
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
}

.date-time {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #5a5a5a;
    margin-top: 25px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.3s forwards;
}

/* CORRECCIÓN: Imagen principal con más espacio alrededor */
.hero-image-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin: 40px 50px; /* Más espacio alrededor */
    border-radius: 4px;
    border: 1px solid rgba(139, 116, 75, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.05) brightness(0.95);
    transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-section:hover .hero-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
}

.content-section {
    padding: 70px 60px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-ornament {
    width: 40px;
    height: 40px;
    margin: 0 auto 25px;
    border: 1px solid rgba(139, 116, 75, 0.3);
    transform: rotate(45deg);
    position: relative;
}

.section-ornament::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: rgba(139, 116, 75, 0.15);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 600;
    color: #2c2c2c;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 16px;
    color: #6a6a6a;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

.message-box {
    background: rgba(248, 246, 241, 0.5);
    border: 1px solid rgba(139, 116, 75, 0.15);
    padding: 50px;
    margin: 50px 0;
    text-align: center;
    position: relative;
}

.message-box::before,
.message-box::after {
    content: '"';
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    color: rgba(139, 116, 75, 0.2);
    position: absolute;
}

.message-box::before {
    top: 10px;
    left: 30px;
}

.message-box::after {
    bottom: -10px;
    right: 30px;
    content: '"';
}

.message-text {
    font-size: 20px;
    line-height: 1.9;
    color: #3a3a3a;
    max-width: 750px;
    margin: 0 auto;
}

.details-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.detail-box {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(139, 116, 75, 0.2);
    padding: 45px 35px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.detail-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 116, 75, 0.5), transparent);
}

.detail-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(139, 116, 75, 0.4);
}

.detail-icon {
    font-size: 36px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.detail-label {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(139, 116, 75, 0.8);
    margin-bottom: 15px;
}

.detail-content {
    font-size: 18px;
    line-height: 1.7;
    color: #3a3a3a;
}

.venue-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin: 60px 0;
}

.venue-image-wrapper {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 116, 75, 0.2);
    margin: 0 20px; /* Más espacio alrededor de las imágenes secundarias */
}

.venue-image-wrapper::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(139, 116, 75, 0.15);
    z-index: 2;
    pointer-events: none;
}

.venue-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(15%) contrast(1.05);
}

.venue-image-wrapper:hover .venue-image {
    transform: scale(1.08);
}

.venue-info {
    padding: 20px 0;
}

.venue-title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.venue-description {
    font-size: 17px;
    line-height: 1.9;
    color: #4a4a4a;
    margin-bottom: 35px;
}

.venue-details {
    list-style: none;
}

.venue-detail-item {
    padding: 18px 0;
    border-bottom: 1px solid rgba(139, 116, 75, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: #3a3a3a;
    transition: all 0.3s ease;
}

.venue-detail-item:hover {
    padding-left: 10px;
    color: rgba(139, 116, 75, 0.9);
}

.venue-detail-item:last-child {
    border-bottom: none;
}

.gallery-section {
    margin: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
    padding: 0 20px; /* Más espacio alrededor de la galería */
}

.gallery-item {
    position: relative;
    height: 280px;
    overflow: hidden;
    border: 1px solid rgba(139, 116, 75, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(10%);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.action-section {
    background: linear-gradient(180deg, rgba(248, 246, 241, 0.4), rgba(255, 255, 255, 0.2));
    border-top: 1px solid rgba(139, 116, 75, 0.15);
    border-bottom: 1px solid rgba(139, 116, 75, 0.15);
    padding: 70px 60px;
    margin: 60px 0;
    text-align: center;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 45px;
}

.btn {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 40px;
    border: 1px solid rgba(139, 116, 75, 0.4);
    background: #ffffff;
    color: #2c2c2c;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(139, 116, 75, 0.1);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.btn:hover::before {
    left: 0;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn:hover {
    border-color: rgba(139, 116, 75, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-primary {
    background: rgba(139, 116, 75, 0.85);
    color: #ffffff;
    border-color: rgba(139, 116, 75, 0.85);
}

.btn-primary:hover {
    background: rgba(139, 116, 75, 1);
    border-color: rgba(139, 116, 75, 1);
}

.btn.confirmed {
    background: #666;
    border-color: #666;
    color: #fff;
    cursor: not-allowed;
}

.additional-info {
    padding: 50px 60px;
    text-align: center;
}

.info-text {
    font-size: 17px;
    line-height: 1.9;
    color: #4a4a4a;
    max-width: 750px;
    margin: 0 auto;
}

.footer-section {
    border-top: 1px solid rgba(139, 116, 75, 0.15);
    padding: 60px;
    text-align: center;
}

.footer-ornament {
    width: 50px;
    height: 50px;
    margin: 0 auto 30px;
    border: 1px solid rgba(139, 116, 75, 0.3);
    transform: rotate(45deg);
    position: relative;
}

.footer-ornament::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 28px;
    height: 28px;
    border: 1px solid rgba(139, 116, 75, 0.2);
}

.footer-message {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 15px;
    font-style: italic;
}

.footer-signature {
    font-size: 15px;
    color: #6a6a6a;
    letter-spacing: 1px;
}

.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-right.visible {
    opacity: 1;
    transform: translateX(0);
}

#youtubePlayer {
    display: none;
}

@media (max-width: 768px) {
    .container {
        margin: 40px auto;
        padding: 0 20px;
    }

    .header-section {
        padding: 60px 30px 40px;
    }

    .main-title {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .honoree-name {
        font-size: 40px;
    }

    .content-section {
        padding: 50px 30px;
    }

    .details-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .venue-section {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .button-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .music-toggle {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* CORRECCIÓN RESPONSIVE: Imagen principal en móviles con más espacio */
    .hero-image-section {
        margin: 30px 25px;
        height: 350px;
    }
    
    .venue-image-wrapper {
        margin: 0 10px;
    }
}