/* ============================================
   SOURCE HUB VC JOINER — Cyber Luxury Portal Theme
   Obsidian Dark + Electric Cyan & Ice Blue Scheme
   ============================================ */

:root {
    --bg:           #030712;
    --bg-card:      rgba(11, 19, 38, 0.82);
    --bg-input:     rgba(7, 14, 30, 0.78);
    --border:       rgba(0, 242, 254, 0.22);
    --border-glow:  rgba(0, 242, 254, 0.55);
    --primary:      #00f2fe;
    --primary-2:    #0284c7;
    --accent:       #38bdf8;
    --success:      #10b981;
    --warning:      #f59e0b;
    --danger:       #f43f5e;
    --text:         #f1f5f9;
    --text-muted:   #94a3b8;
    --console-bg:   rgba(5, 11, 24, 0.92);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0; padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 20px;
    position: relative;
    overflow-x: hidden;
}

/* ===== ANIMATED GRID ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 242, 254, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.035) 1px, transparent 1px);
    background-size: 55px 55px;
    pointer-events: none;
    z-index: 0;
}

/* ===== ANIMATED BG BLOBS ===== */
.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: blob-drift 12s ease-in-out infinite;
}

.bg-blob-1 {
    width: 500px; height: 500px;
    top: -150px; left: -150px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
    animation-delay: 0s;
}
.bg-blob-2 {
    width: 400px; height: 400px;
    bottom: -100px; right: -100px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.09) 0%, transparent 70%);
    animation-delay: -4s;
}
.bg-blob-3 {
    width: 300px; height: 300px;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    animation-delay: -8s;
}

@keyframes blob-drift {
    0%, 100% { transform: scale(1) translate(0, 0); }
    33% { transform: scale(1.05) translate(20px, -20px); }
    66% { transform: scale(0.97) translate(-15px, 15px); }
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 860px;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.hidden { display: none !important; }

/* ===== SLIDE-IN ANIMATION ===== */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.slide-in { animation: slideIn 0.45s ease forwards; }

/* ===== CARD ===== */
.card {
    background: linear-gradient(145deg, rgba(13, 23, 48, 0.82) 0%, rgba(7, 14, 30, 0.78) 100%);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(0, 242, 254, 0.24);
    border-radius: 22px;
    padding: 36px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.85),
        0 0 40px rgba(0, 242, 254, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Top shimmer line */
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1.5px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 242, 254, 0.3) 20%,
        rgba(56, 189, 248, 0.95) 50%,
        rgba(0, 242, 254, 0.3) 80%,
        transparent 100%
    );
    animation: shimmer-line 3.5s ease-in-out infinite;
    z-index: 2;
}

@keyframes shimmer-line {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}

/* Corner glow */
.card::after {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== LOGO ===== */
.header { text-align: center; margin-bottom: 28px; }

.dashboard-header { margin-bottom: 20px; }

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
}
.logo-sm { gap: 12px; }

.logo-icon-wrap {
    position: relative;
    width: 58px; height: 58px;
    display: flex; align-items: center; justify-content: center;
}
.logo-icon-sm { width: 44px; height: 44px; }

.logo-crown {
    font-size: 2.1rem;
    color: var(--primary);
    filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.85));
    animation: crown-pulse 2.5s ease-in-out infinite;
}
.logo-icon-sm .logo-crown { font-size: 1.6rem; }

@keyframes crown-pulse {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.6)); }
    50%       { filter: drop-shadow(0 0 22px rgba(56, 189, 248, 1.0)); }
}

.logo-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 242, 254, 0.4);
    animation: ping-ring 2.5s ease-in-out infinite;
}

@keyframes ping-ring {
    0%   { transform: scale(0.85); opacity: 0.7; }
    70%  { transform: scale(1.4);  opacity: 0; }
    100% { transform: scale(1.4);  opacity: 0; }
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.logo-main {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 35%, #93c5fd 60%, #0284c7 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-cycle 5s ease infinite;
    letter-spacing: 4px;
    line-height: 1;
}

@keyframes gradient-cycle {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.logo-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 7px;
    text-transform: uppercase;
}

.divider {
    width: 70px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 14px auto 12px;
}

.sub-title {
    color: var(--text-muted);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.sub-title i { color: var(--primary); font-size: 0.8rem; }

/* ===== FORM ===== */
.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.form-group label i { color: var(--primary); margin-right: 6px; }

.form-row {
    display: flex;
    gap: 16px;
}
@media (max-width: 600px) {
    .form-row { flex-direction: column; }
}

.input-wrap { position: relative; }

.input-icon {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
    transition: color 0.3s;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="file"],
textarea,
select {
    width: 100%;
    padding: 13px 18px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.94rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.18), 0 0 18px rgba(0, 242, 254, 0.12);
    background: rgba(8, 16, 34, 0.95);
}
input:focus + .input-icon { color: var(--primary); }

textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
}

input[type="file"] {
    padding: 10px 14px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.88rem;
}
input[type="file"]::file-selector-button {
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.35);
    color: #e2e8f0;
    padding: 5px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    margin-right: 10px;
    transition: background 0.2s;
}
input[type="file"]::file-selector-button:hover {
    background: rgba(0, 242, 254, 0.3);
}

.upload-status {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ===== BUTTONS ===== */
.btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep on hover */
.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -110%;
    width: 80%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.4s ease;
}
.btn:hover::after { left: 130%; }

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #00f2fe 100%);
    color: #030712;
    border: 1px solid rgba(0, 242, 254, 0.5);
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
    font-weight: 800;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.55);
    background: linear-gradient(135deg, #38bdf8 0%, #00f2fe 100%);
}
.btn-primary:active { transform: translateY(0); }

.btn-danger {
    background: linear-gradient(135deg, #9f1239, #e11d48);
    color: #fff;
    border: 1px solid rgba(244, 63, 94, 0.35);
}
.btn-danger:hover {
    background: linear-gradient(135deg, #be123c, #f43f5e);
    transform: translateY(-1px);
}

.btn-warning {
    background: linear-gradient(135deg, #b45309, #f59e0b);
    color: #fff;
    border: 1px solid rgba(245, 158, 11, 0.35);
}
.btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #fbbf24);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(0, 242, 254, 0.4);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 9px 14px;
    letter-spacing: 1px;
}
.btn-ghost:hover {
    color: var(--text);
    border-color: rgba(0, 242, 254, 0.45);
    background: rgba(0, 242, 254, 0.08);
}

.btn-icon {
    width: auto !important;
    padding: 0 22px;
}

.btn-row {
    display: flex;
    gap: 14px;
}

/* Logout button */
.btn-logout {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
    color: #f87171 !important;
    font-size: 0.73rem;
    padding: 5px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.btn-logout:hover {
    border-color: #ef4444 !important;
    color: #ffffff !important;
    background: rgba(239, 68, 68, 0.35) !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}

/* ===== ALERTS ===== */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 20px;
    border: 1px solid transparent;
    line-height: 1.5;
}
.alert-danger {
    background: rgba(0, 242, 254, );
    border-color: rgba(0, 242, 254, );
    color: #e8a0a0;
}
.alert-success {
    background: rgba(39, 174, 96, 0.1);
    border-color: rgba(39, 174, 96, 0.3);
    color: #78d6a4;
}

/* ===== USER BAR ===== */
.user-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 18px;
    background: rgba(139, 0, 0, 0.07);
    border: 1px solid rgba(0, 242, 254, );
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.84rem;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.7);
    animation: dot-blink 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes dot-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
.user-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.badge-green {
    background: rgba(39, 174, 96, 0.13);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #78d6a4;
}
.badge-purple {
    background: rgba(155, 89, 182, 0.15);
    border: 1px solid rgba(155, 89, 182, 0.35);
    color: #d2a8ff;
}
.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.token-counter-badge {
    font-size: 0.72rem;
    font-family: 'Fira Code', monospace;
    padding: 2px 9px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all 0.25s ease;
}
.token-counter-badge.limit-reached {
    background: rgba(56, 189, 248, );
    border-color: rgba(56, 189, 248, );
    color: #f08080;
    font-weight: 700;
}

select.form-select {
    cursor: pointer;
    background-color: var(--bg-input);
    color: var(--text);
}
select.form-select option {
    background: #140505;
    color: #fff;
    padding: 8px;
}

/* ===== SLIDER ===== */
.slider-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.slider-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.vol-badge {
    font-family: 'Fira Code', monospace;
    background: rgba(0, 242, 254, );
    border: 1px solid rgba(0, 242, 254, );
    color: var(--accent);
    padding: 1px 9px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-left: 4px;
}
.vol-presets {
    display: flex;
    gap: 5px;
    align-items: center;
}
.btn-preset {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Fira Code', monospace;
    transition: all 0.2s ease;
}
.btn-preset:hover {
    background: rgba(56, 189, 248, );
    border-color: var(--primary);
    color: #fff;
}
.btn-preset-max {
    border-color: rgba(56, 189, 248, );
    color: var(--primary);
    font-weight: 600;
}
.btn-preset-max:hover {
    background: var(--primary);
    color: #fff;
}

input[type="range"] {
    flex: 1;
    height: 4px;
    border: none;
    background: transparent;
    padding: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

/* ===== TERMINAL ===== */
.terminal-wrap {
    margin-top: 26px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(180, 20, 20, 0.18);
}
.terminal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    background: rgba(15, 3, 3, 0.9);
    border-bottom: 1px solid rgba(180, 20, 20, 0.15);
}
.terminal-dots {
    display: flex;
    gap: 5px;
}
.terminal-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: block;
}
.terminal-dots span:nth-child(1) { background: #e74c3c; }
.terminal-dots span:nth-child(2) { background: #d4a017; }
.terminal-dots span:nth-child(3) { background: #27ae60; }

.terminal-title {
    flex: 1;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.terminal-status {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--success);
    letter-spacing: 1.5px;
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.25);
    padding: 2px 8px;
    border-radius: 10px;
}

.console-box {
    background: var(--console-bg);
    padding: 14px 16px;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 242, 254, ) transparent;
}
.console-box::-webkit-scrollbar { width: 4px; }
.console-box::-webkit-scrollbar-track { background: transparent; }
.console-box::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, );
    border-radius: 2px;
}

.log-line {
    margin-bottom: 5px;
    word-break: break-all;
    line-height: 1.6;
}
.log-info    { color: #7eb8f7; }
.log-success { color: #78d6a4; }
.log-warn    { color: #f0c060; }
.log-error   { color: #f08080; }

/* ===== MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(14, 4, 6, 0.78) 0%, rgba(2, 1, 1, 0.94) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    z-index: 100;
    overflow-y: auto;
}
.modal-content {
    width: 100%;
    max-width: 490px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: auto;
    background: linear-gradient(145deg, rgba(13, 24, 50, 0.92) 0%, rgba(6, 12, 28, 0.88) 100%);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 22px;
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(0, 242, 254, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 242, 254, 0.4) transparent;
}
.modal-content::-webkit-scrollbar {
    width: 6px;
}
.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.4);
    border-radius: 4px;
}

/* Modal Navigation Top Bar */
.modal-top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-modal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 7px 16px;
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-modal-back:hover {
    background: rgba(0, 242, 254, 0.18);
    border-color: #00f2fe;
    color: #ffffff;
    transform: translateX(-3px);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
}
.btn-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-modal-close:hover {
    background: rgba(0, 242, 254, 0.18);
    border-color: #00f2fe;
    color: #ffffff;
    transform: scale(1.1);
}
.modal-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 999px;
}
.admin-nav-pill {
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: #38bdf8;
}
.reseller-nav-pill {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

/* ===== ADMIN TABS ===== */
.admin-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.35);
    border-radius: 10px;
    padding: 5px;
}
.tab-btn {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.tab-btn.active {
    background: rgba(0, 242, 254, 0.16);
    border-color: rgba(0, 242, 254, 0.45);
    color: #38bdf8;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}
.tab-btn:hover:not(.active) {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}
.tab-content { /* visible */ }

/* Manage tab grid */
.manage-btn-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.manage-btn {
    flex: 1;
    min-width: 120px;
    font-size: 0.78rem !important;
    padding: 11px 10px !important;
    letter-spacing: 0.6px !important;
}

.manage-result {
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    min-height: 24px;
    margin-top: 8px;
}

/* Generated key display */
.key-display {
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.8;
    min-height: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .card { padding: 20px 16px; }
    .logo-main { font-size: 1.55rem; letter-spacing: 3px; }
    .logo-sub { font-size: 0.52rem; letter-spacing: 5px; }
    .user-bar { flex-wrap: wrap; gap: 8px; }
    .user-actions { flex-wrap: wrap; gap: 6px; }
    .badge { padding: 3px 9px; font-size: 0.69rem; gap: 4px; }
    .btn-logout { padding: 4px 10px; font-size: 0.7rem; }
    body { padding: 12px 10px; }
    .modal {
        padding: 14px 10px;
        align-items: flex-start;
    }
    .modal-content {
        max-height: calc(100vh - 28px);
        padding: 18px 14px;
    }
}

/* ============================================
   PURCHASE OPTION & DISCORD SERVER INTEGRATION
   ============================================ */

/* Purchase Box inside Login Card */
.purchase-box {
    margin-top: 20px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.15) 0%, rgba(20, 5, 5, 0.85) 100%);
    border: 1px solid rgba(0, 242, 254, );
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: all 0.3s ease;
}

.purchase-box:hover {
    border-color: rgba(56, 189, 248, );
    box-shadow: 0 10px 32px rgba(0, 242, 254, );
    transform: translateY(-2px);
}

.purchase-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, ), transparent);
}

.purchase-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.purchase-badge {
    background: linear-gradient(135deg, #0284c7 0%, #00f2fe 100%);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 0 10px rgba(0, 242, 254, );
}

.purchase-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text);
    letter-spacing: 0.5px;
}

.purchase-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}

.purchase-box-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-purchase {
    flex: 1;
    background: linear-gradient(135deg, #0284c7 0%, #00f2fe 100%);
    color: #030712;
    border: 1px solid rgba(0, 242, 254, 0.45);
    padding: 12px 18px;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    border-radius: 9px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 242, 254, 0.35);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.btn-purchase:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #00f2fe 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(0, 242, 254, 0.55);
}

.btn-purchase-direct {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    background: rgba(88, 101, 242, 0.16);
    border: 1px solid rgba(88, 101, 242, 0.4);
    color: #949cf7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.btn-purchase-direct:hover {
    background: #5865F2;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(88, 101, 242, 0.5);
}

/* ============================
   BOTTOM PURCHASE BAR
   ============================ */
.bottom-purchase-bar {
    width: 100%;
    background: rgba(10, 4, 4, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 254, );
    border-radius: 16px;
    padding: 16px 22px;
    margin-top: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0, 242, 254, ),
        0 20px 45px rgba(0, 0, 0, 0.8);
    animation: slideIn 0.5s ease forwards;
}

.bottom-bar-glow {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, ) 30%, rgba(88, 101, 242, 0.8) 70%, transparent 100%);
}

.bottom-bar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.discord-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.25) 0%, rgba(139, 0, 0, 0.35) 100%);
    border: 1px solid rgba(88, 101, 242, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #949cf7;
    flex-shrink: 0;
    box-shadow: 0 0 14px rgba(88, 101, 242, 0.3);
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(88, 101, 242, 0.3); }
    50%       { box-shadow: 0 0 22px rgba(88, 101, 242, 0.7); }
}

.bottom-bar-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bottom-bar-title {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-live-badge {
    font-size: 0.64rem;
    font-weight: 700;
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.35);
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pulse-live-badge i {
    font-size: 0.45rem;
    animation: dot-blink 1.5s infinite ease-in-out;
}

.bottom-bar-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bottom-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-buy-accent {
    background: linear-gradient(135deg, #0284c7 0%, #00f2fe 100%);
    color: #030712;
    border: 1px solid rgba(0, 242, 254, 0.45);
    padding: 10px 18px;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.35);
    transition: all 0.25s ease;
}

.btn-buy-accent:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #00f2fe 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 242, 254, 0.55);
}

.btn-server-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.35);
    color: #949cf7;
    font-family: 'Fira Code', monospace;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 9px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-server-pill:hover {
    background: rgba(88, 101, 242, 0.25);
    border-color: #5865F2;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
}

/* ============================
   PURCHASE MODAL STYLING
   ============================ */
.purchase-modal-card {
    max-width: 520px;
}

.purchase-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2) 0%, rgba(0, 242, 254, ) 100%);
    border: 1px solid rgba(88, 101, 242, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #949cf7;
    box-shadow: 0 0 16px rgba(88, 101, 242, 0.35);
}

.vip-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.vip-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 242, 254, );
    border-radius: 10px;
}

.vip-feature-item i {
    font-size: 1.15rem;
    color: var(--accent);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.vip-feature-item div {
    display: flex;
    flex-direction: column;
}

.vip-feature-item strong {
    font-size: 0.8rem;
    color: var(--text);
    font-weight: 700;
}

.vip-feature-item small {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.server-link-box {
    background: rgba(4, 1, 1, 0.75);
    border: 1px solid rgba(0, 242, 254, );
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.server-link-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #949cf7;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.server-link-instructions {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 12px;
}

.server-link-field {
    display: flex;
    gap: 8px;
}

.server-link-field input {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: 'Fira Code', monospace;
    font-size: 0.82rem;
    color: #ede0de;
    flex: 1;
    letter-spacing: 0.5px;
    user-select: all;
}

.btn-copy {
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.5);
    color: #949cf7;
    padding: 0 16px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-copy:hover {
    background: #5865F2;
    color: #fff;
}

.btn-copy.copied {
    background: #27ae60;
    border-color: #2ecc71;
    color: #fff;
}

.btn-join-server {
    background: linear-gradient(135deg, #0284c7 0%, #00f2fe 100%);
    border-color: rgba(88, 101, 242, 0.5);
    text-decoration: none;
    box-shadow: 0 4px 22px rgba(88, 101, 242, 0.35);
}

.btn-join-server:hover {
    background: linear-gradient(135deg, #6c78fa 0%, #5865F2 100%);
    box-shadow: 0 6px 30px rgba(88, 101, 242, 0.55);
}

@media (max-width: 650px) {
    .bottom-purchase-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 14px;
    }
    .bottom-bar-subtitle {
        white-space: normal;
    }
    .bottom-bar-right {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    .btn-buy-accent, .btn-server-pill {
        width: 100%;
        justify-content: center;
    }
    .vip-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ADMIN SECRET GATE & MODERN ADMIN DASHBOARD
   ============================================ */
.admin-gate-card {
    max-width: 420px;
    text-align: center;
    padding: 32px 24px;
    border: 1px solid rgba(0, 242, 254, 0.35);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 242, 254, 0.2);
}

.gate-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.gate-shield-glow {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, rgba(6, 12, 28, 0.8) 70%);
    border: 1px solid rgba(0, 242, 254, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
    animation: shield-pulse 3s infinite alternate;
}

@keyframes shield-pulse {
    0% { transform: scale(1); box-shadow: 0 0 15px rgba(0, 242, 254, 0.3); }
    100% { transform: scale(1.06); box-shadow: 0 0 28px rgba(0, 242, 254, 0.6); }
}

.gate-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ede0de;
    margin-bottom: 4px;
}

.gate-subtitle {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.gate-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-radius: 8px;
    padding: 2px 12px;
    transition: all 0.25s ease;
}

.gate-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(220, 38, 38, 0.35);
}

.gate-input-icon {
    color: var(--primary);
    font-size: 1rem;
    margin-right: 10px;
}

.gate-input-wrap input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 0;
    font-size: 0.95rem;
    width: 100%;
    outline: none;
    letter-spacing: 1px;
}

.gate-submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(220, 38, 38, 0.4);
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.45);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 9px 10px;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-family: 'Outfit', sans-serif;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.85), rgba(127, 29, 29, 0.95));
    color: #fff;
    box-shadow: 0 2px 10px rgba(185, 28, 28, 0.35);
}

/* Manage Keys Search & List */
.admin-search-wrap {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 12px;
    gap: 10px;
}

.admin-search-wrap .search-icon {
    color: #94a3b8;
    font-size: 0.85rem;
}

.admin-search-wrap input {
    background: transparent;
    border: none;
    color: #ede0de;
    width: 100%;
    outline: none;
    font-size: 0.84rem;
    font-family: 'Outfit', sans-serif;
}

.btn-search-action {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.btn-search-action:hover {
    color: #fff;
}

.admin-keys-list {
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.admin-keys-list::-webkit-scrollbar {
    width: 5px;
}
.admin-keys-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.key-card {
    background: rgba(15, 6, 6, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    padding: 12px 14px;
    transition: all 0.2s ease;
}

.key-card:hover {
    border-color: rgba(220, 38, 38, 0.35);
    background: rgba(20, 8, 8, 0.85);
}

.key-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.key-card-owner {
    font-weight: 700;
    font-size: 0.88rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.key-card-code {
    font-family: 'Fira Code', monospace;
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 700;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 8px;
    border-radius: 5px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.key-card-code:hover {
    background: rgba(220, 38, 38, 0.15);
}

.key-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 0.74rem;
    color: #cbd5e1;
    margin: 8px 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.status-badge.badge-live {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    animation: pulse-live 2s infinite alternate;
}

@keyframes pulse-live {
    0% { box-shadow: 0 0 4px rgba(34, 197, 94, 0.2); }
    100% { box-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }
}

.status-badge.badge-idle {
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.status-badge.badge-expired {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.key-card-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.btn-key-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.18s ease;
    font-family: 'Outfit', sans-serif;
}

.btn-key-action:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn-key-action.btn-action-extend {
    background: rgba(56, 239, 125, 0.1);
    border-color: rgba(56, 239, 125, 0.3);
    color: #38ef7d;
}
.btn-key-action.btn-action-extend:hover {
    background: #38ef7d;
    color: #000;
}

.btn-key-action.btn-action-unlock {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
}
.btn-key-action.btn-action-unlock:hover {
    background: #6366f1;
    color: #fff;
}

.btn-key-action.btn-action-delete {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    margin-left: auto;
}
.btn-key-action.btn-action-delete:hover {
    background: #ef4444;
    color: #fff;
}

/* Key Checker */
.checker-result-box {
    margin-top: 14px;
}

.checker-placeholder {
    text-align: center;
    padding: 28px 16px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.82rem;
}

#checkerKeyInput {
    height: 52px;
    padding: 0 18px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 12px;
    background: rgba(6, 12, 26, 0.85);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: #38bdf8;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}
#checkerKeyInput:focus {
    border-color: #00f2fe;
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.2), 0 0 20px rgba(0, 242, 254, 0.25);
}

#checkerInspectBtn {
    height: 52px;
    padding: 0 24px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
}

.checker-card {
    background: rgba(10, 18, 40, 0.85);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.1);
}

.checker-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
}

.checker-row:last-child {
    border-bottom: none;
}

.checker-label {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checker-val {
    color: #fff;
    font-weight: 600;
}

/* ========================================================
   TOKEN PROFILES & LIVE BOT CARDS
   ======================================================== */
.tokens-action-bar {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 6px;
}

.btn-token-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #c4b5fd;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-token-action:hover {
    background: rgba(139, 92, 246, 0.3);
    color: #fff;
    border-color: #8b5cf6;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-token-clear {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.btn-token-clear:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #fff;
    border-color: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.token-profiles-container {
    margin-top: 14px;
    padding: 14px;
    background: rgba(15, 7, 26, 0.75);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    animation: fadeIn 0.35s ease;
}

.token-profiles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.token-profiles-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #a78bfa;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.token-profiles-count {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.token-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}

.bot-profile-card {
    background: rgba(22, 12, 38, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.bot-profile-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(139, 92, 246, 0.2);
}

.bot-profile-card.in-vc {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(6, 44, 30, 0.45);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.2);
}

.bot-profile-card.in-vc::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #06b6d4);
}

.bot-avatar-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.bot-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: #2b2d31;
}

.bot-status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #160c26;
    background: #64748b;
}

.bot-status-dot.online {
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.bot-status-dot.in-vc {
    background: #06b6d4;
    box-shadow: 0 0 10px #06b6d4;
    animation: statusPulse 1.6s infinite;
}

.bot-profile-card.card-invalid {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(45, 12, 18, 0.6);
}

.bot-profile-card.card-invalid::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.bot-id-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.7rem;
    color: #fca5a5;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    margin-top: 3px;
}

.bot-id-pill:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.6);
    color: #fff;
    transform: scale(1.03);
}

.bot-info-wrap {
    flex: 1;
    min-width: 0;
}

.bot-global-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bot-handle {
    font-size: 0.72rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bot-tag-row {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.bot-badge-pill {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bot-badge-verified {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.bot-badge-vc {
    background: rgba(6, 182, 212, 0.2);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.4);
}

.bot-badge-invalid {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.bot-media-actions-row {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    align-items: center;
    width: 100%;
}

.btn-bot-media {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 3px 6px;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.btn-bot-media:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.btn-bot-media.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Active Screen Share button */
.btn-bot-screen.active {
    background: rgba(34, 197, 94, 0.22) !important;
    border-color: #22c55e !important;
    color: #4ade80 !important;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
    font-weight: 800;
}

/* Active Camera button */
.btn-bot-cam.active {
    background: rgba(56, 189, 248, 0.22) !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
    font-weight: 800;
}

.btn-token-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-token-action:hover {
    transform: translateY(-1px);
    filter: brightness(1.15);
}

/* ========================================================
   AUDIO FILTERS & FX CONTROLS
   ======================================================== */
.audio-filter-group {
    background: rgba(12, 6, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 14px 16px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.filter-active-badge {
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.filter-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
}

.filter-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn i {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #a78bfa;
    transition: all 0.2s ease;
}

.filter-btn .filter-name {
    font-size: 0.78rem;
    font-weight: 700;
}

.filter-btn .filter-desc {
    font-size: 0.65rem;
    color: #64748b;
    margin-top: 1px;
}

.filter-btn:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.filter-btn:hover i {
    transform: scale(1.15);
    color: #c4b5fd;
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(217, 70, 239, 0.25));
    border-color: #a855f7;
    color: #fff;
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
}

.filter-btn.active i {
    color: #f472b6;
}

.filter-btn.active .filter-desc {
    color: #e9d5ff;
}

/* ========================================================
   ANIMATED SOUND VISUALIZER
   ======================================================== */
.terminal-right-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sound-visualizer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 3px 10px;
    border-radius: 999px;
    animation: fadeIn 0.3s ease;
}

.eq-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
}

.eq-bar {
    width: 3px;
    background: linear-gradient(180deg, #34d399, #059669);
    border-radius: 2px;
    height: 4px;
    animation: eqBounce 1s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { animation-delay: 0.1s; height: 6px; }
.eq-bar:nth-child(2) { animation-delay: 0.3s; height: 12px; }
.eq-bar:nth-child(3) { animation-delay: 0.5s; height: 8px; }
.eq-bar:nth-child(4) { animation-delay: 0.2s; height: 14px; }
.eq-bar:nth-child(5) { animation-delay: 0.4s; height: 9px; }

@keyframes eqBounce {
    0% { height: 3px; }
    50% { height: 14px; }
    100% { height: 5px; }
}

.eq-text {
    font-size: 0.65rem;
    font-weight: 800;
    color: #34d399;
    letter-spacing: 1px;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.25); }
}

/* ========================================================
   MEDIA CONTROLS: SCREENSHARE & VC CAMERA TOGGLES
   ======================================================== */
.media-controls-group {
    background: rgba(15, 6, 6, 0.7);
    border: 1px solid rgba(160, 20, 20, 0.22);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    transition: border-color 0.25s ease;
}

.media-controls-group:hover {
    border-color: rgba(0, 242, 254, );
}

.media-toggles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.media-toggle-card {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(8, 3, 3, 0.85);
    border: 1px solid rgba(160, 20, 20, 0.2);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.media-toggle-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-card-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.toggle-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(0, 242, 254, );
    border: 1px solid rgba(0, 242, 254, );
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.toggle-card-info {
    display: flex;
    flex-direction: column;
}

.toggle-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    transition: color 0.2s ease;
}

.toggle-card-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
    transition: color 0.2s ease;
}

/* Hover effect on enabled cards */
.media-toggle-card:not(.disabled):hover {
    border-color: rgba(56, 189, 248, );
    background: rgba(25, 6, 6, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 242, 254, );
}

.media-toggle-card:not(.disabled):hover .toggle-card-icon {
    background: rgba(0, 242, 254, );
    color: #fff;
    transform: scale(1.05);
}

/* Checked state */
.media-toggle-card.checked {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(0, 242, 254, 0.15));
    border-color: #00f2fe;
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.3);
}

.media-toggle-card.checked .toggle-card-icon {
    background: #0284c7;
    border-color: #00f2fe;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.media-toggle-card.checked .toggle-card-title {
    color: #fff;
}

.media-toggle-card.checked .toggle-card-sub {
    color: #7dd3fc;
}

/* Disabled / Locked state */
.media-toggle-card.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.08);
}

.media-toggle-card.disabled .toggle-card-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: #64748b;
}

.media-toggle-card.disabled .toggle-card-sub {
    color: #ef4444;
}

/* ========================================================
   CINEMATIC AMBIENT VIDEO BACKGROUND & HERO LAUNCHER
   ======================================================== */
.video-bg-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.88) contrast(1.08) saturate(1.1);
}

.video-bg-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 35%, rgba(6, 14, 32, 0.12) 0%, rgba(3, 7, 18, 0.32) 100%),
                linear-gradient(180deg, rgba(3, 7, 18, 0.08) 0%, rgba(2, 4, 12, 0.32) 100%);
    backdrop-filter: blur(0px);
}

/* --- HERO PORTAL LAUNCHER --- */
.video-launcher {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    width: 100%;
}

.video-launcher__content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.launcher-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.launcher-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #38bdf8;
    text-transform: uppercase;
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

.launcher-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00f2fe;
    box-shadow: 0 0 8px #00f2fe;
    animation: launcherPulse 1.8s infinite;
}

@keyframes launcherPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
}

.video-launcher__title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1.05;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.35);
}

.video-launcher__title span {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: 6px;
    background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.launcher-tagline {
    font-size: clamp(0.9rem, 2vw, 1.12rem);
    color: rgba(241, 245, 249, 0.8);
    max-width: 580px;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* --- LAUNCHER OPTIONS PILLS --- */
.video-launcher__options {
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;
}

.video-launcher__option {
    flex: 1 1 240px;
    max-width: 290px;
    min-height: 82px;
    background: rgba(14, 6, 6, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.video-launcher__option::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.6s ease;
}

.video-launcher__option:hover::before {
    left: 100%;
}

.video-launcher__option:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 242, 254, 0.35);
    border-color: rgba(0, 242, 254, 0.45);
}

.video-launcher__option--self {
    border-color: rgba(0, 242, 254, 0.35);
    background: linear-gradient(135deg, rgba(8, 20, 45, 0.88) 0%, rgba(5, 12, 28, 0.8) 100%);
}
.video-launcher__option--self:hover {
    border-color: #00f2fe;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 242, 254, 0.45);
}

.video-launcher__option--app {
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(135deg, rgba(30, 20, 8, 0.85) 0%, rgba(14, 10, 5, 0.75) 100%);
}
.video-launcher__option--app:hover {
    border-color: #f59e0b;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.4);
}

.video-launcher__option--quest {
    border-color: rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, rgba(16, 12, 38, 0.85) 0%, rgba(8, 6, 20, 0.75) 100%);
}
.video-launcher__option--quest:hover {
    border-color: #818cf8;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(99, 102, 241, 0.45);
}

.video-launcher__option--reporter {
    border-color: rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, rgba(38, 10, 18, 0.88) 0%, rgba(20, 5, 10, 0.78) 100%);
}
.video-launcher__option--reporter:hover {
    border-color: #ef4444;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(239, 68, 68, 0.45);
}
.video-launcher__option--reporter .video-launcher__option-icon {
    color: #ef4444;
}

.video-launcher__option--phone {
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, rgba(12, 24, 48, 0.88) 0%, rgba(6, 14, 30, 0.78) 100%);
}
.video-launcher__option--phone:hover {
    border-color: #3b82f6;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(59, 130, 246, 0.45);
}
.video-launcher__option--phone .video-launcher__option-icon {
    color: #3b82f6;
}

.video-launcher__option--tokengen {
    border-color: rgba(168, 85, 247, 0.4);
    background: linear-gradient(135deg, rgba(30, 16, 50, 0.88) 0%, rgba(14, 8, 26, 0.78) 100%);
}
.video-launcher__option--tokengen:hover {
    border-color: #a855f7;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 85, 247, 0.45);
}
.video-launcher__option--tokengen .video-launcher__option-icon {
    color: #c084fc;
}

.video-launcher__option--aio {
    border-color: rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, rgba(38, 24, 6, 0.9) 0%, rgba(18, 12, 3, 0.8) 100%);
}
.video-launcher__option--aio:hover {
    border-color: #f59e0b;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 32px rgba(245, 158, 11, 0.48);
}
.video-launcher__option--aio .video-launcher__option-icon {
    color: #fbbf24;
}

.video-launcher__option--checker {
    border-color: rgba(16, 185, 129, 0.45);
    background: linear-gradient(135deg, rgba(6, 32, 24, 0.9) 0%, rgba(3, 16, 12, 0.8) 100%);
}
.video-launcher__option--checker:hover {
    border-color: #10b981;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 32px rgba(16, 185, 129, 0.48);
}
.video-launcher__option--checker .video-launcher__option-icon {
    color: #34d399;
}

.video-launcher__option--campaign {
    border-color: rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, rgba(35, 20, 4, 0.9) 0%, rgba(18, 10, 2, 0.8) 100%);
}
.video-launcher__option--campaign:hover {
    border-color: #f59e0b;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 32px rgba(245, 158, 11, 0.48);
}
.video-launcher__option--campaign .video-launcher__option-icon {
    color: #fbbf24;
}

.video-launcher__option-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.video-launcher__option:hover .video-launcher__option-icon {
    transform: scale(1.1);
}

.option-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
}

.option-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.option-desc {
    font-size: 0.7rem;
    color: #94a3b8;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.badge-upcoming {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fbbf24 !important;
    font-weight: 700;
    background: rgba(251, 191, 36, 0.15);
    padding: 2px 7px;
    border-radius: 99px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.video-launcher__option-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.video-launcher__option:hover .video-launcher__option-arrow {
    transform: translateX(4px);
    color: #ffffff;
}

/* --- TRUST BADGES ROW --- */
.launcher-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: rgba(203, 213, 225, 0.7);
    margin-top: 10px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.trust-item i {
    color: #ef4444;
}

.trust-sep {
    color: rgba(255, 255, 255, 0.2);
}

.trust-discord-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.4);
    border-radius: 999px;
    color: #a5b4fc;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}
.trust-discord-pill:hover {
    background: rgba(88, 101, 242, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

/* --- NAVIGATION TOP BAR IN MAIN APP --- */
.app-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.btn-back-portal {
    background: rgba(18, 6, 9, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #e2e8f0;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-back-portal:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ffffff;
    transform: translateX(-4px);
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.35);
}

.nav-branding-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 6, 9, 0.75);
    border: 1px solid rgba(239, 68, 68, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #f1f5f9;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

/* ========================================================
   DISCORD SERVER & VOICE CHANNEL AUTO EXPLORER STYLES
   ======================================================== */
.server-explorer-card {
    background: rgba(14, 5, 5, 0.82);
    border: 1px solid rgba(0, 242, 254, );
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.explorer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.explorer-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.explorer-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f2fe;
    font-size: 1.1rem;
}

.explorer-main-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.8px;
}

.explorer-live-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: #38ef7d;
    background: rgba(56, 239, 125, 0.15);
    border: 1px solid rgba(56, 239, 125, 0.3);
    padding: 2px 7px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.explorer-main-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 2px;
}

.servers-list-wrapper {
    overflow-x: auto;
    padding-bottom: 8px;
}

.servers-list-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-behavior: smooth;
}

.explorer-empty-msg {
    width: 100%;
    padding: 24px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.explorer-empty-msg i {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.2);
}

.server-chip {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(25, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #cbd5e1;
    max-width: 220px;
}

.server-chip:hover {
    background: rgba(11, 25, 55, 0.95);
    border-color: rgba(0, 242, 254, 0.45);
    color: #ffffff;
    transform: translateY(-2px);
}

.server-chip.active {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.35) 0%, rgba(0, 242, 254, 0.25) 100%);
    border-color: #00f2fe;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
}

.guild-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    background: #1e293b;
    flex-shrink: 0;
}

.guild-name-span {
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- SELECTED SERVER VC CONTAINER --- */
.server-vc-container {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    animation: slideIn 0.3s ease;
}

.server-vc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.server-vc-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guild-mini-avatar img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: cover;
}

.guild-title-text {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
}

.guild-meta-text {
    font-size: 0.7rem;
    color: #94a3b8;
}

.vc-count-badge {
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(56, 189, 248, );
    border: 1px solid rgba(56, 189, 248, );
    color: #fca5a5;
    padding: 3px 9px;
    border-radius: 99px;
}

.server-vc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

.vc-channel-chip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(8, 16, 36, 0.75);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.vc-channel-chip:hover {
    background: rgba(12, 25, 55, 0.9);
    border-color: rgba(0, 242, 254, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.vc-channel-chip.selected {
    border-color: #00f2fe;
    background: rgba(0, 242, 254, 0.15);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
}

.vc-info-left {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.vc-icon {
    font-size: 0.9rem;
    color: #38bdf8;
    flex-shrink: 0;
}

.vc-name-text {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-vc-instant-join {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #030712;
    background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 242, 254, 0.6);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 242, 254, 0.3);
}

.btn-vc-instant-join:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #38bdf8 0%, #00f2fe 100%);
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.5);
}

.btn-vc-instant-join.joining {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
    color: #fbbf24;
    box-shadow: none;
    cursor: wait;
}

.btn-vc-instant-join.connected {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #34d399;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

/* ========================================================
   ROLE TABS & RESELLER PORTAL STYLES
   ======================================================== */
.gate-role-tabs {
    display: flex;
    gap: 8px;
    margin: 14px 0 18px 0;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gate-role-btn {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid transparent;
    background: transparent;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gate-role-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.gate-role-btn.active {
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
    color: #ffffff;
    border-color: rgba(254, 202, 202, 0.35);
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.45);
}

.reseller-credits-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 10px;
    margin-bottom: 12px;
}

.credit-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #fde68a;
}

/* ========================================================
   APP BOTS & QUEST COMPLETE MODALS
   ======================================================== */
.app-bots-modal-card {
    max-width: 580px;
    border-color: rgba(245, 158, 11, 0.35);
}

.app-bots-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 1.5rem;
}

.upcoming-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 999px;
    color: #fde68a;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.app-bots-desc {
    text-align: center;
    color: #cbd5e1;
    font-size: 0.88rem;
    margin-bottom: 18px;
    line-height: 1.5;
}

.app-bots-features-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-bot-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: left;
}

.app-bot-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.app-bot-card strong {
    font-size: 0.88rem;
    color: #ffffff;
    display: block;
}

.app-bot-card p {
    font-size: 0.74rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* --- QUEST MODAL --- */
.quest-modal-card {
    max-width: 650px;
    border-color: rgba(99, 102, 241, 0.4);
    background: linear-gradient(180deg, rgba(15, 12, 28, 0.96) 0%, rgba(8, 6, 16, 0.98) 100%);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(99, 102, 241, 0.2);
}

.quest-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
    font-size: 1.5rem;
}

/* Discord Account Profile Card */
.quest-profile-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 14px;
    margin-top: 14px;
    margin-bottom: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    animation: slideIn 0.3s ease;
}

.quest-profile-avatar-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.quest-profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #6366f1;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.45);
}

.quest-profile-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #0f0c1c;
    box-shadow: 0 0 8px #22c55e;
}

.quest-profile-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
    flex: 1;
}

.quest-profile-name-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.quest-profile-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

.quest-profile-tag {
    font-size: 0.8rem;
    color: #a5b4fc;
    font-weight: 600;
}

.quest-profile-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.quest-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quest-meta-status {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.35);
}

.quest-meta-nitro {
    background: rgba(99, 102, 241, 0.18);
    color: #c7d2fe;
    border-color: rgba(99, 102, 241, 0.4);
}

/* Quests List Container */
.quest-list-container {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.quest-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-complete-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: 1px solid #fbbf24;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
    transition: all 0.2s ease;
}

.btn-complete-all:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.55);
}

.quest-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

.quest-grid::-webkit-scrollbar {
    width: 5px;
}
.quest-grid::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
}

.quest-item-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.quest-item-card:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.45);
}

.quest-item-card.is-completed {
    border-color: rgba(34, 197, 94, 0.45);
    background: rgba(34, 197, 94, 0.06);
}

.quest-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    flex: 1;
}

.quest-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(79, 70, 229, 0.35) 100%);
    border: 1px solid rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.quest-item-card.is-completed .quest-badge-icon {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.45);
    color: #4ade80;
}

.quest-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.quest-reward {
    font-size: 0.74rem;
    color: #a5b4fc;
    margin-top: 2px;
}

.quest-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    margin-top: 6px;
    overflow: hidden;
}

.quest-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    transition: width 0.4s ease;
}

.quest-item-card.is-completed .quest-progress-fill {
    width: 100% !important;
    background: #22c55e;
}

.btn-quest-start {
    padding: 8px 16px;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.2);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-quest-start:hover {
    background: #6366f1;
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.5);
}

.btn-quest-start.completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: #34d399 !important;
    color: #ffffff !important;
    cursor: default;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4) !important;
}

.btn-quest-start.is-streaming {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.4) 0%, rgba(99, 102, 241, 0.25) 100%) !important;
    border-color: #818cf8 !important;
    color: #e0e7ff !important;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.5) !important;
    animation: streamPulse 2s infinite ease-in-out;
}

@keyframes streamPulse {
    0%, 100% {
        box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
        border-color: rgba(129, 140, 248, 0.6);
    }
    50% {
        box-shadow: 0 0 24px rgba(99, 102, 241, 0.85);
        border-color: #a5b4fc;
    }
}

.quest-meta-timer {
    background: rgba(99, 102, 241, 0.15) !important;
    border: 1px solid rgba(129, 140, 248, 0.35) !important;
    color: #c7d2fe !important;
    font-family: 'Fira Code', monospace;
    font-size: 0.72rem;
    font-weight: 600;
}

/* ===== FRONT-PAGE STYLE PURCHASE TRUST ROW ===== */
.purchase-trust-row {
    margin-top: 22px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    justify-content: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.trust-link-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
}

.trust-link-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-1px);
}

/* Universal Button Rounding & Gloss */
.gate-role-btn,
.gate-submit-btn,
.btn-back-portal,
.btn-token-action {
    border-radius: 999px !important;
}

/* Glassmorphism enhancement on all cards */
.modal-content,
.login-card-portal {
    background: linear-gradient(145deg, rgba(16, 7, 10, 0.82) 0%, rgba(10, 4, 6, 0.76) 100%) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(220, 38, 38, 0.12) !important;
}

/* ========================================================
   MASS REPORTER UI STYLES
   ======================================================== */
.btn-tab-report {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-tab-report:hover {
    transform: translateY(-1px);
    border-color: rgba(239, 68, 68, 0.6) !important;
    color: #fff !important;
}
.btn-tab-report.active {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.28) 0%, rgba(185, 28, 28, 0.2) 100%) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.reporter-log-line {
    padding: 3px 0;
    line-height: 1.5;
    word-break: break-all;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.reporter-log-line:last-child {
    border-bottom: none;
}
.reporter-log-time {
    color: #64748b;
    margin-right: 6px;
    font-size: 0.7rem;
}
.reporter-log-success {
    color: #34d399;
}
.reporter-log-error {
    color: #f87171;
}
.reporter-log-warn {
    color: #fbbf24;
}
.reporter-log-info {
    color: #38bdf8;
}

#reporterModal select,
#reporterModal input,
#reporterModal textarea {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#reporterModal select:focus,
#reporterModal input:focus,
#reporterModal textarea:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.35) !important;
    outline: none !important;
}

/* ========================================================
   PORTAL TOP NAVIGATION (RESELLER LEFT & ADMIN RIGHT)
   ======================================================== */
.portal-top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    padding: 0 4px;
}

.portal-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    user-select: none;
}

.portal-nav-btn--reseller {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fbbf24;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.15);
}
.portal-nav-btn--reseller:hover {
    background: rgba(245, 158, 11, 0.25);
    border-color: #f59e0b;
    color: #fff;
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.45);
    transform: translateY(-2px);
}

.portal-nav-btn--admin {
    background: rgba(217, 70, 239, 0.12);
    border: 1px solid rgba(217, 70, 239, 0.45);
    color: #f0abfc;
    box-shadow: 0 0 16px rgba(217, 70, 239, 0.15);
}
.portal-nav-btn--admin:hover {
    background: rgba(217, 70, 239, 0.25);
    border-color: #d946ef;
    color: #fff;
    box-shadow: 0 0 24px rgba(217, 70, 239, 0.45);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .portal-top-bar {
        flex-direction: column;
        gap: 12px;
    }
}

/* ========================================================
   ADMIN API KEYS & PROXIES STYLING
   ======================================================== */
.api-key-card {
    transition: all 0.2s ease;
}
.api-key-card:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.admin-tabs {
    flex-wrap: wrap !important;
}

.admin-tabs .tab-btn {
    min-width: 100px;
    flex: 1 1 auto;
}

/* ===== ACCOUNT SERVER MATRIX CARD ===== */
.matrix-account-card {
    flex-shrink: 0 !important;
    min-height: fit-content !important;
    overflow: visible !important;
    display: block !important;
}

/* ===== ACCOUNT SERVER MATRIX NEW STYLES ===== */
.matrix-server-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    min-height: 58px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(0, 242, 254, 0.25) !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    user-select: none !important;
}

.matrix-server-card:hover {
    background: rgba(14, 116, 144, 0.3) !important;
    border-color: #00f2fe !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.28) !important;
}

.matrix-server-card:active {
    transform: translateY(0) !important;
}

.matrix-server-card .server-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}

.matrix-server-card .server-meta {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

.matrix-server-card .server-title {
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.matrix-server-card .server-role {
    font-size: 0.7rem !important;
    color: #94a3b8 !important;
}

.matrix-server-card .server-role.is-owner {
    color: #fbbf24 !important;
    font-weight: 700 !important;
}

.matrix-vc-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    color: #00f2fe !important;
    background: rgba(0, 242, 254, 0.12) !important;
    border: 1px solid rgba(0, 242, 254, 0.45) !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    pointer-events: none !important;
    transition: all 0.2s ease !important;
}

.matrix-server-card:hover .matrix-vc-badge {
    background: #00f2fe !important;
    color: #040914 !important;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.6) !important;
}

.matrix-vc-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 16px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    background: rgba(168, 85, 247, 0.16) !important;
    border: 1px solid rgba(168, 85, 247, 0.45) !important;
    color: #f3e8ff !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.matrix-vc-btn:hover {
    background: rgba(168, 85, 247, 0.38) !important;
    border-color: #c084fc !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.4) !important;
}

.matrix-vc-btn:active {
    transform: scale(0.97) !important;
}


