header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #333;
  color: white;
  height: 100px;
  padding: 0 20px;
  position: relative;
}

.logo img {
  height: 50px;
}

.center-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(10px, 3vw, 20px);

  font-weight: bold;
  color: aliceblue;
  font-family: 'Press Start 2P', monospace;

}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  background-color: #1e1e1e; /* тёмный фон под паттерн */
  background-repeat: repeat;
  color: white;

}

/* Гамбургер */
.hamburger {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 10;
}

.hamburger span {
  display: block;
  height: 4px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* Анимация превращения в крест */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Меню — всегда скрыто по умолчанию */
.nav {
  position: absolute;
  top: 70px;
  right: 20px;
  background: #222;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* Показываем при активации */
.nav.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav a {
  color: white;
  padding: 5px 10px;
  text-decoration: none;
  font-size: 16px;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 70px); /* если есть хедер */
  padding: 40px 20px;
}

.main-info {
  background: rgba(0, 0, 0, 0.6); /* полупрозрачный фон */
  border-radius: 12px;
  padding: 30px;
  max-width: 700px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}

.main-info h1 {
  font-size: 22px;
  margin-bottom: 20px;
}

.main-info p {
  font-size: 14px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.main-info .btn {
  display: inline-block;
  padding: 12px 25px;
  background: #ff4081;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.3s ease;
}

.main-info .btn:hover {
  background: #e91e63;
}

.contact-box,
.faq-section {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  padding: 25px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  box-sizing: border-box;
}

.contact-box h1,
.faq-section h2 {
  font-size: 24px;
  margin-bottom: 15px;
  text-align: center;
}

.contact-box p {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: center;
}

/* Кнопки контактов */
.contact-box .btn {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 10px auto;
  padding: 12px;
  background: #ff4081;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease;
}

.contact-box .btn:hover {
  background: #e91e63;
}

/* FAQ стили */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 10px;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 15px 10px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
}


.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 10px;
  font-size: 14px;
  color: #ccc;
}


.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 10px 10px 15px;
}

.gamesimage {
  
  width: 100px;
  height: 100px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  margin-top: 20px;
}