/* ==========================================================================
   DIRECCIÓN DE ARTE V2.0 - EXPEDIENTE DEL AMOR
   ========================================================================== */

/* --- PALETA CROMÁTICA & VARIABLES --- */
:root {
    /* Sistema (Actos I, II, IV) */
    --sys-bg: #090a0f; /* Negro Abisal */
    --sys-text-main: #e2e4e9; /* Blanco Humo */
    --sys-text-dim: #737987; /* Gris Táctico */
    --sys-alert: #b75d69; /* Carmesí Apagado */
    --sys-line: #2a2b32; /* Gris oscuro para líneas finas */

    /* Romance (Acto V) */
    --rom-bg: #faf9f6; /* Marfil / Alabastro */
    --rom-text-main: #1a1a1d; /* Carbón */
    --rom-accent: #a87c76; /* Rose Gold Apagado */
    --rom-accent-dim: #d6c6b7; /* Arena */

    /* Tipografías */
    --font-sys: 'JetBrains Mono', 'Space Mono', monospace; /* El Sistema */
    --font-rom: 'Cormorant Garamond', 'Playfair Display', serif; /* Lo Humano */
    --font-info: 'Outfit', 'Inter', sans-serif; /* Lo Funcional */
}

/* --- RESET Y BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.theme-system {
    background-color: var(--sys-bg);
    color: var(--sys-text-main);
    font-family: var(--font-sys);
    /* Grano sutil (solo visible prestando atención) */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
    overflow-x: hidden;
}

/* Evitar scroll global bloqueado, pero permitir en contenedores */
#app-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.phase {
    display: none;
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
}
.phase.active { display: flex; }
.phase.scrollable {
    height: auto;
    min-height: 100vh;
    padding-bottom: 5rem;
    overflow-y: auto;
}

/* Utilidades de Layout */
.content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}
.center-absolute {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding: 2rem;
    z-index: 10;
}

/* --- TIPOGRAFÍA Y TEXTOS --- */
.sys-title {
    font-family: var(--font-sys);
    font-weight: 400;
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.sys-text {
    font-family: var(--font-sys);
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--sys-text-main);
    line-height: 1.6;
}
.text-dim { color: var(--sys-text-dim); }
.text-error { color: var(--sys-alert); }
.text-success { color: #8ba888; }
.text-primary { color: var(--sys-text-main); }

.romance-text {
    font-family: var(--font-rom);
    font-weight: 400;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--sys-text-main);
    line-height: 1.4;
}
.serif-text { font-family: var(--font-rom); }
.info-text { font-family: var(--font-info); font-weight: 300; }

.title-huge {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-style: normal;
    font-weight: 500;
    line-height: 1.1;
    margin: 2rem 0;
}

/* --- COMPONENTES DEL SISTEMA (ACTO I-IV) --- */
.sys-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(9,10,15,0.95), rgba(9,10,15,0));
    z-index: 100;
    pointer-events: none;
}
.sys-id {
    font-family: var(--font-sys);
    font-size: 0.75rem;
    color: var(--sys-text-dim);
    letter-spacing: 4px;
    border-bottom: 1px solid var(--sys-line);
    padding-bottom: 0.5rem;
}

.sys-alert-box {
    margin: 1rem 0;
    font-family: var(--font-sys);
    font-size: 0.85rem;
    color: var(--sys-text-dim);
    letter-spacing: 1px;
}

.sys-btn {
    background: transparent;
    border: 1px solid var(--sys-line);
    color: var(--sys-text-main);
    padding: 1rem 2.5rem;
    font-family: var(--font-sys);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    margin-top: 2.5rem;
    transition: box-shadow 0.3s ease-out, border-color 0.3s ease-out, background-color 0.3s ease-out, color 0.3s ease-out;
}
.sys-btn:hover, .sys-btn:active {
    box-shadow: inset 0 0 15px rgba(226, 228, 233, 0.05);
    border-color: var(--sys-text-dim);
}
.ghost-btn-white { border: 1px solid rgba(255,255,255,0.3); }

.sys-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--sys-line);
    color: var(--sys-text-main);
    font-family: var(--font-sys);
    padding: 0.8rem;
    margin: 2rem 0;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    outline: none;
    transition: border-color 0.3s ease;
}
.sys-input:focus { border-color: var(--sys-text-dim); }

.sys-box {
    border: 1px solid var(--sys-line);
    padding: 2.5rem 1.5rem;
    width: 100%;
    margin-bottom: 2rem;
}
.metrics-grid p {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--sys-line);
    padding: 0.8rem 0;
}

/* --- FOTOGRAFÍA --- */
.photo-placeholder {
    display: flex; align-items: center; justify-content: center;
    color: var(--sys-text-dim);
    font-family: var(--font-sys);
    font-size: 0.8rem;
}
/* Acto II: Sujetos (Archivo Confidencial) */
.mono-filter {
    background: #11131a;
    border: 1px solid var(--sys-line);
    height: 250px;
    filter: grayscale(100%) contrast(1.2);
}
/* Acto III: Historia (Cine 35mm) */
.film-filter {
    background: #141215;
    height: 350px;
    width: 100%;
    margin-bottom: 2rem;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8); /* Viñeta sutil */
}
/* Acto V: Revelación (Viva) */
.vivid-photo {
    background: transparent;
    border: none;
    filter: none;
}
.fullscreen { width: 100vw; height: 100vh; }
.fullscreen-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
}

/* --- TARJETAS (ACTO II) --- */
.card {
    border: 1px solid var(--sys-line);
    padding: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 400px;
    margin-left: auto; margin-right: auto;
}
.card-data p {
    font-family: var(--font-sys); font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px dotted var(--sys-line);
    display: flex; justify-content: space-between; text-align: right;
}
.card-data .label { color: var(--sys-text-dim); text-align: left; }

/* --- PUZZLE (ACTO II) --- */
.puzzle-container { width: 100%; max-width: 300px; margin-top: 3rem; }
.sys-slider {
    -webkit-appearance: none;
    width: 100%; height: 1px; background: var(--sys-line); outline: none;
}
.sys-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px; height: 15px; background: var(--sys-text-dim); cursor: pointer; border-radius: 50%;
}

/* --- ACTO V: BODA Y PASE --- */
.premium-wedding {
    background-color: var(--rom-bg);
    color: var(--rom-text-main);
}
.wedding-container {
    width: 100%; max-width: 600px; margin: 0 auto; padding: 4rem 2rem; text-align: center;
}
.wedding-names {
    font-family: var(--font-rom);
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--rom-text-main);
    margin-bottom: 2rem;
}
.wedding-divider {
    width: 40px; height: 1px; background: var(--rom-accent); margin: 0 auto 2rem auto;
}
.text-muted { color: #888; font-size: 0.75rem; }

.premium-btn {
    background-color: var(--rom-accent);
    color: #fff;
    border: none;
    padding: 1.2rem 2rem;
    font-family: var(--font-info);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.premium-btn:hover { background-color: #936a64; }
.ghost-btn {
    background: transparent;
    border: 1px solid var(--rom-accent-dim);
    color: var(--rom-accent);
    padding: 1.2rem 2rem;
    font-family: var(--font-info);
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ghost-btn:hover {
    border-color: var(--rom-accent);
    background: rgba(168,124,118,0.05);
}
.dark-btn {
    background: var(--rom-text-main); color: #fff; border: none; padding: 1rem; cursor: pointer;
    font-family: var(--font-info);
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}
.dark-btn:hover { background: #333; }

.premium-input {
    width: 100%; padding: 1rem; margin-bottom: 1rem;
    border: 1px solid var(--rom-accent-dim);
    background: transparent;
    text-align: center; outline: none;
    font-family: var(--font-info);
    font-size: 0.9rem;
    color: var(--rom-text-main);
    transition: border-color 0.3s ease;
}
.premium-input:focus { border-color: var(--rom-accent); }
.premium-input::placeholder { color: #bbb; }

/* Pase VIP */
.ticket {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 6px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    text-align: left;
}
.ticket-header { font-size: 0.7rem; letter-spacing: 3px; color: #a0a0a0; margin-bottom: 1.5rem; }
.ticket-name { font-size: 2.5rem; line-height: 1.1; margin-bottom: 2rem; color: var(--rom-text-main); }
.ticket-details p { margin-bottom: 0.5rem; font-size: 0.85rem; letter-spacing: 1px; }
.ticket-details { margin-bottom: 2.5rem; padding-top: 2rem; border-top: 1px solid #eee; }

/* --- ACCESIBILIDAD --- */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- FASE 5: LA PELÍCULA --- */
.fullscreen-phase {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--sys-bg);
}
#movie-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.movie-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.movie-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.movie-photo {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: contain;
    z-index: 1;
    filter: brightness(0.7) contrast(1.1);
}
.movie-caption {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}
.movie-text {
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    margin-bottom: 1rem;
    opacity: 0;
}
.movie-text.text-delayed {
    margin-top: 2rem;
}

/* --- FASES 6 y 7: INESTABILIDAD Y ANOMALÍA --- */
.unstable-system {
    background: radial-gradient(circle at center, rgba(168, 124, 118, 0.1) 0%, var(--sys-bg) 70%);
}
.glitch-text {
    animation: glitch 1s linear infinite;
    position: relative;
}
@keyframes glitch {
    2%, 64% { transform: translate(2px,0) skew(0deg); }
    4%, 60% { transform: translate(-2px,0) skew(0deg); }
    62% { transform: translate(0,0) skew(5deg); }
}

.anomaly-box {
    width: 200px; height: 200px;
    margin: 2rem auto 4rem auto;
    position: relative;
    display: flex; justify-content: center; align-items: center;
}
.anomaly-fragments {
    position: relative;
    width: 100px; height: 100px;
}
.fragment {
    position: absolute;
    width: 50px; height: 100px;
    border: 2px solid var(--sys-alert);
}
.fragment-left {
    left: -20px;
    border-right: none;
    border-radius: 50px 0 0 50px;
    transform: rotate(-15deg);
}
.fragment-right {
    right: -20px;
    border-left: none;
    border-radius: 0 50px 50px 0;
    transform: rotate(15deg);
}

/* --- FASE 8: EL ROMPECABEZAS --- */
.puzzle-interaction-area {
    user-select: none;
}
#puzzle-board {
    position: relative;
    width: 320px;
    height: 300px;
    margin: 0 auto;
    display: flex; justify-content: center; align-items: center;
}
.puzzle-piece {
    position: absolute;
    cursor: grab;
    transition: transform 0.1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.puzzle-piece:active { cursor: grabbing; }
#piece-1 { left: -10px; z-index: 2; }
#piece-2 { right: -10px; z-index: 2; }
.puzzle-dropzone {
    width: 250px; height: 250px;
    position: absolute;
    opacity: 0.15;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50,30 C50,30 40,10 20,20 C0,30 10,60 50,90 C90,60 100,30 80,20 C60,10 50,30 50,30 Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center center;
    background-size: contain;
}
.heart-text {
    position: absolute;
    font-family: var(--font-rom);
    color: #fff;
    font-size: 1.2rem;
    pointer-events: none;
}

/* --- FASE 9: EL COLAPSO --- */
.collapse-phase {
    position: relative;
    background: #000;
}
.system-crash {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 5;
    background: var(--sys-bg);
}
.cinematic-reveal {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10;
}

/* ==========================================================================
   FASE 9B: MINI-TEST DE APTITUD
   ========================================================================== */

/* Fondo del quiz: transición entre sistema y romántico */
.quiz-phase {
    background: linear-gradient(180deg, #0a0b10 0%, #1a1520 100%);
    position: relative;
    overflow: hidden;
}

/* Partículas doradas flotantes (decoración sutil) */
.quiz-phase::before,
.quiz-phase::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--rom-accent);
    opacity: 0.15;
    animation: floatParticle 8s ease-in-out infinite;
}
.quiz-phase::before {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}
.quiz-phase::after {
    top: 60%;
    right: 20%;
    width: 3px;
    height: 3px;
    animation-delay: 4s;
}
@keyframes floatParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.15; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.3; }
}

/* Barra de progreso */
.quiz-progress {
    width: 100%;
    height: 2px;
    background: var(--sys-line);
    margin-bottom: 2rem;
    border-radius: 1px;
    overflow: hidden;
}
.quiz-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--sys-alert), var(--rom-accent));
    transition: width 0.5s ease;
}

.quiz-counter {
    font-size: 0.7rem;
    letter-spacing: 4px;
    margin-bottom: 2rem;
}

/* Pregunta */
.quiz-question {
    font-family: var(--font-info);
    font-size: 1.1rem;
    color: var(--sys-text-main);
    margin-bottom: 2rem;
    line-height: 1.5;
    text-align: left;
}

/* Opciones */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.quiz-option {
    background: rgba(226, 228, 233, 0.03);
    border: 1px solid var(--sys-line);
    color: var(--sys-text-main);
    padding: 1rem 1.2rem;
    font-family: var(--font-info);
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.4;
}
.quiz-option:hover {
    border-color: var(--sys-text-dim);
    background: rgba(226, 228, 233, 0.06);
}
.quiz-option.selected-correct {
    border-color: #8ba888;
    background: rgba(139, 168, 136, 0.1);
    color: #8ba888;
}
.quiz-option.selected-incorrect {
    border-color: var(--sys-alert);
    background: rgba(183, 93, 105, 0.1);
}
.quiz-option.disabled {
    pointer-events: none;
    opacity: 0.5;
}
.quiz-option.reveal-correct {
    border-color: rgba(139, 168, 136, 0.4);
    opacity: 1 !important;
}

/* Feedback por pregunta */
.quiz-feedback-text {
    font-family: var(--font-sys);
    font-size: 0.8rem;
    color: var(--sys-text-dim);
    margin-top: 1.5rem;
    line-height: 1.5;
    text-align: left;
}

/* Resultado tipo terminal */
.quiz-result-terminal {
    font-family: var(--font-sys);
    font-size: 0.8rem;
    color: var(--sys-text-main);
    text-align: left;
    line-height: 1.8;
    padding: 2rem;
    border: 1px solid var(--sys-line);
    background: rgba(0, 0, 0, 0.3);
    white-space: pre-line;
    margin-bottom: 2rem;
}
.quiz-result-terminal .result-success { color: #8ba888; font-weight: 400; }
.quiz-result-terminal .result-highlight { color: var(--rom-accent); font-weight: 400; }
.quiz-result-terminal .result-dim { color: var(--sys-text-dim); }

/* ==========================================================================
   FASE 10: LA INVITACIÓN FINAL (PREMIUM)
   ========================================================================== */

.wedding-section {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}
.wedding-section:last-child { border-bottom: none; }

/* Hero */
.wedding-hero { padding: 6rem 0 4rem 0; }
.wedding-subtitle {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: #888;
    margin-bottom: 2rem;
    font-family: var(--font-info);
}
.wedding-ampersand {
    font-family: var(--font-rom);
    font-size: 2rem;
    color: var(--rom-accent);
    display: block;
    margin: 0.5rem 0;
}
.wedding-divider-ornament {
    font-size: 0.8rem;
    color: var(--rom-accent-dim);
    margin: 1rem 0;
    letter-spacing: 8px;
}
.wedding-tagline {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    font-family: var(--font-rom);
    font-style: italic;
    color: var(--rom-accent);
}

/* Fondo de Fase 10 (Invitación) */
#phase-10 {
    position: relative;
    background-color: var(--rom-bg);
}
#phase-10::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../assets/photos/candidatas/foto%20invitacion.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}
.wedding-section {
    position: relative;
    z-index: 1; /* Para que quede por encima del fondo */
}

#ws-hero {
    position: relative;
    overflow: hidden;
}

/* Foto Hero */
.hero-photo-container {
    width: 250px;
    height: 250px;
    margin: 2rem auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(168,124,118,0.2);
    position: relative;
    z-index: 1;
}
.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Carrusel de Fotos */
.photo-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem 5%;
    margin: 2rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.photo-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.photo-carousel img {
    flex: 0 0 80%;
    max-width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    scroll-snap-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border: 2px solid #fff;
}

/* Detalles del evento */
.wedding-detail-card {
    margin-bottom: 2rem;
}
.detail-label {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: #555;
    margin-bottom: 0.8rem;
    font-family: var(--font-info);
    font-weight: 500;
}
.detail-value {
    font-size: 2.2rem;
    color: var(--rom-text-main);
    line-height: 1.2;
    font-family: var(--font-rom);
    font-weight: bold;
}

/* Cuenta Regresiva */
.countdown-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.countdown-unit { text-align: center; }
.countdown-number {
    font-family: var(--font-rom);
    font-size: 3rem;
    display: block;
    color: var(--rom-text-main);
    line-height: 1;
}
.countdown-label {
    font-family: var(--font-info);
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: #555;
    margin-top: 0.5rem;
    display: block;
    font-weight: 500;
}
.countdown-separator {
    font-family: var(--font-rom);
    font-size: 2rem;
    color: var(--rom-accent-dim);
    margin-top: -1rem;
}

/* Google Maps */
.map-container {
    margin: 1.5rem 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.map-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-family: var(--font-info);
    color: var(--rom-accent);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.map-link:hover { color: #936a64; }

/* Código de Vestimenta */
.dresscode-info {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}
.dresscode-item { padding: 1rem 0; }
.dresscode-divider {
    height: 1px;
    background: #eee;
    margin: 0.5rem 0;
}

/* Colores Prohibidos */
.color-prohibited-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}
.color-swatch-card {
    text-align: center;
    position: relative;
}
.color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 0.8rem auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.color-name {
    font-size: 0.8rem;
    color: #666;
    font-family: var(--font-info);
}
.prohibited-x {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    color: var(--sys-alert);
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    pointer-events: none;
}

/* RSVP Form */
.rsvp-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Footer */
.wedding-footer {
    padding: 4rem 0 3rem 0;
    text-align: center;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .sys-title { font-size: 1.8rem; }
    .sys-text { font-size: 1.2rem; }
    .sys-btn { font-size: 1rem; padding: 1.2rem 2rem; }
    .sys-alert-box { font-size: 1.1rem; margin: 1.5rem 0; }
    .sys-input { font-size: 1.4rem; }

    .wedding-names { font-size: 2.8rem; }
    .detail-value { font-size: 1.6rem; }
    .countdown-number { font-size: 2.5rem; }
    .countdown-grid { gap: 0.5rem; }

    .quiz-question { font-size: 1rem; }
    .quiz-option { font-size: 0.9rem; padding: 1.1rem; }
    .quiz-result-terminal { font-size: 0.85rem; padding: 1.5rem; }
}

@media (max-width: 400px) {
    .wedding-names { font-size: 2.2rem; }
    .countdown-number { font-size: 2rem; }
    .countdown-separator { font-size: 1.5rem; }
}