/* CS16Tracker - Professional Gaming Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-body: #0a0a0c;
    --bg-card: #12121a;
    --bg-card-alt: #16161f;
    --bg-input: #1a1a24;
    --bg-hover: #1e1e2a;
    --border: #252530;
    --border-light: #2f2f3d;
    --text: #eaeaef;
    --text-dim: #a0a0b0;
    --text-muted: #606070;
    --orange: #ff6a00;
    --orange-dim: #cc5500;
    --green: #00c853;
    --green-dim: #00a040;
    --red: #ff3d3d;
    --blue: #3d8bff;
    --cyan: #00e5ff;
    --purple: #7c4dff;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.5);
    --font: 'Inter', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 14px; }
body {
    font-family: var(--font);
    background: var(--bg-body);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; }
code { font-family: var(--mono); background: var(--bg-input); padding: 2px 8px; border-radius: 4px; }

/* === LAYOUT === */
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.main-content { flex: 1; padding: 30px 0; }

/* === HEADER === */
.header {
    background: linear-gradient(180deg, #15151f 0%, #0f0f15 100%);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text);
}
.logo:hover { color: var(--text); }
.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-main { display: flex; gap: 8px; }
.nav-link {
    padding: 10px 18px;
    color: var(--text-dim);
    font-weight: 500;
    border-radius: var(--radius);
    transition: 0.2s;
}
.nav-link:hover { background: var(--bg-hover); color: var(--text); }
.nav-link.active { background: var(--orange); color: #000; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-search input {
    background: var(--bg-input);
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: var(--radius);
    color: var(--text);
    width: 240px;
}
.header-search input:focus { outline: none; border-color: var(--orange); }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.95rem;
    text-decoration: none;
}
.btn-primary { background: var(--orange); color: #000; }
.btn-primary:hover { background: var(--orange-dim); color: #000; }
.btn-secondary { background: var(--bg-input); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-hover); color: var(--text); border-color: var(--border-light); }
.btn-success { background: var(--green); color: #000; }
.btn-success:hover { background: var(--green-dim); color: #000; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-discord { background: #5865F2; color: #fff; }
.btn-discord:hover { background: #4752c4; color: #fff; }

/* === CARDS === */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}
.card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card-alt);
}
.card-title { font-size: 1.1rem; font-weight: 700; margin: 0; }
.card-body { padding: 24px; }

/* === WIDGETS (Sidebar) === */
.widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
}
.widget-header {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--bg-card-alt) 0%, var(--bg-card) 100%);
    border-bottom: 1px solid var(--border);
}
.widget-body { padding: 20px; }

/* === SERVER DETAIL LAYOUT === */
.server-detail {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    align-items: start;
}
.server-detail-main { min-width: 0; }
.server-detail-sidebar { position: sticky; top: 90px; }

/* === BREADCRUMB === */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--orange); }

/* === SERVER HERO === */
.server-hero {
    background: linear-gradient(145deg, var(--bg-card) 0%, #1a1a28 50%, var(--bg-card) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.server-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--red), var(--purple));
}
.server-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.server-hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text) 0%, var(--text-dim) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.server-hero-ip {
    display: flex;
    align-items: center;
    gap: 12px;
}
.server-hero-ip code {
    background: var(--bg-body);
    padding: 8px 16px;
    font-size: 1.1rem;
    color: var(--cyan);
    border: 1px solid var(--border);
}
.server-meta {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.server-meta strong { color: var(--text-dim); }

.server-description {
    background: var(--bg-body);
    padding: 20px;
    border-radius: var(--radius);
    margin: 20px 0;
    color: var(--text-dim);
    border-left: 3px solid var(--orange);
    font-size: 0.95rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}
.status-badge.online { background: rgba(0,200,83,0.15); color: var(--green); border: 1px solid rgba(0,200,83,0.3); }
.status-badge.offline { background: rgba(255,61,61,0.15); color: var(--red); border: 1px solid rgba(255,61,61,0.3); }
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* === STATS GRID === */
.server-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.stat-box {
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}
.stat-value.orange { color: var(--orange); }
.stat-value.green { color: var(--green); }
.stat-value.cyan { color: var(--cyan); }
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}
.rank-change { font-size: 0.9rem; margin-left: 4px; }
.rank-change.up { color: var(--green); }
.rank-change.down { color: var(--red); }

/* === SERVER ACTIONS === */
.server-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}
.connect-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dim) 100%);
    border: none;
    border-radius: var(--radius);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}
.connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,200,83,0.3);
    color: #000;
}
.vote-btn {
    padding: 14px 32px;
    background: transparent;
    border: 2px solid var(--orange);
    border-radius: var(--radius);
    color: var(--orange);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}
.vote-btn:hover:not(:disabled) {
    background: var(--orange);
    color: #000;
}
.vote-btn.voted, .vote-btn:disabled {
    border-color: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* === TABS === */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}
.tab-btn {
    padding: 12px 24px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-dim);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.tab-btn:hover { background: var(--bg-hover); color: var(--text); }
.tab-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #000;
}

/* === AVG PLAYERS === */
.avg-row {
    display: flex;
    gap: 40px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-body);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.avg-item { display: flex; align-items: baseline; gap: 10px; }
.avg-label { color: var(--text-muted); font-size: 0.9rem; }
.avg-value { font-size: 1.4rem; font-weight: 800; color: var(--orange); }

/* === CHART === */
.chart-wrap {
    height: 280px;
    background: var(--bg-body);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
}

/* === MAP GRID === */
.map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.map-card {
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.2s;
}
.map-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.map-card .map-name { font-family: var(--mono); font-weight: 600; margin-bottom: 6px; }
.map-card .map-plays { font-size: 0.85rem; color: var(--text-muted); }

/* === PLAYERS TABLE === */
.players-table {
    width: 100%;
    border-collapse: collapse;
}
.players-table th {
    text-align: left;
    padding: 14px 20px;
    background: var(--bg-body);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.players-table td {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
}
.players-table tr:hover td { background: var(--bg-hover); }
.players-table .col-name { font-weight: 600; }
.players-table .col-frags { color: var(--green); font-weight: 700; font-family: var(--mono); }
.players-table .col-time { color: var(--text-muted); font-family: var(--mono); }

/* === ANNOUNCEMENTS === */
.announcement {
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-left: 4px solid var(--orange);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}
.announcement-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.announcement-title { font-size: 1.15rem; font-weight: 700; margin: 0; }
.announcement-pinned {
    background: var(--orange);
    color: #000;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}
.announcement-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.announcement-body { color: var(--text-dim); line-height: 1.7; }

.announcement-replies {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.replies-count { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; font-weight: 600; }
.reply {
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 12px;
}
.reply-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.reply-author { font-weight: 600; }
.reply-time { font-size: 0.8rem; color: var(--text-muted); }
.reply-body { color: var(--text-dim); font-size: 0.95rem; }
.reply-actions { display: flex; gap: 16px; margin-top: 12px; }

/* === COMMENTS === */
.comment-form { margin-bottom: 30px; }
.comment-form textarea {
    width: 100%;
    min-height: 100px;
    margin-bottom: 12px;
}
.comment {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
}
.comment.depth-1 { margin-left: 50px; }
.comment.depth-2 { margin-left: 100px; }
.comment.depth-3 { margin-left: 150px; }
.comment-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.comment-main { flex: 1; min-width: 0; }
.comment-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.comment-author { font-weight: 700; }
.comment-time { font-size: 0.85rem; color: var(--text-muted); }
.comment-body { color: var(--text-dim); margin-bottom: 12px; }
.comment-actions { display: flex; gap: 20px; }
.vote-comment-btn, .reply-toggle-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: 0.2s;
}
.vote-comment-btn:hover, .reply-toggle-btn:hover { background: var(--bg-hover); color: var(--text); }

/* === SIDEBAR INFO === */
.info-grid { display: flex; flex-direction: column; gap: 14px; }
.info-row { display: flex; justify-content: space-between; align-items: center; }
.info-row .label { color: var(--text-muted); font-size: 0.9rem; }
.info-row .value { font-weight: 600; }
.info-row code { color: var(--cyan); }
.gamemode-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* === BANNER PREVIEW === */
.banner-img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 16px;
    border: 1px solid var(--border);
}
.banner-code label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.banner-code input {
    width: 100%;
    font-size: 0.75rem;
    font-family: var(--mono);
    margin-bottom: 16px;
}

/* === STAFF LIST === */
.staff-list { display: flex; flex-direction: column; gap: 10px; }
.staff-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-body);
    border-radius: var(--radius);
}
.staff-icon { font-size: 1.3rem; }
.staff-name { font-weight: 600; flex: 1; }
.staff-role { font-size: 0.8rem; color: var(--text-muted); text-transform: capitalize; }

/* === CONNECT BOX === */
.connect-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
}
.connect-box code { flex: 1; color: var(--cyan); font-size: 1rem; background: none; padding: 0; }

/* === VOTE WIDGET === */
.vote-widget { text-align: center; }
.vote-big { font-size: 3.5rem; font-weight: 800; color: var(--orange); line-height: 1; }
.vote-text { color: var(--text-muted); margin: 8px 0 20px; }
.vote-cooldown { display: block; margin-top: 10px; font-size: 0.85rem; color: var(--text-muted); }

/* === FORMS === */
input, textarea, select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    width: 100%;
    transition: 0.2s;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,106,0,0.15);
}
textarea { resize: vertical; min-height: 120px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-dim); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* === ALERTS === */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.alert-info { background: rgba(61,139,255,0.1); border: 1px solid rgba(61,139,255,0.3); color: var(--blue); }
.alert-success { background: rgba(0,200,83,0.1); border: 1px solid rgba(0,200,83,0.3); color: var(--green); }
.alert-error { background: rgba(255,61,61,0.1); border: 1px solid rgba(255,61,61,0.3); color: var(--red); }
.alert-warning { background: rgba(255,106,0,0.1); border: 1px solid rgba(255,106,0,0.3); color: var(--orange); }

/* === EMPTY STATE === */
.empty {
    text-align: center;
    padding: 50px 20px;
}
.empty-icon { font-size: 4rem; opacity: 0.3; margin-bottom: 16px; }
.empty-title { font-size: 1.2rem; font-weight: 600; color: var(--text-dim); margin-bottom: 8px; }
.empty-text { color: var(--text-muted); }

/* === COPY BTN === */
.copy-btn {
    background: var(--bg-input);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-dim);
    transition: 0.2s;
}
.copy-btn:hover { background: var(--orange); color: #000; border-color: var(--orange); }

/* === REPLY FORM === */
.reply-form {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.reply-form input { flex: 1; padding: 12px 16px; }
.reply-form.hidden { display: none; }

/* === FOOTER === */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 30px 0;
    margin-top: 50px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--orange); }

/* === SERVERS LIST (HOME) === */
.filters-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.filter-group { display: flex; gap: 10px; align-items: center; }
.filter-group select { width: auto; min-width: 150px; }

.server-list { display: flex; flex-direction: column; gap: 8px; }
.server-row {
    display: grid;
    grid-template-columns: 50px 1fr 140px 100px 100px 100px 100px;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: 0.2s;
}
.server-row:hover { border-color: var(--orange); background: var(--bg-card-alt); }
.server-rank { font-weight: 800; color: var(--orange); font-size: 1.1rem; text-align: center; }
.server-info h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.server-info h3 a { color: var(--text); }
.server-info h3 a:hover { color: var(--orange); }
.server-ip { font-size: 0.85rem; color: var(--text-muted); font-family: var(--mono); }
.server-players { font-weight: 700; }
.server-players .bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}
.server-players .bar-fill { height: 100%; background: var(--green); border-radius: 2px; }
.server-map { color: var(--text-dim); font-family: var(--mono); font-size: 0.9rem; }
.server-gamemode .tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.server-votes { font-weight: 700; color: var(--orange); }
.server-status .online { color: var(--green); font-weight: 600; }
.server-status .offline { color: var(--text-muted); }

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.pagination a, .pagination span {
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-dim);
    font-weight: 500;
}
.pagination a:hover { border-color: var(--orange); color: var(--orange); }
.pagination .active { background: var(--orange); border-color: var(--orange); color: #000; }

/* === STATS GRID (HOME) === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}
.stats-card .value { font-size: 2rem; font-weight: 800; color: var(--orange); }
.stats-card .label { color: var(--text-muted); margin-top: 4px; font-size: 0.9rem; }

/* === AUTH PAGES === */
.auth-container {
    max-width: 420px;
    margin: 60px auto;
}
.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.auth-title { text-align: center; font-size: 1.5rem; margin-bottom: 30px; }

/* === ADMIN PAGES === */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { background: var(--bg-body); color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }
.table tr:hover td { background: var(--bg-hover); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #cc3030; color: #fff; }

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .server-detail { grid-template-columns: 1fr; }
    .server-detail-sidebar { position: static; }
}
@media (max-width: 992px) {
    .server-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .server-row { grid-template-columns: 40px 1fr 100px 80px; }
    .server-row .server-map, .server-row .server-gamemode, .server-row .server-status { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
    .header-search { order: 3; width: 100%; margin-top: 12px; }
    .header-search input { width: 100%; }
    .nav-main { display: none; }
    .server-hero { padding: 20px; }
    .server-hero-title { font-size: 1.5rem; }
    .server-hero-header { flex-direction: column; gap: 16px; }
    .server-meta { flex-direction: column; gap: 8px; }
    .avg-row { flex-direction: column; gap: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .server-row { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
    .server-row > div { display: block !important; }
    .server-rank { display: none !important; }
    .comment.depth-1, .comment.depth-2, .comment.depth-3 { margin-left: 20px; }
    .admin-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) {
    .server-hero-stats { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .server-actions { flex-direction: column; }
    .tabs { flex-wrap: wrap; }
}
