* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Story Script', 'Georgia', serif;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 50%, #A5D6A7 100%);
    min-height: 100vh;
    color: #2E7D32;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(46, 125, 50, 0.15);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* COLOCA AQUÍ LA RUTA DE TU IMAGEN */
    background-image: url('tu-foto-aqui.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    animation: zoomBackground 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes zoomBackground {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.initials {
    font-size: 120px;
    font-weight: 300;
    color: #4CAF50;
    margin-bottom: 20px;
    font-family: 'Pinyon Script', cursive;
    text-shadow: 3px 3px 6px rgba(46, 125, 50, 0.3);
    position: relative;
    z-index: 1;
}

.ampersand {
    color: #81C784;
    font-size: 80px;
    margin: 0 20px;
}

.names {
    font-size: 64px;
    color: #388E3C;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Pinyon Script', cursive;
    letter-spacing: 2px;
}

.names-amp {
    margin: 0 12px;
}

@media (max-width: 768px) {
    .names {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.1;
    }
    .names-amp {
        margin: 4px 0;
    }
}

.date {
    font-size: 28px;
    color: #66BB6A;
    margin-top: 30px;
    font-style: italic;
}

.section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.1);
}

.section-title {
    font-size: 64px;
    color: #4CAF50;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    font-family: 'Pinyon Script', cursive;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '🌿';
    display: block;
    font-size: 20px;
    margin-top: 8px;
}

.info-card {
    background: linear-gradient(135deg, #F1F8E9 0%, #DCEDC8 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #81C784;
}

.info-title {
    font-size: 40px;
    color: #388E3C;
    margin-bottom: 10px;
    font-weight: 400;
    font-family: 'Pinyon Script', cursive;
}

.info-text {
    font-size: 18px;
    color: #2E7D32;
    line-height: 1.8;
}

/* ── BOTÓN UBICACIÓN ─────────────────────────────────── */
.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    background: transparent;
    border: 2px solid #81C784;
    color: #388E3C;
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 15px;
    font-family: 'Story Script', 'Georgia', serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.location-btn:hover {
    background: #81C784;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(129, 199, 132, 0.4);
}

/* ── COUNTDOWN ───────────────────────────────────────── */
.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.countdown-item {
    background: linear-gradient(135deg, #C8E6C9 0%, #A5D6A7 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.15);
}

.countdown-number {
    font-size: 48px;
    color: #2E7D32;
    font-weight: bold;
    display: block;
}

.countdown-label {
    font-size: 16px;
    color: #388E3C;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── ÁLBUM COMPARTIDO ────────────────────────────────── */
.album-section {
    text-align: center;
}

.album-description {
    font-size: 17px;
    color: #2E7D32;
    line-height: 1.8;
    margin-bottom: 28px;
}

.qr-wrap {
    display: inline-block;
    padding: 16px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.12);
    margin-bottom: 24px;
}

.qr-wrap img {
    display: block;
    width: 180px;
    height: 180px;
}

.qr-label {
    font-size: 13px;
    color: #81C784;
    margin-top: 10px;
    font-style: italic;
}

.album-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 17px;
    font-family: 'Story Script', 'Georgia', serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.35);
    margin-top: 8px;
}

.album-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

.album-steps {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.album-step {
    background: linear-gradient(135deg, #F1F8E9 0%, #DCEDC8 100%);
    border-radius: 12px;
    padding: 18px 20px;
    max-width: 180px;
    font-size: 14px;
    color: #2E7D32;
    line-height: 1.6;
    border-left: 3px solid #81C784;
    text-align: left;
}

.album-step-num {
    font-size: 22px;
    font-weight: bold;
    color: #4CAF50;
    display: block;
    margin-bottom: 6px;
}

/* ── GALERÍA ─────────────────────────────────────────── */
.gallery-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: clamp(220px, 50vw, 420px);
    background: #E8F5E9;
}

.gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s ease;
}

.gallery-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #388E3C;
    font-size: 16px;
    font-style: italic;
}

.gallery-placeholder span {
    font-size: 52px;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 22px;
    color: #388E3C;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s;
    z-index: 10;
}

.gallery-btn:hover {
    background: #4CAF50;
    color: white;
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

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

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #A5D6A7;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.gallery-dot.active {
    background: #4CAF50;
    transform: scale(1.3);
}

.gallery-hint {
    text-align: center;
    font-size: 13px;
    color: #81C784;
    margin-top: 12px;
    font-style: italic;
}

/* ── CONFIRMAR ───────────────────────────────────────── */
.confirm-button {
    display: inline-block;
    background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    font-family: 'Story Script', 'Georgia', serif;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.confirm-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

/* ── VESTIMENTA ──────────────────────────────────────── */
.dress-code {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-radius: 15px;
    margin-top: 20px;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.color-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: 3px solid white;
}

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
    text-align: center;
    padding: 40px;
    color: #388E3C;
    font-style: italic;
    font-size: 20px;
}

.divider {
    text-align: center;
    font-size: 30px;
    color: #81C784;
    margin: 30px 0;
}

/* ── ANIMACIONES ─────────────────────────────────────── */
.floating {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-15px); }
}

.fade-in {
    animation: fadeIn 1.2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0.3;
    animation: floatLeaf 15s infinite;
}

.leaf1 { top: 20%; left: 10%; animation-delay: 0s; }
.leaf2 { top: 40%; right: 15%; animation-delay: 3s; }
.leaf3 { top: 60%; left: 20%; animation-delay: 6s; }
.leaf4 { top: 80%; right: 25%; animation-delay: 9s; }

@keyframes floatLeaf {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-20px) rotate(180deg); }
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
    .initials { font-size: 80px; }
    .names    { font-size: 60px; }
    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .section { padding: 25px; }
    .section-title { font-size: 52px; }
    .gallery-btn { width: 36px; height: 36px; font-size: 18px; }
}

@media (max-width: 480px) {
    .initials { font-size: 64px; }
    .names    { font-size: 52px; letter-spacing: 1px; }
    .date     { font-size: 20px; }
    .section-title { font-size: 44px; }
    .info-title { font-size: 32px; }
    .info-text  { font-size: 16px; }
    .confirm-button { font-size: 16px; padding: 16px 28px; }
    .location-btn   { font-size: 14px; padding: 9px 20px; }
}
