/* === Общие настройки === */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #121212;
  color: #f0f0f0;
}

a {
  color: #ff6d00;
  text-decoration: none;
}

a:hover {
  color: #ffa94d;
}

/* === Шапка === */
.site-header {
  background: #1c1c1c;
  padding: 15px 0;
  color: white;
  border-bottom: 3px solid #ff6d00;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.site-header .logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header .logo {
  height: 40px;
}

.site-header .brand {
  font-size: 24px;
  font-weight: bold;
}

.main-nav a {
  margin-left: 25px;
  font-weight: 500;
  color: #eee;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ff6d00;
}

/* === Главный контент === */
.content {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

/* === Блок Hero === */
.hero {
  background: linear-gradient(135deg, #2c2c2c, #1c1c1c);
  padding: 50px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  margin-bottom: 15px;
  color: #fff;
}

.hero p {
  color: #ccc;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: linear-gradient(135deg, #ff6d00, #ff8533);
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: linear-gradient(135deg, #ffa94d, #ff6d00);
}

/* === Новости === */
.news {
  background: #1a1a1a;
  padding: 30px;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.news h2 {
  margin-bottom: 20px;
  color: #ff4757;
}

.news-item {
  margin-bottom: 25px;
}

.news-item h3 {
  color: #fff;
  margin-bottom: 5px;
}

.news-item p {
  color: #ccc;
}

.news-item small {
  color: #888;
  font-size: 0.9em;
}

/* === Турнирная сетка === */
.bracket-section h2 {
  font-size: 24px;
  margin-top: 50px;
}

.bracket {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.round {
  flex: 1;
}

.round h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 18px;
  border-bottom: 1px solid #ccc;
}

.match {
  background: #1e1e1e;
  padding: 10px;
  margin: 10px 0;
  border-left: 5px solid #ff6d00;
  border-radius: 4px;
  font-weight: bold;
  color: white;
}

/* === Иконки игр === */
.game-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
}

.game-icons img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border: 2px solid transparent;
  border-radius: 12px;
  transition: transform 0.2s, border 0.2s;
  cursor: pointer;
}

.game-icons img:hover {
  transform: scale(1.1);
  border: 2px solid #1e90ff;
}

/* === Формы === */
.team-form label {
  display: block;
  margin-top: 15px;
  color: #cccccc;
}

.team-form input,
.team-form select,
.team-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  background-color: #2c2c2c;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 14px;
}

.team-form button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #6a5acd, #1e90ff);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.team-form button:hover {
  background: linear-gradient(135deg, #836fff, #3baeff);
}

.success-message {
  color: #00ff99;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

/* === Подвал === */
footer {
  text-align: center;
  margin-top: 60px;
  padding: 20px 0;
  color: #666;
  border-top: 1px solid #333;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
  transition: transform 0.2s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}
