@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #040406;
    --bg2: #09090d;
    --panel: rgba(10, 10, 16, 0.96);
    --panel-2: rgba(12, 12, 18, 0.96);

    /* 🔵 BLUE (was orange) */
    --border: rgba(60, 140, 255, 0.16);
    --border-soft: rgba(255, 255, 255, 0.06);
    --accent: #3c8cff;
    --accent-2: #5aa2ff;

    --text: #f2f2f2;
    --muted: #7d7f8b;
}

html, body {
    min-height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(10, 28, 60, 0.45) 0%, rgba(10, 6, 8, 0.88) 32%, rgba(3, 4, 7, 1) 100%),
        #050507;
    overflow-x: hidden;
}

.page-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.28;
    pointer-events: none;
}

.page-wrap {
    position: relative;
    z-index: 1;
    max-width: 1040px;
    margin: 0 auto;
    padding: 44px 28px 60px;
}

.back-link {
    display: inline-block;
    margin-bottom: 26px;
    text-decoration: none;
    color: #8a8d97;
    font-size: 11px;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--accent);
}

.hero {
    text-align: center;
    padding: 10px 0 34px;
}

.brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 60px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 0.95;
    color: #f1f1f1;
}

.brand::first-letter {
    color: var(--accent);
}

.brand-sub {
    margin-top: 10px;
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 0.45em;
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 18px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 86px;
    font-weight: 800;
    line-height: 0.88;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.hero p {
    margin-top: 22px;
    color: #6f7685;
    font-size: 16px;
}

.stat-card,
.search-panel,
.results-panel {
    background: linear-gradient(180deg, rgba(8, 8, 12, 0.98) 0%, rgba(8, 8, 14, 0.98) 100%);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 96px;
    margin-bottom: 26px;
    padding: 24px 30px;
    border-color: var(--border);
}

.stat-card::before {
    content: "👥";
    font-size: 28px;
    line-height: 1;
    color: var(--accent);
}

.stat-label {
    color: #717484;
    font-size: 11px;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

.stat-value {
    margin-top: 6px;
    color: var(--accent);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
}

.search-panel {
    padding: 26px;
    margin-bottom: 26px;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 136px;
    gap: 12px;
}

.search-form input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    background: #050507;
    color: #f2f2f2;
    font-size: 15px;
    outline: none;
}

.search-form input::placeholder {
    color: #5f6574;
}

.search-form input:focus {
    border-color: rgba(60, 140, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(60, 140, 255, 0.2);
}

.search-form button,
.filter-btn {
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.search-form button {
    height: 42px;
    background: var(--accent);
    color: #fff;
    font-size: 20px;
}

.search-form button:hover {
    background: var(--accent-2);
}

.filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.filter-btn {
    min-width: 180px;
    height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    color: #8f95a5;
    font-size: 16px;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: rgba(60, 140, 255, 0.4);
    color: #fff;
    background: rgba(60, 140, 255, 0.08);
}

.results-panel {
    overflow: hidden;
}

.results-title {
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.38em;
    text-transform: uppercase;
}

.table-wrap {
    overflow-x: auto;
}

.ban-table {
    width: 100%;
    min-width: 980px;
}

.ban-header,
.ban-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.8fr 1.8fr 1.2fr 0.7fr 0.7fr;
    align-items: center;
}

.ban-header {
    min-height: 44px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ban-row {
    min-height: 52px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s ease;
}

.ban-row:hover {
    background: rgba(255,255,255,0.025);
}

.ban-cell {
    padding: 12px 14px;
    font-size: 14px;
    color: #d7dae3;
    line-height: 1.35;
    word-break: break-word;
}

.ban-header .ban-cell {
    color: #7e8593;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.steamid-cell {
    color: var(--accent);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    letter-spacing: 0.03em;
}

.player-cell {
    color: #ffffff;
    font-weight: 700;
}

.reason-cell,
.date-cell {
    color: #8e94a2;
}

.duration-cell {
    color: var(--accent);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.timeleft-cell {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.timeleft-cell.active {
    color: var(--accent);
}

.timeleft-cell.expired {
    color: #6ea8ff;
}

.timeleft-cell.permanent {
    color: #9fc5ff;
}

.no-results {
    padding: 18px 24px;
    color: #8e94a2;
    font-size: 14px;
}

@media (max-width: 900px) {
    .page-wrap {
        padding: 28px 16px 40px;
    }

    .hero h1 {
        font-size: 62px;
    }

    .brand {
        font-size: 46px;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .search-form button {
        width: 100%;
    }

    .stat-value {
        font-size: 40px;
    }
}