/* ==========================================
   NW TICKETS — Splash de logo (carga de página)
   Secuencia: 1) círculos se dibujan  2) aparece la marca NW  3) aparece "Tickets"
   ========================================== */

.logo-splash {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background-color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.logo-splash::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 45%, rgba(201, 169, 97, 0.12) 0%, transparent 60%);
    opacity: 0;
    animation: splashGlow 2.6s ease forwards;
}

.logo-splash.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.logo-splash-mark {
    position: relative;
    width: 130px;
    height: 130px;
}

.logo-splash-mark svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* 1) Los dos anillos se "dibujan" con stroke-dashoffset, uno tras otro */
.logo-ring {
    stroke: var(--gold);
    stroke-width: 20.83px;
    fill: none;
}

.logo-ring-outer {
    stroke-dasharray: 6597;
    stroke-dashoffset: 6597;
    animation: ringDraw 0.85s cubic-bezier(0.65, 0, 0.35, 1) 0.1s forwards;
}

.logo-ring-inner {
    stroke-dasharray: 6174;
    stroke-dashoffset: 6174;
    animation: ringDraw 0.85s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}

@keyframes ringDraw {
    to {
        stroke-dashoffset: 0;
    }
}

/* 2) La marca "NW" aparece después de que los anillos terminan de dibujarse */
.logo-nw-mark {
    opacity: 0;
    transform: scale(0.82);
    transform-box: fill-box;
    transform-origin: center;
    animation: markIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards;
}

@keyframes markIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 3) "Tickets" aparece al final, cuando la marca ya está completa */
.logo-splash-word {
    margin-top: 26px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 8px;
    color: var(--gold);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    animation: splashWordIn 0.7s ease 1.45s forwards;
}

@keyframes splashWordIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes splashGlow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Logo pequeño reutilizado en headers / sidebar / login */
.brand-mark {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.3s ease;
}

a .brand-mark:hover .brand-mark-img {
    filter: drop-shadow(0 0 6px rgba(201, 169, 97, 0.5));
}

.brand-mark-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-mark-nw {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
}

.brand-mark-tickets {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--light-gray);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Versión centrada más grande, usada en tarjetas de auth */
.brand-mark.brand-mark-center {
    flex-direction: column;
    text-align: center;
    gap: 14px;
}

.brand-mark-center .brand-mark-img {
    width: 64px;
    height: 64px;
}

.brand-mark-center .brand-mark-text {
    align-items: center;
}

@media (max-width: 768px) {
    .logo-splash-mark {
        width: 96px;
        height: 96px;
    }

    .logo-splash-word {
        font-size: 11px;
        letter-spacing: 6px;
    }
}
