/* =========================================
   ADN VISUAL: XV AÑOS NEÓN
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary: #FF107A;       /* Rosa Neón */
    --primary-light: #FF5E9F;
    --dark: #0B0710;          /* Fondo principal ultra oscuro */
    --white: #FFFFFF;
    --bg-card: #160D24;       /* Cajas secundarias */
    
    --font-script: 'Dancing Script', cursive; 
    --font-heading: 'Poppins', sans-serif;    
    --font-body: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--white);
    text-align: center;
    overflow-x: hidden;
}

/* --- REPRODUCTOR DE MÚSICA (Neón) --- */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--dark);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(255, 16, 122, 0.5); /* Resplandor */
    cursor: pointer;
    animation: pulse-neon 2s infinite;
}

/* --- PANTALLA DE BIENVENIDA (MODAL) --- */
.welcome-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--dark);
    z-index: 9999;
    display: flex; justify-content: center; align-items: center; flex-direction: column;
    transition: opacity 1s ease, visibility 1s ease;
}
.welcome-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.welcome-content { padding: 20px; animation: fadeIn 1.5s ease; }
.welcome-text { text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; color: var(--white); }
.welcome-names { font-family: var(--font-script); font-size: 4.5rem; color: var(--primary); text-shadow: 0 0 20px rgba(255, 16, 122, 0.6); margin-bottom: 30px; }
.envelope-seal { font-size: 3rem; color: var(--primary-light); margin-bottom: 30px; animation: pulse-neon 2s infinite; }
.btn-open { background: transparent; border: 2px solid var(--primary); color: var(--primary); padding: 12px 30px; border-radius: 50px; font-family: var(--font-heading); text-transform: uppercase; font-weight: 700; cursor: pointer; box-shadow: 0 0 15px rgba(255, 16, 122, 0.3); transition: 0.3s; }
.btn-open:hover { background: var(--primary); color: var(--white); }
body.no-scroll { overflow: hidden; }

/* --- HERO --- */
.hero { height: 100vh; background-image: url('img/portada-xv.jpg'); background-size: cover; background-position: center; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(11,7,16,0.3) 0%, rgba(11,7,16,1) 100%); }
.hero-content { position: relative; z-index: 2; padding: 20px; }
.intro { font-family: var(--font-heading); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.names { font-family: var(--font-script); font-size: 5rem; color: var(--primary-light); text-shadow: 0 0 25px rgba(255, 16, 122, 0.8); margin-bottom: 20px; }
.date-badge { border: 1px solid var(--primary); border-radius: 10px; display: inline-block; padding: 10px 20px; font-family: var(--font-heading); font-size: 1.2rem; background: rgba(255, 16, 122, 0.1); }
.arrow-down { margin-top: 30px; font-size: 2rem; color: var(--primary); animation: bounce 2s infinite; }

/* --- SECCIONES GENERALES --- */
section { padding: 60px 20px; position: relative; z-index: 2; }
h2, h3 { font-family: var(--font-heading); color: var(--primary); margin-bottom: 30px; text-transform: uppercase; letter-spacing: 2px; }

/* --- CUENTA REGRESIVA --- */
.timer { display: flex; justify-content: center; gap: 15px; }
.time-box { background: var(--bg-card); padding: 15px 10px; min-width: 80px; border-radius: 15px; border: 1px solid rgba(255, 16, 122, 0.2); box-shadow: 0 0 15px rgba(0,0,0,0.5); display: flex; flex-direction: column; align-items: center; }
.time-box span { font-size: 1.8rem; font-weight: 700; color: var(--white); }
.time-box p { font-size: 0.8rem; text-transform: uppercase; color: var(--primary); }
.message { margin-top: 25px; font-size: 1.1rem; letter-spacing: 2px; text-transform: uppercase; color: var(--primary-light); font-family: var(--font-heading); }

/* --- TARJETAS (Location) --- */
.card { background: var(--bg-card); padding: 30px; margin: 20px auto; max-width: 400px; border-radius: 15px; border: 1px solid rgba(255, 16, 122, 0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.icon-gold { font-size: 3rem; color: var(--primary); margin-bottom: 15px; text-shadow: 0 0 10px rgba(255, 16, 122, 0.5); }
.divider { height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); margin: 30px auto; width: 50%; }
.address { color: #aaa; margin-bottom: 15px; }

/* --- BOTONES GLOBALES --- */
.btn-gold, .btn-small { display: inline-block; background: var(--primary); color: var(--white); padding: 10px 25px; border-radius: 50px; text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; transition: 0.3s; box-shadow: 0 4px 15px rgba(255, 16, 122, 0.4); border: none; cursor: pointer; }
.btn-gold:hover, .btn-small:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 16, 122, 0.6); }

/* --- CÓDIGO DE VESTIMENTA --- */
.dress-icon { font-size: 3rem; color: var(--white); margin-bottom: 15px; }
.dress-type { font-size: 1.2rem; font-weight: 700; margin-bottom: 5px; }
.dress-alert { display: inline-block; margin-top: 15px; padding: 8px 20px; border: 1px solid var(--primary); color: var(--primary); background: rgba(255, 16, 122, 0.1); border-radius: 8px; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; }

/* --- MESA DE REGALOS --- */
.gift-options { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 30px; }
.gift-box { background: var(--bg-card); padding: 25px; border-radius: 15px; width: 45%; min-width: 250px; border: 1px solid rgba(255, 16, 122, 0.2); display: flex; flex-direction: column; align-items: center; }
.gift-box i { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }

/* --- RSVP FORM (Dark Mode) --- */
.container-narrow { max-width: 90%; margin: 0 auto; width: 500px; }
.rsvp-deadline { margin-bottom: 25px; font-style: italic; color: #aaa; }
.rsvp-form { background: var(--bg-card); padding: 30px 20px; border-radius: 15px; border: 1px solid rgba(255, 16, 122, 0.2); text-align: left; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--primary-light); text-transform: uppercase; }
input[type="text"], select, textarea { width: 100%; padding: 12px 15px; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; font-family: var(--font-body); font-size: 1rem; background: rgba(255,255,255,0.05); color: var(--white); transition: 0.3s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 10px rgba(255, 16, 122, 0.2); }
.radio-group { display: flex; gap: 10px; }
.radio-option { flex: 1; position: relative; }
.radio-option input { position: absolute; opacity: 0; }
.radio-option span { display: block; padding: 12px; text-align: center; background: rgba(255,255,255,0.05); border-radius: 8px; cursor: pointer; font-weight: 600; border: 1px solid transparent; transition: 0.3s; }
.radio-option input:checked + span { background: var(--primary); color: var(--white); box-shadow: 0 0 15px rgba(255, 16, 122, 0.4); }
.btn-block { width: 100%; margin-top: 10px; padding: 15px; font-size: 1rem; }

/* --- FOOTER --- */
footer { padding: 30px; background: #000; font-size: 0.8rem; color: #666; }

/* --- ANIMACIONES --- */
@keyframes pulse-neon { 0% { box-shadow: 0 0 10px rgba(255,16,122,0.4); transform: scale(1); } 50% { box-shadow: 0 0 20px rgba(255,16,122,0.8); transform: scale(1.05); } 100% { box-shadow: 0 0 10px rgba(255,16,122,0.4); transform: scale(1); } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- RESPONSIVE --- */
@media (max-width: 400px) { .names { font-size: 4rem; } .welcome-names { font-size: 3.5rem; } .time-box { min-width: 65px; padding: 10px; } }