/* ==============================================
   AEROFIELD — SEED LOGIN GATE (THREE-TILE)
   Bodhhic Theme · Academy Graphics · Tom Freebird
   ============================================== */


/* ══════════════════════════════════════════════════
   GATE PAGE — Full Viewport Layout
   ══════════════════════════════════════════════════ */
/* Gate is now a standalone page (gate.html).
   Body handles the flex column layout directly.
   No overlay visibility/opacity toggling needed. */


/* ══════════════════════════════════════════════════
   ACADEMY-IMPORTED BACKGROUNDS
   ══════════════════════════════════════════════════ */
.sl-bg-void {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 120% 80% at 50% 50%,
            rgba(10, 10, 15, 1) 0%,
            rgba(6, 6, 10, 1) 100%);
}

.sl-bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.025;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(212, 160, 74, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 160, 74, 0.3) 1px, transparent 1px);
    background-size: 80px 80px;
}


/* ══════════════════════════════════════════════════
   GATE CONTAINER (4-Column Grid)
   ══════════════════════════════════════════════════ */
.sl-gate {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    grid-template-rows: 1fr;
    gap: 14px;
    width: 100%;
    padding: 0;
    flex: 1;
    min-height: 0;
    margin: 0;
    height: 100%;
    box-sizing: border-box;
    animation: sl-gate-enter 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* iPad Pro Optimization: No scroll, touch-friendly, fits 1024x1366 viewport */
@media (max-width: 1024px) and (orientation: portrait) {
    .sl-gate {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 2fr 1fr;
        gap: 10px;
        height: 100%;
    }
    .sl-tile--auth {
        grid-row: 2;
        aspect-ratio: 1 / 1;
        max-width: 100%;
        max-height: 60vh;
    }
    .sl-tile--brand, .sl-tile--tom {
        grid-row: span 1;
        max-height: 25vh;
    }
    body { padding: 10px; }
}

@media (max-width: 1366px) and (orientation: landscape) {
    .sl-gate {
        grid-template-columns: 1fr 1.2fr 1fr;
        gap: 12px;
    }
    .sl-tile--auth { max-width: 90%; max-height: 85vh; }
    .sl-tile--brand, .sl-tile--tom { max-width: 100%; max-height: 85vh; }
    body { padding: 12px; }
}

@keyframes sl-gate-enter {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}


/* ══════════════════════════════════════════════════
   TILE BASE
   ══════════════════════════════════════════════════ */
.sl-tile {
    position: relative;
    background: rgba(16, 16, 24, 0.6);
    border: 1px solid var(--border-subtle, rgba(212, 160, 74, 0.08));
    border-radius: var(--radius, 12px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Shared inner glow */
.sl-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%,
        rgba(212, 160, 74, 0.03) 0%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Breathing border glow */
.sl-tile::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg,
        rgba(212, 160, 74, 0.08),
        transparent 40%,
        transparent 60%,
        rgba(139, 92, 246, 0.06));
    z-index: -1;
    animation: sl-tile-breathe 6s ease-in-out infinite;
}

@keyframes sl-tile-breathe {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}


/* ══════════════════════════════════════════════════
   TILE 1 — BODHHIC BRAND (Left)
   ══════════════════════════════════════════════════ */
.sl-tile--brand {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: linear-gradient(175deg,
        rgba(14, 13, 18, 0.97) 0%,
        rgba(8, 6, 14, 0.99) 50%,
        rgba(10, 8, 16, 0.98) 100%);
    overflow: hidden;
}

.sl-brand-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 clamp(12px, 1.5vw, 24px);
    flex: 1;
    min-height: 0;
    justify-content: center;
    gap: clamp(2px, 0.5vh, 6px);
}

.sl-brand-sanskrit {
    font-family: 'Noto Sans Devanagari', serif;
    font-size: clamp(11px, 1.2vw, 14px);
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(139, 92, 246, 0.45);
    margin-top: clamp(6px, 1.5vh, 16px);
}

.sl-brand-translate {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(232, 228, 220, 0.2);
    margin-top: 2px;
}


/* ── Brand Title ── */
.sl-title {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    line-height: 1.3;
    background: linear-gradient(180deg, #d4a04a 0%, #a0724a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.sl-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(212, 160, 74, 0.35);
    line-height: 1.8;
    margin-top: 4px;
}


/* ══════════════════════════════════════════════════
   DECORATIVE: AKASHA RINGS (Academy Import)
   ══════════════════════════════════════════════════ */
.sl-deco-akasha {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.sl-deco-void {
    width: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(6, 6, 12, 1) 0%,
        rgba(139, 92, 246, 0.05) 100%);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.1);
    position: absolute;
}

.sl-deco-ring {
    width: 120px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.08);
    position: absolute;
    animation: sl-akasha-expand 6s ease-out infinite;
}

.sl-deco-ring--2 { animation-delay: -2s; }
.sl-deco-ring--3 { animation-delay: -4s; }

.sl-deco-om {
    font-family: 'Noto Sans Devanagari', serif;
    font-size: 28px;
    color: rgba(139, 92, 246, 0.15);
    position: absolute;
    animation: sl-om-pulse 8s ease-in-out infinite;
    user-select: none;
}

@keyframes sl-akasha-expand {
    0%   { transform: scale(0.3); opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes sl-om-pulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50%      { opacity: 0.3; transform: scale(1.1); }
}


/* ══════════════════════════════════════════════════
   DECORATIVE: AGNI FIRE (Academy Import)
   ══════════════════════════════════════════════════ */
.sl-deco-agni {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 30%;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sl-deco-core {
    width: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255, 140, 0, 0.35) 0%,
        rgba(255, 69, 0, 0.15) 40%,
        transparent 70%);
    filter: drop-shadow(0 0 12px rgba(255, 69, 0, 0.3))
            drop-shadow(0 0 24px rgba(255, 140, 0, 0.1));
    animation: sl-agni-pulse 2s ease-in-out infinite;
    position: absolute;
}

.sl-deco-flame {
    width: 12px;
    height: 25px;
    background: linear-gradient(0deg,
        rgba(255, 69, 0, 0.2) 0%,
        rgba(255, 200, 0, 0.06) 60%,
        transparent 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    bottom: 50%;
    filter: blur(1px);
    animation: sl-agni-flicker 1.5s ease-in-out infinite;
    transform-origin: bottom center;
}

.sl-deco-flame--2 {
    width: 9px;
    height: 18px;
    left: 55%;
    animation-delay: -0.7s;
    animation-duration: 1.8s;
}

.sl-deco-spark {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #ffaa00;
    position: absolute;
    filter: drop-shadow(0 0 3px #ff6b35);
    animation: sl-agni-spark 2.5s ease-out infinite;
}

.sl-deco-spark--2 { left: 60%; animation-delay: -0.8s; }
.sl-deco-spark--3 { left: 35%; animation-delay: -1.6s; animation-duration: 3s; }

@keyframes sl-agni-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.2); }
}

@keyframes sl-agni-flicker {
    0%, 100% { transform: scaleY(1) scaleX(1) rotate(-2deg); opacity: 0.5; }
    30%      { transform: scaleY(1.2) scaleX(0.9) rotate(1deg); opacity: 0.8; }
    60%      { transform: scaleY(0.9) scaleX(1.1) rotate(-1deg); opacity: 0.4; }
}

@keyframes sl-agni-spark {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.8; }
    100% { transform: translate(10px, -30px) scale(0); opacity: 0; }
}


/* ══════════════════════════════════════════════════
   BRAND TILE FOOTER
   ══════════════════════════════════════════════════ */
.sl-brand-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: clamp(6px, 1vh, 12px) 12px;
    background: linear-gradient(90deg,
        rgba(212, 160, 74, 0.02) 0%,
        rgba(212, 160, 74, 0.04) 50%,
        rgba(212, 160, 74, 0.02) 100%);
    border-top: 1px solid rgba(212, 160, 74, 0.06);
    flex-shrink: 0;
}


/* ══════════════════════════════════════════════════
   TILE 2 — AUTHENTICATION (Center)
   ══════════════════════════════════════════════════ */
.sl-tile--auth {
    padding: clamp(10px, 1.5vh, 16px) clamp(16px, 1.5vw, 28px) clamp(8px, 1vh, 14px);
    overflow: hidden;
}

/* (Auth topbar label removed — consolidated into gate navbar) */


/* ── Close Button ── */
.sl-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(212, 160, 74, 0.12);
    background: rgba(212, 160, 74, 0.03);
    color: rgba(212, 160, 74, 0.35);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sl-close:hover {
    border-color: rgba(212, 160, 74, 0.35);
    color: #d4a04a;
    background: rgba(212, 160, 74, 0.08);
    box-shadow: 0 0 12px rgba(212, 160, 74, 0.1);
}


/* ── Divider ── */
.sl-divider {
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 160, 74, 0.12) 50%,
        transparent 100%);
    margin-bottom: 10px;
    flex-shrink: 0;
}


/* ── Tabs ── */
.sl-tabs {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
    background: rgba(212, 160, 74, 0.02);
    border-radius: 8px;
    padding: 3px;
    border: 1px solid rgba(212, 160, 74, 0.06);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.sl-tab {
    flex: 1;
    padding: 7px 10px;
    background: none;
    border: 1px solid transparent;
    border-radius: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(212, 160, 74, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sl-tab:hover {
    color: rgba(212, 160, 74, 0.55);
}

.sl-tab--active {
    background: rgba(212, 160, 74, 0.06);
    border-color: rgba(212, 160, 74, 0.15);
    color: #d4a04a;
    box-shadow: 0 0 12px rgba(212, 160, 74, 0.05);
}


/* ── Panel ── */
.sl-panel {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}


/* ── Info Text ── */
.sl-info {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    line-height: 1.6;
    color: rgba(232, 228, 220, 0.4);
    margin-bottom: 10px;
    flex-shrink: 0;
}

.sl-info strong {
    color: rgba(212, 160, 74, 0.7);
}


/* ── Action Buttons ── */
.sl-generate,
.sl-verify,
.sl-confirm {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(212, 160, 74, 0.12), rgba(160, 110, 50, 0.06));
    border: 1px solid rgba(212, 160, 74, 0.35);
    border-radius: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(212, 160, 74, 0.9);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-bottom: 10px;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(212, 160, 74, 0.06);
}

.sl-generate:hover,
.sl-verify:hover,
.sl-confirm:hover:not(:disabled) {
    background: linear-gradient(135deg,
        rgba(212, 160, 74, 0.18),
        rgba(160, 110, 50, 0.1));
    box-shadow: 0 0 24px rgba(212, 160, 74, 0.1),
                0 0 50px rgba(212, 160, 74, 0.04);
    border-color: rgba(212, 160, 74, 0.5);
    text-shadow: 0 0 10px rgba(212, 160, 74, 0.3);
    transform: translateY(-1px);
}

.sl-generate:active,
.sl-verify:active,
.sl-confirm:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.sl-generate::before,
.sl-verify::before,
.sl-confirm::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #d4a04a;
    transform: rotate(45deg);
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 0 6px rgba(212, 160, 74, 0.5);
}


/* ── Phrase Grid ── */
.sl-phrase-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(4px, 0.5vw, 8px);
    margin-bottom: clamp(6px, 1vh, 12px);
    flex-shrink: 0;
}

.sl-word {
    background: rgba(212, 160, 74, 0.035);
    border: 1px solid rgba(212, 160, 74, 0.1);
    border-radius: 6px;
    padding: clamp(4px, 0.6vh, 8px) clamp(2px, 0.3vw, 6px);
    text-align: center;
    opacity: 0;
    animation: sl-word-appear 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sl-word:hover {
    border-color: rgba(212, 160, 74, 0.25);
    background: rgba(212, 160, 74, 0.06);
}

/* Fragment word variant */
.sl-word--fragment {
    border-color: rgba(180, 60, 60, 0.18);
    background: rgba(180, 60, 60, 0.04);
}
.sl-word--fragment:hover {
    border-color: rgba(180, 60, 60, 0.35);
    background: rgba(180, 60, 60, 0.08);
}
.sl-word--fragment .sl-word-num {
    color: rgba(180, 60, 60, 0.35);
}
.sl-word--fragment .sl-word-text {
    color: #b34;
}

.sl-word-num {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(212, 160, 74, 0.22);
    margin-bottom: 3px;
}

.sl-word-text {
    display: block;
    font-family: 'Noto Sans Brahmi', 'Inter', serif;
    font-size: 12px;
    font-weight: 600;
    color: #d4a04a;
    letter-spacing: 0.5px;
}

@keyframes sl-word-appear {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ── Download Key File Button ── */
.sl-download-key {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    margin-bottom: 10px;
    background: rgba(212, 160, 74, 0.04);
    border: 1px solid rgba(212, 160, 74, 0.18);
    border-radius: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(212, 160, 74, 0.65);
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.sl-download-key::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(212, 160, 74, 0.06) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sl-download-key:hover {
    background: rgba(212, 160, 74, 0.08);
    border-color: rgba(212, 160, 74, 0.35);
    color: #d4a04a;
    box-shadow: 0 0 20px rgba(212, 160, 74, 0.08),
                inset 0 0 20px rgba(212, 160, 74, 0.03);
}

.sl-download-key:hover::before { opacity: 1; }
.sl-download-key:active { transform: scale(0.98); }

.sl-download-key svg {
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(212, 160, 74, 0.3));
}

.sl-download-key--done {
    border-color: rgba(0, 255, 65, 0.25) !important;
    color: rgba(0, 255, 65, 0.6) !important;
    background: rgba(0, 255, 65, 0.03) !important;
}


/* ── Warning Box ── */
.sl-warning {
    background: rgba(212, 160, 74, 0.04);
    border: 1px solid rgba(212, 160, 74, 0.12);
    border-radius: 8px;
    padding: clamp(6px, 1vh, 12px) clamp(10px, 1vw, 18px);
    text-align: center;
    margin-bottom: clamp(6px, 1vh, 12px);
    flex-shrink: 0;
}

.sl-warning-icon {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 18px solid #d4a04a;
    margin: 0 auto 6px;
    position: relative;
    filter: drop-shadow(0 0 6px rgba(212, 160, 74, 0.3));
}

.sl-warning-icon::after {
    content: '!';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    color: #000;
    font-size: 14px;
    font-weight: bold;
}

.sl-warning-text {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    line-height: 1.8;
    color: rgba(212, 160, 74, 0.55);
}

.sl-warning-text strong {
    color: rgba(212, 160, 74, 0.8);
}


/* ── Checkbox ── */
.sl-check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(232, 228, 220, 0.45);
    cursor: pointer;
    margin-bottom: 8px;
    padding: 0 4px;
    user-select: none;
    flex-shrink: 0;
}

.sl-check-label input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(212, 160, 74, 0.25);
    border-radius: 4px;
    background: rgba(212, 160, 74, 0.03);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.sl-check-label input[type="checkbox"]:checked {
    background: rgba(212, 160, 74, 0.14);
    border-color: rgba(212, 160, 74, 0.55);
}

.sl-check-label input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #d4a04a;
}


/* ── Upload Key File Button ── */
.sl-upload-key {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: rgba(212, 160, 74, 0.03);
    border: 1px dashed rgba(212, 160, 74, 0.2);
    border-radius: 10px;
    color: rgba(212, 160, 74, 0.5);
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
}

.sl-upload-key::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(212, 160, 74, 0.06) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sl-upload-key:hover {
    background: rgba(212, 160, 74, 0.08);
    border-color: rgba(212, 160, 74, 0.4);
    color: #d4a04a;
    box-shadow: 0 0 20px rgba(212, 160, 74, 0.08),
                inset 0 0 20px rgba(212, 160, 74, 0.03);
}

.sl-upload-key:hover::before { opacity: 1; }
.sl-upload-key:active { transform: scale(0.98); }

.sl-upload-key svg {
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(212, 160, 74, 0.3));
}

.sl-upload-key--done {
    border-style: solid;
    border-color: rgba(0, 255, 65, 0.25) !important;
    color: rgba(0, 255, 65, 0.6) !important;
    background: rgba(0, 255, 65, 0.03) !important;
}


/* ── OR Divider ── */
.sl-or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
    flex-shrink: 0;
}

.sl-or-line {
    flex: 1;
    height: 1px;
    background: rgba(212, 160, 74, 0.08);
}

.sl-or-text {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: rgba(232, 228, 220, 0.2);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}


/* ── Input (Access Panel) ── */
.sl-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(212, 160, 74, 0.025);
    border: 1px solid rgba(212, 160, 74, 0.12);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #d4a04a;
    resize: none;
    outline: none;
    margin-bottom: 10px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}

.sl-input::placeholder {
    color: rgba(212, 160, 74, 0.18);
    font-style: italic;
    font-size: 11px;
}

.sl-input:focus {
    border-color: rgba(212, 160, 74, 0.35);
    box-shadow: 0 0 18px rgba(212, 160, 74, 0.05);
}


/* ── Status Messages ── */
.sl-status {
    text-align: center;
    min-height: 18px;
    margin-top: auto;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.sl-status-msg {
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: sl-status-fade 0.3s ease both;
}

.sl-status-msg--success {
    color: #00ff41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.sl-status-msg--error {
    color: #ff4444;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.2);
}

.sl-status-msg--info {
    color: rgba(212, 160, 74, 0.55);
}

.sl-status-msg--loading {
    color: rgba(212, 160, 74, 0.45);
}

@keyframes sl-status-fade {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ── Status Dots (Brand Footer) ── */
.sl-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: rgba(212, 160, 74, 0.28);
    text-transform: uppercase;
}

.sl-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.sl-dot--g {
    background: #d4a04a;
    box-shadow: 0 0 5px rgba(212, 160, 74, 0.5);
}

.sl-dot--a {
    background: #ffaa00;
    box-shadow: 0 0 5px rgba(255, 170, 0, 0.5);
}


/* ── IP Counter ── */
.sl-ip-counter {
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: rgba(212, 160, 74, 0.25);
    margin-bottom: 14px;
    text-transform: uppercase;
}


/* ══════════════════════════════════════════════════
   TILE 3 — TOM FREEBIRD CHAT (Right)
   ══════════════════════════════════════════════════ */
.sl-tile--tom {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.sl-tom-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(46, 204, 113, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: sl-smoke-rise 10s ease-in-out infinite;
}


/* ── Tom Header ── */
.sl-tom-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
    background: linear-gradient(180deg,
        rgba(139, 92, 246, 0.03) 0%,
        transparent 100%);
    flex-shrink: 0;
}

.sl-tom-avatar-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.sl-tom-avatar-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid rgba(139, 92, 246, 0.3);
    animation: sl-tom-ring-pulse 3s ease-in-out infinite;
}

.sl-tom-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(0.3) brightness(0.9);
}

.sl-tom-badge {
    position: absolute;
    bottom: -2px;
    right: -4px;
    background: rgba(139, 92, 246, 0.7);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 1px 4px;
    border-radius: 4px;
    line-height: 1.3;
}

.sl-tom-info {
    flex: 1;
    min-width: 0;
}

.sl-tom-name {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(232, 228, 220, 0.85);
    margin: 0;
}

.sl-tom-role {
    font-family: 'Rajdhani', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(139, 92, 246, 0.5);
}

.sl-tom-online {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(0, 255, 65, 0.5);
    flex-shrink: 0;
}

.sl-tom-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00ff41;
    box-shadow: 0 0 6px rgba(0, 255, 65, 0.5);
    animation: sl-tom-dot-pulse 2s ease-in-out infinite;
}

@keyframes sl-tom-ring-pulse {
    0%, 100% { border-color: rgba(139, 92, 246, 0.3); }
    50%      { border-color: rgba(139, 92, 246, 0.5); }
}

@keyframes sl-tom-dot-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(0, 255, 65, 0.5); }
    50%      { opacity: 0.4; box-shadow: 0 0 2px rgba(0, 255, 65, 0.3); }
}


/* ── Chat Messages ── */
.sl-tom-chat {
    flex: 1;
    overflow-y: auto;
    padding: clamp(6px, 1vh, 14px) clamp(8px, 1vw, 14px) clamp(4px, 0.5vh, 8px);
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 0.8vh, 10px);
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.12) transparent;
    position: relative;
    z-index: 1;
    min-height: 0;
}

.sl-tom-chat::-webkit-scrollbar { width: 3px; }
.sl-tom-chat::-webkit-scrollbar-track { background: transparent; }
.sl-tom-chat::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.15);
    border-radius: 3px;
}

/* Message Bubbles */
.sl-tc-msg {
    max-width: 92%;
    padding: 10px 13px;
    border-radius: 12px 12px 12px 4px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.65;
    animation: sl-tc-msg-in 0.35s ease both;
}

.sl-tc-msg--tom {
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.1);
    color: rgba(232, 228, 220, 0.75);
    align-self: flex-start;
}

.sl-tc-msg--tom strong {
    color: rgba(139, 92, 246, 0.8);
}

.sl-tc-msg--user {
    background: rgba(212, 160, 74, 0.06);
    border: 1px solid rgba(212, 160, 74, 0.12);
    color: rgba(212, 160, 74, 0.85);
    align-self: flex-end;
    border-radius: 12px 12px 4px 12px;
}

.sl-tc-msg--system {
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(139, 92, 246, 0.3);
    padding: 6px 0;
    align-self: center;
}

@keyframes sl-tc-msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ── Typing Indicator ── */
.sl-tom-typing {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.sl-tom-typing-dots {
    display: flex;
    gap: 3px;
}

.sl-tom-typing-dots span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.4);
    animation: sl-tom-typing-bounce 1.4s ease-in-out infinite;
}

.sl-tom-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.sl-tom-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

.sl-tom-typing-text {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-style: italic;
    color: rgba(139, 92, 246, 0.35);
}

@keyframes sl-tom-typing-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30%           { transform: translateY(-4px); }
}


/* ── Input Area ── */
.sl-tom-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid rgba(139, 92, 246, 0.08);
    background: rgba(139, 92, 246, 0.02);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.sl-tom-input {
    flex: 1;
    padding: 7px 12px;
    background: rgba(139, 92, 246, 0.04);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(232, 228, 220, 0.8);
    outline: none;
    transition: border-color 0.3s ease;
}

.sl-tom-input::placeholder {
    color: rgba(139, 92, 246, 0.25);
    font-size: 11px;
}

.sl-tom-input:focus {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.05);
}

.sl-tom-send {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.15);
    background: rgba(139, 92, 246, 0.06);
    color: rgba(139, 92, 246, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sl-tom-send:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.35);
    color: #a78bfa;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.15);
}

.sl-tom-send:active {
    transform: scale(0.9);
}


/* ══════════════════════════════════════════════════
   TILE 4 — Bodhhic Neural Flow
   ══════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */
/* Professional Neural Tile Styles */
.sl-neural-equation {
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    padding: 0 18px;
}
.sl-eq-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.sl-eq-3body {
    font-family: 'Cinzel', 'Rajdhani', serif;
    font-size: 18px;
    font-weight: 700;
    color: #2dd4a8;
    text-shadow: 0 1px 8px rgba(45,212,168,0.12);
    letter-spacing: 1.5px;
}
.sl-eq-euler {
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #b43cdc;
    text-shadow: 0 1px 8px rgba(180,60,220,0.12);
    letter-spacing: 1.2px;
}
.sl-eq-fourier {
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #d4a04a;
    text-shadow: 0 1px 8px rgba(212,160,74,0.12);
    letter-spacing: 1px;
}
.sl-eq-4d {
    font-family: 'Cinzel', 'Rajdhani', serif;
    font-size: 13px;
    font-weight: 500;
    color: #e8c985;
    text-shadow: 0 1px 8px rgba(212,160,74,0.12);
    letter-spacing: 1px;
}
.sl-neural-quote {
    font-family: 'Cinzel', 'Rajdhani', serif;
    font-size: 13px;
    font-weight: 500;
    color: #b43cdc;
    letter-spacing: 1.2px;
    margin-left: 12px;
    text-shadow: 0 1px 8px rgba(180,60,220,0.12);
}
.sl-tile--neural {
    position: relative;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(45, 212, 168, 0.08), 0 1px 8px 0 rgba(212,160,74,0.07);
    background: linear-gradient(135deg, rgba(18,18,28,0.92) 0%, rgba(32,32,48,0.88) 100%);
}

.sl-neural-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px 10px 22px;
    background: linear-gradient(180deg,
        rgba(18, 18, 28, 0.92) 0%,
        rgba(32, 32, 48, 0.65) 80%,
        transparent 100%);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    pointer-events: none;
}

.sl-neural-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2dd4a8 0%, #b43cdc 100%);
    box-shadow: 0 0 16px 0 rgba(45, 212, 168, 0.35), 0 0 8px 0 rgba(180, 60, 220, 0.18);
    animation: sl-neural-pulse 2s ease-in-out infinite;
    border: 2px solid rgba(212,160,74,0.18);
}

@keyframes sl-neural-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 16px rgba(45, 212, 168, 0.35), 0 0 8px rgba(180, 60, 220, 0.18); }
    50%      { opacity: 0.6; box-shadow: 0 0 8px rgba(45, 212, 168, 0.18), 0 0 4px rgba(180, 60, 220, 0.09); }
}

.sl-neural-title {
    font-family: 'Cinzel', 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e8c985;
    text-shadow: 0 1px 8px rgba(212,160,74,0.12);
    filter: drop-shadow(0 0 2px rgba(212,160,74,0.08));
}

.sl-neural-tag {
    margin-left: auto;
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #2dd4a8;
    padding: 3px 12px;
    border: 1.5px solid rgba(45, 212, 168, 0.22);
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(45,212,168,0.09) 0%, rgba(180,60,220,0.07) 100%);
    box-shadow: 0 0 8px 0 rgba(45,212,168,0.08);
    letter-spacing: 2.5px;
}

.sl-neural-canvas {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 0;
    background: transparent;
    border-radius: 0 0 18px 18px;
}

.sl-neural-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 12px 18px 10px 18px;
    background: linear-gradient(0deg,
        rgba(18, 18, 28, 0.92) 0%,
        rgba(32, 32, 48, 0.65) 80%,
        transparent 100%);
    backdrop-filter: blur(10px) saturate(1.1);
    -webkit-backdrop-filter: blur(10px) saturate(1.1);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    pointer-events: none;
}

.sl-neural-stat {
    font-family: 'Rajdhani', 'Cinzel', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #d4a04a;
    text-shadow: 0 1px 8px rgba(212,160,74,0.12);
    display: flex;
    align-items: center;
    gap: 7px;
    filter: drop-shadow(0 0 2px rgba(212,160,74,0.08));
}

.sl-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 2px;
    box-shadow: 0 0 6px 0 rgba(45,212,168,0.18);
}
.sl-dot--g {
    background: linear-gradient(135deg, #2dd4a8 0%, #b43cdc 100%);
    box-shadow: 0 0 8px rgba(45, 212, 168, 0.22);
    border: 1.5px solid rgba(45,212,168,0.18);
}
.sl-dot--a {
    background: linear-gradient(135deg, #b43cdc 0%, #d4a04a 100%);
    box-shadow: 0 0 8px rgba(180, 60, 220, 0.22);
    border: 1.5px solid rgba(180,60,220,0.18);
}
@media (max-width: 1280px) {
    .sl-gate {
        grid-template-columns: 0.85fr 1.45fr 1fr;
        width: min(1320px, 96vw);
    }

    .sl-tile--neural {
        display: none;
    }
}

@media (max-width: 1024px) {
    .sl-gate {
        grid-template-columns: 1fr 1.5fr;
        width: min(900px, 96vw);
    }

    .sl-tile--brand {
        display: none;
    }

    .sl-navbar { padding: 0 20px; }
}

@media (max-width: 700px) {
    .sl-gate {
        grid-template-columns: 1fr;
        width: min(420px, 94vw);
    }

    .sl-tile--tom {
        display: none;
    }

    .sl-phrase-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sl-navbar { padding: 0 14px; }
    .sl-nav-center { display: none; }
}

@media (max-width: 400px) {
    .sl-phrase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sl-title {
        font-size: 16px;
        letter-spacing: 3px;
    }

    .sl-generate,
    .sl-verify,
    .sl-confirm {
        font-size: 12px;
        letter-spacing: 2px;
    }
}


/* ══════════════════════════════════════════════════
   GATE NAVBAR (Homepage-Quality Glassmorphism)
   ══════════════════════════════════════════════════ */
.sl-navbar {
    position: relative;
    z-index: 10;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 28px;
    overflow: hidden;
    background: linear-gradient(180deg,
        rgba(10, 10, 15, 0.85) 0%,
        rgba(10, 10, 15, 0.7) 100%);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(212, 160, 74, 0.1);
}

/* Multicolor glow line at bottom edge */
.sl-navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 160, 74, 0.25) 20%,
        rgba(139, 92, 246, 0.2) 50%,
        rgba(45, 212, 191, 0.15) 80%,
        transparent 100%);
}

.sl-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    height: 100%;
}

/* ── Logo ── */
.sl-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sl-nav-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #d4a04a, #c87533);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(212, 160, 74, 0.25);
    padding: 5px;
}

.sl-nav-logo-icon svg {
    width: 100%;
    height: 100%;
}

.sl-nav-logo-text {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #d4a04a 0%, #e8c985 50%, #c87533 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Center Title ── */
.sl-nav-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.sl-nav-title {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #d4a04a, #e8c985);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sl-nav-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sl-nav-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00ff41;
    box-shadow: 0 0 6px rgba(0, 255, 65, 0.4);
    animation: sl-nav-dot-pulse 2.5s ease-in-out infinite;
}

@keyframes sl-nav-dot-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

.sl-nav-sub {
    font-family: 'Rajdhani', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(212, 160, 74, 0.3);
}

/* ── Right Side ── */
.sl-nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.sl-nav-version {
    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(212, 160, 74, 0.2);
    text-transform: uppercase;
}

.sl-home-btn {
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 6px;
    padding: 4px 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: rgba(74, 144, 226, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sl-home-btn:hover {
    background: rgba(74, 144, 226, 0.2);
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.4);
}

/* ── Logout Button ── */
.sl-logout-btn {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 6px;
    padding: 4px 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: rgba(220, 38, 38, 0.75);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sl-logout-btn:hover {
    background: rgba(220, 38, 38, 0.18);
    border-color: rgba(220, 38, 38, 0.5);
    color: #dc2626;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}


/* ══════════════════════════════════════════════════
   GATE SANSKRIT MARQUEE FOOTER (Homepage-Quality)
   ══════════════════════════════════════════════════ */
.sl-marquee-footer {
    position: relative;
    z-index: 10;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(0deg,
        rgba(10, 10, 15, 0.85) 0%,
        rgba(10, 10, 15, 0.7) 100%);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    border-top: 1px solid rgba(212, 160, 74, 0.1);
}

/* Multicolor glow line at top edge */
.sl-marquee-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 160, 74, 0.2) 15%,
        rgba(139, 92, 246, 0.18) 40%,
        rgba(45, 212, 191, 0.12) 65%,
        rgba(212, 160, 74, 0.15) 85%,
        transparent 100%);
    z-index: 1;
}

.sl-marquee {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
    mask-image: linear-gradient(90deg,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
}

.sl-marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: sl-marquee-scroll 80s linear infinite;
    width: max-content;
}

.sl-marquee-footer:hover .sl-marquee-track {
    animation-play-state: paused;
}

.sl-mq-quote {
    font-family: 'Noto Sans Devanagari', serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(212, 160, 74, 0.45);
    padding: 0 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    white-space: nowrap;
}

.sl-marquee-footer:hover .sl-mq-quote {
    color: rgba(212, 160, 74, 0.65);
    text-shadow: 0 0 12px rgba(212, 160, 74, 0.1);
}

.sl-mq-sep {
    color: rgba(139, 92, 246, 0.2);
    font-size: 8px;
    padding: 0 4px;
}

@keyframes sl-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes sl-smoke-rise {
    0% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 0.6; }
    100% { transform: translateY(-40px) scale(0.9); opacity: 0.1; }
}


/* ═══════════════════════════════════════════════════════
   PREMIUM NODE IDENTITY CARD
   AeroField OS V1.0 · Holographic ID System
   ═══════════════════════════════════════════════════════ */

/* ── Overlay backdrop ── */
.af-idcard-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(5, 5, 10, 0.88);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility .45s ease;
}
.af-idcard-overlay--active {
    opacity: 1;
    visibility: visible;
}

/* ── Card shell ── */
.af-idcard {
    position: relative;
    width: 400px;
    max-width: 92vw;
    background: linear-gradient(170deg, rgba(22, 20, 14, 0.97), rgba(12, 12, 16, 0.99));
    border: 1px solid rgba(212, 160, 74, 0.18);
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.65),
        0 0 100px rgba(212, 160, 74, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    transform: translateY(40px) scale(0.94);
    transition: transform .55s cubic-bezier(.25, .46, .45, .94);
}
.af-idcard-overlay--active .af-idcard {
    transform: translateY(0) scale(1);
}

/* ── Close button ── */
.af-idcard__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    transition: all .25s ease;
    outline: none;
    -webkit-appearance: none;
    font-family: inherit;
    line-height: 1;
}
.af-idcard__close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.08);
}

/* ── Holographic stripe ── */
.af-idcard__holo {
    height: 6px;
    background: linear-gradient(90deg, #d4a04a, #2dd4a8, #d4a04a, #f7931a, #d4a04a, #2dd4a8);
    background-size: 400% 100%;
    animation: af-holo-sweep 6s ease infinite;
}
@keyframes af-holo-sweep {
    0%   { background-position: 0% 50% }
    50%  { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

/* ── Header ── */
.af-idcard__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 30px 0;
}
.af-idcard__logo svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 8px rgba(212, 160, 74, 0.3));
}
.af-idcard__brand {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 5px;
    background: linear-gradient(135deg, #d4a04a 0%, #e8c985 40%, #c87533 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.af-idcard__subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(212, 160, 74, 0.4);
    margin-top: 3px;
}

/* ── Decorative security line ── */
.af-idcard__security-line {
    margin: 20px 30px 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,160,74,0.15) 20%, rgba(212,160,74,0.15) 80%, transparent);
    position: relative;
}
.af-idcard__security-line::after {
    content: '◆ VERIFIED ◆';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Rajdhani', sans-serif;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(212,160,74,0.25);
    background: rgba(15,14,12,1);
    padding: 0 12px;
}

/* ── Hash display ── */
.af-idcard__hash {
    padding: 22px 30px 0;
}
.af-idcard__hash-label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 8px;
}
.af-idcard__hash-value {
    display: block;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 1.2px;
    color: #d4a04a;
    background: rgba(212, 160, 74, 0.03);
    border: 1px solid rgba(212, 160, 74, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    word-break: break-all;
    line-height: 1.7;
    position: relative;
}
.af-idcard__hash-value::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, transparent 40%, rgba(212,160,74,0.02) 50%, transparent 60%);
    pointer-events: none;
}

/* ── Info grid ── */
.af-idcard__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin: 22px 30px 0;
    background: rgba(212, 160, 74, 0.05);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(212, 160, 74, 0.06);
}
.af-idcard__field {
    padding: 16px 18px;
    background: rgba(10, 10, 15, 0.75);
    transition: background .25s ease;
}
.af-idcard__field:hover {
    background: rgba(15, 15, 20, 0.85);
}
.af-idcard__field-label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 6px;
}
.af-idcard__field-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #e8e4dc;
}
.af-idcard__field-value--green {
    color: #00FF41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}
.af-idcard__field-value--omega {
    color: #d4a04a;
    text-shadow: 0 0 12px rgba(212, 160, 74, 0.3);
}

/* ── Brahmi watermark ── */
.af-idcard__watermark {
    text-align: center;
    padding: 18px 30px 0;
    font-family: 'Noto Sans Brahmi', 'Rajdhani', sans-serif;
    font-size: 13px;
    letter-spacing: 5px;
    color: rgba(212, 160, 74, 0.1);
    user-select: none;
}

/* ── Actions ── */
.af-idcard__actions {
    padding: 22px 30px 28px;
    display: flex;
    gap: 12px;
}
.af-idcard__logout {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-radius: 12px;
    color: rgba(220, 38, 38, 0.7);
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
    outline: none;
    -webkit-appearance: none;
}
.af-idcard__logout:hover {
    background: rgba(220, 38, 38, 0.14);
    border-color: rgba(220, 38, 38, 0.4);
    color: #dc2626;
    box-shadow: 0 0 24px rgba(220, 38, 38, 0.08);
    transform: translateY(-1px);
}
.af-idcard__logout:active {
    transform: scale(0.97);
    transition-duration: .1s;
}

/* ── ID Card responsive ── */
@media (max-width: 480px) {
    .af-idcard {
        width: 100%;
        max-width: 96vw;
        border-radius: 18px;
    }
    .af-idcard__header { padding: 22px 22px 0 }
    .af-idcard__hash { padding: 18px 22px 0 }
    .af-idcard__grid { margin: 18px 22px 0 }
    .af-idcard__watermark { padding: 14px 22px 0 }
    .af-idcard__actions { padding: 18px 22px 22px }
    .af-idcard__security-line { margin: 16px 22px 0 }
}
