:root {
    --bg-body: #05080c;
    --bg-header: #0b101a;
    --bg-card: #111621;
    --primary: #F0B90B;
    --accent: #00f3ff;
    --text-main: #eef2f6;
    --text-sec: #8b9bb4;
    --border: #1e2636;
    --link: #00f3ff;
}

body {
    background-color: var(--bg-body);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    margin: 0;
    padding: 0;
}

/* NAVBAR */
header {
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
}

.nav-links a {
    color: var(--text-sec);
    text-decoration: none;
    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-btn {
    text-decoration: none;
    color: var(--text-sec);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: 0.2s;
}

.nav-btn:hover {
    color: var(--primary);
    background: rgba(240, 185, 11, 0.1);
    border-color: rgba(240, 185, 11, 0.2);
}

/* SEARCH HERO */
.hero {
    background: linear-gradient(180deg, var(--bg-header) 0%, var(--bg-body) 100%);
    padding: 60px 40px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-title {
    font-size: 24px;
    font-weight: 600;
}

.search-box {
    width: 100%;
    max-width: 800px;
    position: relative;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    padding: 6px;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 12px;
    outline: none;
    font-size: 15px;
}

.search-btn {
    background: var(--primary);
    color: black;
    border: none;
    padding: 0 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* STATS GRID */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.stat-label {
    color: var(--text-sec);
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-val {
    font-size: 20px;
    font-weight: 600;
    font-family: 'IBM Plex Mono', monospace;
}

/* FEED SECTION */
.feed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feed-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.card-head {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 15px;
}

.list-row {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.list-row:last-child {
    border-bottom: none;
}

.row-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 16px;
    flex-shrink: 0;
}

.row-left {
    display: flex;
    align-items: center;
}

.row-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.link {
    color: var(--link);
    cursor: pointer;
}

.meta-dim {
    color: var(--text-sec);
    font-size: 12px;
}

.badge {
    background: rgba(14, 203, 129, 0.1);
    color: #0ecb81;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

/* MOBILE */
@media(max-width: 900px) {

    .stats-grid,
    .feed-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}