:root {
    --nfl-navy: #0b1230;
    --nfl-navy-2: #101c44;
    --nfl-blue: #2b5cff;
    --nfl-blue-2: #6f8dff;
    --nfl-red: #e0263a;
    --nfl-gold: #ffc531;
    --nfl-ink: #ffffff;
    --nfl-card: #ffffff;
    --nfl-line: #e6e9f5;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (max-width: 620px) {
    body { zoom: 0.85; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Roboto', sans-serif;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
    0%   { transform: scale(.85); opacity: 0; }
    70%  { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}
@keyframes shine {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-16px); }
    to   { opacity: 1; transform: translateX(0); }
}

body {
    min-height: 100vh;
    padding: 24px 16px 60px;
    color: var(--nfl-ink);
    background:
        radial-gradient(circle at 15% 0%, rgba(43,92,255,.35), transparent 45%),
        radial-gradient(circle at 100% 20%, rgba(224,38,58,.25), transparent 40%),
        linear-gradient(160deg, #050a1f 0%, #0b1230 55%, #050813 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

@media (max-width: 480px) { body { padding: 14px 10px 50px; } }

/* ===========================
   HEADER / MENÚ (rediseñado)
=========================== */
.nfl-header {
    position: relative;
    z-index: 50;
    width: 100%;
    max-width: 460px;
    margin-bottom: 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,106,0,.92), rgba(217,58,10,.85));
    backdrop-filter: blur(18px) saturate(220%);
    -webkit-backdrop-filter: blur(18px) saturate(220%);
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.4), 0 14px 34px rgba(3, 8, 20, .5);
    animation: fadeUp .45s ease both;
}

.nfl-header-in {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 10px;
}

.nfl-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .6px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex-shrink: 1;
}
.nfl-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    background: linear-gradient(90deg, #fff, #ffe3c2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nfl-logo-img {
    height: 30px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.nfl-burger {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.07);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 19px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .18s;
    flex-shrink: 0;
}
.nfl-burger:hover { background: var(--nfl-blue); border-color: var(--nfl-blue); }
.nfl-burger:active { transform: scale(.93); }

.nfl-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Cada link: pill limpio, sin subrayado, icono en su propia burbuja */
.nfl-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #c3cbe8;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .16s, color .16s, transform .16s;
}
.nfl-nav a i {
    font-size: 14px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    flex-shrink: 0;
}
.nfl-nav a:hover {
    background: rgba(255,255,255,.10);
    color: #fff;
    transform: translateY(-1px);
}
.nfl-nav a.activo {
    background: linear-gradient(135deg, var(--nfl-blue), #1b3fc4);
    color: #fff;
    box-shadow: 0 8px 18px rgba(43,92,255,.4);
}
.nfl-nav a.activo i { background: rgba(255,255,255,.20); }

/* Menú colapsable en pantallas chicas/medianas: mini dropdown anclado a la derecha */
@media (max-width: 979px) {
    .nfl-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: auto;
        width: 180px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 8px;
        background: rgba(9, 14, 38, .97);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 14px;
        box-shadow: 0 18px 38px rgba(3,8,20,.55);
        z-index: 70;
    }
    .nfl-nav.abierto { display: flex; animation: fadeUp .2s ease both; }
    .nfl-nav a {
        font-size: 13px;
        padding: 10px 12px;
        border-radius: 10px;
        background: rgba(255,255,255,.04);
    }
    .nfl-nav a i {
        width: 24px;
        height: 24px;
        font-size: 13px;
        border-radius: 8px;
    }
    .nfl-nav a:hover { background: rgba(255,255,255,.10); transform: none; }
}
@media (min-width: 980px) {
    .nfl-burger { display: none; }
}

.qm-page {
    width: 100%;
    max-width: 460px;
    animation: fadeUp .5s ease both;
}

.qm-card {
    background: var(--nfl-card);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(3, 8, 20, .55);
}

.qm-card-header {
    position: relative;
    background: linear-gradient(135deg, rgba(255,138,0,.92), rgba(217,58,10,.85));
    backdrop-filter: blur(16px) saturate(220%);
    -webkit-backdrop-filter: blur(16px) saturate(220%);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.45);
    padding: 22px 20px 20px;
    text-align: center;
    overflow: hidden;
}
.qm-card-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.10) 35%, transparent 50%);
    background-size: 200% 100%;
    animation: shine 5s linear infinite;
    pointer-events: none;
}

.qm-logo-card {
    position: absolute;
    left: 14px;
    top: 14px;
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 0 0 rgba(43,92,255,.5), 0 10px 22px rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    z-index: 2;
    animation: logoGlowPulse 1.8s ease-in-out infinite;
}
.qm-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

@keyframes logoGlowPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(43,92,255,.5), 0 10px 22px rgba(0,0,0,.35); transform: scale(1); }
    50%      { box-shadow: 0 0 16px 5px rgba(43,92,255,.6), 0 10px 26px rgba(0,0,0,.4); transform: scale(1.08); }
}

.qm-titulo { font-size: 20px; font-weight: 900; letter-spacing: .5px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.qm-subtitulo { font-size: 12px; font-weight: 700; color: #ffe3c2; margin-top: 4px; letter-spacing: .5px; }

.qm-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: rgba(0,0,0,.28);
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
    transition: .2s;
}
.qm-close:hover { background: var(--nfl-red); transform: rotate(90deg); }

.qm-partidos {
    position: relative;
    background: #f7f8fc;
    padding: 2px 8px 4px;
}
.qm-partidos::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../../assets/images/LogoNFL.PNG');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65%;
    opacity: .06;
    pointer-events: none;
    z-index: 0;
}
.qm-partidos > * {
    position: relative;
    z-index: 1;
}

.qm-row {
    display: grid;
    grid-template-columns: 2fr 1.3fr 2fr;
    align-items: center;
    padding: 3px 2px;
    border-bottom: 1px solid var(--nfl-line);
    animation: fadeUp .4s ease both;
    transition: background .15s;
}
.qm-row:hover { background: #eef1fb; }
.qm-row:last-of-type { border-bottom: none; }

.qm-team { display: flex; align-items: center; gap: 5px; min-width: 0; }
.qm-team-local { justify-content: flex-start; }
.qm-team-visit { justify-content: flex-end; }

.qm-team-name { font-size: 14px; font-weight: 900; color: #131a35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.qm-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; background: #eef1fb; flex-shrink: 0; }

.qm-cierre-footer {
    margin-top: 6px;
}
.qm-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2px;
}
.qm-badge-success { background: #e3faf0; color: #0d8f5a; }
.qm-badge-danger  { background: #ffe6e9; color: #c81c30; animation: badgePulse 1.6s ease-in-out infinite; }

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200,28,48,.35); }
    50%      { box-shadow: 0 0 0 5px rgba(200,28,48,0); }
}

.qm-balls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.qm-vs-mini {
    font-size: 8.5px;
    font-weight: 900;
    color: #b7bede;
    letter-spacing: .5px;
    padding: 0;
}

.qm-ball {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 1px;
    flex-shrink: 0;
    transition: transform .18s cubic-bezier(.3,1.6,.5,1);
}
.qm-ball svg { width: 100%; height: 100%; overflow: visible; transform: scale(1.3); transform-origin: center; }

.qm-ball .ball-body {
    fill: url(#ballGris);
    stroke: #c6cde8;
    stroke-width: 1.8;
    transition: stroke .25s, fill .25s;
}
.qm-ball .ball-line,
.qm-ball .ball-franja {
    fill: none;
    stroke: #c6cde8;
    stroke-width: 1.6;
    stroke-linecap: round;
    transition: stroke .25s, opacity .25s;
}
.qm-ball .ball-franja { stroke-width: 2; }
.qm-ball .ball-brillo { fill: #ffffff; opacity: 0; transition: opacity .25s; }
.qm-ball .ball-letter {
    font-size: 15px;
    font-weight: 900;
    fill: #7d86ac;
    font-family: 'Inter', 'Roboto', sans-serif;
    transition: fill .25s;
    pointer-events: none;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.55));
}

.qm-ball:hover { transform: translateY(-3px) rotate(-6deg) scale(1.08); }
.qm-ball:active { transform: scale(.92); }
.qm-ball:focus-visible {
    outline: 2px solid var(--nfl-blue);
    outline-offset: 2px;
    border-radius: 10px;
}

.qm-ball.activo .ball-body {
    fill: url(#ballPiel);
    stroke: #7a4419;
}
.qm-ball.activo .ball-line   { stroke: #fdf6e6; }
.qm-ball.activo .ball-franja { stroke: #fffaf0; }
.qm-ball.activo .ball-brillo { opacity: .24; }
.qm-ball.activo .ball-letter { fill: #000000; }
.qm-ball.activo svg { animation: ballPop .35s ease; }

@keyframes ballPop {
    0%   { transform: scale(.65) rotate(-14deg); }
    55%  { transform: scale(1.2) rotate(5deg); }
    100% { transform: scale(1) rotate(0); }
}

.qm-nombre-row { display: flex; gap: 6px; }
.qm-input {
    flex: 1;
    padding: 9px 12px;
    border-radius: 10px;
    border: 2px solid var(--nfl-line);
    font-weight: 700;
    font-size: 13px;
    outline: none;
    transition: .15s;
}
.qm-input:focus { border-color: var(--nfl-blue); box-shadow: 0 0 0 3px rgba(43,92,255,.15); }

.qm-btn {
    border: none;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    background: var(--nfl-blue);
    color: #fff;
    box-shadow: 0 0 10px rgba(43,92,255,.45), 0 6px 14px rgba(43,92,255,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform .18s, filter .18s, box-shadow .18s, background .2s, color .2s;
}
.qm-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.qm-btn:active { transform: translateY(0) scale(.95); }
.qm-btn i { animation: iconPulse 1.7s ease-in-out infinite; }

.qm-btn-add { background: linear-gradient(135deg, #ffa63d, #ff7a1a) !important; box-shadow: 0 0 10px rgba(255,166,61,.5), 0 6px 14px rgba(255,122,26,.3) !important; }

.qm-btn-enviar { background: linear-gradient(135deg, #22d16a, #128a45) !important; box-shadow: 0 0 10px rgba(34,209,106,.5), 0 6px 14px rgba(18,138,69,.32) !important; }

.qm-btn-red { background: linear-gradient(135deg, #ff5062, var(--nfl-red)) !important; box-shadow: 0 0 10px rgba(255,80,98,.5), 0 6px 14px rgba(224,38,58,.32) !important; }

.qm-btn-sec { background: #eef1fb; color: #1c2650; box-shadow: none; }

#btnRandom { background: linear-gradient(135deg, #a855f7, #6d28d9) !important; box-shadow: 0 0 10px rgba(168,85,247,.5), 0 6px 14px rgba(109,40,217,.3) !important; }

.qm-btn-teal {
    background: #dfe3ee !important;
    color: #4b5578 !important;
    box-shadow: none !important;
}
.qm-btn-teal i { animation: iconFloat .9s ease-in-out infinite; }
.qm-btn-teal.dobles-activo {
    background: linear-gradient(135deg, #14c2b0, #0d8f82) !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(20,194,176,.3), 0 0 14px rgba(20,194,176,.6), 0 6px 14px rgba(13,143,130,.4) !important;
    animation: tealPulse 1.6s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.3); }
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-3.5px) scale(1.12); }
}
@keyframes tealPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(20,194,176,.3), 0 6px 14px rgba(13,143,130,.4); }
    50%      { box-shadow: 0 0 0 6px rgba(20,194,176,.12), 0 6px 18px rgba(13,143,130,.5); }
}

.qm-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
}
.qm-actions-grid .qm-btn { width: 100%; }

/* ===========================
   BOTONES ESTILO "PASTILLA" (círculo blanco + texto)
=========================== */
.qm-btn-pill {
    position: relative;
    justify-content: flex-start;
    padding-left: 44px;
    padding-right: 14px;
    padding-top: 9px;
    padding-bottom: 9px;
    border-radius: 999px;
    gap: 0;
    overflow: visible;
    border: none;
    color: #fff !important;
}
.qm-btn-icon {
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0,0,0,.35);
    flex-shrink: 0;
}
.qm-btn-icon i { font-size: 17px; }
.qm-btn-text {
    flex: 1;
    text-align: center;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .3px;
}

#btnRandom.qm-btn-pill { background: linear-gradient(135deg, #7c3aed, #5b21b6) !important; box-shadow: 0 6px 14px rgba(109,40,217,.4) !important; }
#btnRandom .qm-btn-icon i { color: #6d28d9; }

.qm-btn-pill.qm-btn-enviar { background: linear-gradient(135deg, #22c55e, #128a45) !important; box-shadow: 0 6px 14px rgba(18,138,69,.4) !important; }
.qm-btn-enviar .qm-btn-icon i { color: #128a45; }

.qm-btn-pill.qm-btn-red { background: linear-gradient(135deg, #ef4444, #c81f2f) !important; box-shadow: 0 6px 14px rgba(200,31,47,.4) !important; }
.qm-btn-red .qm-btn-icon i { color: var(--nfl-red); }

.qm-btn-pill.qm-btn-teal { background: linear-gradient(135deg, #c3c8d9, #8b93b0) !important; box-shadow: 0 6px 14px rgba(139,147,176,.35) !important; }
.qm-btn-teal .qm-btn-icon i { color: #6b7290; }
.qm-btn-pill.qm-btn-teal.dobles-activo { background: linear-gradient(135deg, #14b8a6, #0d8f82) !important; box-shadow: 0 6px 14px rgba(13,143,130,.45) !important; animation: none !important; }
.qm-btn-teal.dobles-activo .qm-btn-icon i { color: #0d8f82; }

.qm-preview {
    margin-top: 8px;
    background: linear-gradient(135deg, rgba(255,106,0,.92), rgba(217,58,10,.85));
    backdrop-filter: blur(14px) saturate(220%);
    -webkit-backdrop-filter: blur(14px) saturate(220%);
    border: 1px solid rgba(255,255,255,.32);
    color: #fff;
    padding: 9px 10px;
    border-radius: 12px;
    font-weight: 900;
    text-align: center;
    font-size: 14px;
    letter-spacing: 4px;
    word-break: break-all;
    text-shadow: 0 0 10px rgba(255,176,102,.45);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.4);
}

.qm-resumen {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255,106,0,.92), rgba(217,58,10,.85));
    backdrop-filter: blur(14px) saturate(220%);
    -webkit-backdrop-filter: blur(14px) saturate(220%);
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 14px;
    padding: 9px 6px;
    max-width: 100%;
    margin: 8px auto 0;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.4), 0 8px 18px rgba(3,8,20,.35);
}
.qm-resumen-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: left;
}
.qm-resumen-item i {
    font-size: 16px;
    color: #3b82f6;
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(59,130,246,.6));
}
.qm-resumen-item div { display: flex; flex-direction: column; line-height: 1.15; }
.qm-resumen-label { font-size: 8.5px; font-weight: 800; color: #ffd9b3; text-transform: uppercase; letter-spacing: .4px; }
.qm-resumen-value { font-size: 13.5px; font-weight: 900; color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.85); }
.qm-resumen-item.total i { color: #ffc531; filter: drop-shadow(0 0 4px rgba(255,197,49,.55)); }
.qm-resumen-item.total .qm-resumen-value { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.85); }
.qm-resumen-sep { width: 1px; background: rgba(255,255,255,.16); margin: 2px 4px; }

.qm-tabla-final {
    margin-top: 8px;
    background: rgba(255,255,255,.95);
    color: #131a35;
    padding: 7px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
    font-size: 12px;
    font-weight: 700;
}

.qm-save-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #d7dcef;
    animation: slideIn .3s ease both;
}
.qm-save-row:last-child { margin-bottom: 0; border-bottom: none; }

.qm-save-cols { flex: 1; display: flex; flex-wrap: wrap; gap: 4px; }

.qm-save-cell { padding: 3px 7px; text-align: center; background: #eef1fb; border-radius: 6px; min-width: 20px; font-size: 12px; }

.qm-save-cell.qm-save-nombre {
    max-width: 110px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: var(--nfl-navy);
    color: #fff;
}
.qm-save-cell.qm-save-cant { background: var(--nfl-blue); color: #fff; }

.qm-save-del {
    margin-left: 5px;
    border: none;
    background: var(--nfl-red);
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: .15s;
}
.qm-save-del:hover { transform: scale(1.15); }

.qm-empty { text-align: center; color: #7280a8; padding: 30px 10px; font-weight: 600; font-size: 14px; }

/* ===========================
   AJUSTES PARA PANTALLAS GRANDES (PC)
   Van al final para que sí sobreescriban las reglas base.
=========================== */
@media (min-width: 980px) {
    .nfl-header {
        width: -webkit-fit-content;
        width: fit-content;
        max-width: 1040px;
    }
    .nfl-header-in { padding: 10px 20px; gap: 28px; }
    .nfl-brand { flex-shrink: 0; overflow: visible; text-overflow: unset; }
    .nfl-nav { gap: 4px; }
    .nfl-nav a { font-size: 12.5px; padding: 9px 12px; }
    .nfl-nav a i { width: 22px; height: 22px; font-size: 13px; }
}

/* ===========================
   PRELOADER (marca de agua DevLuis01 al cargar)
=========================== */
#devluis-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: opacity .5s ease, visibility .5s ease;
}
#devluis-preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.devluis-preloader-logo-wrap {
    position: relative;
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.devluis-preloader-logo-wrap img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    opacity: 1;
    animation: devluisPulse 1.4s ease-in-out infinite;
}
.devluis-preloader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.08);
    border-top-color: #60a5fa;
    border-right-color: #c084fc;
    animation: devluisSpin 1s linear infinite;
}
@keyframes devluisSpin { to { transform: rotate(360deg); } }
@keyframes devluisPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(96,165,250,.6)) drop-shadow(0 0 4px rgba(0,0,0,.6)); }
    50%      { transform: scale(1.1); filter: drop-shadow(0 0 22px rgba(192,132,252,.95)) drop-shadow(0 0 10px rgba(96,165,250,.7)); }
}
.devluis-preloader-text {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .6px;
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: devluisTextGlow 1.4s ease-in-out infinite;
}
@keyframes devluisTextGlow {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(96,165,250,.5)); }
    50%      { filter: drop-shadow(0 0 12px rgba(192,132,252,.9)); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::after, *::before {
        animation: none !important;
        transition: none !important;
    }
}