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

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #fff;
  background: #0a0a0a;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Навигация */
nav {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ff6b35;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.1rem;
  color: #ff6b35;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 5px;
}

.nav-links a:hover {
  color: #ff6b35;
  background: rgba(255, 107, 53, 0.1);
}

.nav-links a.active {
  color: #ff6b35;
  background: rgba(255, 107, 53, 0.2);
}

/* Секции */
section {
  min-height: 100vh;
  padding: 100px 5% 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

#particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 20px;
  z-index: 2;
  background: rgba(10, 10, 10, 0.7);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 107, 53, 0.3);
}

h1, h2, h3 {
  font-family: 'Press Start 2P', cursive;
  color: #ff6b35;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 20px #ff6b35, 0 0 30px #ff6b35;
  animation: glow-pulse 2s infinite;
}

h2 {
  font-size: 1.8rem;
  margin: 40px 0 30px;
  text-align: center;
}

h3 {
  font-size: 1.3rem;
  margin: 25px 0 15px;
  color: #ff9e7d;
}

p {
  margin: 15px 0;
  line-height: 1.7;
  color: #e0e0e0;
}

/* Кнопки */
.cta-button {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
  text-decoration: none;
  display: inline-block;
  margin: 10px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

/* Карточки */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.feature-card {
  background: rgba(42, 42, 42, 0.8);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 107, 53, 0.3);
  backdrop-filter: blur(5px);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: #ff6b35;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ff6b35;
}

/* Статус сервера */
.server-status {
  text-align: center;
  background: rgba(30, 30, 30, 0.9);
  padding: 40px;
  border-radius: 20px;
  border: 2px solid #ff6b35;
  max-width: 600px;
  margin: 50px auto;
}

.status-indicator {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
}

.status-online {
  background: #4CAF50;
  box-shadow: 0 0 10px #4CAF50;
}

.status-offline {
  background: #f44336;
}

/* Контент секции */
.content-section {
  background: rgba(30, 30, 30, 0.8);
  padding: 30px;
  border-radius: 15px;
  margin: 30px 0;
  border: 1px solid rgba(255, 107, 53, 0.3);
}

/* Списки */
.guide-steps {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
}

.guide-steps li {
  counter-increment: step-counter;
  margin: 20px 0;
  padding: 20px;
  background: rgba(42, 42, 42, 0.6);
  border-radius: 10px;
  border-left: 4px solid #ff6b35;
  position: relative;
}

.guide-steps li:before {
  content: counter(step-counter);
  position: absolute;
  left: -20px;
  top: -10px;
  background: #ff6b35;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.command {
  background: #1a1a1a;
  padding: 5px 10px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  border: 1px solid #ff6b35;
  display: inline-block;
  margin: 5px 0;
}

.tip {
  background: rgba(76, 175, 80, 0.2);
  border-left: 4px solid #4CAF50;
  padding: 15px;
  margin: 15px 0;
  border-radius: 0 8px 8px 0;
}

.warning {
  background: rgba(244, 67, 54, 0.2);
  border-left: 4px solid #f44336;
  padding: 15px;
  margin: 15px 0;
  border-radius: 0 8px 8px 0;
}

/* FAQ */
.faq-item {
  margin: 20px 0;
  padding: 20px;
  background: rgba(42, 42, 42, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.faq-question {
  font-weight: bold;
  color: #ff6b35;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Моды */
.mods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.mod-card {
  background: rgba(42, 42, 42, 0.6);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(255, 107, 53, 0.3);
  text-align: center;
}

.mod-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #ff6b35;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  background: rgba(20, 20, 20, 0.95);
  margin-top: 50px;
  border-top: 1px solid #ff6b35;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff6b35;
}

/* Вкладки */
.tabs {
  display: flex;
  gap: 10px;
  margin: 30px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-button {
  background: rgba(42, 42, 42, 0.8);
  border: 1px solid #ff6b35;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button.active, .tab-button:hover {
  background: #ff6b35;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Таблицы */
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.leaderboard-table th {
  text-align: left;
  padding: 15px;
  border-bottom: 2px solid #ff6b35;
  color: #ff6b35;
}

.leaderboard-table td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-table tr:hover {
  background: rgba(255, 107, 53, 0.1);
}

.rank {
  font-weight: bold;
  color: #ff6b35;
  width: 50px;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.player-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ff6b35;
}

/* Прогресс бар */
.progress-bar {
  height: 10px;
  background: rgba(42, 42, 42, 0.6);
  border-radius: 5px;
  margin: 10px 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  border-radius: 5px;
}

/* Статусы событий */
.event-status {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-top: 10px;
}

.status-upcoming {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid #4CAF50;
  color: #4CAF50;
}

.status-ongoing {
  background: rgba(255, 152, 0, 0.2);
  border: 1px solid #FF9800;
  color: #FF9800;
}

.status-ended {
  background: rgba(158, 158, 158, 0.2);
  border: 1px solid #9E9E9E;
  color: #9E9E9E;
}

/* Адаптивность */
@media (max-width: 768px) {
  .nav-links {
    gap: 10px;
    font-size: 0.8rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .hero-content {
    padding: 20px;
    margin: 0 10px;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .guide-steps li:before {
    left: 10px;
    top: -15px;
  }
  
  .mods-grid {
    grid-template-columns: 1fr;
  }
}

/* Стили для музыкального плеера */
#music-player {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 107, 53, 0.5);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

#music-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#volume-slider {
  width: 100px;
  background: rgba(255, 107, 53, 0.3);
  border-radius: 10px;
  outline: none;
  -webkit-appearance: none;
  height: 5px;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ff6b35;
  cursor: pointer;
}

#volume-slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ff6b35;
  cursor: pointer;
  border: none;
}