:root {
    --bg: #05060a;
    --panel: rgba(15, 18, 28, 0.85);
    --neon: #00ff66;
    --neon-blue: #66ccff;
    --hot-pink: #ff2e88;
    --gold: #ffcc00;
    --text: #c7f9cc;
}

/* =========================
   BASE
========================= */

body {
    margin: 0;
    background: radial-gradient(circle at top, #050814, #000);
    color: var(--text);
    font-family: "Consolas", monospace;
    overflow-x: hidden;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}


.logo-img {
    display: block;
    width: clamp(32px, 3vw, 44px);
    height: clamp(32px, 3vw, 44px);

    object-fit: contain;
}

.logo-text {
    font-family: "Chakra Petch", sans-serif;

    font-size: clamp(18px, 2vw, 28px);
    font-weight: 700;

    color: white;
    letter-spacing: 2px;
}

/* =========================
   MATRIX BACKGROUND LAYER
========================= */

.matrix-container {
    position: fixed;
    top: 60px; /* under topbar */
    left: 0;
    width: 100%;
    height: 180px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.22;

    /* subtle fade effect */
    mask-image: linear-gradient(to bottom, black 70%, transparent);
}

#matrix {
    width: 100%;
    height: 100%;
    display: block;
}

/* =========================
   TOP BAR (CYBER TERMINAL STYLE)
========================= */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;  
    padding: 6px 16px;

    background: rgba(10,12,20,.94);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(0,255,102,.18);

    position: sticky;
    top: 0;
    z-index: 1000;
}

.topbar.shrink {
    padding: 4px 14px;
    backdrop-filter: blur(14px);
    background: rgba(10,12,20,0.98);
}

/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-toggle {
    display: none;

    background: none;
    border: none;

    z-index: 1002;
    position: relative;

    font-size: 28px;
    cursor: pointer;

    padding: 4px 8px;
}

/* =========================
   NAVIGATION
========================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 3px;

    margin-left: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;

    z-index: 1001;
    position: relative;
}

.main-nav a {
    color: var(--neon);
    text-decoration: none;

    font-family: "Chakra Petch", sans-serif;
    font-size: 13px;
    font-weight: 600;

    padding: 4px 7px;
    border-radius: 6px;

    transition: all 0.15s ease;

    border: 1px solid transparent;
}

.main-nav a:hover {
    background: rgba(0,255,102,.12);
    border: 1px solid rgba(0,255,102,.35);

    box-shadow: 0 0 8px rgba(0,255,102,.15);

    transform: translateY(-1px);

    color: #bfffd1;
}

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

.container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: clamp(16px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;

    position: relative;
    z-index: 2;
}

/* =========================
   CAT GANG BANNER
========================= */

/* =========================
   HERO / BANNER
========================= */

.banner {
    position: relative;
    width: 100%;
    min-height: 65vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(0,255,102,0,15);
    border-bottom: 1px solid rgba(0,255,102,0.12);
    box-shadow: 0 0 30px rgba(0,0,0,0,4);
    margin-top: 16px;
}

/* BACKGROUND IMAGE (NYAN CAT) */
.banner-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: scale(1.05);

    opacity: 0.35; /* increase visibility vs before */
    filter: contrast(1.05) saturate(1.15);
    z-index: 0;
}

/* DARK OVERLAY (POLISHED FOR HERO) */
.banner-overlay {
    position: absolute;
    inset: 0;

    /* lighter center, darker edges */
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.65)
    );

    z-index: 1;
    pointer-events: none;
}

/* TEXT CONTENT */
.banner-content {
    position: relative;
    z-index: 2;

    text-align: center;
    max-width: 800px;

    padding: 40px 20px;
}

/* TITLE */
.banner-content h1 {
    font-size: clamp(42px, 6vw, 72px);
    margin: 0;

    color: white;
    letter-spacing: 2px;

    text-shadow: 0 0 18px rgba(0,255,102,0.25);
}

/* SUBTITLE */
.banner-content h2 {
    margin-top: 10px;
    font-size: clamp(18px, 2.5vw, 28px);

    color: var(--neon);
}

/* PARAGRAPH */
.banner-content p {
    margin-top: 14px;

    opacity: 0.85;
    line-height: 1.5;
}

/* BUTTONS */
.banner-buttons {
    margin-top: 22px;

    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.banner-btn {
    padding: 10px 16px;
    border-radius: 8px;

    text-decoration: none;
    font-weight: 600;

    border: 1px solid rgba(0,255,102,0.35);
    color: var(--neon);

    transition: 0.2s ease;
}

.banner-btn:hover {
    background: rgba(0,255,102,0.12);
    transform: translateY(-2px);
}

/* PRIMARY BUTTON */
.banner-btn.primary {
    background: rgba(0,255,102,0.15);
}

/* =========================
   ASCII BLOCK
========================= */

.ascii {
    margin-top: 20px;
    font-size: clamp(12px, 2vw, 16px);    color: var(--neon-blue);
    text-shadow: 0 0 5px rgba(102,204,255,0.4);
}

/* =========================
   STATUS SECTION
========================= */

.status {
    margin-top: 30px;
    text-align: center;
    color: var(--neon);
}

/* =========================
   KITTY PANEL
========================= */

.kitty {
    margin-top: 40px;
    text-align: center;
}

.kitty img {
    width: clamp(140px, 25vw, 200px);

    border: 2px solid var(--neon);
    border-radius: 10px;

    box-shadow: 0 0 20px rgba(0,255,102,0.4);

    transition: .2s;
}

.kitty img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0,255,102,0.6);
}

/* =========================
   CAT GANG CORE
========================= */

.core-section {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

.core-card {

    box-sizing: border-box;
    max-width: 500px;
    width: min(500px, 92%);
    overflow: hidden;

    display: flex;
    
    flex-direction: column;
    
    align-items: center;

    padding: 40px;

    text-align: center;

    background: rgba(20,20,20,0.70);

    border: 1px solid rgba(0,255,170,0.15);

    border-radius: 18px;

    backdrop-filter: blur(8px);

    box-shadow:
        0 0 30px rgba(0,255,170,0.08);

}

.core-card h2 {

    margin: 0 0 25px;

    color: #00ffb3;

    font-size: 2rem;

    letter-spacing: 3px;

    text-transform: uppercase;

}

#core-logo {

    width: 140px;

    height: auto;

    margin-bottom: 20px;

    transition:
        transform .25s ease;

}

#core-logo:hover {

    transform: scale(1.05);

}

.core-description {

    color: #cccccc;

    font-size: 1rem;

    letter-spacing: 1px;

    margin-bottom: 30px;

}

.core-divider {

    width: 80%;

    height: 1px;

    margin: 0 auto 25px;

    background: rgba(255,255,255,0.12);

}

.core-status {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    font-weight: bold;

    letter-spacing: 2px;

    color: #00ff88;

    font-size: 1rem;

}

.core-details {

    width: 100%;
    margin-top: 24px;

}

.core-row {

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 0;

    border-bottom: 1px solid rgba(255,255,255,0.06);

    font-family: "Chakra Petch", sans-serif;
    font-size: 0.95rem;

}

.core-row:last-child {

    border-bottom: none;

}

.core-row span:first-child {

    color: rgba(255,255,255,0.75);
    letter-spacing: 1px;

}

.core-row span:last-child {

    color: #00ff88;
    font-weight: 700;
    letter-spacing: 1px;

}

.core-info {

    margin-top: 28px;

    width: 100%;

    text-align: center;

}

.core-tagline {

    color: rgba(255,255,255,.82);

    font-size: 1rem;

    line-height: 1.8;

    letter-spacing: 0.5px;

    padding: 0 10px;

}

.core-motto {

    margin-top: 22px;

    color: #00ffb3;

    font-size: 1.05rem;

    font-style: italic;

    letter-spacing: 2px;

    text-shadow: 0 0 10px rgba(0,255,179,.18);

}

/* =========================
   STATUS BOX (DASHBOARD PANEL)
========================= */

.status-box {
    margin-top: 20px;

    border: 1px solid rgba(0,255,102,0.3);
    background: var(--panel);

    padding: 20px;
    border-radius: 10px;

    box-shadow: 0 0 20px rgba(0,255,102,0.1);

    width: min(100%, 420px);
}

/* optional improvement if you add stats layout */
.status-box p {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.status-box p span {
    color: var(--neon-blue);
}

/* =========================
   OPTIONAL OLD SUPPORT (kept safe)
========================= */

.hebrew-bar span {
    margin: 0 6px;
    padding: 5px;
    background: linear-gradient(gold, orange);
    color: black;
    border-radius: 4px;
    cursor: pointer;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);

    opacity: 0;
    pointer-events: none;

    transition: 0.2s ease;

    z-index: 900;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* =========================
   FEATURE CARDS
========================= */

.features {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    margin: 60px auto;
}

.feature-card {
    background: rgba(15,18,28,.88);

    border: 1px solid rgba(0,255,102,.20);
    border-radius: 14px;

    padding: 28px;

    text-align: center;

    transition: all .25s ease;

    box-shadow: 0 0 20px rgba(0,255,102,.05);
}

.feature-card:hover {

    transform: translateY(-6px);

    border-color: rgba(0,255,102,.5);

    box-shadow:
        0 0 30px rgba(0,255,102,.18);
}

.feature-icon {

    font-size: 40px;

    margin-bottom: 18px;
}

.feature-card h3 {

    color: white;

    margin-bottom: 12px;

    font-size: 22px;
}

.feature-card p {

    color: rgba(255,255,255,.72);

    line-height: 1.6;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: min(800px, 100%);
    margin-top: 20px;
}

.status-card {
    background: rgba(15, 18, 28, 0.85);
    border: 1px solid rgba(0, 255, 102, 0.2);
    border-radius: 12px;
    padding: 14px 16px;

    box-shadow: 0 0 18px rgba(0, 255, 102, 0.08);
    backdrop-filter: blur(10px);
}

.status-card.wide {
    grid-column: span 2;
}

.label {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 6px;
}

.value {
    font-size: 16px;
    font-weight: 600;
    color: #c7f9cc;
}

.value.small {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 6px;
}

/* PROGRESS BAR */
.bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 6px;
}

.fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00ff66, #66ccff);
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

    background: #555;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

/* ONLINE (green pulse) */
.dot.online {
    background: #00ff66;
    box-shadow: 0 0 10px rgba(0,255,102,0.8);
    animation: pulseGreen 1.5s infinite;
}

/* STALE (yellow warning pulse) */
.dot.stale {
    background: #ffcc00;
    box-shadow: 0 0 10px rgba(255,204,0,0.8);
    animation: pulseYellow 1.2s infinite;
}

/* OFFLINE (red pulse) */
.dot.offline {
    background: #ff2e2e;
    box-shadow: 0 0 10px rgba(255,46,46,0.8);
    animation: pulseRed 1.5s infinite;
}

/* ANIMATIONS */
@keyframes pulseGreen {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseYellow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseRed {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

.net-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 12px;
}

.net-row span {
    width: 30px;
    opacity: 0.8;
}

.net-bar {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    overflow: hidden;
}

.net-fill {
    height: 100%;
    width: 0%;
    transition: width 0.4s ease;
}

.net-fill.rx {
    background: linear-gradient(90deg, #66ccff, #00ffcc);
    box-shadow: 0 0 10px rgba(102,204,255,0.25);
}

.net-fill.tx {
    background: linear-gradient(90deg, #ff2e88, #ffcc00);
    box-shadow: 0 0 10px rgba(255,46,136,0.25);
}

.system-health {
    margin: 20px 0;

    padding: 14px 18px;
    border-radius: 10px;

    background: rgba(10, 12, 20, 0.85);
    border: 1px solid rgba(0, 255, 102, 0.25);

    box-shadow: 0 0 20px rgba(0, 255, 102, 0.08);

    display: flex;
    justify-content: space-between;
    align-items: center;

    width: min(100%, 420px);
}

.health-label {
    font-weight: 600;
    color: var(--neon);
    letter-spacing: 1px;
}

.health-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;

    background: gray;
    box-shadow: 0 0 8px rgba(255,255,255,0.2);
}

/* STATES */
.dot.green {
    background: #00ff66;
    box-shadow: 0 0 10px rgba(0,255,102,0.6);
}

.dot.yellow {
    background: #ffcc00;
    box-shadow: 0 0 10px rgba(255,204,0,0.6);
}

.dot.red {
    background: #ff2e2e;
    box-shadow: 0 0 10px rgba(255,46,46,0.6);
}

.dot.pulse-green {
    background: #00ff66;
    box-shadow: 0 0 10px rgba(0,255,102,0.8);
    animation: pulseGreen 1s infinite;
}

.dot.pulse-yellow {
    background: #ffcc00;
    box-shadow: 0 0 10px rgba(255,204,0,0.8);
    animation: pulseYellow 1.8s infinite;
}

.dot.pulse-red {
    background: #ff2e2e;
    box-shadow: 0 0 10px rgba(255,46,46,0.9);
    animation: pulseRed 0.6s infinite;
}

@keyframes pulseGreen {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseYellow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseRed {
    0% { transform: scale(1); opacity: 1; }
    25% { transform: scale(1.4); opacity: 0.4; }
    50% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0.4; }
}

.mascot-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

#mascot-img {
    width: clamp(140px, 22vw, 200px);
    transition: all 0.6s ease;
    filter: brightness(1) contrast(1);
}

/* STATES */
.mascot-safe {
    filter: brightness(1.1) saturate(1.2);
    box-shadow: 0 0 20px rgba(0,255,102,0.25);
}

.mascot-warning {
    filter: brightness(1.05) saturate(1.4) hue-rotate(10deg);
    box-shadow: 0 0 25px rgba(255,204,0,0.25);
}

.mascot-danger {
    filter: brightness(0.9) saturate(1.6) hue-rotate(320deg);
    box-shadow: 0 0 30px rgba(255,46,46,0.3);
    animation: glitchShake 0.25s infinite;
}

@keyframes glitchShake {
    0% { transform: translate(0,0); }
    25% { transform: translate(1px,-1px); }
    50% { transform: translate(-1px,1px); }
    75% { transform: translate(1px,1px); }
    100% { transform: translate(0,0); }
}

.mascot-state {
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.7;
    color: var(--neon);
}

.site-footer {
    margin-top: 60px;
    padding: 18px 20px;

    border-top: 1px solid rgba(0,255,102,0.15);
    background: rgba(10,12,20,0.55);
    backdrop-filter: blur(10px);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.footer-title {
    color: var(--neon);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
}

.footer-sub {
    font-size: 11px;
    opacity: 0.6;
    margin-top: 2px;
}

/* =========================
   DONATIONS
========================= */

.footer-donations {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.donation-title {
    color: var(--gold);
    font-family: "Chakra Petch", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.btc-address {
    padding: 10px 14px;

    background: rgba(255,255,255,.04);

    border: 1px solid rgba(255,204,0,.25);
    border-radius: 8px;

    color: var(--text);

    font-size: 12px;
    font-family: Consolas, monospace;

    word-break: break-all;
    text-align: center;

    max-width: 460px;
}

.copy-btn {
    padding: 8px 16px;

    border: 1px solid rgba(255,204,0,.35);
    border-radius: 8px;

    background: transparent;
    color: var(--gold);

    font-family: "Chakra Petch", sans-serif;
    cursor: pointer;

    transition: .2s ease;
}

.copy-btn:hover {
    background: rgba(255,204,0,.12);
    box-shadow: 0 0 12px rgba(255,204,0,.25);
}

.footer-donations .sep {
    opacity: 0.4;
    margin: 0 6px;
}

.footer-status {
    font-size: 11px;
    opacity: 0.8;
}

.footer-status span {
    color: var(--neon);
}

.footer-bottom {
    margin-top: 10px;
    text-align: center;

    font-size: 11px;
    opacity: 0.5;
}

/* MOBILE */
@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

.disabled {
    opacity: 0.4;
    font-style: italic;
}

@media (max-width: 600px) {

    .topbar {
        padding: 6px 10px;
    }

    .menu-toggle {
        display: block;
        color: var(--neon);
        font-size: 26px;
    }

    .logo-text {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .logo-img {
        width: 34px;
        height: 34px;
    }

    .main-nav {
        display: flex;
        flex-direction: column;

        position: absolute;
        top: 52px;
        right: 10px;

        background: rgba(10,12,20,.92);
        border: 1px solid rgba(0,255,102,.25);
        border-radius: 10px;

        width: 170px;
        padding: 10px;

        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;

        transition: opacity 0.2s ease, transform 0.2s ease;    }

    .main-nav.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .banner {

    height: 300px;

    margin: 20px 0 30px;

}

.banner-content {

    padding: 25px;

    max-width: 100%;

}

.banner-content h1 {

    font-size: 38px;

}

.banner-content h2 {

    font-size: 20px;

}

.banner-content p {

    font-size: 15px;

}

.banner-buttons {

    flex-direction: column;

    gap: 10px;

}

.features {

    grid-template-columns: 1fr;

    gap: 18px;
}
}

@media (max-width: 768px) {

     .core-status {
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
    }

    .core-section {
        margin: 40px 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .core-card {
        width: 92%;
        padding: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}
