:root {
    --primary: #a11212;
    --primary-dark: #7a0c0c;
    --primary-light: #c94444;
    --primary-glow: rgba(161, 18, 18, 0.4);
    --gold: #c9a14a;
    --gold-light: #dfc078;
    --bg-light: #f8f6f4;
    --bg-cream: #f5f0ed;
    --white: #ffffff;
    --text-dark: #2d2d2d;
    --text-medium: #5a5a5a;
    --text-light: #8a8a8a;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-script: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;
    --shadow-soft: 0 8px 32px rgba(161, 18, 18, 0.08);
    --shadow-medium: 0 12px 48px rgba(161, 18, 18, 0.12);
    --shadow-glow: 0 0 40px rgba(161, 18, 18, 0.25);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-light);
    color: var(--text-medium);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    display: flex;
    justify-content: center;
}

.main-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    text-align: center;
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(161, 18, 18, 0.3);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px) scale(0.5);
        opacity: 0;
    }
}

/* Gradient Orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: orb-float 20s infinite ease-in-out;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 161, 74, 0.2) 0%, transparent 70%);
    bottom: 20%;
    left: -100px;
    animation: orb-float 25s infinite ease-in-out reverse;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* HERO SECTION */
.hero {
    height: 100vh !important;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        var(--primary-dark) 0%,
        var(--primary) 50%,
        var(--primary-light) 100%
    );
    opacity: 0.2;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0,0,0,0.1) 0%, transparent 50%);
}

/* Hero Animations */
.animate-fade {
    animation: heroFadeIn 1s ease forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

.animate-scale {
    animation: heroScaleIn 1s var(--transition-bounce) forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

.animate-fade-delay {
    animation: heroFadeIn 1s ease forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

.animate-fade-delay-2 {
    animation: heroFadeIn 1s ease forwards;
    opacity: 0;
    animation-delay: 1.1s;
}

.animate-fade-delay-3 {
    animation: heroFadeIn 1s ease forwards;
    opacity: 0;
    animation-delay: 1.4s;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroScaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Hero Decorations */
.hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.hero-decoration .decoration-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.hero-decoration .decoration-diamond {
    color: var(--gold);
    font-size: 0.75rem;
    opacity: 0.8;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.5em;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 15vw, 5rem);
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

.hero-script {
    margin: 1.5rem 0;
}

.script-text {
    font-family: var(--font-script);
    font-size: clamp(3rem, 15vw, 5rem);
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.divider-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
}

.divider-icon {
    color: var(--gold);
    font-size: 0.875rem;
}

.hero-info {
    margin-top: 1rem;
}

.hero-date {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.1em;
}

.hero-time {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-top: 0.25rem;
}

.hero-decoration.bottom {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    animation: scrollBounce 2s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(45deg);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* SECTIONS */
.section {
    padding: 60px 20px;
    margin: 0 !important;
    width: 100%;
    position: relative;
}

.section-inner {
    max-width: 550px;
    margin: 0 auto;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: var(--shadow-medium);
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.header-ornament {
    color: var(--gold);
    font-size: 0.625rem;
    opacity: 0.8;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.05em;
}

/* Decorative Dividers */
.decorative-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.decorative-divider .line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.decorative-divider .icon {
    color: var(--gold);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* MESSAGE SECTION */
.message-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-cream) 100%);
}

.message-card {
    padding: 2.5rem 2rem;
    position: relative;
}

.message-main {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.message-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(161, 18, 18, 0.05), rgba(201, 161, 74, 0.05));
    border-radius: 16px;
    border-left: 3px solid var(--primary);
    border-right: 3px solid var(--gold);
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.4;
    line-height: 1;
}

.message-quote p {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--primary);
    text-align: center;
}

/* CONFIRMATION SECTION */
.confirmation-section {
    background: var(--white);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* BUTTONS */
.btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    min-width: 220px;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-gift {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-gift:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(201, 161, 74, 0.4);
}

/* Glow Effect */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    pointer-events: none;
}

.glow-effect:hover::after {
    width: 300px;
    height: 300px;
}

/* LOCATION SECTION */
.location-section {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-light) 100%);
}

.location-card {
    padding: 2.5rem 2rem;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.card-address {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* GIFT SECTION */
.gift-section {
    background: var(--white);
}

.gift-card {
    padding: 2.5rem 2rem;
}

.gift-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.gift-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* GALLERY SECTION */
.gallery-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-cream) 100%);
    padding: 5rem 1rem;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, #f0e6e6, #f8f0f0);
    aspect-ratio: 1;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    transition-delay: calc(var(--stagger) * 0.1s);
}

.gallery-item:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(161, 18, 18, 0.4) 100%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-icon {
    opacity: 1;
    transform: scale(1);
}

/* DRESSCODE SECTION */
.dresscode-section {
    background: var(--white);
}

.dresscode-card {
    padding: 2.5rem 2rem;
}

.dresscode-formality {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.formality-icon {
    font-size: 2.5rem;
    color: var(--gold);
}

.formality-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--primary);
}

.dresscode-description {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.palette-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.palette-colors {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    cursor: pointer;
}

.color-swatch:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* COUNTDOWN SECTION */
.countdown-section {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-light) 100%);
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.countdown-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    min-width: 70px;
    border-radius: 16px;
}

.countdown-number {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    font-weight: 600;
    color: var(--primary);
    line-height: 1;
    transition: transform 0.3s ease;
}

.countdown-number.tick {
    animation: numberTick 0.3s ease;
}

@keyframes numberTick {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.countdown-separator {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.6;
}

/* FOOTER */
.footer {
    position: relative;
    padding: 5rem 1.5rem;
    text-align: center;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
}

.footer-ornament {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-message {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.5rem;
}

.footer-name {
    font-family: var(--font-script);
    font-size: clamp(3rem, 12vw, 5rem);
    color: var(--white);
    margin: 1rem 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.footer-hearts {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.heart {
    color: var(--gold);
    font-size: 1.25rem;
    animation: heartPulse 2s infinite ease-in-out;
}

.heart:nth-child(2) { animation-delay: 0.3s; }
.heart:nth-child(3) { animation-delay: 0.6s; }

@keyframes heartPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

.footer-year {
    font-family: var(--font-display);
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.5);
    margin-top: 1rem;
}

/* MODALS */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 380px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-decoration {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 0.75rem;
    opacity: 0.6;
}

.modal-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.modal-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .section {
        padding: 6rem 2rem;
    }

    .button-container {
        flex-direction: row;
        justify-content: center;
    }

    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
        max-width: 700px;
        gap: 1.5rem;
    }

    .gallery-item:first-child,
    .gallery-item:nth-child(4) {
        grid-column: span 1;
        aspect-ratio: 1;
    }

    .gallery-item:first-child {
        grid-row: span 2;
        aspect-ratio: 1/2;
    }

    .gallery-item:nth-child(4) {
        grid-row: span 2;
        aspect-ratio: 1/2;
    }

    .countdown-card {
        padding: 1.5rem 1.25rem;
        min-width: 85px;
    }

    .countdown-separator {
        font-size: 2rem;
    }

    .message-card {
        padding: 3rem 2.5rem;
    }
}

@media (min-width: 1024px) {
    .gallery-masonry {
        max-width: 900px;
        gap: 2rem;
    }

    .section-inner {
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        gap: 0.25rem;
    }

    .countdown-card {
        padding: 1rem 0.75rem;
        min-width: 60px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.5rem;
    }

    .countdown-separator {
        font-size: 1.25rem;
    }

    .btn {
        min-width: 200px;
        padding: 0.875rem 1.5rem;
    }
}

/* Botones Premium */
button {
    border-radius: 50px;
    padding: 14px 24px;
    border: none;
    background: linear-gradient(135deg, #a11212, #7a0c0c);
    color: white;
    font-weight: 500;
    transition: 0.3s ease;
    cursor: pointer;
    font-family: var(--font-body);
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

button.outline {
    background: transparent;
    border: 2px solid #a11212;
    color: #a11212;
}

button.outline:hover {
    background: #a11212;
    color: white;
}

/* Cards Modernas */
.card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Galería Mejorada */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Countdown Mejorado */
.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.countdown div {
    background: white;
    padding: 10px;
    border-radius: 10px;
    min-width: 60px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Espaciado secciones */
section {
    padding: 50px 0;
    text-align: center;
}

/* Input Premium */
input {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    border: 1px solid #ccc;
    text-align: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-family: var(--font-body);
}

input:focus {
    outline: none;
    border-color: #a11212;
}

/* Confirmation Form */
.confirmation-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Ajustar textos largos */
p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
}

.message-main {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.message-quote p {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: var(--primary);
    text-align: center;
}

.gift-text {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.card-address {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Sistema de visibilidad garantizado */
[data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: all 0.8s ease-out;
}

.js-enabled [data-animate] {
    opacity: 0;
    transform: translateY(20px);
}

.js-enabled [data-animate].animated-in {
    opacity: 1;
    transform: translateY(0);
}
