/* Nemesis Center — design system (azul escuro + ouro) */
:root {
    --nc-bg: #020617;
    --nc-bg-elevated: #0b1224;
    --nc-bg-card: rgba(11, 18, 36, 0.92);
    --nc-blue: #1e3a8a;
    --nc-blue-light: #2563eb;
    --nc-gold: #d4af37;
    --nc-gold-bright: #fbbf24;
    --nc-gold-dim: rgba(212, 175, 55, 0.15);
    --nc-gold-glow: rgba(212, 175, 55, 0.35);
    --nc-text: #e2e8f0;
    --nc-text-muted: #94a3b8;
    --nc-border: rgba(148, 163, 184, 0.14);
    --nc-border-gold: rgba(212, 175, 55, 0.28);
    --nc-success: #22c55e;
    --nc-error: #ef4444;
    --nc-radius: 14px;
    --nc-radius-lg: 20px;
    --nc-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --nc-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    --nc-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100dvh;
    font-family: var(--nc-font);
    font-size: 14px;
    line-height: 1.5;
    color: var(--nc-text);
    background: var(--nc-bg);
    overflow-x: hidden;
}

/* Fundo leve — sem JPG pesado nem animação */
.nc-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(30, 58, 138, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #020617 0%, #0a1020 100%);
    pointer-events: none;
}

.nc-bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.5) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

a { color: var(--nc-gold-bright); text-decoration: none; }
a:hover { color: #fde68a; }

.nc-container {
    width: min(1400px, 100%);
    margin: 0 auto;
    padding: 0 20px;
}

/* ——— Auth (login / cadastro) ——— */
.nc-auth-body {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.nc-auth-scene {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 60% at 50% 0%, rgba(37, 99, 235, 0.22) 0%, transparent 58%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(212, 175, 55, 0.08) 0%, transparent 55%),
        linear-gradient(165deg, #01040f 0%, #0a1020 45%, #020617 100%);
}

.nc-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
}
.nc-orb-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: rgba(30, 58, 138, 0.45);
}
.nc-orb-2 {
    width: 320px;
    height: 320px;
    bottom: -60px;
    left: -40px;
    background: rgba(212, 175, 55, 0.12);
}
.nc-orb-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 55%;
    background: rgba(59, 130, 246, 0.15);
}

.nc-auth-shell {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.nc-auth-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 36px 32px 32px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.95) 0%, rgba(8, 14, 28, 0.98) 100%);
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.12),
        0 24px 64px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nc-auth-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.45), rgba(59, 130, 246, 0.15) 40%, rgba(212, 175, 55, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.nc-auth-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.nc-auth-logo {
    width: 160px;
    height: auto;
    object-fit: contain;
}

.nc-auth-header {
    text-align: center;
    margin-bottom: 28px;
}
.nc-auth-header h1 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 30%, var(--nc-gold-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nc-auth-header p {
    margin: 0;
    font-size: 14px;
    color: var(--nc-text-muted);
}

.nc-auth-form { margin-top: 4px; }

.nc-input-wrap-left .nc-icon-left {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: rgba(212, 175, 55, 0.65);
    pointer-events: none;
}
.nc-input-wrap-left .nc-input {
    padding: 0 14px 0 44px;
}

.nc-btn-shine {
    position: relative;
    overflow: hidden;
    margin-top: 6px;
}
.nc-btn-shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    animation: nc-shine 4s ease-in-out infinite;
}
@keyframes nc-shine {
    0%, 70%, 100% { left: -100%; }
    85% { left: 140%; }
}

.nc-auth-footer {
    padding-bottom: 28px;
}

/* Legacy / shared card styles */
.nc-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.nc-card {
    background: var(--nc-bg-card);
    border: 1px solid var(--nc-border);
    border-radius: var(--nc-radius-lg);
    padding: 28px 26px;
    box-shadow: var(--nc-shadow);
}

.nc-card-head { margin-bottom: 20px; }
.nc-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.nc-card-sub {
    font-size: 13px;
    color: var(--nc-text-muted);
    margin: 0;
}

.nc-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--nc-radius);
    font-size: 13px;
    margin-bottom: 14px;
    border: 1px solid transparent;
}
.nc-alert-error {
    background: rgba(127, 29, 29, 0.5);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fecaca;
}
.nc-alert-success {
    background: rgba(22, 101, 52, 0.45);
    border-color: rgba(34, 197, 94, 0.4);
    color: #bbf7d0;
}
.nc-alert-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: currentColor;
}

.nc-field { margin-bottom: 14px; }
.nc-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--nc-text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.nc-input-wrap { position: relative; }
.nc-input-wrap .nc-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--nc-text-muted);
    pointer-events: none;
}
.nc-input {
    width: 100%;
    height: 44px;
    padding: 0 44px 0 14px;
    border-radius: 10px;
    border: 1px solid var(--nc-border);
    background: rgba(2, 6, 23, 0.6);
    color: #fff;
    font: inherit;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.nc-input:focus {
    border-color: var(--nc-gold);
    box-shadow: 0 0 0 3px var(--nc-gold-dim);
}
.nc-input::placeholder { color: rgba(148, 163, 184, 0.7); }

.nc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
    font-family: inherit;
    text-decoration: none;
}
.nc-btn:active { transform: scale(0.98); }
.nc-btn-gold {
    background: linear-gradient(135deg, var(--nc-gold-bright), var(--nc-gold));
    color: #0a0a0a;
    box-shadow: 0 4px 20px var(--nc-gold-glow);
    width: 100%;
    border: none;
}
.nc-btn-gold:hover {
    box-shadow: 0 6px 28px var(--nc-gold-glow);
    color: #000;
}
.nc-btn-ghost {
    background: transparent;
    border-color: var(--nc-border);
    color: var(--nc-text);
}
.nc-btn-ghost:hover {
    border-color: var(--nc-gold);
    color: var(--nc-gold-bright);
}
.nc-btn-dark {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--nc-border);
    color: var(--nc-text-muted);
}
.nc-btn-dark:hover {
    color: var(--nc-error);
    border-color: rgba(239, 68, 68, 0.35);
}

.nc-auth-actions { margin-top: 8px; }
.nc-auth-secondary {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--nc-text-muted);
}

.nc-footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: var(--nc-text-muted);
}
.nc-footer .nc-footer-brand {
    color: var(--nc-gold-bright);
    font-weight: 700;
}

.nc-turnstile-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    margin: 14px 0 4px;
    min-height: 72px;
    overflow: visible;
}

.nc-turnstile-target,
#nc-turnstile-target {
    display: block;
    width: 100%;
    min-height: 65px;
    overflow: visible;
}

@media (max-width: 640px) {
    .nc-turnstile-wrap {
        min-height: 78px;
    }
    .nc-turnstile-target,
    #nc-turnstile-target {
        min-height: 70px;
    }
}

.nc-turnstile-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--nc-text-muted);
    padding: 12px 0;
}

.nc-turnstile-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--nc-gold-bright);
    border-radius: 50%;
    animation: nc-spin 0.7s linear infinite;
}

@keyframes nc-spin {
    to { transform: rotate(360deg); }
}

.nc-turnstile-wrap iframe {
    border-radius: 8px;
    max-width: 100%;
}

.nc-turnstile-fail {
    margin: 0;
    font-size: 12px;
    color: #fecaca;
    text-align: center;
    line-height: 1.5;
}

.nc-turnstile-retry {
    margin-top: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.1);
    color: var(--nc-gold-bright);
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.nc-turnstile-retry:hover {
    background: rgba(212, 175, 55, 0.18);
}

.nc-turnstile-local {
    font-size: 11px;
    color: var(--nc-text-muted);
    text-align: center;
}

/* ——— App shell (dashboard, recarga, etc.) ——— */
.nc-app { min-height: 100vh; display: flex; flex-direction: column; }

.nc-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 6, 23, 0.94);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 12px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.nc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.nc-logo img:not(.nc-logo-img) {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nc-user-pill {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 8px 20px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--nc-border);
    border-radius: 999px;
}

.nc-user-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.nc-user-stat-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nc-text-muted);
}
.nc-user-stat-value {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.nc-user-stat-value.is-gold { color: var(--nc-gold-bright); }
.nc-user-stat-value.is-ok { color: var(--nc-success); }
.nc-user-stat-value.is-bad { color: var(--nc-error); }

.nc-header-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.nc-main { flex: 1; padding: 24px 0 40px; }

/* Stats */
.nc-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.nc-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    min-width: 180px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(8, 14, 28, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: var(--nc-radius-lg);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.nc-stat-card:hover {
    border-color: var(--nc-border-gold);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: inherit;
}
.nc-stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nc-text-muted);
}
.nc-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}
.nc-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--nc-gold-dim);
    border: 1px solid var(--nc-border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nc-gold-bright);
}
.nc-stat-icon svg { width: 20px; height: 20px; }

/* Panels */
.nc-panel {
    background: var(--nc-bg-card);
    border: 1px solid var(--nc-border);
    border-radius: var(--nc-radius-lg);
    overflow: hidden;
}
.nc-panel-head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--nc-border);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(2, 6, 23, 0.4);
}
.nc-panel-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    margin: 0;
}
.nc-panel-body { padding: 20px; }

/* Tool / checker rows */
.nc-grid { display: grid; gap: 12px; }
.nc-grid-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.nc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--nc-border);
    border-radius: var(--nc-radius);
    transition: border-color 0.15s;
}
.nc-item:hover { border-color: var(--nc-border-gold); }
.nc-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.nc-item-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--nc-gold-dim);
    border: 1px solid var(--nc-border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nc-gold-bright);
}
.nc-item-icon svg { width: 20px; height: 20px; }
.nc-item-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nc-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.nc-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.nc-badge-on {
    background: rgba(34, 197, 94, 0.12);
    color: var(--nc-success);
    border: 1px solid rgba(34, 197, 94, 0.25);
}
.nc-badge-off {
    background: rgba(239, 68, 68, 0.12);
    color: var(--nc-error);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.nc-badge-live {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}
.nc-badge-die {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

/* Dashboard layout */
.nc-dash-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
}
@media (max-width: 1024px) {
    .nc-dash-layout { grid-template-columns: 1fr; }
    .nc-user-pill { display: none; }
    .nc-mobile-stats { display: flex !important; }
}

.nc-mobile-stats {
    display: none;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--nc-bg-card);
    border-radius: var(--nc-radius);
    border: 1px solid var(--nc-border);
}

.nc-dash-landing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 20px;
}
.nc-dash-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 16px;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.85), rgba(8, 14, 28, 0.92));
    border: 1px solid rgba(212, 175, 55, 0.14);
    border-radius: var(--nc-radius-lg);
    cursor: pointer;
    transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s;
    font: inherit;
    color: inherit;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.nc-dash-tile:hover {
    border-color: var(--nc-gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.2);
}
.nc-dash-tile img {
    width: 120px;
    height: auto;
    object-fit: contain;
}
.nc-dash-tile-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--nc-gold-bright);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.nc-dash-tile-sub { font-size: 12px; color: var(--nc-text-muted); }

.nc-dash-view { display: none; }
.nc-dash-view.is-open { display: block; }
.nc-dash-landing.is-hidden { display: none; }

.dash-category-pane { display: none; }
.dash-category-pane.is-visible { display: block; }

.nc-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.nc-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--nc-border);
}
.nc-back-btn {
    background: transparent;
    border: 1px solid var(--nc-border);
    color: var(--nc-text-muted);
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
}
.nc-back-btn:hover { border-color: var(--nc-gold); color: var(--nc-gold); }

/* Ranking */
.nc-rank-list { list-style: none; margin: 0; padding: 0; }
.nc-rank-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--nc-border);
}
.nc-rank-item:last-child { border-bottom: none; }
.nc-rank-pos {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--nc-gold-dim);
    color: var(--nc-gold-bright);
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nc-rank-name { font-weight: 600; color: #fff; }
.nc-rank-count { font-size: 12px; color: var(--nc-gold-bright); font-weight: 700; }

/* Tables (historico) */
.nc-table-wrap { overflow-x: auto; }
.nc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.nc-table th {
    text-align: left;
    padding: 12px 14px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nc-text-muted);
    border-bottom: 1px solid var(--nc-border);
    background: rgba(2, 6, 23, 0.5);
}
.nc-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--nc-border);
    vertical-align: middle;
}
.nc-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* Recarga plans */
.nc-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.nc-plan {
    padding: 22px;
    border: 1px solid var(--nc-border);
    border-radius: var(--nc-radius-lg);
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    transition: border-color 0.15s;
}
.nc-plan:hover { border-color: var(--nc-gold); }
.nc-plan-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--nc-gold-bright);
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* DevTools aberto — overlay de proteção */
html.nc-devtools-open body::after {
    content: "Inspeção bloqueada · Nemesis Security";
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    background: rgba(2, 6, 23, 0.98);
    color: #e2e8f0;
    font-family: var(--nc-font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    pointer-events: all;
}

/* Context menu — Nemesis Security */
#nc-context-menu {
    display: none;
    position: fixed;
    z-index: 99999;
    width: 210px;
    padding: 0;
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.98) 0%, rgba(8, 14, 28, 0.99) 100%);
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.18),
        0 20px 50px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
    font-family: var(--nc-font);
    opacity: 0;
    transform: scale(0.96) translateY(4px);
    transform-origin: top left;
    transition: opacity 0.12s ease, transform 0.12s ease;
}

#nc-context-menu.is-open {
    display: block;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.nc-ctx-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(212, 175, 55, 0.04);
}

.nc-ctx-head-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.nc-ctx-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.nc-ctx-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--nc-text-muted);
    line-height: 1.2;
}

.nc-ctx-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--nc-text-muted);
}

.nc-ctx-icon-gold {
    width: 22px;
    height: 22px;
    color: var(--nc-gold-bright);
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.35));
}

.nc-ctx-icon-sm {
    width: 13px;
    height: 13px;
}

.nc-ctx-actions {
    padding: 6px;
}

#nc-context-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #e2e8f0;
    font-family: var(--nc-font);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}

#nc-context-menu button span {
    flex: 1;
}

#nc-context-menu button:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #fff;
}

#nc-context-menu button:hover .nc-ctx-icon {
    color: var(--nc-gold-bright);
}

.nc-ctx-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    background: rgba(2, 6, 23, 0.45);
    font-size: 10px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.75);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nc-ctx-foot .nc-ctx-icon-sm {
    color: rgba(212, 175, 55, 0.65);
}

/* Legacy class — mantido por compatibilidade */
.nc-context-brand {
    display: none;
}

/* Performance: sem animações pesadas */
.bg-overlay, .page::before, .cyber-lines {
    animation: none !important;
    filter: none !important;
    transform: none !important;
}
.header-center, .checker-panel, .stat-box, .panel, .mobile-user-info {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.logo img, .result-item, .animate-enter {
    animation: none !important;
}
.animate-enter { opacity: 1 !important; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
