@import url('https://fonts.cdnfonts.com/css/aston-script'); 

:root {
    --bg-editorial: #181424;   
    --charcoal: #121212;
    --silver: #e0e0e0;
    --chrome: #f5f5f5;
    --white: #ffffff;
    
    --color-crema: #fdfaf0;
    --color-naranja: #ff8833;
    --color-oliva: #9bb168;
    --color-celeste: #a8dadc;
    --color-rojo: #d9383a;
    --color-amarillo: #fcd34d;

    --rojo-cortis: #ca3537;
    --naranja-cortis: #fe8813;
    --menta: #9ed9d3;

    --font-aston: 'Aston Script', 'Brush Script MT', cursive;
    --font-apple: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-editorial);
    color: var(--silver);
    font-family: var(--font-apple);
    font-weight: 600;
    letter-spacing: -0.3px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.font-aston {
    font-family: var(--font-aston) !important;
    font-weight: 700;
    letter-spacing: normal; 
}

.pt-50 { padding-top: 50px !important; }
.pb-30 { padding-bottom: 30px !important; }
.pt-20 { padding-top: 20px !important; }
.pb-50 { padding-bottom: 50px !important; }

/* =========================================================
   INTRO Y PANTALLA DE APERTURA
========================================================= */
#contenedor-intro {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: transparent !important;
    display: flex; justify-content: center; align-items: center;
    z-index: 99999; cursor: pointer; overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

#video-intro { 
    position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; 
    object-fit: cover; z-index: 1; display: block !important;
}

#capa-boton-intro { position: absolute; bottom: 40px; left: 0; width: 100%; display: flex; justify-content: center; pointer-events: none; z-index: 100000; }
.btn-tocar-intro {
    background: var(--rojo-cortis); color: var(--white); border: 1.5px solid var(--naranja-cortis);
    padding: 12px 28px; font-size: 0.85rem; font-weight: 700; border-radius: 40px; letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(202, 53, 55, 0.4); animation: pulso-btn 1.6s infinite alternate;
}
@keyframes pulso-btn {
    0% { transform: scale(1); box-shadow: 0 4px 12px rgba(202, 53, 55, 0.4); }
    100% { transform: scale(1.04); box-shadow: 0 6px 20px rgba(254, 136, 19, 0.6); }
}
.desvanecer-intro { opacity: 0 !important; pointer-events: none !important; }
.web-oculta { opacity: 0; visibility: hidden; transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1); }
.web-visible { opacity: 1 !important; visibility: visible !important; }
.hidden { display: none !important; }

/* REPRODUCTOR REDONDO FLOTANTE */
.music-circle-btn {
    position: fixed; top: 20px; right: 20px; z-index: 9999;
    transition: opacity 1s ease, transform 1s ease;
}
.hidden-player { opacity: 0; transform: scale(0.5); pointer-events: none; }
.music-circle-btn button {
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(58, 46, 91, 0.85); border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white); font-size: 1.2rem; cursor: pointer;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); backdrop-filter: blur(10px);
    transition: transform 0.3s;
}
.music-circle-btn button:hover { transform: scale(1.1); }
.music-circle-btn button.playing {
    animation: rotar-disco 3s linear infinite;
    border-color: var(--menta);
    color: var(--menta);
}
@keyframes rotar-disco {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* PORTADA HERO */
.hero-section { position: relative; width: 100vw; height: 100dvh; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.bg-video-portada { width: 100vw; height: 100dvh; object-fit: cover; z-index: 1; }
.scroll-indicator-wrap {
    position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); z-index: 10; text-align: center;
    background: rgba(58, 46, 91, 0.6); padding: 8px 16px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: blur(8px);
}
.desliza-tag { font-size: 0.75rem; letter-spacing: 1px; color: var(--menta); display: block; margin-bottom: 4px; font-weight: 700; }
.arrow-line { width: 2px; height: 22px; background: var(--menta); margin: 0 auto; animation: scroll-line 1.5s infinite; }
@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ESTRUCTURA GENERAL DE BLOQUES */
.section-block { padding: 60px 20px; display: flex; justify-content: center; align-items: center; position: relative; }
.content-box-large { width: 100%; max-width: 480px; text-align: center; }

.block-crema { background-color: var(--color-crema); color: #222; }
.block-naranja { background-color: var(--color-naranja); color: #fff; }
.block-oliva { background-color: var(--color-oliva); color: #152e00; }
.block-dresscode-celeste { background-color: var(--color-celeste); color: #0f2c30; }
.block-rojo { background-color: var(--color-rojo); color: #fff; }
.block-amarillo { background-color: var(--color-amarillo); color: #1a1a1a; }
.block-azul-editorial { background-color: #1c152c; color: var(--silver); }
.countdown-section { background-color: #1c152c; }

/* =========================================================
   TEXTURAS TIPO PATRÓN BLANCO TRANSPARENTE
========================================================= */
.bg-pattern-dots {
    background-image: radial-gradient(rgba(255, 255, 255, 0.28) 2px, transparent 2px);
    background-size: 24px 24px;
}

.bg-pattern-stars {
    background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px), radial-gradient(rgba(255, 255, 255, 0.18) 2.5px, transparent 2.5px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

/* =========================================================
   STICKERS DE FONDO Y UBICACIONES (CONFIGURACIÓN FINA)
========================================================= */
.section-with-deco { position: relative; overflow: hidden; }

.deco-1-bg { 
    background-image: url('img/deco-1.png'), radial-gradient(rgba(255, 255, 255, 0.28) 2px, transparent 2px);
    background-repeat: no-repeat, repeat;
    background-position: center, 0 0;
    background-size: 110% auto, 24px 24px;
}

.deco-2-bg { 
    background-image: url('img/deco-2.png');
    background-repeat: no-repeat;
    background-position: center 90%;
    background-size: 100% auto;
}

.deco-3-bg { 
    background-image: url('img/deco-3.png');
    background-repeat: repeat;
    background-position: center center;
    background-size: 160px auto;
}

/* BLOQUE 4 (DRESS CODE): PATRÓN CENTRADO Y DESORGANIZADO */
.deco-4-bg { 
    background-image: url('img/deco-4.png');
    background-repeat: repeat;
    background-position: center center;
    background-size: 140px auto;
}

/* BLOQUE 5 (RSVP / ASISTIR): STICKER GIGANTE A UN COSTADO */
.deco-5-side-bg { 
    background-image: url('img/deco-5.png');
    background-repeat: no-repeat;
    background-position: 115% center; 
    background-size: 150% auto;
}

.deco-6-bg { 
    background-image: url('img/deco-6.png');
    background-repeat: repeat;
    background-position: 20px 10px;
    background-size: 120px auto;
}

.deco-7-single-bg { 
    background-image: url('img/deco-7.png');
    background-repeat: no-repeat;
    background-position: -20% center;
    background-size: 95% auto;
}

/* TARJETAS CRISTAL TRASLÚCIDAS */
.glass-card-invitation {
    background: rgba(255, 255, 255, 0.84) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 26px;
    padding: 35px 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
}

/* TEXTOS Y COLORES */
.title-large-custom { font-size: 2.6rem !important; margin-bottom: 15px; }
.title-compact { font-size: 2.2rem !important; margin-bottom: 10px; }
.nowrap-title { white-space: nowrap; }

.text-large-custom { font-size: 1.08rem !important; line-height: 1.55 !important; font-weight: 600; margin-bottom: 12px; }

.text-green-dark { color: #183e0c !important; }
.title-blue-navy { color: #1a233a !important; }
.title-dark-color { color: #2b1f42 !important; }
.title-red { color: #d9383a !important; font-weight: 800; }
.text-black { color: #111111 !important; }
.text-white { color: #ffffff !important; }
.text-final-navy { color: #12192c !important; }

.dc-title-large { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.dc-style-large { font-weight: 800; font-size: 1.3rem; margin-bottom: 12px; }
.bank-details-large { font-size: 1.05rem; line-height: 1.8; font-weight: 600; }

.hover-3d { transition: transform 0.4s, box-shadow 0.4s; will-change: transform; }
.hover-3d:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 15px 30px rgba(0,0,0,0.12); }

.reveal-section { opacity: 0; transform: translateY(30px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-section.active { opacity: 1; transform: translateY(0); }

.icon-large { 
    font-size: 3.8rem !important; 
    margin-bottom: 18px; 
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
}

/* =========================================================
   DISCOS DE VINILO EN HORIZONTAL Y TARJETA DESPLEGABLE ABAJO
========================================================= */
.date-interaction-container {
    padding: 10px 0;
    width: 100%;
}

.flex-column-center {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.vinyl-disc-btn {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: #111111;
    border: 2px solid #333333;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    perspective: 1000px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35), inset 0 0 0 2px rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.vinyl-disc-btn:hover {
    transform: scale(1.05) rotate(5deg);
}

.vinyl-grooves {
    position: absolute;
    width: 82%;
    height: 82%;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 0 0 6px rgba(255,255,255,0.05), inset 0 0 0 12px rgba(0,0,0,0.6);
    pointer-events: none;
}

.vinyl-center {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff8c00 0%, #d9383a 100%);
    border: 2px solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.vinyl-disc-btn .front, 
.vinyl-disc-btn .back {
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    display: flex !important; 
    justify-content: center !important; 
    align-items: center !important;
    text-align: center !important;
    backface-visibility: hidden; 
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 800;
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1 !important; 
    margin: 0 !important; 
    padding: 0 !important;
}

.vinyl-disc-btn .back {
    transform: rotateY(180deg);
    background: #ffffff; 
    color: #d9383a; 
    border-radius: 50%;
    font-size: 1.05rem; 
    font-weight: 800;
}

.fit-year {
    font-size: 0.8rem !important;
    letter-spacing: -0.5px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.vinyl-disc-btn.flipped .front { transform: rotateY(180deg); }
.vinyl-disc-btn.flipped .back { transform: rotateY(360deg); }

/* ANIMACIÓN DE DESLIZAMIENTO HACIA ABAJO DE LA TARJETA */
.date-card-pop {
    background: #ffffff;
    color: #111;
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.hidden-card {
    opacity: 0;
    max-height: 0;
    transform: translateY(-20px);
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 20px;
    border: none;
    margin-top: 0;
}

.hidden-card.show {
    opacity: 1;
    max-height: 350px;
    transform: translateY(0);
    padding: 25px 20px;
    margin-top: 25px;
}

.date-text-large { font-family: var(--font-apple); font-weight: 800; font-size: 1.5rem; color: #111; line-height: 1.4; margin: 10px 0; }
.text-dark-title { color: #111; font-size: 1.8rem; }

/* BOTONES */
.btn-block-large-dark {
    display: inline-block; padding: 14px 28px; background: #111; color: #fff;
    text-decoration: none; font-weight: 700; font-size: 0.9rem; border-radius: 35px;
    transition: all 0.3s; margin-top: 10px; box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn-block-large-dark:hover { background: #333; transform: scale(1.03); }

/* BOTÓN NARANJA DE DRESS CODE (PINTEREST) */
.btn-block-large-orange {
    display: inline-block;
    padding: 13px 26px;
    background: #ff8833;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    border-radius: 35px;
    border: none;
    box-shadow: 0 6px 18px rgba(255, 136, 51, 0.35);
    transition: all 0.3s ease;
}

.btn-block-large-orange:hover {
    background: #e67320;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 22px rgba(255, 136, 51, 0.5);
}

/* BOTÓN VERDE AGUA DE CONFIRMAR ASISTENCIA */
.btn-block-large-mint {
    display: inline-block;
    padding: 15px 30px;
    background: #9ed9d3;
    color: #0f2c30 !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 35px;
    box-shadow: 0 8px 22px rgba(158, 217, 211, 0.4);
    transition: all 0.3s ease;
}

.btn-block-large-mint:hover {
    background: #86c9c2;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 25px rgba(158, 217, 211, 0.6);
}

.btn-block-large-white {
    display: inline-block; padding: 15px 30px; background: #fff; color: #d9383a;
    text-decoration: none; font-weight: 800; font-size: 0.95rem; border-radius: 35px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); transition: all 0.3s;
}
.btn-block-large-white:hover { transform: scale(1.04); }

.signature-aston-dark {
    font-family: var(--font-aston) !important;
    font-size: 2.4rem !important;
    line-height: 1.3;
    color: #12192c !important;
    font-weight: 700;
}

/* CUENTA REGRESIVA Y FOOTER */
.particles-bg {
    position: absolute; top:0; left:0; width: 100%; height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 40px 40px; opacity: 0.3;
}
.countdown-grid-large { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.time-box-block-large {
    background: rgba(28, 21, 44, 0.75); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3); border-radius: 16px;
    width: 80px; height: 80px; display: flex; flex-direction: column; justify-content: center; align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.time-box-block-large span { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.time-box-block-large small { font-size: 0.55rem; text-transform: uppercase; color: #ddd; margin-top: 4px; letter-spacing: 1px; }

.hidden-msg { display: none; }
.creditos-finales { padding: 20px 0; font-size: 0.65rem; letter-spacing: 1.5px; color: #aaa; text-align: center; background: #1c152c; border-top: 1px solid rgba(255,255,255,0.08); }

@media (max-width: 480px) {
    .section-block { padding: 50px 15px; }
    .vinyl-disc-btn { width: 85px; height: 85px; }
}