/* NovaHunt Theme v2 — pixel/space vibe */
:root {
    --bg: #0b0e16;
    --bg2: #0f1424;
    --card: #0d1320;
    --border: #1e2a3d;
    --text: #e6edf7;
    --muted: #9fb0c9;
    --accent: #21e6a2;
    --accent2: #7cf1ff;
    --warning: #ffd166;
    --danger: #ff6b6b;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
    background:
        radial-gradient(1200px 600px at 20% -10%, #1e2342 0%, transparent 60%),
        radial-gradient(1000px 500px at 100% 20%, #141b31 0%, transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
    color: var(--text);
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px
}

/* Top nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(6px);
    background: linear-gradient(180deg, rgba(11, 14, 22, .9), rgba(11, 14, 22, .6));
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: .5px;
}

.brand img {
    height: 30px;
    width: auto;
    border-radius: 6px
}

.nav a {
    color: var(--text);
    text-decoration: none;
    opacity: .9;
    transition: opacity .15s
}

.nav a:hover {
    opacity: 1
}

.menu {
    display: flex;
    gap: 16px;
    align-items: center
}

.cta {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #04121a;
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow)
}

.cta:active {
    transform: translateY(1px)
}

/* Hero & cards */
.hero {
    margin: 28px auto 14px;
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

.card {
    background: linear-gradient(180deg, rgba(33, 38, 65, .35), rgba(20, 25, 42, .65));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 6px 0;
    font-size: 28px
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    background: #0a2a22;
    color: #7cf1c9;
    border: 1px solid #1a644f
}

.sub {
    color: var(--muted)
}

.kv {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #b9c7dd;
    flex-wrap: wrap
}

.kv .pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: #09131f;
    color: #dce9ff;
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 12px;
    font-weight: 700;
}

.pill .copy {
    background: var(--accent);
    color: #04121a;
    border: none;
    border-radius: 8px;
    padding: 4px 8px;
    cursor: pointer;
    font-weight: 800
}

.pill small {
    color: #6881a6;
    font-weight: 600
}

/* Sections & tables */
.section-title {
    font-size: 20px;
    margin: 6px 0 12px
}

.table {
    width: 100%;
    border-collapse: collapse
}

.table th,
.table td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--border)
}

.table th {
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .8px
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between
}

/* Queue widget */
.queue {
    background: #0a1220;
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 12px;
}

.queue .status {
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
}

.queue .open {
    background: #0f2e1f;
    color: #7cf1c9;
    border: 1px solid #1a644f
}

.queue .closed {
    background: #2a0f12;
    color: #ff9aa7;
    border: 1px solid #6a1a22
}

.queue .bar {
    position: relative;
    height: 8px;
    background: #0c1a2a;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
    border: 1px solid var(--border)
}

.queue .bar>i {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transition: width .4s ease
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    color: var(--muted);
    margin-top: 32px
}

/* Links */
a {
    color: #97e7ff
}

/* Empty state */
.empty {
    color: var(--muted);
    padding: 12px 4px
}