@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

* { box-sizing: border-box; }
html, body { font-family: 'Vazirmatn', -apple-system, sans-serif; }
html { scroll-behavior: smooth; }

body {
    background: #0d1117;
    color: #c9d1d9;
}

a { text-decoration: none; }

/* ---- Layout surfaces (GitHub-style: flat, thin borders, no glow) ---- */
.gh-header {
    background: #010409;
    border-bottom: 1px solid #30363d;
}
.gh-box {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
}
.gh-box-header {
    background: #161b22;
    border-bottom: 1px solid #30363d;
    border-radius: 6px 6px 0 0;
    padding: .75rem 1rem;
}
.card {
    background: linear-gradient(145deg, rgba(28, 33, 40, 0.8), rgba(13, 17, 23, 0.6));
    border: 1px solid rgba(88, 166, 255, 0.22);
    border-radius: 16px;
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.18);
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease, background .2s ease;
}
.card:hover {
    border-color: rgba(88, 166, 255, 0.45);
    background: rgba(28, 33, 40, 0.75);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

/* Buttons — flat GitHub green, no gradient/glow */
.btn-primary {
    background: #238636;
    border: 1px solid rgba(240,246,252,.1);
    color: #fff;
    border-radius: 6px;
    font-weight: 500;
    transition: background .15s ease;
    display: inline-flex; align-items: center; justify-content: center;
    white-space: nowrap;
}
.btn-primary:hover { background: #2ea043; }
.btn-primary:active { background: #238636; }

.btn-outline {
    background: #21262d;
    border: 1px solid #30363d;
    color: #c9d1d9;
    border-radius: 6px;
    font-weight: 500;
    transition: background .15s ease, border-color .15s ease;
    white-space: nowrap;
}
.btn-outline:hover { background: #30363d; border-color: #8b949e; }

.nav-link {
    color: #c9d1d9;
    padding: .45rem .3rem;
    border-bottom: 2px solid transparent;
    font-size: .875rem;
    white-space: nowrap;
    transition: color .15s ease, border-color .15s ease;
}
.nav-link:hover { color: #fff; }
.nav-link.active { border-bottom-color: #f78166; color: #fff; }

/* Badges/tags/pills — width follows content, never clipped (fixes RTL overflow bugs) */
.tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: .1rem .6rem;
    font-size: .75rem;
    line-height: 1.8;
    border-radius: 999px;
    background: #161b22;
    border: 1px solid #30363d;
    color: #8b949e;
    white-space: nowrap;
}
.tag-green { background: rgba(46,160,67,.15); border-color: rgba(46,160,67,.4); color: #3fb950; }
.tag-purple { background: rgba(163,113,247,.15); border-color: rgba(163,113,247,.4); color: #a371f7; }
.tag-blue { background: rgba(56,139,253,.15); border-color: rgba(56,139,253,.4); color: #58a6ff; }

/* Inputs */
input, select, textarea {
    width: 100%;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: .6rem .85rem;
    color: #c9d1d9;
    font-size: .9rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #58a6ff;
    box-shadow: 0 0 0 3px rgba(56,139,253,.25);
}

/* Text sizing helpers so Persian text never overflows its box */
.fit-box { width: fit-content; max-width: 100%; }
h1, h2, h3, h4 { word-break: break-word; overflow-wrap: break-word; }
p, span, a, label { overflow-wrap: break-word; }

/* Sidebar-style stat rows (repo page look) */
.stat-row { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: #8b949e; white-space: nowrap; }

/* Table (contribution/file list style) */
.gh-row {
    border-bottom: 1px solid #21262d;
    padding: .85rem 1rem;
    transition: background .1s ease;
}
.gh-row:hover { background: #161b22; }
.gh-row:last-child { border-bottom: none; }

/* ---- Soft graphical accents (kept subtle, not garish) ---- */
.brand-mark {
    background: linear-gradient(135deg, #58a6ff, #a371f7 55%, #f778ba);
    background-size: 200% 200%;
    animation: brandShift 6s ease infinite;
}
@keyframes brandShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.glow-ring {
    position: absolute; inset: -1px; border-radius: inherit;
    background: linear-gradient(135deg, rgba(88,166,255,.35), rgba(163,113,247,.35), rgba(247,120,186,.35));
    opacity: 0; filter: blur(10px);
    transition: opacity .35s ease;
    z-index: -1;
}
.card { position: relative; isolation: isolate; }
.card:hover .glow-ring { opacity: 1; }
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px -14px rgba(88,166,255,.25);
}
.card { transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .2s ease; }

.btn-primary {
    background: linear-gradient(135deg, #2ea043, #238636);
    background-size: 160% 160%;
    transition: background-position .35s ease, transform .18s ease, box-shadow .25s ease;
    box-shadow: 0 6px 18px -8px rgba(46,160,67,.5);
}
.btn-primary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 10px 26px -8px rgba(46,160,67,.65); }
.btn-primary:active { transform: translateY(0) scale(.98); }

.btn-outline { transition: background .2s ease, border-color .2s ease, transform .18s ease; }
.btn-outline:hover { transform: translateY(-2px); }

.nav-link { position: relative; }
.nav-link::after {
    content: ''; position: absolute; right: .3rem; left: .3rem; bottom: -2px; height: 2px;
    background: linear-gradient(90deg, #58a6ff, #a371f7);
    transform: scaleX(0); transform-origin: center;
    transition: transform .25s ease;
    border-radius: 2px;
}
.nav-link:hover::after { transform: scaleX(1); }

/* ---- Tabbed single-page browser ---- */
.tabbar {
    display: flex;
    gap: .25rem;
    overflow-x: auto;
    border-bottom: 1px solid #30363d;
    position: relative;
    scrollbar-width: none;
}
.tabbar::-webkit-scrollbar { display: none; }
.tab-btn {
    position: relative;
    padding: .7rem 1.1rem;
    font-size: .875rem;
    font-weight: 500;
    color: #8b949e;
    white-space: nowrap;
    transition: color .2s ease, transform .2s ease;
    display: flex; align-items: center; gap: .4rem;
}
.tab-btn:hover { color: #e6edf3; transform: translateY(-1px); }
.tab-btn.active { color: #fff; }
.tab-indicator {
    position: absolute;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, #58a6ff, #a371f7, #f778ba);
    border-radius: 2px;
    transition: transform .35s cubic-bezier(.65,0,.35,1), width .35s cubic-bezier(.65,0,.35,1);
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
    animation: tabIn .4s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes tabIn {
    from { opacity: 0; transform: translateY(10px) scale(.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.tab-panel.leaving {
    animation: tabOut .18s ease both;
}
@keyframes tabOut {
    to { opacity: 0; transform: translateY(-6px) scale(.99); }
}

/* Staggered card entrance inside an active tab */
.tab-panel.active .card {
    animation: cardPop .45s cubic-bezier(.2,.8,.3,1) both;
}
.tab-panel.active .card:nth-child(1) { animation-delay: .02s; }
.tab-panel.active .card:nth-child(2) { animation-delay: .06s; }
.tab-panel.active .card:nth-child(3) { animation-delay: .1s; }
.tab-panel.active .card:nth-child(4) { animation-delay: .14s; }
.tab-panel.active .card:nth-child(5) { animation-delay: .18s; }
.tab-panel.active .card:nth-child(6) { animation-delay: .22s; }
@keyframes cardPop {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero-bg {
    background:
        radial-gradient(ellipse 60% 50% at 20% 0%, rgba(88,166,255,.14), transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 20%, rgba(163,113,247,.14), transparent 60%),
        #010409;
}

.gh-gradient-word {
    background: linear-gradient(90deg, #58a6ff, #a371f7, #f778ba);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: brandShift 6s ease infinite;
}

.code-window { animation: floatY 5s ease-in-out infinite; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.code-kw { color: #ff7b72; }
.code-fn { color: #d2a8ff; }
.code-str { color: #a5d6ff; }
.caret-blink { animation: blink 1s step-end infinite; color: #58a6ff; }
@keyframes blink { 50% { opacity: 0; } }

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: #161b22;
    border: 1px solid #30363d;
    color: #c9d1d9;
    font-size: .82rem;
    white-space: nowrap;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.category-chip:hover {
    border-color: #58a6ff;
    background: #1c2530;
    transform: translateY(-2px);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0d1117; }
::-webkit-scrollbar-thumb { background: #30363d; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #484f58; }

/* Simple fade for page content, subtle not flashy */
.fade-in { animation: fadeIn .25s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Bottom nav (mobile) kept minimal/flat */
.bottom-nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; font-size: 1rem; color: #8b949e;
}
.bottom-nav-item span { font-size: .62rem; }
.bottom-nav-item.active { color: #58a6ff; }

/* ---- Animated icon system (replaces emoji) ---- */
.icon-svg { display: inline-block; flex-shrink: 0; vertical-align: middle; }

.icon-anim-spin { animation: iconSpin 3.5s linear infinite; }
@keyframes iconSpin { to { transform: rotate(360deg); } }

.icon-anim-pulse { animation: iconPulse 2s ease-in-out infinite; transform-origin: center; }
@keyframes iconPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .75; } }

.icon-anim-bounce { animation: iconBounce 1.8s ease-in-out infinite; }
@keyframes iconBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

.icon-anim-wiggle { animation: iconWiggle 2.2s ease-in-out infinite; transform-origin: center; }
@keyframes iconWiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }

.icon-anim-float { animation: iconFloat 3s ease-in-out infinite; }
@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.icon-anim-draw path {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: iconDraw 1.1s ease forwards;
}
@keyframes iconDraw { to { stroke-dashoffset: 0; } }

/* Icon chip: small rounded container behind an icon, used across stat/CTA cards */
.icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .65rem;
    transition: transform .25s ease, background .25s ease;
}
.card:hover .icon-chip,
a:hover > .icon-chip { transform: scale(1.08) rotate(-3deg); }

/* Like-button heart pop */
.like-btn .icon-svg { transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.like-btn.is-liked .icon-svg { animation: heartPop .4s cubic-bezier(.34,1.56,.64,1); fill: currentColor; }
@keyframes heartPop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.error-code {
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 800;
    color: #21262d;
    -webkit-text-stroke: 1px #30363d;
    line-height: 1;
}

/* ---- Glass UI (GitHub base + frosted glass) ---- */
.glass {
    background: rgba(22, 27, 34, 0.55);
    border: 1px solid rgba(48, 54, 61, 0.85);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease, background .2s ease;
}
.glass:hover {
    border-color: rgba(88, 166, 255, 0.35);
    background: rgba(28, 33, 40, 0.72);
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.glass-soft {
    background: rgba(13, 17, 23, 0.45);
    border: 1px solid rgba(48, 54, 61, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
}
.glass-hero {
    background:
        radial-gradient(ellipse 80% 50% at 70% -20%, rgba(88, 166, 255, 0.12), transparent 50%),
        radial-gradient(ellipse 60% 40% at 10% 80%, rgba(163, 113, 247, 0.08), transparent 45%),
        #0d1117;
}
.icon-blob {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(48, 54, 61, 0.9);
    background: rgba(22, 27, 34, 0.8);
    backdrop-filter: blur(8px);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.glass:hover .icon-blob { transform: scale(1.1) rotate(-4deg); }
.stat-glass {
    background: linear-gradient(145deg, rgba(28, 33, 40, 0.75), rgba(13, 17, 23, 0.55));
    border: 1px solid rgba(88, 166, 255, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 1rem 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.22);
}

/* ---- Scroll reveal animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .7s cubic-bezier(.22, 1, .36, 1),
        transform .7s cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(32px);
    transition:
        opacity .7s cubic-bezier(.22, 1, .36, 1),
        transform .7s cubic-bezier(.22, 1, .36, 1);
}
.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(-32px);
    transition:
        opacity .7s cubic-bezier(.22, 1, .36, 1),
        transform .7s cubic-bezier(.22, 1, .36, 1);
}
.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(.92);
    transition:
        opacity .65s cubic-bezier(.22, 1, .36, 1),
        transform .65s cubic-bezier(.22, 1, .36, 1);
}
.reveal-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}
/* staggered children */
.reveal-stagger > .reveal,
.reveal-stagger > .glass,
.reveal-stagger > .stat-glass,
.reveal-stagger > a {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .6s cubic-bezier(.22, 1, .36, 1),
        transform .6s cubic-bezier(.22, 1, .36, 1);
}
.reveal-stagger.is-visible > .reveal,
.reveal-stagger.is-visible > .glass,
.reveal-stagger.is-visible > .stat-glass,
.reveal-stagger.is-visible > a {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .33s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale,
    .reveal-stagger > .reveal, .reveal-stagger > .glass,
    .reveal-stagger > .stat-glass, .reveal-stagger > a {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ---- 3D glass cards ---- */
.glass-3d {
    background: linear-gradient(145deg, rgba(28, 33, 40, 0.75), rgba(13, 17, 23, 0.55));
    border: 1px solid rgba(48, 54, 61, 0.9);
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    border-radius: 16px;
    box-shadow:
        0 4px 6px rgba(0,0,0,.2),
        0 12px 28px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.06);
    transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s ease, border-color .2s ease;
}
.glass-3d:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(88, 166, 255, 0.4);
    box-shadow:
        0 8px 12px rgba(0,0,0,.25),
        0 20px 40px rgba(0,0,0,.4),
        0 0 0 1px rgba(88,166,255,.15),
        inset 0 1px 0 rgba(255,255,255,.08);
}

/* Chat room */
.chat-shell {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 8.5rem);
    max-height: 720px;
    min-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(13, 17, 23, 0.65);
    border: 1px solid rgba(48, 54, 61, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
@media (max-width: 768px) {
    .chat-shell { height: calc(100vh - 9.5rem); max-height: none; border-radius: 12px; min-height: 360px; }
}
.chat-header {
    display: flex; align-items: center; gap: .75rem;
    padding: .75rem 1rem;
    background: rgba(22, 27, 34, 0.85);
    border-bottom: 1px solid rgba(48, 54, 61, 0.8);
    backdrop-filter: blur(12px);
}
.chat-body {
    flex: 1; overflow-y: auto; padding: 1rem;
    display: flex; flex-direction: column; gap: .65rem;
    background:
        radial-gradient(ellipse at top, rgba(88,166,255,.04), transparent 50%),
        transparent;
}
.chat-bubble {
    max-width: min(78%, 420px);
    width: fit-content;
    padding: .55rem .9rem;
    border-radius: 14px;
    font-size: .875rem;
    line-height: 1.55;
    animation: bubbleIn .35s cubic-bezier(.22,1,.36,1) both;
    word-break: break-word;
}
@keyframes bubbleIn {
    from { opacity: 0; transform: translateY(10px) scale(.96); }
    to { opacity: 1; transform: none; }
}
.chat-bubble.mine {
    background: linear-gradient(145deg, #238636, #1a7f37);
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 14px rgba(35, 134, 54, .35);
    align-self: flex-start;
}
.chat-bubble.theirs {
    background: rgba(33, 38, 45, 0.95);
    border: 1px solid rgba(48, 54, 61, 0.9);
    color: #c9d1d9;
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    align-self: flex-end;
}
.chat-input-bar {
    display: flex; align-items: center; gap: .5rem;
    padding: .75rem;
    background: rgba(22, 27, 34, 0.9);
    border-top: 1px solid rgba(48, 54, 61, 0.8);
}
.chat-input-bar input {
    flex: 1;
    background: rgba(13, 17, 23, 0.8) !important;
    border: 1px solid #30363d !important;
    border-radius: 999px !important;
    padding: .65rem 1rem !important;
    font-size: .875rem !important;
}
.chat-send {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #238636;
    border: none;
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(35,134,54,.4);
    transition: transform .2s ease, background .15s;
}
.chat-send:hover { background: #2ea043; transform: scale(1.08); }
.chat-list-item {
    display: flex; align-items: center; gap: .85rem;
    padding: .85rem 1rem;
    border-radius: 14px;
    background: rgba(22, 27, 34, 0.5);
    border: 1px solid rgba(48, 54, 61, 0.7);
    transition: transform .2s ease, border-color .2s, background .2s;
}
.chat-list-item:hover {
    border-color: rgba(88,166,255,.35);
    background: rgba(28, 33, 40, 0.75);
    transform: translateX(-3px);
}
.avatar-ring {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(145deg, #21262d, #161b22);
    border: 2px solid rgba(88,166,255,.25);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .85rem; color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.profile-hero {
    background: linear-gradient(145deg, rgba(28,33,40,.8), rgba(13,17,23,.6));
    border: 1px solid rgba(48,54,61,.9);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
    padding: 1.5rem;
}
.profile-stat {
    text-align: center;
    padding: .75rem;
    border-radius: 12px;
    background: rgba(13,17,23,.5);
    border: 1px solid rgba(48,54,61,.7);
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.icon-btn {
    width: 36px; height: 36px;
    border-radius: 10px;
    border: 1px solid #30363d;
    background: rgba(22,27,34,.8);
    color: #c9d1d9;
    display: inline-flex; align-items: center; justify-content: center;
    transition: border-color .15s, color .15s, transform .2s;
}
.icon-btn:hover { border-color: #58a6ff; color: #58a6ff; transform: scale(1.08); }

/* ---- Neon boxes ---- */
.neon-box {
    background: rgba(22, 27, 34, 0.75);
    border: 1px solid rgba(48, 54, 61, 0.9);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,.22);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.neon-box:hover {
    border-color: rgba(88, 166, 255, 0.35);
    box-shadow: 0 4px 14px rgba(0,0,0,.28);
    transform: translateY(-1px);
}
.neon-box-soft {
    background: rgba(22, 27, 34, 0.55);
    border: 1px solid rgba(48, 54, 61, 0.85);
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(88, 166, 255, 0.08), 0 6px 16px rgba(0,0,0,.25);
}
.neon-purple {
    border-color: rgba(163, 113, 247, 0.3);
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.neon-green {
    border-color: rgba(63, 185, 80, 0.3);
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.neon-orange {
    border-color: rgba(247, 129, 102, 0.3);
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.page-title {
    display: flex; align-items: center; gap: .75rem;
    margin-bottom: 1.25rem;
}
.page-title h1 { font-size: 1.25rem; font-weight: 700; color: #fff; }
.list-stack { display: flex; flex-direction: column; gap: .75rem; }


/* ========== Theme tokens ========== */
:root, [data-theme="dark"] {
  --gc-bg: #0d1117;
  --gc-bg-subtle: #010409;
  --gc-bg-inset: #161b22;
  --gc-border: #30363d;
  --gc-fg: #c9d1d9;
  --gc-fg-muted: #8b949e;
  --gc-accent: #58a6ff;
  --gc-neon: rgba(88, 166, 255, 0.22);
  --gc-neon-glow: rgba(88, 166, 255, 0.12);
  --gc-card: linear-gradient(145deg, rgba(28, 33, 40, 0.85), rgba(13, 17, 23, 0.65));
  --gc-header: rgba(1, 4, 9, 0.85);
  --gc-input-bg: #0d1117;
  --gc-bubble-theirs: rgba(33, 38, 45, 0.95);
}
[data-theme="light"] {
  --gc-bg: #eef1f5;
  --gc-bg-subtle: #e8ecf1;
  --gc-bg-inset: #e2e7ee;
  --gc-border: #c8d0da;
  --gc-fg: #2d333b;
  --gc-fg-muted: #6b7380;
  --gc-accent: #3d7eae;
  --gc-neon: rgba(61, 126, 174, 0.18);
  --gc-neon-glow: rgba(61, 126, 174, 0.06);
  --gc-card: linear-gradient(145deg, #f0f3f7, #e8ecf1);
  --gc-header: rgba(232, 236, 241, 0.95);
  --gc-input-bg: #e8ecf1;
  --gc-bubble-theirs: #e4e9ef;
}

html { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

body {
  background: var(--gc-bg) !important;
  color: var(--gc-fg) !important;
}

/* Tailwind color bridges */
[data-theme="light"] .bg-canvas,
[data-theme="light"] .bg-canvas\/95 { background-color: var(--gc-bg) !important; }
[data-theme="light"] .bg-canvas-subtle { background-color: var(--gc-bg-subtle) !important; }
[data-theme="light"] .bg-canvas-inset { background-color: var(--gc-bg-inset) !important; }
[data-theme="light"] .text-white { color: #1f2328 !important; }
[data-theme="light"] .text-fg { color: var(--gc-fg) !important; }
[data-theme="light"] .text-fg-muted { color: var(--gc-fg-muted) !important; }
[data-theme="light"] .border-border,
[data-theme="light"] .border-border\/50,
[data-theme="light"] .border-border\/60,
[data-theme="light"] .border-border\/80 { border-color: var(--gc-border) !important; }
[data-theme="light"] .text-accent { color: var(--gc-accent) !important; }
[data-theme="light"] .bg-\[\#0d1117\],
[data-theme="light"] .bg-\[\#010409\] { background-color: var(--gc-bg-subtle) !important; }
[data-theme="light"] .hover\:text-white:hover { color: #1f2328 !important; }
[data-theme="light"] .hover\:border-accent\/30:hover,
[data-theme="light"] .hover\:border-accent\/40:hover { border-color: rgba(9,105,218,.4) !important; }

.gh-header {
  background: var(--gc-header) !important;
  border-bottom-color: var(--gc-border) !important;
  backdrop-filter: blur(16px);
}
.neon-box, .card, .glass-3d {
  background: var(--gc-card) !important;
  border-color: var(--gc-neon) !important;
  box-shadow:
    0 0 0 1px var(--gc-neon-glow),
    0 0 18px var(--gc-neon-glow),
    0 10px 28px rgba(0,0,0,.12) !important;
}
[data-theme="light"] .neon-box:hover,
[data-theme="light"] .card:hover {
  border-color: rgba(9,105,218,.4) !important;
  box-shadow: 0 0 24px rgba(9,105,218,.12), 0 12px 32px rgba(0,0,0,.08) !important;
}
.neon-box-soft, .stat-glass, .profile-hero, .profile-stat {
  background: var(--gc-bg-subtle) !important;
  border-color: var(--gc-border) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.06) !important;
}
.btn-outline {
  background: var(--gc-bg-inset) !important;
  border-color: var(--gc-border) !important;
  color: var(--gc-fg) !important;
}
.btn-outline:hover {
  background: var(--gc-border) !important;
}
.nav-link { color: var(--gc-fg) !important; }
.nav-link:hover { color: var(--gc-accent) !important; }
.icon-btn {
  background: var(--gc-bg-inset) !important;
  border-color: var(--gc-border) !important;
  color: var(--gc-fg) !important;
}
.icon-blob {
  background: var(--gc-bg-inset) !important;
  border-color: var(--gc-border) !important;
}
.avatar-ring {
  background: var(--gc-bg-inset) !important;
  color: var(--gc-fg) !important;
}
.chat-shell, .chat-header, .chat-input-bar {
  background: var(--gc-bg-subtle) !important;
  border-color: var(--gc-border) !important;
}
.chat-bubble.theirs {
  background: var(--gc-bubble-theirs) !important;
  border-color: var(--gc-border) !important;
  color: var(--gc-fg) !important;
}
.tag {
  border-color: var(--gc-border);
}
input, textarea, select {
  background: var(--gc-input-bg) !important;
  color: var(--gc-fg) !important;
  border-color: var(--gc-border) !important;
}
[data-theme="light"] .glass-hero {
  background:
    radial-gradient(ellipse 80% 50% at 70% -20%, rgba(9,105,218,0.08), transparent 50%),
    var(--gc-bg) !important;
}
[data-theme="light"] .bottom-nav-item { color: var(--gc-fg-muted); }
[data-theme="light"] .bottom-nav-item.active { color: var(--gc-accent); }
[data-theme="light"] nav.md\:hidden.fixed {
  background: var(--gc-bg-subtle) !important;
  border-color: var(--gc-border) !important;
}
[data-theme="light"] #mobileMenu {
  background: var(--gc-bg-subtle) !important;
}
[data-theme="light"] footer {
  border-color: var(--gc-border) !important;
}
.theme-toggle {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--gc-border, #30363d);
  background: var(--gc-bg-inset, #161b22);
  color: var(--gc-fg, #c9d1d9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  z-index: 60;
  position: relative;
}
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle:hover {
  border-color: var(--gc-accent, #58a6ff);
  color: var(--gc-accent, #58a6ff);
}
.theme-ico { display: block; pointer-events: none; }

/* Force surfaces when light */
html[data-theme="light"] body,
body[data-theme="light"] {
  background: #f6f8fa !important;
  color: #1f2328 !important;
}
html[data-theme="dark"] body,
body[data-theme="dark"],
html:not([data-theme="light"]) body {
  background: #0d1117 !important;
  color: #c9d1d9 !important;
}
html[data-theme="light"] .gh-header,
html[data-theme="light"] header {
  background: rgba(255,255,255,0.95) !important;
  border-bottom-color: #d0d7de !important;
}
html[data-theme="light"] .neon-box,
html[data-theme="light"] .card {
  background: #ffffff !important;
  border-color: rgba(9,105,218,0.25) !important;
  color: #1f2328 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 0 0 1px rgba(9,105,218,0.08) !important;
}
html[data-theme="light"] main,
html[data-theme="light"] .text-white {
  color: #1f2328 !important;
}
html[data-theme="light"] .text-fg-muted {
  color: #656d76 !important;
}
html[data-theme="light"] .btn-outline {
  background: #eef1f4 !important;
  color: #1f2328 !important;
  border-color: #d0d7de !important;
}
html[data-theme="light"] .nav-link {
  color: #1f2328 !important;
}
html[data-theme="light"] footer {
  background: #ffffff !important;
  border-color: #d0d7de !important;
}
html[data-theme="light"] .bg-canvas,
html[data-theme="light"] .bg-canvas\/95,
html[data-theme="light"] .bg-canvas-subtle {
  background-color: #f6f8fa !important;
}

/* ===== FORCE THEME (must win over Tailwind) ===== */
html.light body,
html[data-theme="light"] body {
  background-color: #f6f8fa !important;
  color: #1f2328 !important;
}
html.light .gh-header,
html[data-theme="light"] .gh-header {
  background: #ffffff !important;
  border-bottom: 1px solid #d0d7de !important;
}
html.light .neon-box,
html.light .card,
html.light .neon-box-soft,
html.light .stat-glass,
html.light .profile-hero,
html.light .glass-3d,
html[data-theme="light"] .neon-box,
html[data-theme="light"] .card,
html[data-theme="light"] .neon-box-soft,
html[data-theme="light"] .stat-glass,
html[data-theme="light"] .profile-hero {
  background: #ffffff !important;
  border: 1px solid #d0d7de !important;
  color: #1f2328 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04) !important;
}
html.light .text-white,
html[data-theme="light"] .text-white {
  color: #1f2328 !important;
}
html.light .text-fg-muted,
html[data-theme="light"] .text-fg-muted {
  color: #656d76 !important;
}
html.light .text-fg,
html[data-theme="light"] .text-fg {
  color: #1f2328 !important;
}
html.light .nav-link,
html[data-theme="light"] .nav-link {
  color: #1f2328 !important;
}
html.light .btn-outline,
html[data-theme="light"] .btn-outline {
  background: #f6f8fa !important;
  color: #1f2328 !important;
  border-color: #d0d7de !important;
}
html.light .bg-canvas,
html.light .bg-canvas-subtle,
html.light .bg-canvas-inset,
html[data-theme="light"] .bg-canvas,
html[data-theme="light"] .bg-canvas-subtle,
html[data-theme="light"] .bg-canvas-inset {
  background-color: #f6f8fa !important;
}
html.light .border-border,
html[data-theme="light"] .border-border {
  border-color: #d0d7de !important;
}
html.light footer,
html[data-theme="light"] footer {
  background: #ffffff !important;
  border-color: #d0d7de !important;
  color: #656d76 !important;
}
html.light .chat-shell,
html.light .chat-header,
html.light .chat-input-bar,
html[data-theme="light"] .chat-shell,
html[data-theme="light"] .chat-header,
html[data-theme="light"] .chat-input-bar {
  background: #ffffff !important;
  border-color: #d0d7de !important;
}
html.light .chat-bubble.theirs,
html[data-theme="light"] .chat-bubble.theirs {
  background: #f6f8fa !important;
  color: #1f2328 !important;
  border-color: #d0d7de !important;
}
html.light input,
html.light textarea,
html.light select,
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select {
  background: #ffffff !important;
  color: #1f2328 !important;
  border-color: #d0d7de !important;
}
html.light #mobileMenu,
html[data-theme="light"] #mobileMenu {
  background: #ffffff !important;
}
html.light nav.fixed.bottom-0,
html[data-theme="light"] nav.fixed.bottom-0 {
  background: #ffffff !important;
  border-color: #d0d7de !important;
}
html.light .theme-toggle,
html[data-theme="light"] .theme-toggle {
  background: #f6f8fa !important;
  border-color: #d0d7de !important;
  color: #1f2328 !important;
}
html.light .icon-btn,
html.light .icon-blob,
html.light .avatar-ring,
html[data-theme="light"] .icon-btn,
html[data-theme="light"] .icon-blob,
html[data-theme="light"] .avatar-ring {
  background: #f6f8fa !important;
  border-color: #d0d7de !important;
  color: #1f2328 !important;
}
html.light .glass-hero,
html[data-theme="light"] .glass-hero {
  background: #f6f8fa !important;
}

.theme-toggle {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 12px !important;
  border: 1px solid #30363d !important;
  background: #161b22 !important;
  color: #c9d1d9 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 100 !important;
  position: relative !important;
  pointer-events: auto !important;
}


/* توضیح سورس — تراز دوطرفه، بدون فاصله زیاد حروف */
.source-desc {
  text-align: justify;
  text-justify: inter-word;
  word-spacing: 0.02em;
  letter-spacing: normal;
  line-height: 1.85;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.source-readme {
  font-family: 'Vazirmatn', -apple-system, sans-serif;
  white-space: pre-line;
}


/* ===== Search box ===== */
.search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem 0.4rem 0.75rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(28, 33, 40, 0.9), rgba(13, 17, 23, 0.75));
  border: 1px solid rgba(88, 166, 255, 0.28);
  box-shadow: 0 0 20px rgba(88, 166, 255, 0.1), 0 8px 24px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
}
.search-box:focus-within {
  border-color: rgba(88, 166, 255, 0.55);
  box-shadow: 0 0 28px rgba(88, 166, 255, 0.2), 0 8px 24px rgba(0,0,0,.3);
}
.search-ico { color: #8b949e; flex-shrink: 0; display: inline-flex; }
.search-input {
  flex: 1;
  min-width: 0;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #c9d1d9 !important;
  font-size: 0.875rem;
  padding: 0.45rem 0.25rem !important;
}
.search-input::placeholder { color: #8b949e; }
.search-btn {
  flex-shrink: 0;
  background: #238636;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}
.search-btn:hover { background: #2ea043; }
.header-search {
  display: none;
  max-width: 280px;
  flex: 1;
}
@media (min-width: 768px) {
  .header-search { display: flex; }
}
html[data-theme="light"] .search-box,
html.light .search-box {
  background: #fff !important;
  border-color: #d0d7de !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.06) !important;
}
html[data-theme="light"] .search-input,
html.light .search-input { color: #1f2328 !important; }

/* search input — بدون پس‌زمینه سفید موبایل */
.search-input,
input[type="search"].search-input {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #c9d1d9 !important;
  border-radius: 0 !important;
}
.search-input::-webkit-search-decoration,
.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.header-search, .search-box {
  background: #161b22 !important;
  border: 1px solid #30363d !important;
}
#themeToggle.theme-toggle,
.theme-toggle {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 10px !important;
}
.icon-btn, a.icon-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid #30363d;
  background: #161b22;
  color: #c9d1d9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* آمار صفحه اصلی خواناتر */
.stat-glass {
  border-radius: 14px !important;
  padding: 1rem 0.5rem !important;
}

/* =========================================================
   بازیابی ظاهر گرافیکی (نئون + شیشه + سه‌بعدی)
   اولویت بالا برای تم تیره
   ========================================================= */
html[data-theme="dark"] .neon-box,
html:not([data-theme="light"]):not(.light) .neon-box,
html[data-theme="dark"] .card,
html:not([data-theme="light"]):not(.light) .card {
  background: linear-gradient(155deg, rgba(32, 38, 48, 0.92), rgba(13, 17, 23, 0.78)) !important;
  border: 1px solid rgba(88, 166, 255, 0.28) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(18px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.5) !important;
  box-shadow:
    0 0 0 1px rgba(88, 166, 255, 0.1),
    0 0 24px rgba(88, 166, 255, 0.14),
    0 14px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  transition: transform .28s cubic-bezier(.34,1.2,.64,1), box-shadow .28s ease, border-color .28s ease !important;
}
html[data-theme="dark"] .neon-box:hover,
html:not([data-theme="light"]):not(.light) .neon-box:hover,
html[data-theme="dark"] .card:hover,
html:not([data-theme="light"]):not(.light) .card:hover {
  border-color: rgba(88, 166, 255, 0.55) !important;
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow:
    0 0 0 1px rgba(88, 166, 255, 0.18),
    0 0 36px rgba(88, 166, 255, 0.28),
    0 20px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .icon-blob,
html:not([data-theme="light"]):not(.light) .icon-blob {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, rgba(35, 42, 52, 0.95), rgba(22, 27, 34, 0.85)) !important;
  border: 1px solid rgba(88, 166, 255, 0.25) !important;
  box-shadow: 0 0 16px rgba(88, 166, 255, 0.15), inset 0 1px 0 rgba(255,255,255,.06) !important;
}
.neon-box:hover .icon-blob,
.group:hover .icon-blob {
  transform: scale(1.12) rotate(-6deg) !important;
  box-shadow: 0 0 22px rgba(88, 166, 255, 0.35) !important;
}

html[data-theme="dark"] .stat-glass,
html:not([data-theme="light"]):not(.light) .stat-glass {
  background: linear-gradient(145deg, rgba(28, 33, 40, 0.85), rgba(13, 17, 23, 0.65)) !important;
  border: 1px solid rgba(88, 166, 255, 0.22) !important;
  border-radius: 16px !important;
  box-shadow: 0 0 18px rgba(88, 166, 255, 0.12), 0 10px 24px rgba(0,0,0,.35) !important;
  padding: 1.1rem 0.75rem !important;
}

html[data-theme="dark"] .glass-hero,
html:not([data-theme="light"]):not(.light) .glass-hero {
  background:
    radial-gradient(ellipse 90% 55% at 75% -15%, rgba(88, 166, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 45% at 5% 90%, rgba(163, 113, 247, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(63, 185, 80, 0.04), transparent 60%),
    #0d1117 !important;
}

html[data-theme="dark"] .search-box,
html:not([data-theme="light"]):not(.light) .search-box {
  background: linear-gradient(145deg, rgba(28, 33, 40, 0.95), rgba(22, 27, 34, 0.9)) !important;
  border: 1px solid rgba(88, 166, 255, 0.3) !important;
  border-radius: 14px !important;
  box-shadow: 0 0 18px rgba(88, 166, 255, 0.12), 0 8px 20px rgba(0,0,0,.3) !important;
}

html[data-theme="dark"] .gh-header,
html:not([data-theme="light"]):not(.light) .gh-header {
  background: rgba(1, 4, 9, 0.82) !important;
  border-bottom: 1px solid rgba(48, 54, 61, 0.9) !important;
  backdrop-filter: blur(20px) saturate(1.4) !important;
}

/* دکمه‌های هیرو نرم‌تر */
.btn-primary {
  border-radius: 12px !important;
  box-shadow: 0 0 16px rgba(35, 134, 54, 0.25) !important;
}
.btn-outline {
  border-radius: 12px !important;
  background: rgba(22, 27, 34, 0.7) !important;
  border: 1px solid rgba(88, 166, 255, 0.2) !important;
}
.btn-outline:hover {
  border-color: rgba(88, 166, 255, 0.45) !important;
  background: rgba(28, 33, 40, 0.9) !important;
}

/* پنجره کد */
.code-window {
  border-radius: 16px !important;
  box-shadow:
    0 0 0 1px rgba(88, 166, 255, 0.12),
    0 0 40px rgba(88, 166, 255, 0.15),
    0 24px 48px rgba(0, 0, 0, 0.5) !important;
}

/* میانبرها */
.shortcut-card {
  background: linear-gradient(145deg, rgba(28, 33, 40, 0.9), rgba(13, 17, 23, 0.7));
  border: 1px solid rgba(88, 166, 255, 0.22);
  border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.shortcut-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 24px rgba(88, 166, 255, 0.2);
}


/* ---- Pro badge / icon in header ---- */
.pro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0d1117;
  background: linear-gradient(135deg, #e3b341, #f0c14b);
  border: 1px solid rgba(227, 179, 65, 0.6);
  box-shadow: 0 0 14px rgba(227, 179, 65, 0.35);
}
.pro-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(227, 179, 65, 0.45);
  background: rgba(227, 179, 65, 0.12);
  color: #e3b341;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.pro-icon-btn:hover {
  transform: translateY(-1px) scale(1.05);
  background: rgba(227, 179, 65, 0.2);
  box-shadow: 0 0 16px rgba(227, 179, 65, 0.35);
}


/* ---- Mobile perf: less blur, less shadow, no laggy transforms ---- */
@media (max-width: 768px) {
  .neon-box, .card, .stat-glass, .profile-hero, .glass-hero, .neon-box-soft {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.18) !important;
    transform: none !important;
  }
  .neon-box:hover, .card:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.22) !important;
  }
  .reveal, .reveal-stagger > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  html { scroll-behavior: auto; }
}


/* ===== Flat redesign (کم‌نئون) ===== */
.neon-box, .neon-box-soft, .card, .stat-glass, .profile-hero {
  background: #161b22 !important;
  border: 1px solid #30363d !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
}
.neon-box:hover, .card:hover {
  border-color: #484f58 !important;
  box-shadow: none !important;
  transform: none !important;
  background: #1c2128 !important;
}
.icon-blob {
  box-shadow: none !important;
  background: transparent !important;
}
.float, .pulse, .bounce {
  animation: none !important;
}
[data-theme="light"] .neon-box,
[data-theme="light"] .card,
[data-theme="light"] .stat-glass {
  background: #e8ecf1 !important;
  border-color: #c8d0da !important;
}
[data-theme="light"] .neon-box:hover {
  background: #e2e7ee !important;
}


/* icon-blob readable */
.icon-blob {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #21262d !important;
  color: #e6edf3 !important;
}
.icon-blob .icon-svg {
  color: #e6edf3 !important;
  stroke: #e6edf3 !important;
}
[data-theme="light"] .icon-blob {
  background: #dde3ea !important;
  color: #2d333b !important;
}
[data-theme="light"] .icon-blob .icon-svg {
  color: #2d333b !important;
  stroke: #2d333b !important;
}
[data-theme="light"] .icon-svg {
  color: #2d333b !important;
  stroke: #2d333b !important;
}
