
:root {
    --primary: #0F2878;
    --primary-light: #1E3A8A;
    --primary-glow: rgba(30,58,138,0.15);
    --accent-up: #00C076;
    --accent-down: #FF3B3B;
    --accent-up-bg: rgba(0,192,118,0.08);
    --accent-down-bg: rgba(255,59,59,0.08);
    --gold: #F59E0B;
    --gold-bg: rgba(245,158,11,0.08);
    --bg: #F0F4FF;
    --surface: #FFFFFF;
    --surface2: #F8FAFF;
    --border: rgba(15,40,120,0.10);
    --text: #0F1B3D;
    --text2: #4A5578;
    --text3: #8892B0;
    --shadow: 0 2px 20px rgba(15,40,120,0.08);
    --shadow-lg: 0 8px 40px rgba(15,40,120,0.14);
    --radius: 14px;
    --radius-sm: 8px;
    --mono: 'JetBrains Mono', monospace;
    --nav-h: 68px;
}
[data-theme="dark"] {
    --bg: #060D1F;
    --surface: #0D1B38;
    --surface2: #111F42;
    --border: rgba(255,255,255,0.07);
    --text: #E8EEFF;
    --text2: #8892B0;
    --text3: #556080;
    --shadow: 0 2px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --primary-glow: rgba(30,58,138,0.25);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background .3s, color .3s;
    padding-bottom: 0;
}
/* NAV */
.pickei-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    height: var(--nav-h);
}
.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
    padding: 0 24px;
}
.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-light);
    letter-spacing: -0.5px;
    text-decoration: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-dot {
    color: var(--gold);
}
.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon i {
    color: #fff;
    font-size: 16px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    list-style: none;
}
.nav-links a {
    color: var(--text2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary-light);
    background: var(--primary-glow);
}
.nav-search {
    position: relative;
    flex-shrink: 0;
}
.nav-search input {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 8px 16px 8px 40px;
    font-size: 13.5px;
    color: var(--text);
    width: 200px;
    font-family: inherit;
    outline: none;
    transition: all .2s;
}
.nav-search input:focus {
    width: 260px;
    border-color: var(--primary-light);
}
.nav-search input::placeholder {
    color: var(--text3);
}
.nav-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text3);
    font-size: 14px;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.btn-dark-toggle {
    background: var(--surface2);
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
    transition: all .2s;
}
.btn-dark-toggle:hover {
    color: var(--primary-light);
    border-color: var(--primary-light);
}
.btn-login {
    background: transparent;
    border: 1.5px solid var(--primary-light);
    color: var(--primary-light);
    padding: 7px 18px;
    border-radius: 24px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
}
.btn-login:hover {
    background: var(--primary-glow);
}
.btn-register {
    background: var(--primary-light);
    border: none;
    color: #fff;
    padding: 7px 18px;
    border-radius: 24px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
}
.btn-register:hover {
    background: var(--primary);
}
/* TICKER */
.ticker-bar {
    background: var(--primary-light);
    color: rgba(255,255,255,0.9);
    font-size: 12.5px;
    font-weight: 500;
    overflow: hidden;
    height: 32px;
    display: flex;
    align-items: center;
}
.ticker-scroll {
    display: flex;
    gap: 48px;
    animation: scroll-ticker 40s linear infinite;
    white-space: nowrap;
    padding: 0 24px;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ticker-item .up {
    color: #4DFFAA;
}
.ticker-item .dn {
    color: #FF8888;
}
@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* MAIN */
.main-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 24px;
}
/* HERO CARDS */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-bottom: 28px;
}
.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.hero-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.hero-card-bg {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.06;
}
.hero-card.gold .hero-card-bg {
    background: var(--gold);
}
.hero-card.fuel .hero-card-bg {
    background: #3B82F6;
}
.hero-card.stock .hero-card-bg {
    background: var(--accent-up);
}
.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.card-icon.gold {
    background: var(--gold-bg);
    color: var(--gold);
}
.card-icon.fuel {
    background: rgba(59,130,246,0.1);
    color: #3B82F6;
}
.card-icon.stock {
    background: var(--accent-up-bg);
    color: var(--accent-up);
}
.live-dot {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--accent-up);
    font-weight: 600;
}
.live-dot::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-up);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .5;
        transform: scale(1.3);
    }
}
.gold-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gold-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gold-type {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.gold-prices {
    display: flex;
    gap: 16px;
}
.gold-price-col {
    text-align: right;
}
.gold-price-label {
    font-size: 10px;
    color: var(--text3);
    font-weight: 500;
}
.gold-price-val {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.badge-change {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    font-family: var(--mono);
}
.badge-up {
    background: var(--accent-up-bg);
    color: var(--accent-up);
}
.badge-dn {
    background: var(--accent-down-bg);
    color: var(--accent-down);
}
.badge-flat {
    background: rgba(136,146,176,0.1);
    color: var(--text3);
}
.fuel-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.fuel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fuel-name {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fuel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.fuel-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.fuel-right {
    text-align: right;
}
.fuel-price {
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}
.fuel-unit {
    font-size: 10px;
    color: var(--text3);
}
.fuel-update {
    font-size: 11px;
    color: var(--text3);
    margin-top: 12px;
}
.stock-indexes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.stock-idx-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.idx-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}
.idx-val {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}
.mini-chart-wrap {
    height: 48px;
    margin-top: 14px;
}
/* SECTION CHART */
.section-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 20px;
    background: var(--primary-light);
    border-radius: 2px;
}
.tab-pills {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.tab-pill {
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text2);
    font-family: inherit;
    transition: all .2s;
}
.tab-pill.active, .tab-pill:hover {
    background: var(--primary-light);
    color: #fff;
    border-color: var(--primary-light);
}
.period-pills {
    display: flex;
    gap: 4px;
}
.period-pill {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text3);
    font-family: inherit;
    transition: all .15s;
}
.period-pill.active {
    background: var(--primary-glow);
    color: var(--primary-light);
    border-color: var(--primary-light);
}
.chart-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.chart-wrap {
    position: relative;
    height: 280px;
}
/* TABLE */
.fin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.fin-table thead th {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
}
.fin-table thead th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}
.fin-table thead th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}
.fin-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.fin-table tbody tr:hover {
    background: var(--surface2);
}
.fin-table tbody td {
    padding: 13px 16px;
    font-size: 13.5px;
    color: var(--text);
    vertical-align: middle;
}
.fin-table td.num {
    font-family: var(--mono);
    font-weight: 600;
}
.fin-table td.up {
    color: var(--accent-up);
    font-weight: 700;
}
.fin-table td.dn {
    color: var(--accent-down);
    font-weight: 700;
}
.table-mini-chart {
    height: 32px;
    width: 80px;
}
/* NEWS */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}
.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
    display: block;
    color: inherit;
    text-decoration: none;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.news-img {
    height: 140px;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.news-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-img-illustration {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.news-img-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: flex-start;
    pointer-events: none;
}
.news-img-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--news-accent, var(--primary-light)) 14%, white);
    color: var(--news-accent, var(--primary-light));
    border: 1px solid color-mix(in srgb, var(--news-accent, var(--primary-light)) 30%, white);
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.news-body {
    padding: 14px;
}
.news-source {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.news-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-time {
    font-size: 11px;
    color: var(--text3);
}
/* TOP STOCKS */
.top-stock-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.top-stock-tab {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    color: var(--text2);
    background: transparent;
    font-family: inherit;
    transition: all .2s;
}
.top-stock-tab.active {
    background: var(--primary-light);
    color: #fff;
    border-color: var(--primary-light);
}
.stock-mini-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.stock-mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: background .15s;
}
.stock-mini-row:hover {
    background: var(--surface2);
}
.stock-rank {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--primary-glow);
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stock-ticker {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    width: 50px;
}
.stock-exchange {
    font-size: 10px;
    color: var(--text3);
}
.stock-price-col {
    text-align: right;
    flex: 1;
}
.stock-price {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.stock-vol {
    font-size: 11px;
    color: var(--text3);
}
/* TWO COL */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.three-col {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
/* REFRESH INDICATOR */
.refresh-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.page-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
}
.refresh-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    color: var(--text3);
}
.refresh-countdown {
    display: flex;
    align-items: center;
    gap: 6px;
}
.progress-ring {
    width: 24px;
    height: 24px;
    transform: rotate(-90deg);
}
.progress-ring circle {
    transition: stroke-dashoffset 1s linear;
}
/* BOTTOM NAV (mobile) */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 10px 0;
    z-index: 999;
}
.bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text3);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 16px;
    border-radius: var(--radius-sm);
    transition: all .2s;
}
.bnav-item.active {
    color: var(--primary-light);
}
.bnav-item i {
    font-size: 20px;
}
/* SKELETON */
.skeleton {
    background: linear-gradient(90deg, var(--surface2) 25%, var(--border) 50%, var(--surface2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
}
@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
/* RESPONSIVE */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    .three-col {
        grid-template-columns: 1fr 1fr;
    }
    .nav-links {
        display: none;
    }
}
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    .two-col {
        grid-template-columns: 1fr;
    }
    .three-col {
        grid-template-columns: 1fr;
    }
    .nav-search {
        display: none;
    }
    .btn-login {
        display: none;
    }
    .bottom-nav {
        display: flex;
    }
    .main-wrap {
        padding: 16px;
    }
}
@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}
/* UTIL */
.text-up {
    color: var(--accent-up);
}
.text-dn {
    color: var(--accent-down);
}
.mono {
    font-family: var(--mono);
}
.divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-sm);
}
.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
}
.tag-hose {
    background: rgba(59,130,246,.12);
    color: #3B82F6;
}
.tag-hnx {
    background: rgba(139,92,246,.12);
    color: #8B5CF6;
}
.tag-upcom {
    background: rgba(245,158,11,.12);
    color: #F59E0B;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.pickei-footer {
    background: var(--primary);
    color: #c8d4f0;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}
.pickei-footer::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}
.pickei-footer::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 10%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.025);
    pointer-events: none;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 24px 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}
.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-icon i {
    color: #fff;
    font-size: 17px;
}
.footer-logo-dot {
    color: var(--gold);
}
.footer-tagline {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(200,212,240,0.75);
    margin-bottom: 22px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(200,212,240,0.8);
    text-decoration: none;
    font-size: 15px;
    transition: background .2s, color .2s, transform .2s;
}
.social-btn:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
    transform: translateY(-2px);
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(200,212,240,0.5);
    margin-bottom: 14px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 9px;
}
.footer-col ul li a {
    color: rgba(200,212,240,0.8);
    text-decoration: none;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .2s;
}
.footer-col ul li a i {
    font-size: 12px;
    opacity: 0.6;
}
.footer-col ul li a:hover {
    color: #fff;
}
.footer-col ul li a:hover i {
    opacity: 1;
}
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin: 0;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 24px;
    flex-wrap: wrap;
}
.footer-note {
    font-size: 12px;
    color: rgba(200,212,240,0.5);
    display: flex;
    align-items: center;
}
.footer-copy {
    font-size: 12.5px;
    color: rgba(200,212,240,0.55);
    text-align: center;
}
.footer-copy strong {
    color: rgba(200,212,240,0.85);
}
.footer-badges {
    display: flex;
    gap: 8px;
}
.footer-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    padding: 4px 11px;
    font-size: 11.5px;
    color: rgba(200,212,240,0.65);
}
.footer-badge i {
    font-size: 11px;
    color: var(--accent-up);
}
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .footer-bottom .footer-note {
        justify-content: center;
    }
}
@media (max-width: 560px) {
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}
/* dark mode: footer stays dark (already dark bg) */
[data-theme="dark"] .pickei-footer {
    background: #050c1e;
}

/* HOME PAGE REFINEMENT */
.home-hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px;
    margin-bottom: 24px;
}
.home-hero-copy,
.home-hero-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 6px);
    box-shadow: var(--shadow);
}
.home-hero-copy {
    padding: 34px 34px 32px;
    background:
        radial-gradient(circle at top left, rgba(245,158,11,0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(30,58,138,0.14), transparent 36%),
        var(--surface);
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(15,40,120,0.06);
    color: var(--primary-light);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.home-hero-title {
    max-width: 780px;
    margin-bottom: 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: var(--text);
}
.home-hero-text {
    max-width: 720px;
    margin-bottom: 22px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text2);
}
.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 152px;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: transform .18s, box-shadow .18s, background .18s;
}
.hero-cta:hover {
    transform: translateY(-1px);
}
.hero-cta.primary {
    background: var(--primary-light);
    color: #fff;
    box-shadow: 0 14px 28px rgba(30,58,138,0.18);
}
.hero-cta.secondary {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
}
.home-hero-panel {
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(15,40,120,0.02), transparent),
        var(--surface);
}
.hero-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text3);
}
.hero-panel-live {
    color: var(--accent-up);
}
.hero-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.hero-stat-card {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface2);
}
.hero-stat-label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.hero-stat-value {
    display: block;
    font-family: var(--mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}
.hero-stat-change {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
}
.hero-stat-change.up {
    color: var(--accent-up);
}
.hero-stat-change.dn {
    color: var(--accent-down);
}
.hero-stat-change.flat {
    color: var(--text3);
}
.text-flat {
    color: var(--text3);
}
.stock-exchange {
    margin-top: 2px;
    font-size: 11px;
    color: var(--text3);
}
.news-card-empty {
    grid-column: 1 / -1;
}
.news-card-empty .news-body {
    padding: 18px;
}
.page-subtitle {
    margin-top: 6px;
    max-width: 720px;
    font-size: 13.5px;
    color: var(--text2);
    line-height: 1.7;
}
.refresh-btn {
    background: var(--primary-glow);
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.hero-muted-label {
    font-size: 11px;
    color: var(--text3);
}
.hero-card-link {
    margin-top: 12px;
    text-align: right;
}
.hero-card-link a {
    color: var(--primary-light);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}
.hero-divider {
    margin: 10px 0;
}
.section-emphasis {
    background:
        linear-gradient(180deg, rgba(15,40,120,0.015), transparent),
        var(--surface);
}
.section-stack {
    margin-bottom: 24px;
}
.compact-card {
    padding: 22px;
}
.spotlight-card {
    background:
        radial-gradient(circle at top right, rgba(0,192,118,0.08), transparent 32%),
        var(--surface);
}
.table-meta {
    font-size: 11.5px;
    color: var(--text3);
}
.news-shell {
    background:
        radial-gradient(circle at top left, rgba(30,58,138,0.05), transparent 28%),
        var(--surface);
}

@media (max-width: 992px) {
    .home-hero {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }
    .home-hero-copy,
    .home-hero-panel {
        padding: 22px;
    }
    .refresh-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .refresh-info {
        flex-wrap: wrap;
    }
}
@media (max-width: 480px) {
    .home-hero-title {
        font-size: 30px;
    }
    .hero-stat-grid {
        grid-template-columns: 1fr;
    }
}
