.header {
  padding: var(--header-padding, 90px) 0 0 0;
  text-align: center;
}

.logo {
  width: 500px;
  margin: 0 auto 40px;
  border-radius: 20px;
  transition: transform 0.4s ease;
  display: block;
}
.logo:hover { transform: scale(1.05); }

.player-counter-wrapper {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.player-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 1.3em;
  color: #e5e7eb;
  margin-bottom: 20px;
  font-weight: 500;
  margin-top: 10px;
}

.header-ip {
  color: #9ca3af;
  font-weight: 600;
  margin-top: 4px;
  cursor: pointer;
}
.header-ip:hover { color: #4facfe; }

.online-indicator-dot {
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.nav-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 35px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.nav-link.active {
  background: linear-gradient(135deg, #4facfe 0, #00f2fe 100%);
  border-color: transparent;
  color: #fff;
}
.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}
.nav-link:hover::before { left: 100%; }
.nav-link:hover {
  transform: translateY(-3px);
  border-color: var(--nav-hover-border, rgba(255, 255, 255, 0.3));
  background: var(--nav-hover-bg, rgba(255, 255, 255, 0.05));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .nav { flex-direction: column; align-items: center; }
  .nav-link { width: 280px; justify-content: center; }
}

@media (max-width: 600px) {
  .logo { width: 340px; margin: 0 auto 24px; }
  .player-counter {
    display: flex; flex-direction: row; align-items: center; justify-content: center;
    gap: 10px; font-size: 1em; text-align: center; margin-bottom: 32px;
  }
  .player-counter .fas,
  .player-counter::after,
  .player-counter::before { display: none !important; }
  .player-counter .online-indicator-dot { display: inline-block !important; margin-bottom: 0; }
  .player-counter span { font-size: 1em; display: inline-block; margin: 0; }
  .header-ip { font-size: 0.95em; }
  .nav-link {
    width: 100%; font-size: 1.25em; padding: 22px 0; margin: 0 0 18px 0;
    border-radius: 18px; justify-content: center; align-items: center; gap: 16px;
  }
  .nav-link i { font-size: 1.5em; }
  .nav { gap: 0; margin-bottom: 40px; }
}
