* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background: #0a0e1a;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { color: inherit; text-decoration: none; }

/* Navigation */
.navbar {
    background: rgba(10, 14, 26, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo {
    font-size: 1.4em;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #e94560, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.navbar nav { display: flex; gap: 30px; }
.navbar nav a {
    color: #a0a0b0;
    font-size: 0.95em;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}
.navbar nav a:hover, .navbar nav a.active { color: #e94560; }
.navbar nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e94560;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    background: radial-gradient(ellipse at center, rgba(233,69,96,0.15) 0%, transparent 60%);
}
.hero h1 {
    font-size: 3.5em;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #e94560, #ff6b9d, #4ecca3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}
.hero p {
    color: #888;
    font-size: 1.15em;
    max-width: 600px;
    margin: 0 auto 30px;
}
.hero-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.hero-tags span {
    padding: 6px 16px;
    border: 1px solid rgba(233,69,96,0.4);
    border-radius: 20px;
    font-size: 0.85em;
    color: #e94560;
}

/* Stats bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 30px 20px;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .value {
    font-size: 2.2em;
    font-weight: 800;
    color: #4ecca3;
    display: block;
    line-height: 1.1;
}
.stat-item .label {
    color: #666;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 50px 20px; flex: 1; }
.section-title {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(233,69,96,0.3);
    display: inline-block;
}

/* Server cards */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.server-card {
    background: linear-gradient(145deg, rgba(30,40,60,0.6), rgba(15,20,35,0.8));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.server-card:hover {
    transform: translateY(-6px);
    border-color: rgba(233,69,96,0.6);
    box-shadow: 0 12px 40px rgba(233,69,96,0.15);
}
.server-map {
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5em;
    overflow: hidden;
}
.server-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%);
    background-size: 20px 20px;
}
.server-map.gorodok { background: linear-gradient(135deg, #2c5364 0%, #0f2027 100%); }
.server-map.tallil { background: linear-gradient(135deg, #3a1c71 0%, #d76d77 100%); }
.server-map.foolroad { background: linear-gradient(135deg, #5f2c82 0%, #49a09d 100%); }
.server-map.narva { background: linear-gradient(135deg, #134e5e 0%, #71b280 100%); }
.server-map.yehorivka { background: linear-gradient(135deg, #42275a 0%, #734b6d 100%); }
.server-map.skorpo { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); }

.server-info { padding: 18px; }
.server-name {
    font-size: 1.15em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.server-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: #888;
    margin-bottom: 12px;
}
.status-online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4ecca3;
    font-size: 0.85em;
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ecca3;
    box-shadow: 0 0 10px #4ecca3;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}
.progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    margin-top: 6px;
}
.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s;
}
.progress-fill.low { background: linear-gradient(90deg, #4ecca3, #6ee7b7); }
.progress-fill.med { background: linear-gradient(90deg, #f9c74f, #fbbf24); }
.progress-fill.high { background: linear-gradient(90deg, #e94560, #ff6b9d); }

.server-tags {
    margin-top: 14px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.tag {
    font-size: 0.7em;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(233,69,96,0.15);
    color: #e94560;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.tag.green { background: rgba(78,204,163,0.15); color: #4ecca3; }
.tag.blue { background: rgba(96,165,250,0.15); color: #60a5fa; }

/* Players table */
.players-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(30,40,60,0.4);
    border-radius: 12px;
    overflow: hidden;
}
.players-table th, .players-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.players-table th {
    background: rgba(233,69,96,0.1);
    color: #e94560;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.players-table tr:hover td { background: rgba(255,255,255,0.03); }
.players-table .rank {
    font-weight: 800;
    color: #f9c74f;
    width: 60px;
}
.players-table .rank.gold { color: #ffd700; }
.players-table .rank.silver { color: #c0c0c0; }
.players-table .rank.bronze { color: #cd7f32; }

/* About page */
.about-content p {
    color: #b0b0c0;
    margin-bottom: 20px;
    font-size: 1.05em;
}
.about-content h2 {
    color: #e94560;
    margin: 30px 0 16px;
    font-size: 1.4em;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.feature-card {
    background: rgba(30,40,60,0.5);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(233,69,96,0.5); }
.feature-card .icon { font-size: 2.5em; margin-bottom: 12px; display: block; }
.feature-card h3 { color: #fff; margin-bottom: 8px; font-size: 1.1em; }
.feature-card p { color: #888; font-size: 0.9em; }

/* Footer */
footer {
    background: rgba(10,14,26,0.95);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 40px;
    text-align: center;
    color: #555;
    font-size: 0.85em;
}
footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
footer .footer-links a { color: #888; transition: color 0.2s; }
footer .footer-links a:hover { color: #e94560; }

@media (max-width: 768px) {
    .navbar { padding: 14px 20px; flex-direction: column; gap: 12px; }
    .navbar nav { gap: 16px; flex-wrap: wrap; justify-content: center; }
    .hero h1 { font-size: 2.2em; }
    .stats-bar { gap: 30px; padding: 20px; }
    .stat-item .value { font-size: 1.6em; }
}
