/* ================================================================
   DEMO MODE — Aviso persistente de evento no activado
   13Bodas · Estilo dark luxury · cyan / purple accent
   ================================================================ */

/* ---- Banner superior fijo ---------------------------------------- */

.demo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 24px;
    min-height: 46px;
    background: #0d0720;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13.5px;
    flex-wrap: wrap;
    text-align: center;
}

/* Línea degradada animada en la base del banner */
.demo-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #b24bf3, #00e5ff, #f7d897, #00e5ff, #b24bf3);
    background-size: 300% 100%;
    animation: demoBannerLine 5s linear infinite;
}

@keyframes demoBannerLine {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* Chip "DEMO" */
.demo-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 11px;
    background: rgba(178, 75, 243, 0.18);
    border: 1px solid rgba(178, 75, 243, 0.5);
    border-radius: 999px;
    color: #d8a4f8;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Texto explicativo */
.demo-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.3;
}

/* CTA button */
.demo-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 22px;
    background: linear-gradient(135deg, #00e5ff 0%, #b24bf3 100%);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.demo-cta:hover,
.demo-cta:focus {
    box-shadow: 0 0 36px rgba(0, 229, 255, 0.45);
    transform: translateY(-1px);
    color: #fff !important;
    text-decoration: none !important;
}

/* Empuja el contenido del body para que no quede bajo el banner */
body {
    padding-top: 46px !important;
}

/* ---- Badge inferior derecho fijo --------------------------------- */

.demo-watermark {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    width: 228px;
    background: rgba(10, 5, 16, 0.97);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 18px;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 8px 48px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(178, 75, 243, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    animation: demoWmPulse 3.5s ease-in-out infinite;
}

/* Línea de brillo superior */
.demo-watermark::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00e5ff 50%, transparent);
    border-radius: 999px;
}

@keyframes demoWmPulse {
    0%, 100% {
        box-shadow:
            0 8px 48px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(178, 75, 243, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }
    50% {
        box-shadow:
            0 8px 48px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(0, 229, 255, 0.35),
            0 0 28px rgba(0, 229, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }
}

.demo-wm-title {
    margin: 0 0 2px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.2px;
}

.demo-wm-sub {
    margin: 0 0 10px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.45;
}

.demo-wm-btn {
    display: block;
    padding: 10px 0;
    text-align: center;
    background: linear-gradient(
        135deg,
        rgba(0, 229, 255, 0.12) 0%,
        rgba(178, 75, 243, 0.12) 100%
    );
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 11px;
    color: #00e5ff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
    letter-spacing: 0.1px;
}

.demo-wm-btn:hover,
.demo-wm-btn:focus {
    background: linear-gradient(135deg, #00e5ff 0%, #b24bf3 100%);
    border-color: transparent;
    color: #0a0510 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 22px rgba(0, 229, 255, 0.35);
}

/* ---- Responsive -------------------------------------------------- */

@media (max-width: 640px) {
    .demo-banner {
        gap: 10px;
        padding: 10px 16px;
        font-size: 12.5px;
    }

    .demo-text {
        display: none; /* en móvil solo chip + botón */
    }

    .demo-cta {
        padding: 7px 18px;
        font-size: 12.5px;
    }

    body {
        padding-top: 40px !important;
    }

    .demo-watermark {
        width: 200px;
        right: 12px;
        bottom: 12px;
        padding: 14px 14px 12px;
    }
}
