/* ===== RESET & BASE ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--bg:#06080e;--bg2:#0b0e17;--bg3:#111522;--bg4:#161c2d;--text:#ffffff;--text2:#94a3b8;--text3:#64748b;--green:#10b981;--green2:#059669;--red:#ef4444;--gold:#f59e0b;--border:rgba(255,255,255,0.08);--border-glow:rgba(16,185,129,0.25);--glass-bg:rgba(15,20,32,0.85);--glass-border:rgba(255,255,255,0.08);--glass-glow:rgba(16,185,129,0.15);--glass-blur:blur(24px)}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;min-height:100vh}
a{color:var(--green);text-decoration:none}
.container{max-width:1240px;margin:0 auto;padding:0 24px}

/* ===== TIER-1 INSTITUTIONAL TOP HEADER ===== */
.top-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 10, 16, 0.94);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.6);
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 36px;
}
.brand {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    transition: transform 0.25s ease;
}
.brand:hover {
    transform: scale(1.03);
}
.brand-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}
.desktop-nav {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px;
    border-radius: 16px;
}
.dnav {
    padding: 9px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    font-family: 'Outfit', sans-serif;
    display: inline-flex;
    align-items: center;
}
.dnav:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}
.dnav.active {
    color: #00c076;
    background: #121824;
    border: 1px solid rgba(0, 192, 118, 0.35);
    box-shadow: 0 4px 16px rgba(0, 192, 118, 0.2);
}
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    cursor: pointer;
    padding: 9px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.25s ease;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}
.lang-selector:hover {
    border-color: rgba(0, 192, 118, 0.4);
    color: #ffffff;
    background: rgba(0, 192, 118, 0.08);
}
.lang-selector img {
    width: 18px;
    height: 13px;
    border-radius: 2px;
}
.header-btn {
    padding: 10px 22px;
    border-radius: 14px;
    border: none;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.3px;
}
.register-header-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.register-header-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.login-btn {
    background: linear-gradient(135deg, #00c076 0%, #008f56 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 192, 118, 0.4);
}
.login-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(0, 192, 118, 0.65);
    filter: brightness(1.1);
}
.hamburger{display:none;background:none;border:none;color:var(--text);font-size:22px;cursor:pointer;padding:8px}

/* ===== MOBILE MENU ===== */
.mobile-menu-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.75);backdrop-filter:blur(8px);z-index:200}
.mobile-menu-overlay.open{display:block}
.mobile-menu{position:fixed;top:0;right:-280px;width:280px;height:100%;background:var(--bg2);z-index:201;transition:right .3s cubic-bezier(0.4,0,0.2,1);padding:24px 20px;overflow-y:auto;border-left:1px solid var(--border)}
.mobile-menu.open{right:0}
.mm-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--border)}
.mm-close{font-size:22px;cursor:pointer;color:var(--text2);transition:color .2s}
.mm-close:hover{color:#fff}
.mm-link{display:flex;align-items:center;gap:12px;padding:14px 12px;border-radius:12px;font-size:15px;color:var(--text2);transition:.2s;margin-bottom:4px}
.mm-link:hover,.mm-link.active{color:var(--text);background:var(--bg3);border:1px solid rgba(16,185,129,0.2)}
.mm-link i{width:20px;text-align:center;color:var(--green)}
.mm-divider{height:1px;background:var(--border);margin:16px 0}

/* ===== PAGES ===== */
.main-content{padding-top:0;padding-bottom:0;min-height:calc(100vh - 68px)}
.page{display:none;animation:fadeUp .35s cubic-bezier(0.16,1,0.3,1)}
.page.active{display:block}
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* ===== HERO CAROUSEL ===== */
.hero-carousel{position:relative;width:100%;height:400px;overflow:hidden;border-bottom:1px solid rgba(255,255,255,0.08);background:#06080e}
.carousel-slides{position:relative;width:100%;height:100%}
.carousel-slide{position:absolute;inset:0;opacity:0;transition:opacity 0.8s cubic-bezier(0.16,1,0.3,1)}
.carousel-slide.active{opacity:1}
.slide-inner{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;padding:40px 10%;position:relative;overflow:hidden}
.slide-inner::before{content:'';position:absolute;top:-100px;right:10%;width:500px;height:500px;background:radial-gradient(circle, rgba(16,185,129,0.12) 0%, rgba(59,130,246,0.05) 50%, transparent 70%);pointer-events:none;border-radius:50%;filter:blur(40px)}
.slide-crypto{background:radial-gradient(circle at 75% 30%, rgba(16,185,129,0.15) 0%, rgba(6,8,14,0.95) 70%),url('hero_crypto.png') no-repeat center/cover}
.slide-trade{background:radial-gradient(circle at 75% 30%, rgba(59,130,246,0.15) 0%, rgba(6,8,14,0.95) 70%),url('hero_trade.png') no-repeat center/cover}
.slide-earn{background:radial-gradient(circle at 75% 30%, rgba(245,158,11,0.15) 0%, rgba(6,8,14,0.95) 70%),url('hero_earn.png') no-repeat center/cover}
.slide-text h2{font-size:clamp(28px,4.5vw,48px);font-weight:900;line-height:1.15;color:#fff;font-family:'Outfit',sans-serif;letter-spacing:-1.5px;text-shadow:0 4px 24px rgba(0,0,0,0.6)}
.slide-text p{font-size:clamp(14px,1.6vw,17px);color:var(--text2);margin-top:14px;max-width:480px;line-height:1.6}
.slide-cta{margin-top:24px;padding:14px 34px;border:1px solid rgba(255,255,255,0.2);border-radius:30px;background:linear-gradient(135deg, #10b981 0%, #059669 100%);color:#fff;font-size:15px;font-weight:800;cursor:pointer;font-family:'Outfit',sans-serif;transition:all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);display:inline-flex;align-items:center;gap:10px;box-shadow:0 0 30px rgba(16,185,129,0.4)}
.slide-cta:hover{transform:scale(1.05) translateY(-2px);box-shadow:0 0 45px rgba(16,185,129,0.7)}
.slide-visual{max-width:440px;width:45%;display:flex;align-items:center;justify-content:center;animation:float 4s ease-in-out infinite}
.hero-slide-img{width:100%;max-height:280px;object-fit:cover;border-radius:20px;border:1px solid rgba(255,255,255,0.15);box-shadow:0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(41,98,255,0.2)}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.carousel-dots{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:2}
.dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.25);cursor:pointer;transition:all 0.3s ease}
.dot.active{background:#10b981;width:28px;border-radius:6px;box-shadow:0 0 12px #10b981}
.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.04);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.12);color:#fff;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.25s ease;z-index:3}
.carousel-arrow:hover{background:rgba(16,185,129,.2);border-color:#10b981;color:#10b981;transform:translateY(-50%) scale(1.08)}
.carousel-arrow.left{left:24px}
.carousel-arrow.right{right:24px}

/* ===== QUICK ACTIONS ===== */
.quick-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:18px;padding:32px 24px;background:linear-gradient(180deg, #06080e 0%, #0b0e17 100%);border-bottom:1px solid rgba(255,255,255,0.06)}
.action-item{background:linear-gradient(145deg, rgba(18,24,38,0.85) 0%, rgba(10,14,22,0.95) 100%);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,0.08);border-radius:22px;padding:22px 16px;display:flex;flex-direction:column;align-items:center;gap:14px;cursor:pointer;transition:all 0.3s cubic-bezier(0.16,1,0.3,1);position:relative;overflow:hidden}
.action-item::before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg, transparent, rgba(16,185,129,0.3), transparent);opacity:0;transition:opacity 0.3s ease}
.action-item:hover::before{opacity:1}
.action-item:hover{transform:translateY(-6px);border-color:rgba(16,185,129,0.4);box-shadow:0 16px 40px rgba(0,0,0,0.6), 0 0 25px rgba(16,185,129,0.18);background:linear-gradient(145deg, rgba(22,30,48,0.9) 0%, rgba(12,16,26,0.98) 100%)}
.action-item:active{transform:scale(.98)}
.action-icon{width:56px;height:56px;border-radius:18px;background:rgba(16,185,129,0.1);border:1px solid rgba(16,185,129,0.25);display:flex;align-items:center;justify-content:center;font-size:22px;color:#10b981;transition:all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);position:relative}
.action-item:hover .action-icon{transform:scale(1.1) rotate(4deg);background:linear-gradient(135deg, #10b981 0%, #059669 100%);color:#fff;border-color:transparent;box-shadow:0 0 22px rgba(16,185,129,0.5)}
.action-item span{font-size:14px;font-weight:700;color:var(--text2);font-family:'Outfit',sans-serif;transition:color 0.3s;letter-spacing:-0.2px}
.action-item:hover span{color:#fff}
.notif-wrap{position:relative}
.notif-badge{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border-radius:50%;background:#ef4444;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 0 10px rgba(239,68,68,0.6)}

/* ===== SECTION TITLE ===== */
.section-title{padding:36px 0 22px;font-size:22px;font-weight:900;display:flex;align-items:center;gap:14px;font-family:'Outfit',sans-serif;color:#fff;letter-spacing:-0.5px}
.accent-bar{width:4px;height:24px;border-radius:4px;background:linear-gradient(180deg, #10b981, #3b82f6);box-shadow:0 0 14px #10b981}

/* ===== HOT LIST ===== */
.hot-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px;padding-bottom:20px}
.hot-item{display:flex;align-items:center;padding:18px;background:linear-gradient(145deg, rgba(18,24,38,0.85) 0%, rgba(10,14,22,0.95) 100%);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-radius:18px;cursor:pointer;transition:all 0.3s cubic-bezier(0.16,1,0.3,1);border:1px solid rgba(255,255,255,0.08)}
.hot-item:hover{border-color:rgba(16,185,129,0.35);transform:translateY(-3px);box-shadow:0 12px 32px rgba(0,0,0,0.5), 0 0 20px rgba(16,185,129,0.15)}
.coin-logo{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800;margin-right:16px;flex-shrink:0;box-shadow:0 4px 14px rgba(0,0,0,0.4);border:1px solid rgba(255,255,255,0.1)}
.coin-info{flex:1;min-width:0}
.coin-name{font-size:16px;font-weight:800;font-family:'Outfit',sans-serif}
.coin-pair{font-size:12px;color:var(--text2);margin-top:2px}
.coin-price-area{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.coin-price{font-size:16px;font-weight:800;font-family:'SF Pro Mono',monospace}
.coin-change{font-size:13px;font-weight:800;padding:4px 10px;border-radius:8px;font-family:'SF Pro Mono',monospace}
.coin-change.positive{color:#10b981;background:rgba(16,185,129,0.14);border:1px solid rgba(16,185,129,0.3)}
.coin-change.negative{color:#ef4444;background:rgba(239,68,68,0.14);border:1px solid rgba(239,68,68,0.3)}
.sparkline-canvas{width:75px;height:30px;margin-left:14px;flex-shrink:0}

/* ===== MAIN LANDING STACK & TABULAR MARKETS ===== */
.main-landing-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 40px;
}
.markets-table-container {
    background: linear-gradient(145deg, rgba(16,22,36,0.9) 0%, rgba(8,12,20,0.96) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    overflow-x: auto;
    position: relative;
}
.markets-table-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}
/* ===== PRO-TRADER 3D MARKET GRID CARD DECK (LANDING PAGE ONLY) ===== */
#page-home .markets-table-container {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
}
#page-home .markets-table-container::before { display: none; }
#page-home .markets-table {
    display: block;
    width: 100%;
    border-collapse: separate;
}
#page-home .markets-table thead {
    display: none; /* Replaced traditional table header with Pro-Trader Grid Cards on Landing Page */
}
#page-home .markets-table tbody#hotList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    width: 100%;
}

#page-home #hotList .hot-table-row {
    display: flex !important;
    flex-direction: column !important;
    background: linear-gradient(145deg, #121826 0%, #0b0e18 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 20px !important;
    position: relative !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden !important;
}
#page-home #hotList .hot-table-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 192, 118, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
#page-home #hotList .hot-table-row:hover::before {
    opacity: 1;
}
#page-home #hotList .hot-table-row:hover {
    transform: translateY(-6px) scale(1.02) !important;
    border-color: rgba(0, 192, 118, 0.4) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 192, 118, 0.18) !important;
    background: linear-gradient(145deg, #161e30 0%, #0d121f 100%) !important;
}
#page-home #hotList .hot-table-row td {
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}
#page-home #hotList .hot-table-row td:first-child { border-radius: 0 !important; }
#page-home #hotList .hot-table-row td:last-child { border-radius: 0 !important; }

/* Landing Page Top Row: Coin Info */
#page-home #hotList .hot-table-row td:nth-child(1) {
    margin-bottom: 12px;
}
.coin-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.coin-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}
.coin-meta {
    display: flex;
    flex-direction: column;
}
.coin-symbol-text {
    font-weight: 800;
    font-size: 16px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}
.coin-pair-text {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 2px;
}

/* Landing Page 24h Change Pill: Floating Top Right */
#page-home #hotList .hot-table-row td:nth-child(3) {
    position: absolute;
    top: 20px;
    right: 20px;
}
.coin-change-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-family: 'SF Pro Mono', monospace;
}
.positive-pill {
    background: rgba(0, 192, 118, 0.14);
    color: #00c076;
    border: 1px solid rgba(0, 192, 118, 0.3);
}
.negative-pill {
    background: rgba(239, 68, 68, 0.14);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Landing Page Price Monospace Text */
#page-home #hotList .hot-table-row td:nth-child(2) {
    margin-bottom: 8px;
}
.price-mono {
    font-family: 'SF Pro Mono', monospace;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

/* Landing Page Sparkline Chart Container */
#page-home #hotList .hot-table-row td:nth-child(4) {
    margin: 8px 0 16px;
    display: flex !important;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 8px;
}
.sparkline-canvas {
    width: 100% !important;
    height: 38px !important;
    vertical-align: middle;
}

/* Landing Page Full Width Trade CTA Button */
#page-home #hotList .hot-table-row td:nth-child(5) {
    width: 100%;
    margin-top: auto;
}
#page-home #hotList .trade-btn-inline {
    width: 100%;
    border: none;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    background: linear-gradient(135deg, #00c076 0%, #008f56 100%);
    box-shadow: 0 4px 16px rgba(0, 192, 118, 0.35);
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#page-home #hotList .trade-btn-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 192, 118, 0.55);
    filter: brightness(1.1);
}

/* ===== MARKET PAGE (#page-market) CLEAN INSTITUTIONAL TABLE ===== */
#page-market .markets-table-container {
    background: linear-gradient(145deg, rgba(18, 24, 38, 0.95) 0%, rgba(10, 14, 22, 0.98) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    overflow-x: auto;
}
#page-market .markets-table {
    display: table !important;
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
}
#page-market .markets-table thead {
    display: table-header-group !important;
}
#page-market .markets-table th {
    padding: 16px 16px;
    font-size: 11px;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Outfit', sans-serif;
}
#page-market .markets-table tbody#marketList {
    display: table-row-group !important;
}
#page-market tbody#marketList .hot-table-row {
    display: table-row !important;
    position: static !important;
    background: rgba(255, 255, 255, 0.015) !important;
    transition: all 0.25s ease !important;
    border: none !important;
    box-shadow: none !important;
}
#page-market tbody#marketList .hot-table-row:hover td {
    background: rgba(0, 192, 118, 0.08) !important;
    border-color: rgba(0, 192, 118, 0.3) !important;
}
#page-market tbody#marketList .hot-table-row td {
    display: table-cell !important;
    padding: 16px 18px !important;
    vertical-align: middle !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    margin: 0 !important;
}
#page-market tbody#marketList .hot-table-row td:first-child {
    border-top-left-radius: 14px !important;
    border-bottom-left-radius: 14px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.04) !important;
}
#page-market tbody#marketList .hot-table-row td:last-child {
    border-top-right-radius: 14px !important;
    border-bottom-right-radius: 14px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.04) !important;
}
#page-market tbody#marketList .hot-table-row td:nth-child(2) {
    margin-bottom: 0 !important;
}
#page-market tbody#marketList .hot-table-row td:nth-child(3) {
    position: static !important;
}
#page-market tbody#marketList .hot-table-row td:nth-child(4) {
    margin: 0 !important;
    display: table-cell !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}
#page-market tbody#marketList .hot-table-row td:nth-child(5) {
    width: auto !important;
}
#page-market tbody#marketList .price-mono {
    font-size: 15px !important;
}
#page-market tbody#marketList .sparkline-canvas {
    width: 75px !important;
    height: 30px !important;
}
#page-market tbody#marketList .trade-btn-inline {
    width: auto !important;
    padding: 8px 20px !important;
}
}

.live-trades-box {
    background: linear-gradient(145deg, rgba(16, 22, 36, 0.9) 0%, rgba(8, 12, 20, 0.96) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.live-trades-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}
.live-trades-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text3);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 16px;
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
}
.live-trades-scroll-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.live-trades-marquee {
    display: flex;
    flex-direction: column;
    animation: scrollMarqueeDown 35s linear infinite;
}
.live-trades-marquee:hover {
    animation-play-state: paused;
}
.live-trades-marquee .marquee-group div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02) !important;
    font-size: 13px !important;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 14px;
    margin-bottom: 8px;
    transition: all 0.25s;
}
.live-trades-marquee .marquee-group div:hover {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.25) !important;
}

/* ===== TIER-1 INSTITUTIONAL TICKER BAR ===== */
.inst-ticker-bar {
    background: #07090e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 10px 0;
    font-size: 12px;
    font-family: 'SF Pro Mono', monospace;
    color: #94a3b8;
}
.inst-ticker-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.inst-status-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-weight: 700;
    color: #cbd5e1;
    font-size: 11px;
}
.inst-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00c076;
    box-shadow: 0 0 8px rgba(0, 192, 118, 0.6);
}
.inst-ticker-marquee {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.inst-ticker-marquee::-webkit-scrollbar { display: none; }
.ticker-txt { display: inline-flex; align-items: center; gap: 6px; }
.ticker-txt .txt-green { color: #00c076; font-weight: 800; }
.ticker-divider { color: rgba(255, 255, 255, 0.15); }
.inst-node-id {
    white-space: nowrap;
    font-weight: 700;
    color: #64748b;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== HERO STAGE SECTION ===== */
.inst-hero-section {
    background: linear-gradient(180deg, #0b0e14 0%, #101622 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0 50px;
}
.inst-hero-container {
    max-width: 1200px;
    margin: 0 auto;
}
.inst-hero-content {
    text-align: center;
}
.inst-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(41, 98, 255, 0.1);
    border: 1px solid rgba(41, 98, 255, 0.3);
    color: #2962ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
}
.inst-hero-title {
    font-size: 52px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .inst-hero-title { font-size: 34px; }
}
.inst-gradient-text {
    background: linear-gradient(135deg, #2962ff 0%, #00c076 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.inst-hero-desc {
    font-size: 17px;
    color: #94a3b8;
    max-width: 720px;
    margin: 0 auto 36px;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}
.inst-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.inst-btn-primary {
    background: #00c076;
    color: #000000;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 15px;
    padding: 16px 36px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 192, 118, 0.3);
}
.inst-btn-primary:hover {
    background: #00e68c;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 192, 118, 0.5);
}
.inst-btn-secondary {
    background: #182232;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 15px;
    padding: 16px 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.25s ease;
}
.inst-btn-secondary:hover {
    background: #202c40;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* LIVE MARKET HIGHLIGHT DECK */
.inst-market-deck {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    max-width: 1080px;
    margin: 0 auto;
}
.inst-deck-card {
    background: #121824;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
}
.inst-deck-card:hover {
    background: #182232;
    border-color: rgba(0, 192, 118, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.idc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.idc-symbol {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}
.idc-badge.pos {
    background: rgba(0, 192, 118, 0.12);
    color: #00c076;
    border: 1px solid rgba(0, 192, 118, 0.3);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    font-family: 'SF Pro Mono', monospace;
}
.idc-price {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    font-family: 'SF Pro Mono', monospace;
    margin-bottom: 6px;
}
.idc-vol {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

/* ACTIONS BAR */
.inst-actions-bar {
    background: #0e131d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* INSTITUTIONAL METRICS & FEATURES */
.inst-metrics-banner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #121824;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}
.imb-item {
    text-align: center;
}
.imb-val {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}
.imb-lbl {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
}
.imb-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 768px) {
    .imb-divider { display: none; }
}

.inst-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.inst-feature-card {
    background: #121824;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.25s ease;
}
.inst-feature-card:hover {
    background: #182232;
    border-color: rgba(41, 98, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.ifc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(41, 98, 255, 0.1);
    border: 1px solid rgba(41, 98, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #2962ff;
    margin-bottom: 20px;
}
.ifc-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 10px;
}
.ifc-desc {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
}
.feature-icon {
    font-size: 20px;
    color: var(--green);
    margin-bottom: 12px;
}
.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.feature-desc {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.6;
}
/* ===== PAGE HEADING ===== */
.page-heading{display:flex;align-items:center;justify-content:space-between;padding:28px 0 20px;gap:16px;flex-wrap:wrap}
.page-heading h1{font-size:24px;font-weight:700}
.search-wrap{display:flex;align-items:center;gap:10px;background:var(--bg3);border-radius:10px;padding:10px 16px;border:1px solid var(--border);min-width:240px;transition:.2s}
.search-wrap:focus-within{border-color:var(--green)}
.search-wrap i{color:var(--text3);font-size:14px}
.search-wrap input{flex:1;background:none;border:none;outline:none;color:var(--text);font-size:14px;font-family:inherit}
.search-wrap input::placeholder{color:var(--text3)}

/* ===== MARKET GRID ===== */
.market-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;padding-bottom:40px}

/* ===== INSTITUTIONAL EARN & STAKING VAULTS ===== */
.earn-hero-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.ehb-card {
    background: linear-gradient(145deg, #121826 0%, #0a0d16 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
}
.ehb-card:hover {
    border-color: rgba(0, 192, 118, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.ehb-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(0, 192, 118, 0.1);
    border: 1px solid rgba(0, 192, 118, 0.25);
    color: #00c076;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.ehb-info {
    display: flex;
    flex-direction: column;
}
.ehb-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ehb-val {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    margin-top: 2px;
}

/* Staking Tabs */
.miner-tabs {
    display: flex;
    gap: 10px;
    padding-bottom: 16px;
    flex-wrap: wrap;
}
.mtab {
    padding: 12px 24px;
    border-radius: 14px;
    background: #121824;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Outfit', sans-serif;
    display: inline-flex;
    align-items: center;
}
.mtab:hover {
    color: #ffffff;
    background: #182232;
    border-color: rgba(255, 255, 255, 0.15);
}
.mtab.active {
    background: #00c076;
    color: #020409;
    font-weight: 800;
    border-color: #00c076;
    box-shadow: 0 4px 20px rgba(0, 192, 118, 0.4);
}

/* Staking Cards Grid */
.miner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
    padding-bottom: 50px;
}
.miner-card {
    background: linear-gradient(145deg, #121826 0%, #0a0d16 100%);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.miner-card:hover {
    border-color: rgba(0, 192, 118, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 192, 118, 0.18);
    background: linear-gradient(145deg, #161e30 0%, #0c101b 100%);
}
.miner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00c076, #2962ff);
}
.miner-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-right: 110px; /* space for absolute button */
}
.miner-img {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(0, 192, 118, 0.1);
    border: 1px solid rgba(0, 192, 118, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #00c076;
    flex-shrink: 0;
}
.miner-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
}
.miner-time {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 3px;
    font-weight: 600;
}
.miner-currency {
    font-size: 11px;
    color: #00c076;
    font-weight: 800;
    font-family: 'SF Pro Mono', monospace;
    margin-top: 2px;
}
.miner-buy {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 10px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00c076 0%, #008f56 100%);
    color: #ffffff;
    border: none;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 192, 118, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.miner-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 192, 118, 0.6);
    filter: brightness(1.1);
}

/* Staking Quota Progress */
.miner-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    margin: 14px 0 8px;
    overflow: hidden;
}
.miner-progress-bar {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #00c076, #00f0ff);
    box-shadow: 0 0 12px rgba(0, 192, 118, 0.6);
    transition: width 1s ease;
}
.miner-progress-label {
    font-size: 11px;
    color: #00c076;
    font-weight: 800;
    text-align: right;
    margin-bottom: 16px;
    font-family: 'SF Pro Mono', monospace;
}

/* Staking Stats Footer */
.miner-stats {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: auto;
}
.miner-stats span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.miner-stats .stat-label {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.miner-stats .stat-value {
    font-weight: 800;
    color: #ffffff;
    font-family: 'SF Pro Mono', monospace;
}
.miner-stats .stat-type {
    color: #00c076;
    font-size: 12px;
    font-weight: 800;
    font-family: 'SF Pro Mono', monospace;
}

/* ===== CONTRACT LAYOUT ===== */
.contract-layout{display:grid;grid-template-columns:1fr 320px;gap:24px;padding-top:24px;padding-bottom:40px}
.contract-left{min-width:0}
.contract-top-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.detail-back{width:36px;height:36px;border-radius:8px;background:var(--bg3);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text2);transition:.2s}
.detail-back:hover{color:var(--text);background:var(--bg4)}
.contract-pair{font-size:20px;font-weight:700}
.contract-price-row{display:flex;align-items:baseline;gap:12px}
.contract-big-price{font-size:28px;font-weight:700}
.contract-change{font-size:14px;font-weight:600;padding:3px 10px;border-radius:6px}
.contract-stats{display:flex;gap:24px;padding:12px 0;border-bottom:1px solid var(--border);margin-bottom:12px;flex-wrap:wrap}
.cs-item{display:flex;flex-direction:column;gap:2px}
.cs-label{font-size:11px;color:var(--text3)}
.cs-val{font-size:14px;font-weight:600}
.tf-tabs{display:flex;gap:0;border-bottom:1px solid var(--border);margin-bottom:4px}
.tf-btn{flex:1;padding:10px;background:none;border:none;border-bottom:2px solid transparent;color:var(--text3);font-size:13px;cursor:pointer;font-family:inherit;transition:.2s;max-width:70px;text-align:center}
.tf-btn.active{color:var(--text);border-bottom-color:var(--green)}
.tf-btn:hover{color:var(--text2)}
.chart-box{width:100%;height:420px;background:var(--bg);border-radius:8px;border:1px solid var(--border);overflow:hidden}
.contract-right{position:sticky;top:80px;align-self:start}
.trade-panel{background:var(--bg3);border-radius:16px;padding:24px;border:1px solid var(--border)}
.trade-panel h3{font-size:16px;font-weight:600;margin-bottom:20px;color:var(--text)}
.trade-pair-select{margin-bottom:16px}
.trade-pair-select label,.trade-amount label{font-size:12px;color:var(--text2);display:block;margin-bottom:6px}
.trade-pair-select select,.trade-amount input{width:100%;padding:12px;border-radius:8px;background:var(--bg4);border:1px solid var(--border);color:var(--text);font-size:14px;font-family:inherit;outline:none}
.trade-pair-select select:focus,.trade-amount input:focus{border-color:var(--green)}
.trade-amount{margin-bottom:20px}
.trade-btns{display:flex;flex-direction:column;gap:10px}
.btn-buy-up{padding:14px;border:none;border-radius:10px;background:linear-gradient(135deg,#6b8f3a,#4caf50);color:#fff;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit;transition:.2s;display:flex;align-items:center;justify-content:center;gap:8px}
.btn-buy-down{padding:14px;border:none;border-radius:10px;background:linear-gradient(135deg,#ef5350,#c62828);color:#fff;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit;transition:.2s;display:flex;align-items:center;justify-content:center;gap:8px}
.btn-buy-up:hover{box-shadow:0 4px 20px rgba(76,175,80,.4);transform:translateY(-1px)}
.btn-buy-down:hover{box-shadow:0 4px 20px rgba(239,83,80,.4);transform:translateY(-1px)}
.btn-buy-up:active,.btn-buy-down:active{transform:scale(.97)}

.duration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 6px;
}
.duration-item {
    background: var(--bg4);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    user-select: none;
}
.duration-item:hover {
    border-color: var(--green);
}
.duration-item.active {
    background: rgba(0, 229, 137, 0.1);
    border-color: var(--green);
    box-shadow: 0 0 10px rgba(0, 229, 137, 0.15);
}
.duration-item.active span:first-child {
    color: var(--green) !important;
}

/* ===== UNIQUE 3D CYBER-GLASS LOCK CARD ===== */
.assets-locked {
    text-align: center;
    padding: 48px 36px;
    max-width: 480px;
    margin: 70px auto;
    background: linear-gradient(165deg, rgba(16, 22, 34, 0.96) 0%, rgba(6, 9, 15, 0.99) 100%);
    backdrop-filter: blur(36px);
    -webkit-backdrop-filter: blur(36px);
    border-radius: 32px;
    border: 1px solid rgba(0, 192, 118, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(0, 192, 118, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.assets-locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00c076, #00f0ff, #2962ff);
}
.al-icon-wrap {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.al-icon {
    width: 84px;
    height: 84px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(0, 192, 118, 0.15) 0%, rgba(41, 98, 255, 0.1) 100%);
    border: 1px solid rgba(0, 192, 118, 0.4);
    color: #00c076;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 0 32px rgba(0, 192, 118, 0.3);
    position: relative;
    z-index: 2;
}
.al-glow-ring {
    position: absolute;
    inset: -6px;
    border-radius: 30px;
    background: radial-gradient(circle, rgba(0, 192, 118, 0.3) 0%, transparent 70%);
    animation: pulse 2.5s infinite;
    z-index: 1;
}
.al-title {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.al-subtitle {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 24px;
}
.al-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}
.al-chip {
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit', sans-serif;
}
.al-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cta-btn, .al-login-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #00c076 0%, #008f56 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 24px rgba(0, 192, 118, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
    width: 100%;
}
.cta-btn:hover, .al-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 192, 118, 0.7);
    filter: brightness(1.1);
}
.al-reg-btn {
    padding: 14px 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.al-reg-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===== LOGOUT CONFIRMATION POPUP MODAL ===== */
.logout-card-popup {
    background: linear-gradient(165deg, rgba(20, 26, 40, 0.98) 0%, rgba(10, 14, 22, 0.99) 100%);
    border-radius: 28px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    padding: 32px 28px;
    width: 90%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 36px rgba(239, 68, 68, 0.25);
    position: relative;
    overflow: hidden;
}
.logout-card-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ef4444, #f97316);
}
.logout-icon-aura {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 18px;
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.25);
}
.logout-btn-cancel {
    padding: 12px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s ease;
}
.logout-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}
.logout-btn-confirm {
    padding: 12px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
    transition: all 0.2s ease;
}
.logout-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.6);
}

/* ===== ASSETS / DASHBOARD ===== */
.dashboard-container {
    max-width: 800px;
    margin: 30px auto;
    padding-bottom: 60px;
}
.balance-card {
    background: linear-gradient(135deg, var(--bg3), var(--bg4));
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}
.balance-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(76,175,80,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.bal-label {
    font-size: 13px;
    color: var(--text2);
    display: flex;
    align-items: center;
    gap: 6px;
}
.bal-val {
    font-size: 38px;
    font-weight: 800;
    color: var(--green);
    margin: 12px 0 6px;
    font-variant-numeric: tabular-nums;
}
.bal-btc {
    font-size: 14px;
    color: var(--text2);
    margin-bottom: 24px;
}
.bal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.bal-sub {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bal-sub-lbl {
    font-size: 11px;
    color: var(--text3);
}
.bal-sub-val {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}
.dash-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.dash-act-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--bg2);
    border: 1px solid var(--border);
    padding: 16px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.dash-act-btn:hover {
    border-color: var(--green);
    background: var(--bg3);
    transform: translateY(-2px);
}
.dash-act-btn i {
    font-size: 20px;
    color: var(--green);
}
.dash-act-btn span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text2);
}
.dash-panel {
    background: var(--bg2);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 20px;
}
.dash-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}
.dash-panel-title {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dash-panel-title i {
    color: var(--green);
}
.panel-close {
    cursor: pointer;
    font-size: 18px;
    color: var(--text3);
    transition: color 0.2s;
}
.panel-close:hover {
    color: var(--text);
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 12px;
    color: var(--text2);
    margin-bottom: 6px;
    font-weight: 500;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--green);
}
.qr-container {
    text-align: center;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    width: 140px;
    height: 140px;
    margin: 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.qr-container i {
    font-size: 90px;
    color: #111;
}
.wallet-address-copy {
    display: flex;
    gap: 8px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    cursor: pointer;
}
.wallet-address-copy span {
    font-family: monospace;
    font-size: 13px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--green2);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.submit-btn:hover {
    background: var(--green);
}
.submit-btn:active {
    transform: scale(0.98);
}
.my-miners-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.my-miner-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.my-miner-info {
    flex: 1;
}
.my-miner-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.my-miner-yield {
    font-size: 12px;
    color: var(--text2);
    margin-top: 4px;
}
.claim-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: var(--green2);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.claim-btn:hover {
    background: var(--green);
}
.kyc-badge {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}
.kyc-badge.unverified {
    background: rgba(239,83,80,0.1);
    color: var(--red);
}
.kyc-badge.verified {
    background: rgba(76,175,80,0.1);
    color: var(--green);
}
.kyc-badge.pending {
    background: rgba(240,185,11,0.1);
    color: var(--gold);
}

/* ===== TIER-1 INSTITUTIONAL AUTHENTICATION SUITE ===== */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 50px 20px;
    background: radial-gradient(circle at 50% 30%, rgba(0, 192, 118, 0.08) 0%, rgba(6, 8, 14, 0.98) 70%);
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(165deg, rgba(18, 24, 38, 0.95) 0%, rgba(8, 12, 20, 0.98) 100%);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border-radius: 28px;
    padding: 36px 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 192, 118, 0.12);
    position: relative;
    overflow: hidden;
}
.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00c076, #00f0ff);
}
.auth-back {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    font-family: 'Outfit', sans-serif;
}
.auth-back:hover {
    color: #ffffff;
    background: rgba(0, 192, 118, 0.12);
    border-color: rgba(0, 192, 118, 0.3);
}
.auth-logo {
    text-align: center;
    margin-bottom: 24px;
}
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.auth-form label {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
}
.auth-form input[type="email"],
.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="number"] {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.25s ease;
}
.auth-form input:focus {
    border-color: rgba(0, 192, 118, 0.5);
    box-shadow: 0 0 16px rgba(0, 192, 118, 0.25);
    background: #111a2e;
}
.auth-form input::placeholder {
    color: #64748b;
}
.pw-field {
    position: relative;
}
.pw-field input {
    width: 100%;
    padding-right: 46px;
}
.pw-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    font-size: 16px;
    transition: color 0.2s ease;
}
.pw-toggle:hover {
    color: #00c076;
}
.check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #94a3b8;
    margin: 8px 0 4px;
    cursor: pointer;
    font-weight: 500;
}
.check-label input {
    width: 16px;
    height: 16px;
    accent-color: #00c076;
    cursor: pointer;
}
.auth-submit {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #00c076 0%, #008f56 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 14px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 192, 118, 0.4);
    letter-spacing: 0.5px;
}
.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 192, 118, 0.6);
    filter: brightness(1.1);
}
.auth-submit:active {
    transform: scale(0.98);
}
.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
}
.auth-links a {
    color: #00c076;
    text-decoration: none;
    font-weight: 700;
}
.auth-links a:hover {
    text-decoration: underline;
}
.auth-note {
    text-align: center;
    font-size: 11px;
    color: #64748b;
    margin-top: 12px;
    line-height: 1.5;
}
.auth-note a {
    color: #94a3b8;
    text-decoration: underline;
}

.auth-trust-seal {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-align: center;
}

/* ===== LANGUAGE MODAL ===== */
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:300;display:none;align-items:center;justify-content:center;backdrop-filter:blur(6px)}
.modal-overlay.show{display:flex}
.lang-modal{background:var(--bg2);border-radius:20px;padding:12px;width:90%;max-width:380px;max-height:70vh;overflow-y:auto;border:1px solid var(--border)}
.lang-modal-title{padding:14px 16px 10px;font-size:16px;font-weight:600}
.lang-option{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:10px;cursor:pointer;font-size:14px;transition:.2s}
.lang-option:hover{background:var(--bg3)}
.lang-option.active{background:rgba(76,175,80,.12);color:var(--green)}
.lang-option img{width:22px;height:16px;border-radius:2px}

/* ===== BOTTOM NAV (mobile only) ===== */
.bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;height:64px;background:rgba(11,14,20,.95);backdrop-filter:blur(16px);border-top:1px solid var(--border);z-index:100;align-items:center;justify-content:space-around}
.bnav-item{display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer;padding:6px 0;width:60px;-webkit-tap-highlight-color:transparent;position:relative}
.bnav-item i{font-size:18px;color:var(--text3);transition:transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s}
.bnav-item span{font-size:10px;color:var(--text3);transition:color 0.3s, transform 0.3s;font-weight:500}
.bnav-item.active i{color:var(--green);animation:bnavBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards}
.bnav-item.active span{color:var(--green);font-weight:600}
.bnav-item.center{position:relative}
.center-btn{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#6b8f3a,#4caf50);display:flex;align-items:center;justify-content:center;position:absolute;top:-24px;box-shadow:0 4px 16px rgba(76,175,80,.4);border:3px solid var(--bg);transition:transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s}
.center-btn i{font-size:18px;color:#fff;transition:transform 0.3s}
.bnav-item.center.active .center-btn{transform:scale(1.1);box-shadow:0 6px 20px rgba(76,175,80,.6)}
.bnav-item.center.active .center-btn i{transform:rotate(15deg)}
.bnav-item.center span{margin-top:22px}

@keyframes bnavBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1.15); }
}

/* ===== TOAST ===== */
.toast{position:fixed;top:80px;left:50%;transform:translateX(-50%);background:var(--bg3);color:var(--text);padding:14px 28px;border-radius:12px;font-size:14px;border:1px solid var(--border);z-index:500;opacity:0;transition:.3s;pointer-events:none;box-shadow:0 8px 32px rgba(0,0,0,.5)}
.toast.show{opacity:1}

/* ===== RESPONSIVE ===== */
@media(max-width:900px){
  .contract-layout{grid-template-columns:1fr}
  .contract-right{position:static}
  .chart-box{height:320px}
}
@media(max-width:768px){
  html, body {
      overflow-x: hidden !important;
      width: 100% !important;
      max-width: 100vw !important;
      -webkit-overflow-scrolling: touch;
  }
  .desktop-nav{display:none}
  .hamburger{display:flex}
  .bottom-nav{display:flex}
  .main-content{padding-bottom:64px; overflow-x: hidden; width: 100%;}
  .hero-carousel{height:260px}
  .slide-inner{padding:24px 5%}
  .slide-visual{font-size:60px}
  .quick-actions{gap:12px;padding:16px 10px}
  .action-icon{width:44px;height:44px;font-size:18px;border-radius:12px}
  .hot-list{grid-template-columns:1fr}
  .market-grid{grid-template-columns:1fr}
  .miner-grid{grid-template-columns:1fr}
  .page-heading{flex-direction:column;align-items:stretch}
  .page-heading h1{font-size:20px}
  .search-wrap{min-width:unset}
  .contract-layout{padding-top:12px}
  .chart-box{height:280px}
  .carousel-arrow{display:none}
  .header-btn{display:none}
  .page { overflow-x: hidden; width: 100%; max-width: 100vw; }
  .container { overflow-x: hidden; max-width: 100%; }
  .auth-wrapper { padding: 20px 12px; min-height: auto; }
  .auth-card { padding: 24px 16px; max-width: 100%; }
  .dashboard-container { padding: 0 12px; margin: 16px auto; }
  .balance-card { padding: 18px 14px; }
  .bal-val { font-size: 26px; }
  .trade-panel { padding: 16px; }
  .contract-stats { gap: 12px; }
  .contract-big-price { font-size: 22px; }
  .contract-pair { font-size: 17px; }
  .auth-form input[type="email"],
  .auth-form input[type="text"],
  .auth-form input[type="password"],
  .auth-form input[type="number"],
  .form-group input,
  .form-group select {
      font-size: 16px !important;
  }
}
@media(max-width:480px){
  .dash-actions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .dash-act-btn {
    padding: 12px 6px !important;
  }
  .bal-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}
@media(max-width:400px){
  .hero-carousel{height:220px}
  .slide-text h2{font-size:20px}
  .action-item span{font-size:10px}
  .container{padding:0 12px}
}

/* ===== LOGGED IN DASHBOARD ===== */
.dashboard-container {
    max-width: 600px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.balance-card {
    background: linear-gradient(135deg, var(--bg3) 0%, #202735 100%);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.bal-label {
    font-size: 14px;
    color: var(--text2);
    font-weight: 500;
}
.kyc-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}
.kyc-badge.unverified {
    background: rgba(239,83,80,0.15);
    color: var(--red);
    border: 1px solid rgba(239,83,80,0.3);
}
.kyc-badge.pending {
    background: rgba(255,167,38,0.15);
    color: #ffa726;
    border: 1px solid rgba(255,167,38,0.3);
}
.kyc-badge.verified {
    background: rgba(76,175,80,0.15);
    color: var(--green);
    border: 1px solid rgba(76,175,80,0.3);
}
.bal-val {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 10px;
    letter-spacing: -0.5px;
    font-family: monospace;
}
.bal-btc {
    font-size: 14px;
    color: var(--text3);
    margin-top: 4px;
    font-family: monospace;
}
.bal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}
.bal-sub {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bal-sub-lbl {
    font-size: 12px;
    color: var(--text3);
}
.bal-sub-val {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    font-family: monospace;
}
.dash-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.dash-act-btn {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.dash-act-btn:hover {
    background: var(--bg2);
    border-color: var(--green);
    transform: translateY(-2px);
}
.dash-act-btn i {
    font-size: 20px;
    color: var(--green);
}
.dash-act-btn span {
    font-size: 12px;
    color: var(--text2);
    font-weight: 500;
}
.dash-panel {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}
.wallet-address-copy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg3);
    border: 1px solid var(--border);
    padding: 14px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 15px;
}
.wallet-address-copy:hover {
    border-color: var(--green);
    background: rgba(76,175,80,0.05);
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.form-group label {
    font-size: 13px;
    color: var(--text2);
    font-weight: 500;
}
.form-group input, .form-group select {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--green);
    outline: none;
}
.submit-btn {
    width: 100%;
    background: var(--green);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.submit-btn:hover {
    opacity: 0.9;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== MOST HOT & MOST VOLATILE TODAY COIN BUTTON GRIDS ===== */
.coin-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}
.coin-btn {
    background: #121824;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.coin-btn:hover {
    background: #182232;
    border-color: rgba(0, 192, 118, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.coin-btn.volatile:hover {
    border-color: rgba(255, 152, 0, 0.5);
}
.cb-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.cb-icon.btc { color: #ff9800; background: rgba(255, 152, 0, 0.1); border-color: rgba(255, 152, 0, 0.25); }
.cb-icon.eth { color: #627eea; background: rgba(98, 126, 234, 0.1); border-color: rgba(98, 126, 234, 0.25); }
.cb-icon.sol { color: #00f0ff; background: rgba(0, 240, 255, 0.1); border-color: rgba(0, 240, 255, 0.25); }
.cb-icon.bnb { color: #f3ba2f; background: rgba(243, 186, 47, 0.1); border-color: rgba(243, 186, 47, 0.25); }
.cb-icon.xrp { color: #23292f; background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.3); }
.cb-icon.doge { color: #c2a633; background: rgba(194, 166, 51, 0.1); border-color: rgba(194, 166, 51, 0.25); }
.cb-icon.pepe { color: #4caf50; background: rgba(76, 175, 80, 0.1); border-color: rgba(76, 175, 80, 0.25); }
.cb-icon.sui { color: #29b6f6; background: rgba(41, 182, 246, 0.1); border-color: rgba(41, 182, 246, 0.25); }
.cb-icon.near { color: #ffffff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); }
.cb-icon.avax { color: #e84142; background: rgba(232, 65, 66, 0.1); border-color: rgba(232, 65, 66, 0.25); }
.cb-icon.arb { color: #28a0f0; background: rgba(40, 160, 240, 0.1); border-color: rgba(40, 160, 240, 0.25); }
.cb-icon.shib { color: #ffa726; background: rgba(255, 167, 38, 0.1); border-color: rgba(255, 167, 38, 0.25); }

.cb-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.cb-symbol {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cb-price {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    font-family: 'SF Pro Mono', monospace;
    margin-top: 2px;
}
.cb-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'SF Pro Mono', monospace;
    white-space: nowrap;
}
.cb-badge.pos {
    background: rgba(0, 192, 118, 0.14);
    color: #00c076;
    border: 1px solid rgba(0, 192, 118, 0.3);
}
.cb-badge.pos-high {
    background: rgba(255, 152, 0, 0.14);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.35);
}
.cb-badge.neg {
    background: rgba(239, 68, 68, 0.14);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ===== FAQ ACCORDION ===== */
.faq-accordion {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: #121824;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    transition: all 0.25s ease;
    cursor: pointer;
}
.faq-item[open] {
    background: #182232;
    border-color: rgba(41, 98, 255, 0.35);
}
.faq-question {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
    font-size: 13px;
    color: #64748b;
    transition: transform 0.25s ease;
}
.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: #00c076;
}
.faq-answer {
    margin-top: 14px;
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}

/* ===== INSTITUTIONAL FOOTER ===== */
.inst-footer {
    background: #07090e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0 30px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-brand-txt, .brand-name-txt {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}
.footer-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 320px;
}
.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #00c076;
    font-family: 'SF Pro Mono', monospace;
    background: rgba(0, 192, 118, 0.08);
    border: 1px solid rgba(0, 192, 118, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
}
.footer-heading {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #00c076;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}
.footer-copy {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}
.footer-disclaimer {
    font-size: 11px;
    color: #475569;
    max-width: 780px;
    line-height: 1.5;
}

/* ===== MARKET OVERVIEW HEADER BAR & CONTROLS ===== */
.market-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.mhb-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.live-beacon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    color: #00c076;
    background: rgba(0, 192, 118, 0.1);
    border: 1px solid rgba(0, 192, 118, 0.3);
    padding: 3px 10px;
    border-radius: 12px;
    font-family: 'SF Pro Mono', monospace;
    letter-spacing: 0.5px;
    margin-left: 10px;
}
.beacon-dot {
    width: 6px;
    height: 6px;
    background: #00c076;
    border-radius: 50%;
    box-shadow: 0 0 8px #00c076;
    animation: pulse 1.2s infinite;
}
.market-category-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px;
    border-radius: 14px;
}
.mcat-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s ease;
}
.mcat-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}
.mcat-btn.active {
    background: #1e293b;
    color: #00c076;
    border: 1px solid rgba(0, 192, 118, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mhb-right {
    display: flex;
    align-items: center;
}
.market-search-box {
    position: relative;
    display: flex;
    align-items: center;
}
.market-search-box .search-icon {
    position: absolute;
    left: 14px;
    font-size: 13px;
    color: #64748b;
    pointer-events: none;
}
.market-search-box input {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 10px 16px 10px 38px;
    font-size: 13px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    width: 260px;
    transition: all 0.25s ease;
    outline: none;
}
.market-search-box input:focus {
    border-color: rgba(0, 192, 118, 0.5);
    box-shadow: 0 0 16px rgba(0, 192, 118, 0.2);
    width: 290px;
}
.market-search-box input::placeholder {
    color: #64748b;
}

/* ===== LIVE SUPPORT CHAT STYLES ===== */
.chat-modal {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 440px;
    height: 580px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(0, 192, 118, 0.15);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

.chat-header {
    background: #090d16;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 192, 118, 0.15);
    color: #00c076;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 1px solid rgba(0, 192, 118, 0.3);
}

.chat-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px 0;
    font-family: 'Outfit', sans-serif;
}

.chat-status {
    font-size: 12px;
    color: #00c076;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #00c076;
    border-radius: 50%;
    box-shadow: 0 0 8px #00c076;
}

.chat-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: color 0.2s;
}

.chat-close-btn:hover {
    color: #ffffff;
}

.chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #0b0f19;
}

.chat-welcome-notice {
    text-align: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    margin-bottom: 8px;
}

.chat-welcome-notice i {
    font-size: 28px;
    color: #00c076;
    margin-bottom: 8px;
}

.chat-welcome-notice p {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
}

.msg-row {
    display: flex;
    flex-direction: column;
    max-width: 82%;
}

.msg-row.user {
    align-self: flex-end;
}

.msg-row.agent, .msg-row.system {
    align-self: flex-start;
}

.msg-row.system {
    max-width: 90%;
    align-self: center;
}

.msg-sender-name {
    font-size: 10px;
    color: #64748b;
    margin-bottom: 3px;
    padding: 0 4px;
    font-weight: 600;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.45;
    word-break: break-word;
}

.msg-row.user .msg-bubble {
    background: linear-gradient(135deg, #00c076, #00995e);
    color: #ffffff;
    border-bottom-right-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 192, 118, 0.25);
}

.msg-row.agent .msg-bubble {
    background: #1e293b;
    color: #f8fafc;
    border: 1px solid #334155;
    border-bottom-left-radius: 2px;
}

.msg-row.system .msg-bubble {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-size: 12px;
    text-align: center;
    border-radius: 8px;
}

.msg-time {
    font-size: 9px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    text-align: right;
}

.chat-footer {
    padding: 12px 16px;
    background: #090d16;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-footer input {
    flex: 1;
    background: #141b2d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-footer input:focus {
    border-color: #00c076;
}

.chat-send-btn {
    background: #00c076;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-send-btn:hover {
    background: #00e08a;
    box-shadow: 0 0 12px rgba(0, 192, 118, 0.4);
}

