/*
 * Ultimate Headshot Rank System - Clean Minimal Design
 * Professional, clean, no excessive effects
 */

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

body {
    background: #1a1a1a;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    padding: 0;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    padding: 0;
}

/* ===== HEADER ===== */
.header {
    background: #252525;
    padding: 12px 15px;
    border-bottom: 2px solid #c9a227;
    margin-bottom: 0;
}

.header h1 {
    margin: 0;
    font-size: 16px;
    color: #c9a227;
    font-weight: 600;
    letter-spacing: 1px;
}

.header .subtitle,
.header .mode {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

/* ===== PLAYER CARD ===== */
.player-card {
    background: #202020;
    padding: 15px;
    border-bottom: 1px solid #333;
}

/* ===== PLAYER HEADER ===== */
.player-header {
    display: table;
    width: 100%;
    margin-bottom: 12px;
}

.avatar {
    display: table-cell;
    width: 48px;
    height: 48px;
    vertical-align: middle;
    border: 2px solid #444;
}

.no-steam-avatar {
    width: 48px;
    height: 48px;
    background: #333;
    border: 2px solid #444;
    color: #666;
    font-size: 24px;
    text-align: center;
    line-height: 44px;
}

.player-info {
    display: table-cell;
    vertical-align: middle;
    padding-left: 12px;
}

.player-name {
    font-size: 18px;
    color: #c9a227;
    font-weight: 600;
}

/* ===== BADGES ===== */
.steam-badge {
    background: #1b2838;
    color: #66c0f4;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
}

.nonsteam-badge {
    background: #2a2a2a;
    color: #777;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
}

.rank-badge {
    display: none;
}

.steam-link {
    display: none;
}

/* ===== STATS GRID ===== */
.stats-grid {
    width: 100%;
}

.stat-row {
    display: table;
    width: 100%;
    border-bottom: 1px solid #2a2a2a;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label,
.stat-value {
    display: table-cell;
    padding: 8px 10px;
    vertical-align: middle;
}

.stat-label {
    color: #888;
    width: 55%;
    font-size: 12px;
}

.stat-value {
    color: #c9a227;
    font-weight: 600;
    text-align: right;
    font-size: 14px;
}

.stat-row.highlight {
    background: rgba(201, 162, 39, 0.05);
}

/* ===== TABLE ===== */
table {
    width: 100%;
    border-collapse: collapse;
    background: #1a1a1a;
}

th {
    background: #252525;
    padding: 10px 8px;
    font-size: 11px;
    color: #c9a227;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #c9a227;
}

th:nth-child(2) {
    text-align: left;
}

td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #252525;
    font-size: 13px;
}

td:nth-child(1) {
    color: #888;
    font-weight: 600;
    width: 50px;
}

td:nth-child(2) {
    text-align: left;
    color: #fff;
    font-weight: 500;
}

td:nth-child(3) {
    color: #c9a227;
    font-weight: 700;
}

td:nth-child(4) {
    color: #aaa;
}

td:nth-child(5) {
    color: #5a5;
    font-weight: 600;
}

/* ===== TOP 3 ROWS ===== */
tr.gold td {
    background: rgba(255, 215, 0, 0.08);
}

tr.gold td:first-child {
    color: #ffd700;
}

tr.gold td:nth-child(2) {
    color: #ffd700;
}

tr.silver td {
    background: rgba(192, 192, 192, 0.05);
}

tr.silver td:first-child {
    color: #c0c0c0;
}

tr.silver td:nth-child(2) {
    color: #c0c0c0;
}

tr.bronze td {
    background: rgba(205, 127, 50, 0.05);
}

tr.bronze td:first-child {
    color: #cd7f32;
}

tr.bronze td:nth-child(2) {
    color: #cd7f32;
}

tr.n td {
    background: transparent;
}

/* Alternating rows for normal */
tr.n:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.02);
}

/* ===== FOOTER ===== */
.footer {
    background: #252525;
    text-align: center;
    font-size: 10px;
    color: #555;
    padding: 8px;
    border-top: 1px solid #333;
}

/* ===== NO DATA ===== */
.no-data {
    text-align: center;
    padding: 20px;
    color: #555;
}

/* ===== HOVER ===== */
tr:hover td {
    background: rgba(201, 162, 39, 0.08);
}