.features-gallery-section {
    width: 100%;
    background: transparent;
    color: #fff;
    padding: clamp(1.125rem, 6vw, 2.5rem) 0 clamp(1.5rem, 7vw, 3.5rem) 0;
    margin-top: clamp(0.75rem, 3vw, 1.5rem);
    border-radius: 0;
    box-shadow: none;
}
.features-gallery-image-wrap {
    flex: 2 1 11.25rem;
    min-width: 7.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.features-gallery-image {
    width: 100%;
    max-width: 98vw;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: clamp(0.5rem, 3vw, 0.875rem);
    box-shadow: 0 0.1875rem 1.125rem rgba(0,0,0,0.18);
    background: #222;
}

.get-invite-btn {
    background: transparent;
    color: #fff;
    border: 2px solid #6df08a;
    border-radius: 1.375rem;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    width: 100%;
    max-width: 26.25rem;
    font-size: 0.9375rem;
    height: 2.875rem;
    box-sizing: border-box;
    letter-spacing: 0.0375rem;
    transition: all 200ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
        min-width: 0;
}
.pricing-section {
    width: 100%;
    background: transparent;
    color: #fff;
    padding: clamp(2rem, 8vw, 4rem) 0;
    margin-top: clamp(1rem, 4vw, 2rem);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 4vw, 2rem);
    margin-top: clamp(1.5rem, 6vw, 2.5rem);
}

.price-card {
    background: linear-gradient(180deg, rgba(20,20,22,0.8), rgba(10,10,12,0.9));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: clamp(1.5rem, 5vw, 2rem);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.price-card.recommended {
    border: 2px solid #6df08a;
    box-shadow: 0 0 30px rgba(109, 240, 138, 0.1);
}

.price-card.premium {
    border: 2px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.price-badge {
    color: #9cff9c;
    font-weight: 700;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 0.5rem;
}

.price-card.premium .price-badge {
    color: #ffd700;
}

.price-amount {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    margin: clamp(0.5rem, 2vw, 1rem) 0;
}

.price-amount .currency {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
}

.price-amount .period {
    font-size: clamp(1rem, 4vw, 1.2rem);
    font-weight: 600;
    color: #cfd8d8;
    margin-left: clamp(0.25rem, 2vw, 0.5rem);
}

.price-sub {
    color: rgba(255,255,255,0.75);
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    margin-bottom: clamp(1rem, 4vw, 1.5rem);
}

.price-features {
    list-style: none;
    padding: 0;
    margin: clamp(1rem, 4vw, 1.5rem) 0;
    color: rgba(255,255,255,0.9);
    text-align: left;
}

.price-features li {
    padding: clamp(0.5rem, 2vw, 0.75rem) 0;
    border-top: 1px solid rgba(255,255,255,0.03);
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    position: relative;
    padding-left: 1.5rem;
}

.price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6df08a;
    font-weight: bold;
}

.price-cta {
    margin-top: clamp(1rem, 4vw, 1.5rem);
    background: linear-gradient(90deg, rgba(109,240,138,0.12), rgba(109,240,138,0.04));
    color: #6df08a;
    padding: clamp(0.75rem, 3vw, 1rem) clamp(1rem, 4vw, 1.5rem);
    border-radius: clamp(0.75rem, 4vw, 1rem);
    font-weight: 800;
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    border: 1px solid rgba(109,240,138,0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.price-card.recommended .price-cta {
    background: linear-gradient(90deg, #6df08a, #39d06a);
    color: #042018;
    border: none;
}

.price-card.premium .price-cta {
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    color: #2a2000;
    border: none;
}

.price-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(109, 240, 138, 0.3);
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .price-features li {
        font-size: 0.85rem;
        padding: 0.5rem 0 0.5rem 1.2rem;
    }
}
.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 3.75rem;
    gap: 0;
    padding: 0.625rem 0;
    width: 100%;
}
@media (max-width: 43.75rem) {
    .footer-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem; /* slightly tighter */
        min-height: 5.625rem;
        padding: 0.75rem 0;
        width: 100%;
    }
    .footer-left { justify-content: center; width: 100%; margin-bottom: 0.25rem; }
    .footer-telegram { margin: 0.5rem 0; justify-content: center; }
    .footer-right { flex-direction: column; align-items: stretch; gap: 0.5rem; width: 100%; margin-top: 0.25rem; }
    .rpc-input, .rpc-btn { width: 100%; max-width: 100%; margin-left: 0; }
    .rpc-selectors { margin-top: 0.375rem; }
}

/* Extra footer polish for very small phones */
@media (max-width: 32rem) {
    .footer-content { flex-direction: column; gap: 0.375rem; align-items: center; }
    .footer-left, .footer-right { width: 100%; justify-content: center; }
    .footer-right { gap: 0.375rem; }
    .footer-content .social-link { width: 1.75rem; height: 1.75rem; }
    .footer-small { padding: 0.6rem 0; }
    .rpc-input { width: 100%; max-width: 100%; padding: 0.45rem; font-size: 0.9rem; }
    .rpc-btn { width: 100%; padding: 0.45rem 0.6rem; }
}
.footer-telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1.5rem;
    transition: transform 0.18s, box-shadow 0.18s;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(0,255,231,0);
    background: none;
}

.footer-telegram svg {
    display: block;
    width: 2.25rem;
    height: 2.25rem;
    background: none;
}


.footer-telegram:hover {
    transform: scale(1.15);
    box-shadow: 0 0 1.125rem #6df08a;
}

.footer-left {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
}

.footer-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.625rem;
    min-width: 0;
    width: 100%;
}
.footer-left p {
    font-size: 0.9375rem;
    color: #bdbdbd;
    margin: 0;
}
.footer-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.625rem;
}
.rpc-label {
    font-size: 0.875rem;
    color: #e0e0e0;
    font-weight: 500;
    margin-right: 0.625rem;
}
.rpc-selectors {
    display: flex;
    gap: 0.375rem;
}
.rpc-btn {
    background: #23232a;
    color: #fff;
    border: none;
    padding: 0.25rem 0.875rem;
    font-size: 0.95rem;
    border-radius: 0.4375rem;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 500;
    outline: none;
}
.rpc-btn.active {
    background: #2e2e38;
    color: #6df08a;
    box-shadow: 0 0.125rem 0.5rem rgba(0,255,231,0.08);
}
.rpc-input {
    background: #18181b;
    color: #fff;
    border: 0.0625rem solid #23232a;
    border-radius: 0.4375rem;
    padding: 0.375rem 0.625rem;
    font-size: 0.95rem;
    width: 13.75rem;
    max-width: 42vw;
    transition: border 0.2s;
    margin-left: 0.5rem;
}
.rpc-input:focus {
    border-color: #00ffe7;
    outline: none;
}
@media (max-width: 43.75rem) {
    .footer-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 0.625rem;
        min-height: 5.625rem;
        padding: 0.5rem 0;
        width: 100%;
    }
    .footer-left { justify-content: flex-start; width: 100%; }
    .footer-telegram { margin: 0.625rem 0; justify-content: flex-start; }
    .footer-right { flex-direction: column; align-items: stretch; gap: 0.5rem; width: 100%; }
    .rpc-input { width: 100%; max-width: 100%; padding: 0.5rem 0.625rem; font-size: 0.95rem; margin-left: 0; }
    .rpc-selectors { margin-top: 0.375rem; }
}
.cookie-flex-box { display:flex; align-items:center; gap:0.75rem; }
.cookie-illustration { width:2.625rem; height:2.625rem; opacity:0.95; }
.cookie-actions { margin-left: auto; }
.cookie-accept-btn, .cookie-reject-btn {
    padding: 0.5rem 0.875rem;
    border-radius: 0.625rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}
.cookie-accept-btn {
    background: linear-gradient(90deg, #6df08a, #39d06a);
    color: #042018;
}
.cookie-reject-btn { background: transparent; color: #cfcfcf; border: 0.0625rem solid rgba(255,255,255,0.04); }
.cookie-accept-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(109, 240, 138, 0.3);
}



.footer-small.site-footer { padding: 1.125rem 0; background: linear-gradient(180deg, rgba(6,6,6,0.6), rgba(3,3,3,0.7)); border-top: 0.0625rem solid rgba(255,255,255,0.03); }
.footer-content { display:flex; align-items:center; gap:0.75rem; justify-content:space-between; }
.footer-content .footer-social { display:flex; gap:1.125rem; align-items:center; }
.footer-content .social-link { color: #cfd8d8; display:inline-flex; align-items:center; justify-content:center; width:2.25rem; height:2.25rem; border-radius:0.5rem; background: rgba(255,255,255,0.02); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.footer-content .social-link:hover { transform: translateY(-0.125rem); box-shadow: 0 0.5rem 1.25rem rgba(0,0,0,0.45); }
.footer-right { display:flex; align-items:center; gap:0.5rem; }
.footer-copyright { color: #bdbdbd; font-size:0.875rem; }

.rpc-dropdown { position: relative; display: inline-block; }
.rpc-toggle {
    background: #23232a;
    color: #fff;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.625rem;
    cursor: pointer;
    font-weight: 600;
}
.rpc-option:hover, .rpc-option.active { background: rgba(0,255,174,0.06); color: #00ffe7; }

.rpc-status { display:inline-flex; align-items:center; gap:0.5rem; margin-left:0.625rem; }
.rpc-dot { width:0.75rem; height:0.75rem; border-radius:50%; background: radial-gradient(circle at 30% 30%, #7fffd4, #6df08a); box-shadow: 0 0 0.75rem rgba(0,230,168,0.6), 0 0 1.75rem rgba(0,230,168,0.12); border: 0.0625rem solid rgba(255,255,255,0.06); }
.rpc-status-text { color:#ffffff; font-weight:700; font-size:0.8125rem; text-shadow: 0 0 0.5rem rgba(0,230,168,0.08); }

body {
    overflow-x: hidden;
    overflow-y: auto;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --header-h: 5.25rem;
    --footer-h: 3.5rem;
}



body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    margin: 0;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(0.625rem);
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
        width: 100vw;
        min-width: 0;
        padding: 0 clamp(0.5rem, 4vw, 1.5rem);
}

/* make header more compact on small screens */
@media (max-width: 32.5rem) {
    :root { --header-h: 4rem; }
    .logo-img { height: 1.75rem; }
    .header { height: var(--header-h); padding: 0 0.75rem; }
}

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

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

.logo-img {
    height: 2rem;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0.625rem rgba(0, 255, 136, 0.3));
        margin: 0 auto;
        display: block;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 1.25rem rgba(0, 255, 136, 0.5));
}

/* Layout: make body a column flex so footer can sit at the bottom */


/* Main */
.main {
    /* let main take remaining space so footer is pushed to the bottom */
    flex: 1 1 auto;
    padding-top: calc(var(--header-h) + 1.125rem); /* reserve space for fixed header + extra gap */
    position: relative;
    background: transparent;
}





/* Connect Wallet Button */
.connect-wallet-btn {
    position: relative;
    background: #2b2b2b;
    border: none;
    border-radius: 1.375rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #eef6f3;
    cursor: pointer;
    width: 100%;
    max-width: 26.25rem;
    height: 3rem;
    box-sizing: border-box;
    overflow: hidden;
    letter-spacing: 0.01875rem;
    display: flex;
    align-items: center;
    justify-content: center;
        min-width: 0;
        height: clamp(2rem, 7vw, 3rem);
}

.connect-wallet-btn:hover {
    background: #2f2f2f;
    box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.6), 0 0 1.875rem rgba(255,255,255,0.04) inset;
}

.connect-wallet-btn:active {
    transform: translateY(0);
}

/* Ghost connect button style */
.connect-wallet-btn.ghost-btn {
    background: #2c2c2c;
    color: #f3f3f3;
    border-radius: 1.75rem;
    padding: 0.75rem 1.5rem;
    text-transform: none;
    font-weight: 600;
    width: 19.375rem;
    max-width: 86%;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Deposit-style modal styling */
.modal.deposit-modal { max-width: 420px; width: calc(100% - 2rem); border-radius: 12px; overflow: hidden; }
.deposit-body { background: linear-gradient(180deg, rgba(16,18,20,0.95), rgba(10,12,14,0.98)); padding: 1.25rem; color: #e7eef0; }
.deposit-body .modal-title { font-size: 1.1rem; margin-bottom: 0.25rem; color: #fff; }
.deposit-body .modal-desc { color: #cfd9db; margin-bottom: 0.8rem; }
.deposit-section { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.03); padding: 0.75rem; border-radius: 8px; margin-bottom: 0.8rem; }
.deposit-label { display:block; font-size: 0.8rem; color: #bfcad0; margin-bottom: 0.4rem; }
.deposit-row { display:flex; gap:0.5rem; align-items:center; }
.deposit-addr { flex:1; background: rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.04); color:#e6f0f2; padding:0.55rem 0.75rem; border-radius:8px; font-family: monospace; font-size:0.9rem; }
.btn-copy { background: rgba(255,255,255,0.03); border: none; color: #e6f0f2; padding: 0.45rem 0.6rem; border-radius:8px; cursor:pointer; }
.qr-wrap { display:flex; justify-content:center; margin:2rem 0; }
.qr-code-img {max-width: 150px; max-height: 150px;}
.qr-placeholder { width:140px; height:140px; border-radius:8px; background: linear-gradient(180deg,#0f1113,#0b0d0f); display:flex; align-items:center; justify-content:center; color:#6df08a; font-weight:700; border:1px dashed rgba(109,240,138,0.08); }
.deposit-note { font-size:0.9rem; color:#c7d1d3; margin-top:0.4rem; }
.modal-actions { display:flex; gap:0.6rem; justify-content:flex-end; margin-top:0.6rem; }
.btn.btn-primary { background: linear-gradient(90deg,#6df08a,#39d06a); color:#062018; border:none; padding:0.6rem 0.9rem; border-radius:8px; font-weight:700; }
.btn.btn-ghost { background: transparent; border:1px solid rgba(255,255,255,0.06); color:#dbe8e9; padding:0.55rem 0.75rem; border-radius:8px; }

@media (max-width:520px) {
    .qr-placeholder { width:110px; height:110px; }
    .modal.deposit-modal { width: calc(100% - 1rem); }
}
.features-gallery-container {
    max-width: 80vw;
    margin: 0 auto;
    padding: 0 clamp(0.5rem, 4vw, 1.5rem);
}
.features-gallery-title {
    text-align: center;
    font-size: clamp(1.4rem, 6vw, 2.3rem);
    font-weight: 700;
    margin-bottom: clamp(1.125rem, 6vw, 2rem);
    letter-spacing: 0.02em;
}
.features-gallery-tabs {
    display: flex;
    justify-content: flex-start;
    gap: clamp(0.5rem, 3vw, 1rem);
    margin-bottom: clamp(0.625rem, 4vw, 1.25rem);
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    padding-bottom: clamp(0.1875rem, 2vw, 0.375rem);
}
.features-gallery-tab {
    background: none;
    color: #fff;
    border: none;
    border-bottom: 0.125rem solid transparent;
    padding: clamp(0.375rem, 2vw, 0.625rem) clamp(0.625rem, 4vw, 1.125rem);
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: border 0.18s, color 0.18s, transform 0.18s;
    flex: 0 0 auto;
}
.features-gallery-tab.active {
    color: #6df08a;
        border-bottom: 0.15625rem solid #6df08a;
}
.features-gallery-content {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 5vw, 1.75rem);
    align-items: center;
    justify-content: center;
}
.features-gallery-desc {
    flex: 1 1 13.75rem;
    min-width: 10rem;
    max-width: 98vw;
    font-size: clamp(0.95rem, 3vw, 1.08rem);
    color: #e0e0e0;
    text-align: left;
}
.features-gallery-desc h3 {
    font-size: clamp(1.1rem, 4vw, 1.35rem);
    margin-bottom: clamp(0.375rem, 2vw, 0.625rem);
    color: #fff;
}


.get-invite-btn:hover {
    background: rgba(109, 240, 138, 0.1);
    box-shadow: 0 0 20px rgba(109, 240, 138, 0.3);
    transform: translateY(-1px);
}

.get-invite-btn:active {
    transform: translateY(0);
}

.features-gallery-image,
.features-gallery-desc {
    transition: opacity 300ms ease, transform 300ms ease;
    opacity: 1;
}

.features-gallery-image.fade-out,
.features-gallery-desc.fade-out {
    opacity: 0;
    transform: translateY(0.375rem);
}
@media (min-width: 56.3125rem) {
    /* larger screens keep a two-column feel */
    .features-gallery-content { gap: 2.5rem; }
    .features-gallery-image { max-width: 32.5rem; border-radius: 1.125rem; }
}

@media (max-width: 56.25rem) {
    .features-gallery-content {
        flex-direction: column;
        gap: 0.25rem; /* aggressively tighten vertical gap so image hugs text */
    }
    .features-gallery-image { width: 100%; height: auto; aspect-ratio: 16/9; }
    .features-gallery-section { padding: 1.75rem 0 2.75rem 0; margin-top: 1.5rem; }
}

/* On small screens show only the first two gallery tabs visibly to reduce clutter */
@media (max-width: 36rem) {
    .features-gallery-tabs { gap: clamp(0.25rem, 3vw, 0.5rem); }
    .features-gallery-tab { opacity: 0.98; }
    /* ensure gallery content stacks tightly with no extra spacing */
    .features-gallery-content { align-items: flex-start; }
    .features-gallery-desc { margin-bottom: 0; max-width: 100%; line-height: 1.15; }
    .features-gallery-image-wrap { padding-top: 0; display: block; }
    .features-gallery-image { margin-top: 0; }

    /* center and compact footer content on very small screens */
    .footer-content { justify-content: center; gap: 0.2rem; align-items: center; }
    .footer-content .footer-social { gap: 0.45rem; }
    .footer-telegram { margin: 0; }
    .footer-left, .footer-right { margin: 0; padding: 0; }
}
.cookie-text{
    display: flex;
}
.cookie-text img {
    margin-right:10px;
}
.cookie-banner {
    position: fixed;
    margin:0 auto;
    left: 1rem;
    right: 1rem;
    bottom: 1.25rem;
    z-index: 1200;
    justify-content: center;
    align-items: center;
}
.cookie-banner.show {
    display: flex;
}
.cookie-content {
    background: linear-gradient(180deg, rgba(20,20,22,0.95), rgba(10,10,12,0.95));
    color: #e6f7f0;
    border: 0.0625rem solid rgba(255,255,255,0.04);
    padding: 0.875rem 1.125rem;
    border-radius: 0.75rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    width: 100%;
    max-width: 68.75rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.6);
}


.cookie-reject-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

.footer-small.site-footer { padding: 1.125rem 0; background: linear-gradient(180deg, rgba(6,6,6,0.6), rgba(3,3,3,0.7)); border-top: 0.0625rem solid rgba(255,255,255,0.03); }
.footer-content { display:flex; align-items:center; gap:0.75rem; justify-content:space-between; }
.footer-content .footer-social { display:flex; gap:1.125rem; align-items:center; }
.footer-content .social-link { color: #cfd8d8; display:inline-flex; align-items:center; justify-content:center; width:2.25rem; height:2.25rem; border-radius:0.5rem; background: rgba(255,255,255,0.02); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.footer-content .social-link:hover { transform: translateY(-0.125rem); box-shadow: 0 0.5rem 1.25rem rgba(0,0,0,0.45); }
.footer-right { display:flex; align-items:center; gap:0.5rem; }
.footer-copyright { color: #bdbdbd; font-size:0.875rem; }

.rpc-dropdown { position: relative; display: inline-block; }
.rpc-toggle {
    background: #23232a;
    color: #fff;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.625rem;
    cursor: pointer;
    font-weight: 600;
}
.rpc-options {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% + 0.5rem); /* open upwards, centered */
    background: linear-gradient(180deg,#0b0b0b,#111);
    border: 0.0625rem solid rgba(255,255,255,0.04);
    border-radius: 0.625rem;
    min-width: 11.25rem;
    box-shadow: 0 0.5rem 1.75rem rgba(0,0,0,0.6);
    overflow: hidden;
    z-index: 1300;
}
.rpc-option {
    padding: 0.625rem 0.75rem;
    color: #e6e6e6;
    cursor: pointer;
    font-weight: 600;
}
.rpc-option:hover, .rpc-option.active { background: rgba(0,255,174,0.06); color: #00ffe7; }

.rpc-status { display:inline-flex; align-items:center; gap:0.5rem; margin-left:0.625rem; }
.rpc-dot { width:0.75rem; height:0.75rem; border-radius:50%; background: radial-gradient(circle at 30% 30%, #7fffd4, #6df08a); box-shadow: 0 0 0.75rem rgba(0,230,168,0.6), 0 0 1.75rem rgba(0,230,168,0.12); border: 0.0625rem solid rgba(255,255,255,0.06); }
.rpc-status-text { color:#ffffff; font-weight:700; font-size:0.8125rem; text-shadow: 0 0 0.5rem rgba(0,230,168,0.08); }

body {
    overflow-x: hidden;
    overflow-y: auto;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --header-h: 3.6rem; /* further reduced so dashboard content sits higher */
    --footer-h: 3.5rem;
    /* Design tokens */
    --bg: #0a0a0a;
    --panel-bg: rgba(10,10,10,0.6);
    --muted: rgba(255,255,255,0.72);
    --accent-start: #6df08a;
    --accent-end: #39d06a;
    --glass-border: rgba(255,255,255,0.03);
    --radius: 0.75rem;
    --transition-fast: 180ms;
    --transition-medium: 260ms;
}

/* Dashboard scale tokens */
:root{
    --scale-xl: 2rem; /* large title */
    --scale-lg: 1.1rem; /* subtitle */
    --control-padding: 28px;
}

html, body {
    height: 100%;
}



/* make header more compact on small screens */


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

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

.logo-img {
    height: 2rem;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0.625rem rgba(0, 255, 136, 0.3));
        margin: 0 auto;
        display: block;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 1.25rem rgba(0, 255, 136, 0.5));
}

/* brand menu icon next to brand info */
.brand-menu { width:36px; height:36px; object-fit:cover; border-radius:8px; margin-right:8px; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }

/* Layout: make body a column flex so footer can sit at the bottom */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* decorative background covering the whole page */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 136, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(0, 136, 255, 0.04) 0%, transparent 50%);
}

/* Main */
.main {
    /* let main take remaining space so footer is pushed to the bottom */
    flex: 1 1 auto;
    /* reduce top gap so dashboard content sits higher under the fixed header */
    padding-top: calc(var(--header-h) + 0.15rem); /* reserve very small gap under header */
    position: relative;
    background: transparent;
}

.hero {
    padding: 0; /* center via flex */
    text-align: center;
    width: 100%;
}

.hero-content {
    /* consolidated hero container */
    max-width: 56.25rem;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem 1.75rem 0.5rem;
    height: 100%;
}
.hero-title {
    font-size: clamp(1.75rem, 8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 0.5rem;
    letter-spacing: -0.0375rem;
    text-align: center;
        font-size: clamp(1.4rem, 8vw, 2.8rem);
        margin-bottom: clamp(0.375rem, 2vw, 1.125rem);
}
.delay-2 {
    animation-delay: 1400ms !important;
}

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

.gradient-text {
    background: linear-gradient(135deg, #00ff88, #ff0088, #0088ff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    max-width: 42.5rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
        font-size: clamp(0.95rem, 4vw, 1.15rem);
        margin-bottom: clamp(0.625rem, 4vw, 1.5rem);
        max-width: 98vw;
}

/* Connect Wallet Button */
.connect-wallet-btn {
    position: relative;
    background: #2b2b2b;
    border: none;
    border-radius: 1.375rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #eef6f3;
    cursor: pointer;
    width: 100%;
    max-width: 26.25rem;
    height: 3rem;
    box-sizing: border-box;
    overflow: hidden;
    letter-spacing: 0.01875rem;
    display: flex;
    align-items: center;
    justify-content: center;
        min-width: 0;
        height: clamp(2rem, 7vw, 3rem);
}

.connect-wallet-btn:hover {
    background: #2f2f2f;
    box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.6), 0 0 1.875rem rgba(255,255,255,0.04) inset;
}

.connect-wallet-btn:active {
    transform: translateY(0);
}

/* Ghost connect button style */
.connect-wallet-btn.ghost-btn {
    background: #2c2c2c;
    color: #f3f3f3;
    border-radius: 1.75rem;
    padding: 0.75rem 1.5rem;
    text-transform: none;
    font-weight: 600;
    width: 19.375rem;
    max-width: 86%;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controls {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 0.875rem;
    flex-direction: column; /* stack vertically */
    align-items: center;
    width: 100%;
}

.invite-input {
    background: rgba(255,255,255,0.06);
    border: 0.0625rem solid rgba(255,255,255,0.06);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 1.375rem;
    width: 100%;
    max-width: 26.25rem;
    font-size: 0.9375rem;
    height: 2.875rem;
    box-sizing: border-box;
    outline: none;
    transition: box-shadow 180ms ease, transform 120ms ease;
        min-width: 0;
        height: clamp(1.75rem, 6vw, 2.875rem);
}

.invite-btn {
    background-color: #6df08a; /* background: linear-gradient(180deg,#6df08a,#39d06a);*/
    color: #042018;
    border: none;
    border-radius: 1.375rem;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    width: 100%;
    max-width: 26.25rem;
    font-size: 0.9375rem;
    height: 2.875rem;
    box-sizing: border-box;
    letter-spacing: 0.0375rem;
    transition: box-shadow 180ms, background 160ms, color 160ms;
    display: flex;
    align-items: center;
    justify-content: center;
        min-width: 0;
}

/* hover fade like the connect button */
.invite-btn:hover {
    
    color: #222;
    box-shadow: 0 0 0.25rem 0 #b2f0c2;
}

.invite-message {
    text-align: center;
    margin-top: 0.75rem;
    min-height: 1.75rem;
    font-weight: 600;
}

/* center the message container so success badge sits exactly under controls */
.invite-message {
    display: flex;
    justify-content: center;
    align-items: center;
}

.invite-message.success {
    color: #9cff9c;
}

.invite-message.error {
    color: #ff8b8b;
}

.footer-small {
    /* non-fixed footer that sits at page bottom via body flex layout */
    position: relative;
    margin-top: auto; /* push to bottom when page is short */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #060606;
    color: rgba(255,255,255,0.75);
    padding: 0.75rem 1.25rem;
    text-align: center;
    font-size: 0.8125rem;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(101, 193, 130, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.connect-wallet-btn:hover .btn-glow {
    opacity: 1;
}

/* icon inside connect button */
.connect-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.625rem;
}
.connect-icon svg { display: block; width: 100%; height: 100%; }

/* distinct neon glow for the connect-with-fantom button */

.invite-message {
    text-align: center;
    margin-top: 1.125rem;
    min-height: 1.75rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
}

.invite-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%; /* match controls */
    max-width: 26.25rem;
    background: linear-gradient(180deg, rgba(0,255,174,0.06), rgba(0,255,174,0.03));
    color: #eafff6;
    padding: 0.625rem 0.875rem;
    border-radius: 0.875rem;
    box-shadow: 0 0.375rem 1.5rem rgba(0,255,174,0.06);
    transform: translateY(0.5rem) scale(0.995);
    opacity: 0;
    transition: opacity 300ms ease, transform 300ms cubic-bezier(.2,.9,.3,1);
}
.invite-success.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.invite-success__icon {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.25rem;
    border-radius: 50%;
    background: rgba(0,255,174,0.12);
}
.invite-success__title {
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1;
}
.invite-success__subtitle {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.9);
    margin-top: 0.125rem;
}

/* ensure svg inside icon is compact */
.invite-success__icon svg { width: 1.25rem; height: 1.25rem; display: block; }

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-0.625rem); }
}

.hero-content {
    animation: none; /* disable float so content doesn't move under header */
}

/* Responsive */
@media (max-width: 48rem) {
    .hero {
        padding: 6.25rem 0 2.5rem 0;
    }
    
    .hero-description {
        font-size: 1.125rem;
        margin-bottom: 2.25rem;
    }
    
    .connect-wallet-btn {
        padding: 1rem 2.25rem;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 30rem) {
    .hero-description {
        font-size: 1rem;
    }
    
    .connect-wallet-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.875rem;
    }
}

/* Strong overrides for very small phones to ensure gallery images hug text and footer centers */
@media (max-width: 26.25rem) { /* ~420px */
    .features-gallery-content {
        gap: 0.12rem !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    .features-gallery-desc {
        margin: 0 0 0 !important;
        padding: 0 !important;
        line-height: 1.08 !important;
        font-size: clamp(0.88rem, 3.5vw, 1rem) !important;
    }
    .features-gallery-image-wrap {
        padding: 0 !important;
        margin: 0 !important;
    }
    .features-gallery-image {
        margin: 0 !important;
        margin-top: -0.15rem !important; /* small pull-up so it hugs the text */
        max-width: 100% !important;
        height: auto !important;
    }

    /* Footer: force stacking and center alignment */
    .footer-content { flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 0.2rem !important; text-align: center !important; }
    .footer-left, .footer-right { width: 100% !important; display:flex !important; justify-content:center !important; align-items:center !important; margin: 0 !important; padding: 0 !important; }
    .footer-content .social-link { width: 1.6rem !important; height: 1.6rem !important; }
    .footer-telegram { margin: 0 !important; }
    .footer-content .footer-social { gap: 0.4rem !important; }
    .footer-copyright { margin-bottom: 0.25rem !important; }

    /* RPC controls full width and stacked */
    .rpc-selectors { display: flex !important; flex-direction: column !important; gap: 0.25rem !important; width: 100% !important; }
    .rpc-input, .rpc-btn, .rpc-toggle { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
}

/* Dashboard styles */
.dashboard-section { padding: clamp(2rem, 6vw, 3.5rem) 0; color: #e9f8f0; }
.dashboard-title { font-size: clamp(1.4rem, 5vw, 2.2rem); font-weight: 800; color: #fff; margin-bottom: 0.25rem; text-align: center; }
.dashboard-sub { text-align: center; color: rgba(255,255,255,0.8); margin-bottom: 1.25rem; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1rem; }
.card { background: linear-gradient(180deg, rgba(10,10,12,0.6), rgba(6,6,6,0.7)); border: 1px solid rgba(255,255,255,0.04); padding: 1rem; border-radius: 0.75rem; box-shadow: 0 8px 20px rgba(0,0,0,0.5); }
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; color: #fff; }
.card-desc { color: rgba(255,255,255,0.8); font-size: 0.92rem; margin-bottom: 0.75rem; }
.card-actions { display:flex; gap:0.5rem; flex-wrap:wrap; }

/* Buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; padding:0.6rem 0.9rem; border-radius:0.7rem; font-weight:700; cursor:pointer; border: none; }
.btn-primary { background: linear-gradient(90deg,#6df08a,#39d06a); color:#042018; box-shadow: 0 6px 18px rgba(61, 200, 110, 0.12); }
.btn-ghost { background: rgba(255,255,255,0.03); color: #fff; border: 1px solid rgba(255,255,255,0.04); }
.btn:active { transform: translateY(0); }
.protected-action { position: relative; }

/* Modal overlay */
.modal-overlay { position: fixed; inset: 0; background: rgba(3,3,3,0.6); display: none; align-items: center; justify-content: center; z-index: 2000; }
.modal-overlay[aria-hidden="false"] { display: flex; }
.modal { background: linear-gradient(180deg,#0b0b0b,#0f0f0f); border-radius: 0.75rem; padding: 1.25rem; width: min(560px, calc(100% - 2rem)); box-shadow: 0 12px 40px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.04); position: relative; }
.modal-close { position: absolute; right: 0.5rem; top: 0.25rem; background: transparent; border: none; font-size: 1.5rem; color: rgba(255,255,255,0.7); cursor: pointer; }
.modal-title { font-size: 1.25rem; color: #fff; margin-bottom: 0.5rem; }
.modal-desc { color: rgba(255,255,255,0.9); margin-bottom: 1rem; }
.modal-actions { display:flex; gap:0.75rem; justify-content:flex-end; }

/* Small tweaks for mobile */
@media (max-width: 480px) {
    .card-actions { flex-direction: column; }
    .modal { padding: 1rem; }
    .modal-actions { flex-direction: column-reverse; }
}

/* Full-page dashboard layout */
.dashboard-full { display: flex; flex: 1 1 auto; min-height: 0; }
.sidebar { width: 14.5rem; background: transparent; padding: 0.5rem 0.75rem; display:flex; flex-direction:column; gap:0.75rem; border-right: 0; }
.sidebar-logo { display:block; margin: 0 auto 0.5rem; height: 2rem; filter: drop-shadow(0 0 0.5rem rgba(0,255,136,0.18)); }
.sidebar-nav { display:flex; flex-direction:column; gap:0.5rem; }
.nav-item { background: transparent; color: #cfeee0; border: none; text-align: left; padding: 0.6rem 0.8rem; border-radius: 0.5rem; cursor:pointer; font-weight:600; }
.nav-item:hover { background: rgba(109,240,138,0.04); color: #fff; }
.sidebar-footer { margin-top:auto; }

/* Sidebar polish */
.sidebar { box-shadow: none; border-radius: 0; }
.sidebar-top { padding-bottom: 0.5rem; }
.sidebar-brand { align-items:center; }
/* removed brand-mark block as requested */
.brand-info { display:flex; flex-direction:column; }

.nav-item { display:flex; align-items:center; gap:0.9rem; padding:0.7rem 0.9rem; font-size:0.98rem; border-radius:10px; font-weight:700; color:var(--muted); background: transparent; }
.nav-item .nav-icon { width:38px; height:38px; object-fit:cover; border-radius:8px; box-shadow: 0 6px 18px rgba(0,0,0,0.35); flex-shrink:0; }
.nav-item .nav-label { display:inline-block; }
.nav-item::before { display:none; }
.nav-item[data-action="overview"]::before { background: linear-gradient(135deg,var(--accent-start),#00c6ff); }
.nav-item[data-action="bot"]::before { background: linear-gradient(135deg,#ff7ab6,#ff9a56); }
.nav-item[data-action="strategies"]::before { background: linear-gradient(135deg,#8b6bff,#6df08a); }
.nav-item[data-action="wallet"]::before { background: linear-gradient(135deg,#ffd76b,#ff8a8a); }

.nav-item.active, .nav-item:focus, .nav-item:hover { background: linear-gradient(90deg, rgba(109,240,138,0.06), rgba(0,255,174,0.03)); color: #fff; transform: translateX(4px); box-shadow: 0 8px 20px rgba(15,40,20,0.35); }
.sidebar-footer .btn { width:100%; justify-content:center; }


.dashboard-main { flex:1; display:flex; flex-direction:column; gap:0.75rem; padding: 0.5rem; padding-top: calc(var(--header-h) + 0.15rem); padding-bottom: calc(var(--footer-h) + 0.6rem); min-height: 0; overflow: auto; }
.topbar { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding: 0.5rem 0; }
.topbar-title { font-size: var(--scale-xl); margin:0; color:#fff; font-weight:800; }
.topbar-title.large{ font-size: calc(var(--scale-xl) * 1.05); }
.topbar-sub { margin:0; color: rgba(255,255,255,0.7); font-size: var(--scale-lg); }
.topbar-sub.large-sub{ font-size: calc(var(--scale-lg) * 1.12); color: rgba(255,255,255,0.75); }
.topbar-right { display:flex; gap:0.75rem; align-items:center; padding-right:12px; }

.dashboard-grid-full { display:grid; grid-template-columns: 1fr 360px; grid-auto-rows: minmax(140px, auto); gap: 1rem; align-items:start; width: 100%; }
.panel { background: linear-gradient(180deg, rgba(10,10,10,0.6), rgba(6,6,6,0.7)); border-radius: 0.75rem; padding: 0.95rem; border: 1px solid rgba(255,255,255,0.03); }
.metrics { grid-column: 1 / 3; display:flex; gap:1rem; padding:0.9rem; }
.metric { flex:1; background: linear-gradient(180deg,#06120a,#0b1411); padding:0.9rem 1rem; border-radius:0.6rem; text-align:center; }
.metric-title { font-size:0.95rem; color:rgba(255,255,255,0.9); }
.metric-value { font-size:1.7rem; font-weight:900; color:#6df08a; margin-top:0.35rem; }

/* Top informative menu styles */
.top-menu { padding: 18px; display:block; }
.top-menu-inner { display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap; }
.top-cards { display:flex; gap:12px; flex: 1 1 60%; min-width: 260px; }
.top-card { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); padding:12px 14px; border-radius:12px; min-width:140px; box-shadow: 0 6px 18px rgba(0,0,0,0.45); }
.card-title { font-size:0.82rem; color:var(--muted); font-weight:700; }
.card-value { font-size:1.25rem; font-weight:900; margin-top:6px; color:#fff; }
.card-desc { font-size:0.82rem; color:rgba(255,255,255,0.68); margin-top:6px; }
.balance { font-weight:700; color:#fff; margin-right: 8px; }
.top-menu-text { flex: 1 1 40%; min-width:220px; color: rgba(255,255,255,0.85); }
.top-menu-text h3 { margin:0 0 6px 0; font-size:1.05rem; }
.top-menu-text p { margin:0 0 8px 0; line-height:1.35; }

@media (max-width: 900px) {
    .top-menu-inner { flex-direction:column; }
    .top-cards { width:100%; }
}

.chart { grid-row:2; }
.chart-placeholder { display:none; }
.controls { grid-row:2; }
.panel-header { font-weight:800; margin-bottom:0.75rem; color:#fff; font-size:1rem; }
.panel-body { min-height: 120px; }
.controls-large { padding: var(--control-padding); display:flex; flex-direction:column; gap:18px; }
.controls-large .panel-body { min-height:220px; }
.controls-large .btn { padding:12px 18px; font-size:1.05rem; }
.panel-footer { margin-top:0.6rem; display:flex; gap:0.5rem; justify-content:flex-end; }

.control-row { display:flex; align-items:center; gap:0.75rem; margin-bottom:0.6rem; }
.control-row label { width: 40%; color: rgba(255,255,255,0.8); }
.control-input { flex:1; padding:0.45rem 0.6rem; border-radius:0.5rem; border:1px solid rgba(255,255,255,0.04); background: rgba(255,255,255,0.02); color:#fff; }

.sidebar-brand { display:flex; gap:0.75rem; align-items:center; padding:0.5rem; }
.brand-name { font-weight:800; color:#fff; font-size:1rem; }
.brand-sub { font-size:0.85rem; color: rgba(255,255,255,0.7); margin-top:2px; }


/* Activity logs removed */

/* Make protected-action visually interactive by cursor */
.protected-action { cursor: pointer; }

@media (max-width: 900px) {
    .dashboard-grid-full { grid-template-columns: 1fr; }
    .metrics { grid-column: 1 / 2; flex-direction:column; }
    .metric { width: 100%; }
    .sidebar { display:none; }
    .dashboard-full { margin-top: calc(var(--header-h)); }
}

/* UI polish */
html { scroll-behavior: smooth; }
body { color: var(--muted); background: var(--bg); }

/* Smooth card hover */
.panel { transition: transform var(--transition-medium) ease, box-shadow var(--transition-medium) ease; }
.panel:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.6); }

.nav-item { transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast); }
.nav-item:active { transform: translateY(1px); }

.btn { transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(61,200,110,0.12); }
.btn-ghost:hover { transform: translateY(-1px); opacity: 0.98; }
.controls .btn-primary { padding: 12px 18px; font-size: 1.05rem; }

/* Modal animation */
.modal { opacity: 0; transform: translateY(8px) scale(0.995); transition: opacity 220ms var(--transition-medium), transform 220ms var(--transition-medium); }
.modal-overlay[aria-hidden="false"] .modal { opacity: 1; transform: translateY(0) scale(1); }

/* Subtle shimmer for metric values */
.metric-value { background-image: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); background-clip: text; -webkit-background-clip: text; }

/* Slightly larger typography for readability */
body, input, select, button { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; font-size: 15px; }

/* Onboarding Popup Styles */
.onboarding-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.onboarding-popup.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.onboarding-content {
    background: linear-gradient(145deg, rgba(20,20,22,0.98), rgba(10,10,12,0.98));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 580px;
    width: 90%;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 25px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
    transform: scale(1) translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    pointer-events: none;
}

.onboarding-popup.show .onboarding-content {
    transform: scale(1) translateY(200);
}

.onboarding-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.onboarding-close:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    transform: scale(1.05);
}
.onboarding-body{
    margin-top:2rem;
}
.onboarding-slides-container {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.onboarding-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.onboarding-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}
.spec-flex{
    margin-top:1rem;
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.onboarding-image {
    margin-bottom: 2rem;
    position: relative;
}

.slide-image {
    width: 100%;
    max-width: 450px;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(109,240,138,0.1), rgba(109,240,138,0.05));
    border: 1px solid rgba(109,240,138,0.2);
    box-shadow: 0 8px 32px rgba(109,240,138,0.1);
}

.onboarding-text h3 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.onboarding-text p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.onboarding-navigation {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.onboarding-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #6df08a;
    width: 28px;
    border-radius: 5px;
}

.dot:hover:not(.active) {
    background: rgba(255,255,255,0.4);
}

.onboarding-finish {
    background: linear-gradient(135deg, #6df08a, #39d06a);
    color: #042018;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
}

.onboarding-finish:hover {
    background: linear-gradient(135deg, #7ff594, #4ae074);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(109, 240, 138, 0.4);
}

@media (max-width: 768px) {
    .onboarding-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
        max-width: none;
    }
    
    .slide-image {
        height: 180px;
    }
    
    .onboarding-text h3 {
        font-size: 1.5rem;
    }
    
    .onboarding-text p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .onboarding-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}
