/* ═══════════════════════════════════════════════════════════════════
   BLACK SIDE CHECKER CENTER — CSS PREMIUM v2
   Design system: BLACK SIDEPay (referência visual exata do 3.html)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Fontes ── */
@font-face {
    font-family: Manrope;
    src: url('../../../assets/fonts/manrope-latin.woff2') format('woff2');
    font-display: swap
}

@font-face {
    font-family: Inter;
    src: url('../../../assets/fonts/inter-regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: Inter;
    src: url('../../../assets/fonts/inter-bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap
}

/* ── Design Tokens ── */
:root {
    --bg: #000;
    --bg2: #050505;
    --panel: #0f0f0f;
    --card: rgba(255, 255, 255, .03);
    --card-hover: rgba(255, 255, 255, .05);
    --border: rgba(255, 255, 255, .08);
    --border-hover: rgba(255, 255, 255, .15);
    --border-light: rgba(255, 255, 255, .04);
    --text: #fff;
    --muted: #848484;
    --green: #3fff21;
    --green-dim: rgba(63, 255, 33, .1);
    --green-glow: rgba(63, 255, 33, .25);
    --green2: #279915;
    --danger: #ef4444;
    --warn: #f59e0b;
    --ok: #22c55e;
    --radius: 24px;
    --radius-sm: 16px;
    --radius-xs: 12px;
    --radius-full: 999px;
    --ease: cubic-bezier(.2, .9, .4, 1.1);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, .3);
    --shadow: 0 20px 70px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .04);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, .5)
}

/* ── Reset ── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

html.landing {
    scrollbar-width: none;
    -ms-overflow-style: none
}

html.landing::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Manrope, Inter, system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    min-height: 100vh
}

a {
    color: inherit;
    text-decoration: none
}

img,
svg {
    display: block;
    max-width: 100%
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: 0
}

h1,
h2,
h3,
h4 {
    letter-spacing: -.02em
}

/* ── Noise texture ── */
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .015) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle, #000 35%, transparent 78%)
}

/* ── Glass Card ── */
.glass-card {
    background: var(--card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .25s var(--ease);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden
}

.glass-card:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover)
}

/* ── Botões ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: -.01em;
    transition: all .15s var(--ease);
    font-family: inherit;
    position: relative;
    overflow: hidden
}

.btn:hover {
    transform: scale(1.02)
}

.btn:active {
    transform: scale(.98)
}

.btn-primary {
    background: var(--green);
    color: #000;
    box-shadow: 0 0 36px var(--green-glow), 0 4px 20px rgba(0, 0, 0, .3)
}

.btn-primary:hover {
    box-shadow: 0 0 50px var(--green-glow), 0 8px 30px rgba(0, 0, 0, .4)
}

.btn-secondary {
    background: linear-gradient(43deg, transparent, rgba(255, 255, 255, .06));
    border: 1px solid var(--border);
    color: #fff
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .05);
    border-color: var(--border-hover)
}

.btn-outline {
    background: linear-gradient(130deg, rgba(63, 255, 33, .16), rgba(63, 255, 33, .04));
    border: 1px solid rgba(63, 255, 33, .3);
    color: var(--green)
}

.btn-sm {
    padding: 6px 11px;
    font-size: 10.5px
}

.btn-xs {
    padding: 3px 8px;
    font-size: 9.5px
}

.btn-lg {
    padding: 12px 22px;
    font-size: 14px
}

.btn-full {
    width: 100%;
    justify-content: center
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%
}

/* ── Badge ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em
}

.badge-green {
    background: var(--green-dim);
    color: var(--green);
    border: 1px solid rgba(63, 255, 33, .2)
}

.badge-muted {
    background: rgba(255, 255, 255, .05);
    color: var(--muted);
    border: 1px solid var(--border)
}

.badge-danger {
    background: rgba(239, 68, 68, .1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, .2)
}

.badge-warn {
    background: rgba(245, 158, 11, .1);
    color: var(--warn);
    border: 1px solid rgba(245, 158, 11, .2)
}

.badge-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 4px var(--green)
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(43deg, transparent, rgba(255, 255, 255, .06));
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: -.02em
}

.badge-pill::before {
    content: '●';
    color: var(--green);
    filter: drop-shadow(0 0 6px var(--green));
    font-size: 8px
}

.badge-pill-light {
    text-transform: uppercase;
    letter-spacing: .04em
}

.badge-pill-light::before {
    display: none
}

/* ═══════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════ */
.landing {
    overflow-x: hidden
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 80px;
    position: relative;
    text-align: center;
    isolation: isolate;
    overflow: hidden
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: none;
    z-index: 0
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(18px);
    opacity: .38;
    z-index: 1;
    animation: pulse 3.5s ease-in-out infinite
}

.hero-orb-left {
    width: 220px;
    height: 220px;
    left: 8%;
    top: 24%;
    background: radial-gradient(circle, rgba(63, 255, 33, .38), transparent 68%)
}

.hero-orb-right {
    width: 300px;
    height: 300px;
    right: 6%;
    bottom: 12%;
    background: radial-gradient(circle, rgba(63, 255, 33, .22), transparent 70%);
    animation-delay: .8s
}

.hero-cat-focus {
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 13% 54%, rgba(63, 255, 33, .28), transparent 20%), radial-gradient(ellipse at 87% 54%, rgba(63, 255, 33, .28), transparent 20%), radial-gradient(ellipse at center, rgba(63, 255, 33, .08), transparent 55%);
    opacity: .95;
    overflow: hidden
}

.hero-cat-focus::after {
    content: '';
    position: absolute;
    width: min(46vw, 620px);
    height: min(46vw, 620px);
    right: -8vw;
    top: 250px;
    border-radius: 48% 52% 45% 55% / 52% 44% 56% 48%;
    background: radial-gradient(circle at 50% 50%, rgba(235, 255, 245, .95) 0 3%, rgba(63, 255, 33, .95) 4% 16%, rgba(0, 120, 70, .78) 17% 27%, rgba(0, 0, 0, .48) 30% 45%, transparent 58%), radial-gradient(ellipse at 50% 50%, rgba(63, 255, 33, .38), transparent 72%);
    filter: blur(.2px) drop-shadow(0 0 34px rgba(63, 255, 33, .9)) drop-shadow(0 0 110px rgba(63, 255, 33, .45));
    opacity: .82;
    transform: rotate(-10deg) scaleX(1.32) scaleY(.72);
    mix-blend-mode: screen
}

.hero-cat-focus::before {
    content: '';
    position: absolute;
    width: min(52vw, 700px);
    height: min(52vw, 700px);
    left: -10vw;
    top: 245px;
    border-radius: 48% 52% 45% 55% / 52% 44% 56% 48%;
    background: radial-gradient(circle at 50% 50%, rgba(235, 255, 245, .95) 0 3%, rgba(63, 255, 33, .98) 4% 17%, rgba(0, 130, 78, .8) 18% 28%, rgba(0, 0, 0, .50) 31% 46%, transparent 60%), radial-gradient(ellipse at 50% 50%, rgba(63, 255, 33, .42), transparent 72%);
    filter: blur(.2px) drop-shadow(0 0 38px rgba(63, 255, 33, .95)) drop-shadow(0 0 120px rgba(63, 255, 33, .48));
    opacity: .86;
    transform: rotate(10deg) scaleX(1.35) scaleY(.72);
    mix-blend-mode: screen
}

.hero-content {
    position: relative;
    max-width: 1040px;
    z-index: 3;
    padding-top: 42px
}

.hero-preview {
    position: relative;
    z-index: 2;
    width: min(980px, 94vw);
    margin: 46px auto 0;
    border: 1px solid rgba(63, 255, 33, .24);
    border-radius: 30px;
    overflow: hidden;
    background: #050505;
    box-shadow: 0 0 90px rgba(63, 255, 33, .16), 0 28px 100px rgba(0, 0, 0, .7);
    transform: perspective(1200px) rotateX(2deg)
}

.hero-preview img {
    width: 100%;
    height: auto;
    display: block
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(760px, 94vw);
    margin: 28px auto 0;
    position: relative;
    z-index: 2
}

.hero-stat {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .035);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px)
}

.hero-stat strong {
    display: block;
    font-size: 24px;
    color: var(--green);
    line-height: 1
}

.hero-stat span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 6px
}

.hero h1 {
    font-size: clamp(42px, 8vw, 80px);
    line-height: .95;
    margin: 28px 0;
    background: linear-gradient(90deg, #888, #fff 50%, #888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.hero .lead {
    font-size: clamp(15px, 1.8vw, 20px);
    color: #b7b7b7;
    max-width: 780px;
    margin: 0 auto 32px;
    line-height: 1.6
}

.cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap
}

/* Sections */
.section {
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center
}

.section-inner {
    width: 100%;
    max-width: 1360px
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap
}

.section-title {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.1;
    font-weight: 600
}

.gradient-text {
    background: linear-gradient(90deg, #555, #fff 50%, #555);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.gradient-text-sm {
    background: linear-gradient(58deg, #555, #fff 44%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.lead {
    color: var(--muted);
    line-height: 1.6
}

.muted {
    color: var(--muted);
    font-size: 14px
}

/* Benefit cards */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
}

.benefit-card {
    background: linear-gradient(138deg, var(--panel), #000 50%, #062601 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
    transition: all .25s var(--ease);
    position: relative;
    overflow: hidden
}

.benefit-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px)
}

.benefit-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--green);
    opacity: .3;
    position: absolute;
    top: 12px;
    right: 16px;
    line-height: 1
}

.benefit-card h4 {
    font-size: 18px;
    margin-bottom: 8px
}

.benefit-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6
}

.benefit-number-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    background: linear-gradient(43deg, transparent, rgba(255, 255, 255, .06));
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    font-size: 12px;
    color: var(--muted)
}

/* Feature grid (why choose) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.feature-card {
    border-radius: var(--radius-sm);
    padding: 32px;
    position: relative;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center
}

.feature-card-content {
    position: relative;
    z-index: 1
}

.feature-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(0, 0, 0, .85));
    z-index: 0
}

.feature-card h4 {
    font-size: 18px;
    margin-bottom: 6px
}

.feature-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(63, 255, 33, .15), rgba(63, 255, 33, .05));
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1
}

.plan-card {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 28px;
    background: linear-gradient(138deg, var(--panel), #000 50%, rgba(63, 255, 33, .07));
    min-height: 310px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: .25s var(--ease)
}

.plan-card:hover {
    border-color: rgba(63, 255, 33, .35);
    transform: translateY(-3px);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .45)
}

.plan-card.featured {
    background: linear-gradient(138deg, #3fff21, #b9ffad);
    color: #000;
    border-color: rgba(63, 255, 33, .8)
}

.plan-card.featured p,
.plan-card.featured li {
    color: rgba(0, 0, 0, .68)
}

.plan-price {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.04em
}

.plan-card ul {
    display: grid;
    gap: 10px;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
    flex: 1
}

.plan-card li::before {
    content: '✓';
    color: var(--green);
    margin-right: 8px;
    font-weight: 800
}

.plan-card.featured li::before {
    color: #000
}

/* Integration logos */
.integration-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
    opacity: .5
}

.integration-row img {
    height: 24px;
    width: auto
}

/* ── Auth Shell ── */
.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 500px;
    background: #000
}

.auth-art {
    margin: 20px;
    border-radius: 28px;
    min-height: calc(100vh - 40px);
    position: relative;
    overflow: hidden;
    background: #000
}

.auth-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: none;
    z-index: 0
}

.auth-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: 1
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px
}

.auth-box {
    width: 100%;
    max-width: 430px
}

.auth-box img {
    height: auto;
    width: 100%;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 44px
}

.auth-box h2 {
    font-size: 30px;
    margin: 0 0 10px;
    background: linear-gradient(90deg, #555, #fff 50%, #555);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.auth-links {
    margin-top: 20px;
    text-align: center
}

.auth-links a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 3px
}

/* ── Forms ── */
.form {
    display: grid;
    gap: 14px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.input,
.textarea,
select {
    width: 100%;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
    font: inherit;
    font-size: 14px;
    transition: all .2s
}

/* Admin compact inputs */
.adm-main .input,
.adm-main .textarea,
.adm-main select,
.adm-main .select {
    background: #111 !important;
    border-color: rgba(255,255,255,.12) !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px
}

.adm-main .input:focus,
.adm-main .textarea:focus,
.adm-main select:focus {
    border-color: var(--green) !important;
    box-shadow: 0 0 0 3px rgba(63,255,33,.1) !important
}

/* Also fix any standalone selects */
select option {
    background: #111;
    color: #fff
}


.input:hover,
.textarea:hover {
    border-color: var(--border-hover)
}

.input:focus,
.textarea:focus,
select:focus {
    border-color: rgba(63, 255, 33, .65);
    box-shadow: 0 0 0 4px rgba(63, 255, 33, .08)
}

.textarea {
    min-height: 150px;
    resize: vertical
}

.label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 500
}

select {
    appearance: none;
    cursor: pointer
}

/* ── Toggle ── */
.toggle-row {
    display: flex;
    align-items: center;
    gap: 12px
}

.toggle {
    position: relative;
    width: 48px;
    height: 28px;
    background: rgba(255, 255, 255, .1);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: .25s;
    border: 1px solid var(--border)
}

.toggle.active {
    background: var(--green);
    border-color: var(--green)
}

.toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: .25s var(--ease)
}

.toggle.active::after {
    left: 23px
}

/* ── Sidebar ── */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 248px;
    padding: 24px 16px;
    background: rgba(0, 0, 0, .85);
    border-right: 1px solid var(--border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 20;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.brand {
    display: block;
    padding: 10px;
    margin-bottom: 12px
}

.brand img {
    max-width: 190px;
    height: auto
}

.nav {
    display: grid;
    gap: 6px
}

.nav-scroll-area {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    padding-right: 0;
    scrollbar-width: none
}

.nav-scroll-area::-webkit-scrollbar {
    width: 0;
    height: 0
}

.sidebar-bottom-panel {
    margin-top: auto;
    padding: 10px 12px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(0, 0, 0, 0.12);
}

.nav-fixed-area {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.nav-fixed-area a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 5px 8px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    min-height: auto !important;
    gap: 6px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.15s ease !important;
}

.nav-fixed-area a:hover {
    background: rgba(63, 255, 33, 0.08) !important;
    border-color: rgba(63, 255, 33, 0.15) !important;
    color: var(--green) !important;
}

.nav-fixed-area .nav-icon {
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0 !important;
}

.online-counter-box {
    padding: 4px 8px !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 9.5px !important;
    color: rgba(255, 255, 255, 0.4) !important;
}


.sidebar-bottom-panel .logout-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 6px !important;
    font-size: 10px !important;
    color: rgba(239, 68, 68, 0.7) !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    background: rgba(239, 68, 68, 0.04) !important;
    border: 1px solid rgba(239, 68, 68, 0.1) !important;
    transition: all 0.15s ease !important;
}

.sidebar-bottom-panel .logout-btn:hover {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
    color: #ef4444 !important;
}

.nav a,
.logout-btn {
    padding: 13px 14px;
    border-radius: 14px;
    color: #a8a8a8;
    font-weight: 500;
    font-size: 15px;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: 10px
}

/* Sidebar Collapse support */
body.sidebar-collapsed .sidebar {
    transform: translateX(-100%) !important;
}
body.sidebar-collapsed .app-main {
    margin-left: 0 !important;
}
body.sidebar-collapsed #mobileMenuBtn {
    display: flex !important;
}

.logout-btn {
    margin-top: 3px;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 12px;
    min-height: 28px;
    color: #ffb4b4;
    width: 100%;
    text-align: left
}

.logout-btn svg {
    width: 14px;
    height: 14px
}

.logout-btn:hover {
    background: rgba(239, 68, 68, .1);
    color: #ff8a8a
}

.nav a:hover,
.nav a.active {
    background: var(--green-dim);
    color: #fff;
    border: 1px solid rgba(63, 255, 33, .18)
}

.nav a.active {
    font-weight: 600
}

.nav-icon {
    width: 20px;
    height: 20px;
    opacity: .7;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.nav-fixed-area .nav-icon {
    width: 15px;
    height: 15px
}

.sidebar-card {
    margin-top: 3px;
    border: 1px solid var(--border);
    background: linear-gradient(138deg, var(--panel), #000 50%, #062601 100%);
    border-radius: 8px;
    padding: 4px 8px;
    text-align: center;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px
}

.sidebar-card span {
    display: block;
    color: var(--muted);
    font-size: 8px;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: .04em
}

.sidebar-card strong {
    font-size: 12px;
    line-height: 1;
    color: var(--green)
}

/* ── App Main ── */
.app-main {
    margin-left: 248px;
    padding: 28px;
    min-height: 100vh;
    background: transparent;
    position: relative;
    z-index: 1;
}

.dashboard-video-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
    opacity: 0.32;
    transition: opacity 0.3s ease;
}

html.light-theme .dashboard-video-bg {
    opacity: 0.12;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap
}

.topbar h2 {
    font-size: 24px;
    margin: 0;
    letter-spacing: -.03em
}

.topbar-group {
    display: flex;
    align-items: center;
    gap: 12px
}

.greeting {
    font-size: 15px;
    color: var(--muted);
    margin-top: 4px
}

.greeting strong {
    color: #fff;
    font-weight: 600
}

/* ── Grid ── */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px
}

.col-3 {
    grid-column: span 3
}

.col-4 {
    grid-column: span 4
}

.col-6 {
    grid-column: span 6
}

.col-8 {
    grid-column: span 8
}

.col-12 {
    grid-column: 1/-1
}

/* ── Cards ── */
.card {
    background: var(--card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all .25s var(--ease);
    position: relative;
    overflow: hidden
}

.card:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover)
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px
}

.card-title {
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 500
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(63, 255, 33, .15), rgba(63, 255, 33, .05));
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 12px
}

/* Metric */
.metric-card {
    text-align: center
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    margin: 6px 0 4px;
    letter-spacing: -.03em
}

.metric-value.green {
    color: var(--green)
}

.metric-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px
}

.metric-change {
    font-size: 13px;
    font-weight: 600
}

.metric-change.up {
    color: var(--green)
}

.metric-change.down {
    color: var(--danger)
}

/* Stat row */
.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light)
}

.stat-row:last-child {
    border-bottom: 0
}

.stat-label {
    color: var(--muted);
    font-size: 14px
}

.stat-value {
    font-weight: 600;
    font-size: 15px
}

.stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px
}

/* ── Tables ── */
.table-wrap {
    overflow-x: auto
}

.table {
    width: 100%;
    border-collapse: collapse
}

.table th,
.table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    color: #d9d9d9;
    font-size: 14px
}

.table th {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600
}

.table tr:hover td {
    background: rgba(255, 255, 255, .015)
}

.mono {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 13px
}

/* ── Tabs ── */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap
}

.tab {
    padding: 10px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s
}

.tab:hover {
    border-color: var(--border-hover);
    color: #fff
}

.tab.active {
    background: var(--green);
    color: #000;
    border-color: var(--green);
    font-weight: 600
}

.tab-panel {
    display: none
}

.tab-panel.active {
    display: block;
    animation: fadeInUp .3s var(--ease)
}

/* ── Code ── */
.code {
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    font-size: 13px;
    background: #050505;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    overflow: auto;
    color: #c9ffd0;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-all
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(255, 255, 255, .02);
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    font-size: 12px;
    color: var(--muted)
}

.code-body {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    margin-top: 0;
    border-top: 0
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    transition: all .2s
}

.copy-btn:hover {
    border-color: var(--border-hover);
    color: #fff
}

.copy-btn.copied {
    border-color: var(--green);
    color: var(--green)
}

/* ── Deposit cards ── */
.deposit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px
}

.deposit-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all .25s var(--ease)
}

.deposit-card:hover {
    background: var(--card-hover);
    border-color: var(--green);
    box-shadow: 0 0 20px var(--green-dim)
}

.deposit-card.selected {
    border-color: var(--green);
    background: var(--green-dim);
    box-shadow: 0 0 30px var(--green-dim)
}

.deposit-amount {
    font-size: 28px;
    font-weight: 700;
    margin: 8px 0
}

.deposit-bonus {
    font-size: 12px;
    color: var(--green);
    font-weight: 600
}

/* ── Affiliate link ── */
.affiliate-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #050505;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 6px 6px 6px 18px
}

.affiliate-link code {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #c9ffd0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

/* ── Checker Grid ── */
.checker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px
}

.checker-card {
    background: linear-gradient(138deg, var(--panel), #000 50%, #062601 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: all .25s var(--ease)
}

.checker-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px)
}

/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted)
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    opacity: .3
}

.empty-state h3 {
    color: #fff;
    margin-bottom: 8px
}

/* ── Skeleton ── */
.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, .03) 25%, rgba(255, 255, 255, .08) 50%, rgba(255, 255, 255, .03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px
}

.skeleton-title {
    height: 28px;
    width: 60%;
    margin-bottom: 12px
}

.skeleton-card {
    height: 120px;
    border-radius: var(--radius-sm)
}

/* ── Toast ── */
.toast {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 60;
    border: 1px solid var(--border);
    background: rgba(15, 15, 15, .95);
    backdrop-filter: blur(12px);
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    animation: slideIn .35s var(--ease);
    font-size: 14px;
    max-width: 380px
}

.toast-success {
    border-color: rgba(63, 255, 33, .35)
}

.toast-error {
    border-color: rgba(239, 68, 68, .45);
    color: #fca5a5
}

.toast-warning {
    border-color: rgba(245, 158, 11, .35);
    color: #fcd34d
}

/* ── Floating ── */
.mobile-menu {
    display: none;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    border: 1px solid rgba(255, 255, 255, .2);
    background: var(--green);
    color: #000;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 0 30px var(--green-glow)
}

/* ── Footer ── */
.footer {
    background: #000;
    border-top: 1px solid var(--border);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px
}

.footer-inner {
    width: 100%;
    max-width: 1360px
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.footer-brand img {
    height: 28px;
    width: auto;
    max-width: 249px;
    object-fit: contain
}

.footer-brand p {
    color: var(--muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px
}

.footer-brand p::before {
    content: '●';
    color: var(--green);
    filter: drop-shadow(0 0 8px var(--green));
    font-size: 8px
}

.footer-nav {
    display: flex;
    gap: 80px;
    flex-wrap: wrap
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.footer-col-title {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px
}

.footer-col a {
    color: #d4d4d4;
    font-size: 14px;
    transition: color .2s
}

.footer-col a:hover {
    color: var(--green)
}

.footer-line {
    height: 1px;
    background: var(--border);
    width: 100%
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap
}

.footer-copy {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0
    }

    to {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0
    }
}

@keyframes shimmer {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .6
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

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

.fade-in {
    animation: fadeInUp .45s var(--ease) both
}

.stagger-1 {
    animation-delay: .05s
}

.stagger-2 {
    animation-delay: .1s
}

.stagger-3 {
    animation-delay: .15s
}

.stagger-4 {
    animation-delay: .2s
}

/* ── Responsivo ── */
@media(max-width:1100px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr
    }

    .hero-cat-focus::after,
    .hero-cat-focus::before {
        opacity: .5
    }
}

@media(max-width:900px) {
    .auth-shell {
        grid-template-columns: 1fr;
        position: relative
    }

    .auth-art {
        position: absolute;
        inset: 0;
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
        display: block;
        z-index: 0
    }

    .auth-video-bg {
        opacity: .25
    }

    .auth-art::after {
        background: rgba(0, 0, 0, .82)
    }

    .auth-panel {
        position: relative;
        z-index: 1;
        min-height: 100vh;
        padding: 24px
    }

    .sidebar {
        transform: translateX(-105%);
        transition: transform .3s var(--ease)
    }

    .sidebar.open {
        transform: translateX(0)
    }

    .mobile-menu {
        display: block
    }

    .app-main {
        margin-left: 0;
        padding: 18px
    }

    .card,
    .col-3,
    .col-4,
    .col-6,
    .col-8 {
        grid-column: 1/-1
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start
    }

    .benefit-grid,
    .feature-grid,
    .hero-stats {
        grid-template-columns: 1fr
    }

    .footer-nav {
        gap: 40px
    }

    .footer-top {
        flex-direction: column
    }

    .hero h1 {
        font-size: clamp(32px, 10vw, 52px)
    }

    .hero-preview {
        display: none
    }

    .hero-cat-focus::after,
    .hero-cat-focus::before {
        display: none
    }

    .cta-row .btn-lg {
        padding: 14px 20px;
        font-size: 15px
    }
}

@media(max-width:480px) {
    :root {
        --radius: 18px;
        --radius-sm: 12px
    }

    body {
        font-size: 14px
    }

    .card {
        padding: 16px
    }

    .app-main {
        padding: 14px
    }

    .topbar h2 {
        font-size: 24px
    }

    .metric-value {
        font-size: 32px
    }

    .tabs {
        gap: 6px
    }

    .tab {
        padding: 8px 14px;
        font-size: 13px
    }

    .btn {
        padding: 12px 18px;
        font-size: 14px
    }

    .section {
        padding: 40px 16px
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start
    }

    .hero {
        padding: 40px 16px 60px
    }

    .hero-video {
        opacity: .12
    }

    .auth-panel {
        padding: 16px
    }

    .auth-box img {
        margin-bottom: 28px
    }

    .auth-box h2 {
        font-size: 24px
    }
}

/* ═══════════════════════════════════════════
   BLACK SIDE — EFEITOS VISUAIS v2
   Ripple, Partículas, Resultados
   ═══════════════════════════════════════════ */

/* ── Scroll suave ── */
html {
    scroll-behavior: smooth
}

/* ── Ripple Effect ── */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    transform: scale(0);
    animation: ripple-anim .6s ease-out;
    pointer-events: none;
    z-index: 1
}

/* ── Partículas de fundo ── */
#particles-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0
}

/* ── Resultados Checker ── */
.result-approved {
    background: rgba(34, 197, 94, .08);
    border-color: rgba(34, 197, 94, .3);
    box-shadow: 0 0 30px rgba(34, 197, 94, .1)
}

.result-rejected {
    background: rgba(239, 68, 68, .08);
    border-color: rgba(239, 68, 68, .3);
    box-shadow: 0 0 30px rgba(239, 68, 68, .1)
}

.result-error {
    background: rgba(245, 158, 11, .08);
    border-color: rgba(245, 158, 11, .3);
    box-shadow: 0 0 30px rgba(245, 158, 11, .1)
}

/* ── Checker Cards global hover ── */
.checker-card {
    transition: all .25s var(--ease);
    cursor: pointer
}

.checker-card:hover {
    transform: translateY(-4px);
    border-color: rgba(63, 255, 33, .35);
    box-shadow: 0 20px 60px rgba(63, 255, 33, .15)
}

/* ── Select Sub Checker Button Active ── */
.select-sub.btn-primary {
    background: var(--green);
    color: #000;
    box-shadow: 0 0 24px var(--green-glow)
}

/* ── Select Input ── */
select.input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='%23848484'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px
}

/* ── Toast global (override) ── */
.toast {
    animation: slideInRight .3s var(--ease)
}

/* ── Mono text ── */
.mono {
    font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;
    font-size: 13px
}

/* ── Empty state ── */
.empty-state h3 {
    margin-bottom: 8px;
    opacity: .85
}

.empty-state p {
    color: var(--muted);
    font-size: 14px
}

/* ── Ocultar barra de rolagem globalmente ── */
html, body, div, select, textarea, aside, main, nav, section, article, table, tbody, tr, td, th {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* ── Dropdowns com fundo preto no cliente ── */
select, select.input, select.select {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 14px !important;
    padding-right: 30px !important;
}
select option {
    background-color: #000 !important;
    color: #fff !important;
}
select:focus {
    border-color: #3fff21 !important;
    box-shadow: 0 0 0 3px rgba(63,255,33,.1) !important;
}

/* ── HIDE SCROLLBARS GLOBALLY ── */
* {
    scrollbar-width: none !important;
}
*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* ── LIGHT THEME OVERRIDES ── */
html.light-theme, html.light-theme body {
    --bg: #f5f6f8;
    --bg2: #e9ecef;
    --panel: #ffffff;
    --card: rgba(0, 0, 0, .02);
    --card-hover: rgba(0, 0, 0, .04);
    --border: rgba(0, 0, 0, .08);
    --border-hover: rgba(0, 0, 0, .15);
    --border-light: rgba(0, 0, 0, .04);
    --text: #212529;
    --muted: #6c757d;
    --green: #10b981;
    --green-dim: rgba(16, 185, 129, .1);
    --green-glow: rgba(16, 185, 129, .25);
    --green2: #059669;
}
html.light-theme .sidebar {
    background: #ffffff !important;
    border-right: 1px solid rgba(0, 0, 0, .08) !important;
}
html.light-theme .brand span {
    color: #10b981 !important;
}
html.light-theme .sidebar a {
    color: #495057 !important;
}
html.light-theme .sidebar a.active {
    background: rgba(16, 185, 129, .1) !important;
    color: #10b981 !important;
}
html.light-theme .nav-parent {
    color: #495057 !important;
}
html.light-theme .nav-parent:hover {
    background: rgba(0, 0, 0, .04) !important;
}
html.light-theme .logout-btn {
    color: #ef4444 !important;
}
html.light-theme .logout-btn:hover {
    background: rgba(239, 68, 68, .08) !important;
}
html.light-theme .input, html.light-theme .textarea, html.light-theme select.input {
    background: #f8f9fa !important;
    border-color: rgba(0, 0, 0, .12) !important;
    color: #212529 !important;
}
html.light-theme .input:focus, html.light-theme .textarea:focus, html.light-theme select.input:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .15) !important;
}
html.light-theme .card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, .08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .03) !important;
}
html.light-theme .stat-box {
    background: #f8f9fa !important;
    border-color: rgba(0, 0, 0, .06) !important;
}
html.light-theme .cmd-area {
    background: #f8f9fa !important;
    border-color: rgba(0, 0, 0, .08) !important;
    color: #212529 !important;
}
html.light-theme .cmd-info {
    color: #6c757d !important;
}
html.light-theme .table th {
    background: #f8f9fa !important;
    color: #495057 !important;
    border-bottom: 1px solid rgba(0, 0, 0, .08) !important;
}
html.light-theme .table td {
    color: #212529 !important;
    border-bottom: 1px solid rgba(0, 0, 0, .04) !important;
}
html.light-theme .online-counter-box {
    background: rgba(16, 185, 129, .05) !important;
    border-color: rgba(16, 185, 129, .15) !important;
    color: #495057 !important;
}
html.light-theme .app-main {
    background: var(--bg) !important;
}