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

:root {
    --bg: #080d0b;
    --panel: #101814;
    --panel2: #141e18;
    --green: #8cff35;
    --text: #f1f5f0;
    --muted: #849187;
    --border: #243329;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

.topbar {
    min-height: 85px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: #0b110e;
}

.brand { display: flex; align-items: center; gap: 13px; }

.brand-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--green);
    color: #071006;
    font-size: 29px;
    font-weight: 900;
    box-shadow: 0 0 25px #8cff3540;
}

.brand h1 { font-size: 22px; letter-spacing: 1px; }
.brand h1 span, footer span { color: var(--green); }
.brand small { color: var(--muted); font-size: 9px; letter-spacing: 2px; }

nav { display: flex; gap: 30px; }
nav a { color: var(--muted); text-decoration: none; font-size: 13px; }
nav a:hover, nav a.active { color: var(--green); }

.status {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.status i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}

.container { max-width: 1400px; margin: auto; padding: 55px 6%; }

.welcome {
    min-height: 285px;
    padding: 45px 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border: 1px solid #29402e;
    border-radius: 18px;
    background: radial-gradient(ellipse at 85% 50%, #24451e 0%, #142218 35%, #101814 75%);
}

.eyebrow {
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.welcome h2 { font-size: clamp(35px, 5vw, 58px); line-height: 1.12; font-weight: 900; }
.welcome h2 span { color: var(--green); }
.subtitle { color: var(--muted); margin-top: 17px; font-size: 14px; }

.welcome-symbol {
    width: 190px;
    height: 190px;
    border: 2px solid #8cff3540;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #8cff35;
    font-size: 120px;
    font-weight: 900;
    text-shadow: 0 0 35px #8cff35;
    box-shadow: 0 0 65px #8cff3515, inset 0 0 50px #8cff3510;
    transform: rotate(-12deg);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
    margin: 28px 0 55px;
}

.stat-card, .panel, .coin-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 13px;
}

.stat-card { padding: 24px; }
.stat-card > span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.stat-card strong { display: block; font-size: 31px; margin: 14px 0 8px; }
.stat-card strong small { font-size: 13px; color: var(--green); }
.stat-card p { color: var(--muted); font-size: 11px; }

.section { margin-bottom: 55px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; }
.section-heading h2, .panel h2, .connect h2 { font-size: 23px; }

.badge {
    color: var(--green);
    border: 1px solid #42652d;
    border-radius: 20px;
    padding: 8px 13px;
    font-size: 10px;
    font-weight: 700;
}

.coin-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

.coin-card {
    padding: 24px 18px;
    text-align: center;
    transition: .25s;
}

.coin-card:hover {
    border-color: var(--green);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px #8cff3510;
}

.coin-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 17px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 25px;
    font-weight: 900;
}

.bch { background: #8cff3520; color: #8cff35; }
.bch2 { background: #35b8ff20; color: #35b8ff; font-size: 17px; }
.btc { background: #ffad3520; color: #ffad35; }
.dgb { background: #3585ff20; color: #3585ff; }
.xec { background: #d9c34b20; color: #d9c34b; }

.coin-card h3 { font-size: 13px; margin-bottom: 6px; }
.coin-card > p { color: var(--muted); font-size: 11px; margin-bottom: 17px; }

.coin-status {
    color: #d6b65c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .7px;
}

.lower-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }

.panel { padding: 27px; }
.chart-placeholder {
    height: 230px;
    margin-top: 24px;
    border: 1px dashed #344b37;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
    background: linear-gradient(180deg, #8cff3508, transparent);
}

.empty-state {
    height: 230px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 12px;
}

.connect {
    margin-top: 35px;
    padding: 35px;
    border: 1px solid #42652d;
    border-radius: 14px;
    background: linear-gradient(100deg, #142219, #101814);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.connect p:not(.eyebrow) { color: var(--muted); font-size: 12px; margin-top: 10px; }
.connect-label { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 1px; }

footer {
    text-align: center;
    padding: 35px 15px;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

footer strong { color: white; letter-spacing: 2px; }
footer p { font-size: 12px; margin: 10px 0; }
footer small { font-size: 10px; }

@media (max-width: 950px) {
    nav { gap: 14px; }
    .coin-grid { grid-template-columns: repeat(3, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .topbar { padding: 18px 5%; flex-wrap: wrap; gap: 18px; }
    nav { order: 3; width: 100%; overflow-x: auto; padding: 8px 0; }
    .status { margin-left: auto; }
    .container { padding: 30px 5%; }
    .welcome { padding: 30px 24px; min-height: 240px; }
    .welcome-symbol { width: 90px; height: 90px; font-size: 55px; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat-card { padding: 16px; }
    .stat-card strong { font-size: 24px; }
    .coin-grid { grid-template-columns: repeat(2, 1fr); }
    .lower-grid { grid-template-columns: 1fr; }
    .connect { align-items: flex-start; flex-direction: column; }
}

.powered {
    margin: 18px 0 12px;
    text-align: center;
    color: #849187;
    font-size: 12px;
    letter-spacing: 1.5px;
}

.powered span {
    color: #8cff35;
    font-weight: 800;
    text-shadow: 0 0 12px #8cff3560;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
    text-align: left;
}

th {
    padding: 18px 14px;
    color: var(--green);
    font-size: 10px;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border);
}

td {
    padding: 20px 14px;
    color: var(--text);
    font-size: 12px;
    border-bottom: 1px solid var(--border);
}

tbody tr:hover {
    background: #8cff3508;
}

.table-coin {
    display: inline-block;
    min-width: 48px;
    color: var(--green);
    font-weight: 800;
}

.waiting {
    color: #d6b65c;
    font-size: 10px;
    font-weight: 800;
}

.table-note {
    color: var(--muted);
    font-size: 11px;
    margin-top: 22px;
}

.section-heading .subtitle {
    margin-top: 10px;
}

.coin-select {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.coin-select a {
    text-decoration: none;
    color: var(--green);
    border: 1px solid #42652d;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 12px;
    font-weight: 800;
    transition: .2s;
}

.coin-select a:hover {
    background: var(--green);
    color: #071006;
}

.instruction-panel {
    margin-top: 20px;
    scroll-margin-top: 25px;
}

.instruction-panel h2 {
    margin-bottom: 22px;
}

.config-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 5px;
    border-top: 1px solid var(--border);
    font-size: 12px;
}

.config-row span {
    color: var(--muted);
}

.config-row strong {
    color: var(--green);
    text-align: right;
    font-size: 11px;
}

@media(max-width: 600px) {
    .config-row {
        flex-direction: column;
        gap: 8px;
    }

    .config-row strong {
        text-align: left;
    }
}

/* BOSNIAPOOL live coin status */

.coin-live-details {
    color: var(--muted);
    font-size: 10px;
    margin-top: 10px;
    line-height: 1.6;
}

.coin-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 20px;
    background: #d6b65c15;
    color: #e8c65c;
}

.coin-status.ready {
    color: #8cff35;
    background: #8cff3518;
}

.coin-status.syncing {
    color: #ffc857;
    background: #ffc85718;
}

.coin-status.stopped {
    color: #9299a3;
    background: #9299a318;
}

.coin-status.offline {
    color: #ff6464;
    background: #ff646418;
}

.coin-progress {
    height: 7px;
    width: 100%;
    margin-top: 12px;
    background: #263329;
    border-radius: 10px;
    overflow: hidden;
}

.coin-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #65bd25, #a6ff52);
    border-radius: 10px;
    transition: width .6s ease;
}

.coin-updated {
    color: var(--muted);
    font-size: 9px;
    margin-top: 14px;
    text-align: center;
}
