/* ====================================================
   SYKO — style.css 2026
   Tema: Dark Premium com lobo animado no background
   ==================================================== */

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

:root {
    --bg: #0a0a0a;
    --surface: #111111;
    --surface2: #1a1a1a;
    --surface3: #222222;
    --border: #2a2a2a;
    --border2: #333333;
    --white: #f5f5f5;
    --white2: #c0c0c0;
    --white3: #707070;
    --accent: #ffffff;
    --r: 10px;
    --r-lg: 18px;
    --r-xl: 26px;
    --nav-h: 62px;
    --tr: 0.18s ease;
    --font: 'Syne', sans-serif;
    --mono: 'DM Mono', monospace;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--white);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}


/* ===== BACKGROUND LOBO ===== */

.bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-wolf-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    animation: wolfFadeIn 1.8s ease 0.3s forwards;
}

@keyframes wolfFadeIn {
    0% {
        opacity: 0;
        transform: translateX(40px) scale(1.03)
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1)
    }
}

.bg-wolf-img {
    width: 75%;
    max-width: 1100px;
    height: 100vh;
    object-fit: cover;
    object-position: center top;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.1) 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.1) 70%, transparent 100%);
    filter: grayscale(100%) contrast(1.15) brightness(0.9);
    animation: wolfFloat 9s ease-in-out infinite;
    will-change: transform;
}

@keyframes wolfFloat {
    0%,
    100% {
        transform: translateY(0px) scale(1)
    }
    50% {
        transform: translateY(-10px) scale(1.01)
    }
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg) 15%, rgba(10, 10, 10, 0.65) 50%, rgba(10, 10, 10, 0.2) 80%, rgba(10, 10, 10, 0.5) 100%), linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
}

.bg-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.04;
}

.bg-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--white) 40%, var(--white) 60%, transparent 100%);
    animation: lineScan 7s linear infinite;
}

.bg-line:nth-child(1) {
    left: 20%;
    animation-delay: 0s
}

.bg-line:nth-child(2) {
    left: 50%;
    animation-delay: 2.3s
}

.bg-line:nth-child(3) {
    left: 80%;
    animation-delay: 4.6s
}

@keyframes lineScan {
    0% {
        opacity: 0;
        transform: translateY(-100%)
    }
    50% {
        opacity: 1
    }
    100% {
        opacity: 0;
        transform: translateY(100%)
    }
}


/* ===== NAV ===== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 300;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo-wolf-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-wolf-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px
}

.logo-main {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--white);
    line-height: 1
}

.logo-sub {
    font-size: 8px;
    letter-spacing: 2.5px;
    color: var(--white3);
    line-height: 1
}

.nav-tabs {
    display: flex;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}

.tab-btn {
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--white3);
    background: transparent;
    border: none;
    padding: 6px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--tr);
    letter-spacing: 0.3px;
}

.tab-btn:hover {
    color: var(--white)
}

.tab-btn.active {
    background: var(--white);
    color: #0a0a0a
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px
}

.quota-display {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--white3);
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 100px;
}

.quota-display.warn {
    color: #ff6b6b;
    border-color: #ff3a3a40;
    background: #1a0808
}

.nav-year {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--white3);
    letter-spacing: 1px;
}


/* ===== MAIN ===== */

.main {
    margin-top: var(--nav-h);
    position: relative;
    z-index: 1
}

.tab-section {
    display: none
}

.tab-section.active {
    display: block
}


/* ===== SCREENS ===== */

.screen {
    display: none
}

.screen.active {
    display: block
}

.screen-inner {
    max-width: 1020px;
    margin: 0 auto;
    padding: 3.5rem 2rem 5rem;
}


/* ===== EYEBROW ===== */

.eyebrow-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px
}

.eyebrow-line {
    width: 32px;
    height: 1px;
    background: var(--white3)
}

.eyebrow {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--white3);
}


/* ===== HERO TITLE ===== */

.hero-title {
    font-family: var(--font);
    font-size: clamp(34px, 5.5vw, 62px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--white);
    margin-bottom: 14px;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--white2)
}

.hero-sub {
    font-size: 15px;
    color: var(--white3);
    max-width: 480px;
    line-height: 1.65
}

.screen-head {
    margin-bottom: 3rem
}


/* ===== BACK BTN ===== */

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--white3);
    background: transparent;
    border: 1px solid var(--border2);
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: var(--tr);
}

.back-btn:hover {
    background: var(--surface2);
    color: var(--white);
    border-color: var(--border2)
}


/* ===== CATEGORY GRID ===== */

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
    gap: 12px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px 16px 18px;
    cursor: pointer;
    text-align: left;
    transition: all var(--tr);
}

.cat-card:hover {
    border-color: var(--border2);
    background: var(--surface2);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.cat-card.selected {
    border-color: var(--white);
    background: var(--white);
}

.cat-card.selected .cat-ico {
    background: rgba(0, 0, 0, 0.08);
    color: #0a0a0a
}

.cat-card.selected .cat-name {
    color: #0a0a0a
}

.cat-card.selected .cat-desc {
    color: #666
}

.cat-ico {
    width: 38px;
    height: 38px;
    background: var(--surface2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white2);
    transition: var(--tr);
}

.cat-ico svg {
    width: 20px;
    height: 20px
}

.cat-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2
}

.cat-desc {
    font-size: 11px;
    color: var(--white3);
    margin-top: -5px
}


/* ===== PROGRESS ===== */

.progress-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 2rem;
}

.progress-track {
    flex: 1;
    height: 2px;
    background: var(--surface3);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--white);
    border-radius: 10px;
    transition: width 0.35s ease;
}

.progress-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--white3);
    white-space: nowrap;
}


/* ===== QUESTION CARD ===== */

#question-area {
    min-height: 260px;
    margin-bottom: 2rem
}

.q-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem 2.2rem;
    animation: qIn 0.22s ease;
}

@keyframes qIn {
    from {
        opacity: 0;
        transform: translateY(14px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.q-num {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--white3);
    margin-bottom: 10px;
}

.q-text {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 1.6rem;
    letter-spacing: -0.3px;
}

.q-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.q-opt {
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--white3);
    background: var(--surface2);
    border: 1px solid var(--border2);
    padding: 10px 18px;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--tr);
}

.q-opt:hover {
    border-color: var(--white2);
    color: var(--white)
}

.q-opt.sel {
    background: var(--white);
    color: #0a0a0a;
    border-color: var(--white)
}

.q-inp {
    font-family: var(--font);
    font-size: 15px;
    color: var(--white);
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: var(--r);
    padding: 13px 16px;
    width: 100%;
    outline: none;
    transition: var(--tr);
}

.q-inp::placeholder {
    color: var(--white3)
}

.q-inp:focus {
    border-color: var(--white3)
}

.q-textarea {
    font-family: var(--font);
    font-size: 14px;
    color: var(--white);
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: var(--r);
    padding: 13px 16px;
    width: 100%;
    outline: none;
    resize: none;
    line-height: 1.6;
    transition: var(--tr);
}

.q-textarea::placeholder {
    color: var(--white3)
}

.q-textarea:focus {
    border-color: var(--white3)
}


/* ===== Q FOOTER ===== */

.q-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.q-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    padding: 11px 22px;
    cursor: pointer;
    transition: var(--tr);
}

.q-btn-prev {
    color: var(--white3);
    background: transparent;
    border: 1px solid var(--border2);
}

.q-btn-prev:hover:not(:disabled) {
    background: var(--surface2);
    color: var(--white)
}

.q-btn-prev:disabled {
    opacity: 0.3;
    cursor: default
}

.q-btn-next {
    color: #0a0a0a;
    background: var(--white);
    border: 1px solid var(--white);
}

.q-btn-next:hover {
    opacity: 0.88
}

.q-count {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--white3)
}


/* ===== AI GRID ===== */

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 2.5rem;
}

.ai-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px 14px 18px;
    cursor: pointer;
    transition: all var(--tr);
}

.ai-card:hover {
    border-color: var(--border2);
    background: var(--surface2);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

.ai-card.selected {
    border-color: var(--white);
    background: var(--surface2);
    box-shadow: 0 0 0 2px var(--white);
}

.ai-logo-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface3);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.ai-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--white)
}

.ai-maker {
    font-size: 10px;
    color: var(--white3);
    margin-top: -6px
}


/* ===== GEN BTN ===== */

.gen-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    color: #0a0a0a;
    background: var(--white);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    cursor: pointer;
    transition: var(--tr);
    letter-spacing: 0.2px;
}

.gen-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 36px rgba(255, 255, 255, 0.15)
}

.gen-btn:active {
    transform: translateY(0)
}

.gen-btn:disabled {
    opacity: 0.5;
    cursor: default;
    transform: none
}


/* ===== RESULT CARD ===== */

.result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.result-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--surface2);
    flex-wrap: wrap;
    gap: 10px;
}

.result-meta-left {
    display: flex;
    align-items: center;
    gap: 14px
}

.result-ai-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface3);
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: 5px 10px;
}

.result-ai-img {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    object-fit: cover
}

.result-ai-badge span {
    font-size: 12px;
    font-weight: 700;
    color: var(--white)
}

.result-chars {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--white3);
    background: var(--surface3);
    padding: 3px 8px;
    border-radius: 6px;
}

.result-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.act-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    color: var(--white3);
    background: var(--surface3);
    border: 1px solid var(--border2);
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--tr);
}

.act-btn:hover {
    background: var(--white);
    color: #0a0a0a;
    border-color: var(--white)
}

.result-body {
    min-height: 200px
}

.result-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 4rem 2rem;
    color: var(--white3);
    font-size: 14px;
}

.loader-ring {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border2);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.result-text {
    font-family: var(--mono);
    font-size: 12.5px;
    line-height: 1.85;
    color: var(--white2);
    padding: 1.8rem 2rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 560px;
    overflow-y: auto;
}

.result-text::-webkit-scrollbar {
    width: 4px
}

.result-text::-webkit-scrollbar-thumb {
    background: var(--border2);
    border-radius: 4px
}

.new-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--white3);
    background: transparent;
    border: 1px solid var(--border2);
    padding: 11px 22px;
    border-radius: 11px;
    cursor: pointer;
    transition: var(--tr);
}

.new-btn:hover {
    border-color: var(--white2);
    color: var(--white);
    background: var(--surface2)
}


/* ===== MODAL ===== */

.modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 1rem;
}

.modal-box {
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: var(--r-xl);
    padding: 2.5rem 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    animation: qIn 0.22s ease;
}

.modal-wolf {
    width: 70px;
    height: 70px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px
}

.modal-desc {
    font-size: 14px;
    color: var(--white3);
    line-height: 1.65;
    margin-bottom: 1.8rem
}

.discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    color: white;
    background: #5865F2;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    text-decoration: none;
    width: 100%;
    margin-bottom: 10px;
    transition: var(--tr);
}

.discord-btn:hover {
    opacity: 0.9
}

.modal-close-btn {
    font-family: var(--font);
    font-size: 13px;
    color: var(--white3);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    transition: var(--tr);
}

.modal-close-btn:hover {
    color: var(--white)
}


/* ===== ACCOUNT ===== */

.account-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 3.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem;
}

.auth-switch {
    display: flex;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 2rem;
}

.auth-sw-btn {
    flex: 1;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--white3);
    background: transparent;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--tr);
}

.auth-sw-btn.active {
    background: var(--white);
    color: #0a0a0a
}

.auth-h {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 4px
}

.auth-p {
    font-size: 13px;
    color: var(--white3);
    margin-bottom: 1.5rem
}

.f-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1rem
}

.f-field label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white3);
    text-transform: uppercase
}

.f-field input {
    font-family: var(--font);
    font-size: 14px;
    color: var(--white);
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: var(--r);
    padding: 11px 14px;
    outline: none;
    transition: var(--tr);
}

.f-field input::placeholder {
    color: var(--white3)
}

.f-field input:focus {
    border-color: var(--white3)
}

.auth-submit-btn {
    width: 100%;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
    background: var(--white);
    border: none;
    border-radius: 12px;
    padding: 13px;
    cursor: pointer;
    margin-top: 4px;
    transition: var(--tr);
}

.auth-submit-btn:hover {
    opacity: 0.88
}

.auth-hint {
    font-size: 13px;
    color: var(--white3);
    text-align: center;
    margin-top: 1rem;
    cursor: default
}

.auth-hint span {
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline
}

.account-side {
    padding: 0.5rem 0
}

.side-h {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.2rem
}

.side-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2rem
}

.side-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--white2);
    line-height: 1.5
}

.side-check {
    width: 22px;
    height: 22px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

.discord-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    color: white;
    background: #5865F2;
    border-radius: 10px;
    padding: 12px 20px;
    text-decoration: none;
    transition: var(--tr);
}

.discord-cta-btn:hover {
    opacity: 0.9
}


/* ===== CREDITS ===== */

.credits-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 3.5rem 2rem 4rem
}

.credits-hero {
    margin-bottom: 3rem
}

.credits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cred-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.4rem;
    transition: all var(--tr);
}

.cred-card:hover {
    border-color: var(--border2);
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}


/* foto */

.cred-photo-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--border2);
    overflow: hidden;
    flex-shrink: 0;
}

.cred-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}


/* info — coluna de texto */

.cred-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}


/* nome + github na mesma linha */

.cred-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cred-name {
    font-family: var(--font);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--white);
    line-height: 1;
}

.cred-github {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--white3);
    text-decoration: none;
    background: var(--surface2);
    border: 1px solid var(--border2);
    padding: 3px 9px;
    border-radius: 100px;
    transition: var(--tr);
    white-space: nowrap;
}

.cred-github:hover {
    color: var(--white);
    border-color: var(--white3);
}

.cred-role {
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white3);
}

.cred-bio {
    font-size: 13px;
    color: var(--white3);
    line-height: 1.6;
}

.cred-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 2px;
}

.cred-tags span {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--white2);
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 3px 9px;
    border-radius: 100px;
}

.credits-foot {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    font-size: 13px;
    color: var(--white3);
    display: flex;
    flex-direction: column;
    gap: 5px;
}


/* ===== LOADER DOTS ===== */

.loader-dots {
    display: flex;
    gap: 8px
}

.loader-dots span {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: dot 1.2s infinite;
}

.loader-dots span:nth-child(2) {
    animation-delay: 0.2s
}

.loader-dots span:nth-child(3) {
    animation-delay: 0.4s
}

@keyframes dot {
    0%,
    80%,
    100% {
        transform: scale(0.5);
        opacity: 0.2
    }
    40% {
        transform: scale(1);
        opacity: 1
    }
}


/* ===== SCROLLBAR ===== */

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-thumb {
    background: var(--border2);
    border-radius: 4px
}


/* ===== RESPONSIVE ===== */

@media(max-width:900px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr)
    }
    .ai-grid {
        grid-template-columns: repeat(3, 1fr)
    }
    .account-wrap {
        grid-template-columns: 1fr
    }
    .credits-grid {
        grid-template-columns: 1fr
    }
    .bg-wolf-img {
        width: 80%
    }
}

@media(max-width:640px) {
    .nav {
        padding: 0 1rem
    }
    .tab-btn {
        padding: 5px 10px;
        font-size: 12px
    }
    .nav-year {
        display: none
    }
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px
    }
    .ai-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px
    }
    .screen-inner {
        padding: 2rem 1rem 3rem
    }
    .hero-title {
        font-size: 28px
    }
    .result-topbar {
        flex-direction: column;
        align-items: flex-start
    }
    .result-actions {
        flex-wrap: wrap
    }
    .cred-card {
        flex-direction: column;
        align-items: center;
        text-align: center
    }
    .cred-name-row {
        justify-content: center
    }
    .cred-tags {
        justify-content: center
    }
    .q-footer {
        gap: 8px
    }
    .q-btn {
        padding: 10px 14px;
        font-size: 13px
    }
    .bg-wolf-img {
        width: 100%;
        opacity: 0.3
    }
}

@media(max-width:400px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr)
    }
    .ai-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}


/* ====================================================
   SYKO — LANDING PAGE
   ==================================================== */


/* Hero da landing */

.landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
}

.landing-hero-inner {
    max-width: 700px;
    margin: 0 auto 0 8%
}

.landing-title {
    font-family: var(--font);
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.landing-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--white2)
}

.landing-desc {
    font-size: 16px;
    color: var(--white2);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.landing-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 3rem
}

.landing-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    color: #0a0a0a;
    background: var(--white);
    border: none;
    border-radius: 12px;
    padding: 15px 28px;
    cursor: pointer;
    transition: var(--tr);
}

.landing-cta-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15)
}

.landing-cta-sec {
    display: inline-flex;
    align-items: center;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    color: var(--white2);
    background: transparent;
    border: 1px solid var(--border2);
    border-radius: 12px;
    padding: 15px 28px;
    cursor: pointer;
    transition: var(--tr);
}

.landing-cta-sec:hover {
    background: var(--surface2);
    color: var(--white)
}

.landing-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap
}

.lstat {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.lstat-n {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--white)
}

.lstat-l {
    font-size: 11px;
    color: var(--white3);
    letter-spacing: 0.5px
}

.lstat-div {
    width: 1px;
    height: 36px;
    background: var(--border2)
}


/* Secoes da landing */

.landing-section {
    padding: 5rem 2rem;
    background: transparent
}

.landing-section.alt {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border)
}

.landing-section-inner {
    max-width: 960px;
    margin: 0 auto
}

.landing-section-title {
    font-family: var(--font);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 3rem;
    margin-top: 14px;
}

.landing-section-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--white2)
}


/* Steps grid */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

@media(max-width:900px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:500px) {
    .steps-grid {
        grid-template-columns: 1fr
    }
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.6rem;
    transition: var(--tr);
}

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

.step-num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--white3);
    margin-bottom: 14px;
}

.step-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px
}

.step-card p {
    font-size: 13px;
    color: var(--white3);
    line-height: 1.6
}


/* Features grid */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

@media(max-width:900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:500px) {
    .features-grid {
        grid-template-columns: 1fr
    }
}

.feat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.6rem;
    transition: var(--tr);
}

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

.feat-icon {
    width: 42px;
    height: 42px;
    background: var(--surface2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white2);
    margin-bottom: 14px;
}

.feat-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px
}

.feat-card p {
    font-size: 12px;
    color: var(--white3);
    line-height: 1.6
}


/* IAs logos */

.ia-logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2.5rem
}

.ia-logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white2);
    transition: var(--tr);
}

.ia-logo-pill:hover {
    border-color: var(--border2);
    color: var(--white)
}

.ia-logo-pill img {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    object-fit: cover
}

.landing-cta-center {
    text-align: center;
    padding-top: 1rem
}


/* ====================================================
   DASHBOARD
   ==================================================== */


/* Nav sidebar */

.dash-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 220px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    z-index: 200;
    gap: 2rem;
}

.dash-nav.hidden {
    display: none
}

.dash-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border)
}

.dash-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1
}

.dash-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--white3);
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    text-align: left;
    transition: var(--tr);
    width: 100%;
}

.dash-menu-item:hover {
    background: var(--surface2);
    color: var(--white)
}

.dash-menu-item.active {
    background: var(--white);
    color: #0a0a0a
}

.dash-menu-item svg {
    flex-shrink: 0
}

.dash-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.dash-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface3);
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
}

.dash-user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    line-height: 1
}

.dash-logout {
    font-size: 11px;
    color: var(--white3);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--font);
    transition: var(--tr);
}

.dash-logout:hover {
    color: var(--white)
}


/* Conteudo do dashboard */

#tab-dashboard {
    padding-left: 220px
}

.dash-panel {
    display: none;
    min-height: calc(100vh - var(--nav-h));
    padding: 2.5rem 3rem
}

.dash-panel.active {
    display: block
}

.dash-content {
    max-width: 900px
}

.dash-welcome {
    margin-bottom: 2.5rem
}

.dash-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--white);
    margin-bottom: 6px
}

.dash-subtitle {
    font-size: 14px;
    color: var(--white3)
}

.dash-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 600px
}

.quick-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.8rem;
    cursor: pointer;
    transition: var(--tr);
}

.quick-card:hover {
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5)
}

.quick-icon {
    width: 44px;
    height: 44px;
    background: var(--surface2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white2);
    margin-bottom: 1rem;
}

.quick-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px
}

.quick-card p {
    font-size: 12px;
    color: var(--white3);
    line-height: 1.5
}

.back-dash-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    color: var(--white3);
    background: transparent;
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: var(--tr);
}

.back-dash-btn:hover {
    color: var(--white);
    background: var(--surface2)
}


/* Buscador */

.finder-search-bar {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.4rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.finder-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 160px
}

.finder-field label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white3);
    text-transform: uppercase
}

.finder-field input {
    font-family: var(--font);
    font-size: 14px;
    color: var(--white);
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: var(--r);
    padding: 10px 12px;
    outline: none;
    transition: var(--tr);
}

.finder-field input:focus {
    border-color: var(--white3)
}

.finder-field input::placeholder {
    color: var(--white3)
}

.finder-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
    background: var(--white);
    border: none;
    border-radius: 10px;
    padding: 11px 22px;
    cursor: pointer;
    transition: var(--tr);
    white-space: nowrap;
    flex-shrink: 0;
}

.finder-search-btn:hover {
    opacity: 0.88
}

.finder-search-btn:disabled {
    opacity: 0.5;
    cursor: default
}

.finder-status {
    font-size: 13px;
    color: var(--white3);
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    margin-bottom: 1rem;
}

.finder-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px
}

.biz-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.4rem;
    transition: var(--tr);
}

.biz-card:hover {
    border-color: var(--border2)
}

.biz-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px
}

.biz-type {
    font-size: 11px;
    font-family: var(--mono);
    color: var(--white3);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px
}

.biz-addr {
    font-size: 12px;
    color: var(--white3);
    margin-bottom: 1rem;
    line-height: 1.5
}

.biz-rating {
    font-size: 12px;
    color: var(--white3);
    margin-bottom: 1rem
}

.biz-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.biz-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    color: var(--white2);
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: 7px 12px;
    cursor: pointer;
    transition: var(--tr);
    text-decoration: none;
}

.biz-btn:hover {
    background: var(--white);
    color: #0a0a0a;
    border-color: var(--white)
}

.biz-btn-primary {
    background: var(--white);
    color: #0a0a0a;
    border-color: var(--white)
}

.biz-btn-primary:hover {
    opacity: 0.85
}


/* Modal botoes extras */

.modal-primary-btn {
    display: block;
    width: 100%;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
    background: var(--white);
    border: none;
    border-radius: 12px;
    padding: 13px;
    cursor: pointer;
    margin-bottom: 8px;
    transition: var(--tr);
}

.modal-primary-btn:hover {
    opacity: 0.88
}

.modal-sec-btn {
    display: block;
    width: 100%;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--white2);
    background: transparent;
    border: 1px solid var(--border2);
    border-radius: 12px;
    padding: 11px;
    cursor: pointer;
    margin-bottom: 8px;
    transition: var(--tr);
}

.modal-sec-btn:hover {
    background: var(--surface2);
    color: var(--white)
}


/* Botao abrir IA */

.act-btn-open {
    background: var(--surface3);
    text-decoration: none
}

.act-btn-open:hover {
    background: var(--white);
    color: #0a0a0a;
    border-color: var(--white)
}


/* Nav user */

.nav-user-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-avatar-btn {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface3);
    border: 1.5px solid var(--border2);
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: border-color var(--tr);
}

.nav-avatar-btn:hover {
    border-color: var(--white3);
}

.nav-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    position: absolute;
    inset: 0;
}

.nav-avatar-img.has-pic {
    display: block;
}

.nav-avatar-letter {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font);
}

/* Dropdown do perfil */

.nav-profile-wrap {
    position: relative;
}

.nav-profile-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: var(--r-lg);
    padding: 6px;
    min-width: 210px;
    z-index: 600;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ponte invisível entre avatar e menu para o mouse não perder o hover */
.nav-profile-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.nav-profile-menu.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

/* ====================================================
   CONFIGURACOES OVERLAY
   ==================================================== */

.settings-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.settings-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.settings-overlay-inner {
    width: 100%;
    max-width: 800px;
}

.settings-card {
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: var(--r-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 4rem);
}

.settings-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.settings-card-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--white);
    margin-bottom: 8px;
}

.settings-card-desc {
    font-size: 13px;
    color: var(--white3);
    line-height: 1.6;
    max-width: 480px;
}

.settings-close-x {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white3);
    transition: var(--tr);
    flex-shrink: 0;
}

.settings-close-x:hover {
    background: var(--surface3);
    color: var(--white);
}

.settings-card-body {
    flex: 1;
    padding: 1.5rem 2rem;
    overflow-y: auto;
    min-height: 0;
}

.settings-prompt-ta {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--white2);
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: var(--r);
    padding: 1.2rem 1.4rem;
    width: 100%;
    min-height: 280px;
    height: 100%;
    outline: none;
    resize: vertical;
    line-height: 1.7;
    transition: border-color var(--tr);
}

.settings-prompt-ta:focus {
    border-color: var(--white3);
}

.settings-card-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.npm-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 8px;
}

.npm-avatar-sm {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: var(--surface3);
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font);
}

.npm-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.npm-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.npm-email {
    font-size: 11px;
    color: var(--white3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.npm-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

.npm-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--white2);
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 9px 10px;
    cursor: pointer;
    text-align: left;
    transition: var(--tr);
}

.npm-item:hover {
    background: var(--surface2);
    color: var(--white);
}

.npm-item-danger {
    color: #ff6b6b;
}

.npm-item-danger:hover {
    background: rgba(255, 60, 60, 0.1);
    color: #ff4444;
}

/* Modal configuracoes */

.settings-modal-box {
    max-width: 580px !important;
    width: 100%;
    text-align: left !important;
    padding: 2rem !important;
}

.settings-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

/* Dropdown categorias no finder */

.finder-type-wrap {
    position: relative;
}

.finder-type-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.finder-type-row input {
    flex: 1;
    font-family: var(--font);
    font-size: 14px;
    color: var(--white);
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: var(--r);
    padding: 10px 12px;
    outline: none;
    transition: var(--tr);
}

.finder-type-row input:focus {
    border-color: var(--white3);
}

.finder-type-row input::placeholder {
    color: var(--white3);
}

.finder-cat-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white3);
    transition: var(--tr);
}

.finder-cat-toggle:hover {
    background: var(--white);
    color: #0a0a0a;
    border-color: var(--white);
}

.finder-cat-toggle svg {
    transition: transform 0.2s ease;
}

.finder-cat-toggle.open svg {
    transform: rotate(180deg);
}

.finder-cat-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 320px;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: var(--r-lg);
    padding: 8px;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    z-index: 200;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    animation: qIn 0.15s ease;
}

.finder-cat-dropdown.open {
    display: grid;
}

.finder-cat-item {
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    color: var(--white3);
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 9px 12px;
    cursor: pointer;
    text-align: left;
    transition: var(--tr);
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.finder-cat-item:hover {
    background: var(--surface2);
    color: var(--white);
}

.finder-cat-item-ico {
    font-size: 14px;
    line-height: 1;
}

.nav-username {
    font-size: 13px;
    font-weight: 600;
    color: var(--white2);
    margin-right: 8px
}

.nav-logout-btn {
    font-family: var(--font);
    font-size: 12px;
    color: var(--white3);
    background: transparent;
    border: 1px solid var(--border2);
    border-radius: 6px;
    padding: 4px 10px;
    cursor: pointer;
    transition: var(--tr);
}

.nav-logout-btn:hover {
    color: var(--white);
    border-color: var(--white3)
}


/* Ajuste main quando dashboard ativo */

@media(max-width:768px) {
    .dash-nav {
        width: 100%;
        height: auto;
        position: relative;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 1rem
    }
    #tab-dashboard {
        padding-left: 0
    }
    .dash-panel {
        padding: 1.5rem 1rem
    }
    .dash-quick-grid {
        grid-template-columns: 1fr
    }
    .landing-hero-inner {
        margin: 0 auto
    }
}


/* Campo livre nas perguntas */

.q-livre-wrap {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.q-livre-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white3);
}

.q-livre {
    font-family: var(--font);
    font-size: 13px;
    color: var(--white);
    background: var(--surface3);
    border: 1px dashed var(--border2);
    border-radius: var(--r);
    padding: 10px 14px;
    outline: none;
    resize: none;
    line-height: 1.5;
    transition: var(--tr);
}

.q-livre::placeholder {
    color: var(--white3)
}

.q-livre:focus {
    border-color: var(--white3);
    border-style: solid;
    background: var(--surface2)
}


/* ====================================================
   SIDEBAR GLOBAL — hover expande
   ==================================================== */


/* A sidebar fica colapsada (só ícones) e expande no hover */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 62px;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    border-right: 1px solid var(--border);
    z-index: 250;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: width;
}

.sidebar:hover {
    width: 220px;
    box-shadow: 6px 0 32px rgba(0, 0, 0, 0.7);
}


/* Logo row */

.sidebar-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    height: 62px;
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-wolf {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    overflow: hidden;
    visibility: hidden;
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.15s ease;
    overflow: hidden;
}

.sidebar:hover .sidebar-brand {
    opacity: 1;
    transition-delay: 0.08s;
}

.sidebar-brand-main {
    font-family: var(--font);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--white);
    line-height: 1;
}

.sidebar-brand-sub {
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 2px;
    color: var(--white3);
    line-height: 1;
}


/* Nav */

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 8px;
    flex: 1;
    overflow: hidden;
}

.sb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--white3);
    background: transparent;
    border: none;
    border-radius: 9px;
    padding: 10px 8px;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    transition: background 0.15s ease, color 0.15s ease;
}

.sb-item:hover {
    background: var(--surface2);
    color: var(--white);
}

.sb-item.active {
    background: var(--white);
    color: #0a0a0a;
}

.sb-item.active:hover {
    background: var(--white);
    color: #0a0a0a;
}

.sb-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Label invisível quando colapsado */

.sb-label {
    opacity: 0;
    transition: opacity 0.12s ease;
    overflow: hidden;
}

.sidebar:hover .sb-label {
    opacity: 1;
    transition-delay: 0.06s;
}


/* Bottom */

.sidebar-bottom {
    padding: 10px 8px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    overflow: hidden;
}

.sb-user {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.sb-avatar {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: var(--surface3);
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
}

.sb-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.12s ease;
    overflow: hidden;
}

.sidebar:hover .sb-user-info {
    opacity: 1;
    transition-delay: 0.06s;
}

.sb-user-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.sb-logout {
    font-family: var(--font);
    font-size: 10px;
    color: var(--white3);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s ease;
}

.sb-logout:hover {
    color: var(--white);
}


/* Deslocar main e nav */

.main {
    margin-left: 62px;
}

.nav {
    left: 0;
}


/* Dash nav antiga — oculta */

.dash-nav {
    display: none !important;
}

#tab-dashboard {
    padding-left: 0;
}


/* ====================================================
   HAMBURGER + MOBILE DRAWER
   ==================================================== */

.hamburger-btn {
    display: none;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--border2);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    flex-shrink: 0;
    transition: var(--tr);
}

.hamburger-btn:hover {
    background: var(--surface2);
}

/* Overlay escurecido */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 490;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* Drawer lateral */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    width: 270px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    z-index: 500;
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-drawer.open {
    left: 0;
}

.mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    height: 62px;
    flex-shrink: 0;
}

.mobile-drawer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-drawer-title {
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white3);
}

.mobile-close-btn {
    width: 34px;
    height: 34px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white3);
    transition: var(--tr);
    flex-shrink: 0;
}

.mobile-close-btn:hover {
    background: var(--surface3);
    color: var(--white);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 10px;
    flex: 1;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--white3);
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: var(--tr);
}

.mobile-nav-item:hover {
    background: var(--surface2);
    color: var(--white);
}

.mobile-nav-item.active {
    background: var(--white);
    color: #0a0a0a;
}

.mobile-nav-item.active:hover {
    background: var(--white);
    color: #0a0a0a;
}

.mobile-drawer-bottom {
    padding: 12px 10px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.mobile-user-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
}

.mobile-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--surface3);
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--white);
}

.mobile-user-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.mobile-user-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-logout {
    font-family: var(--font);
    font-size: 11px;
    color: var(--white3);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
    transition: var(--tr);
}

.mobile-logout:hover {
    color: var(--white);
}

/* Mobile: esconde sidebar, mostra hamburger */

@media (max-width: 640px) {
    .sidebar {
        display: none !important;
        width: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
    }

    .hamburger-btn {
        display: flex;
    }

    .main {
        margin-left: 0 !important;
        margin-bottom: 0;
    }

    .logo-sub {
        display: none;
    }

    /* overlay cobre também o nav no mobile */
    .mobile-overlay.open {
        z-index: 600;
    }

    .mobile-drawer {
        z-index: 700;
    }
}