/* ===========================
   Общие стили сайта (тёмная тема)
=========================== */
body {
  font-family: Arial, sans-serif;
  margin:0;
  padding:0;
  background:#111;
  color:#fff;
}

header {
  text-align:center;
  padding:40px 20px;
  background:#000;
}

header h1 {
  font-size:2.5em;
  color:#ff4081;
}

header p {
  font-size:1.2em;
}

.btn {
  display: inline-block;   /* оставляем inline-block, чтобы не растягивалась */
  padding: 15px 30px;
  margin: 20px auto;       /* авто-отступ по горизонтали для центровки */
  background: #ff4081;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;      /* чтобы текст внутри кнопки был по центру */
  transition: 0.2s;
}

.btn:hover {
  background:#e73370;
}

.section {
  padding:40px 20px;
  max-width:1000px;
  margin:auto;
}

.section h2 {
  color:#ff4081;
  margin-bottom:20px;
  text-align:center;
}

.section p {
  line-height:1.6;
  text-align:center;
}

/* ===========================
   Видео
=========================== */
.section iframe {
  width:100%;
  height:315px;
  max-width:560px;
  border:none;
  border-radius:10px;
}

/* ===========================
   Скриншоты
=========================== */
.screenshots {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:15px;
  justify-items:center;
}

.screenshots img {
  width:100%;
  border-radius:8px;
  transition: transform 0.3s;
}

.screenshots img:hover {
  transform: scale(1.05);
}

/* ===========================
   FAQ
=========================== */
.faq {
  margin-top:20px;
}

.faq details {
  background:#222;
  padding:15px;
  margin-bottom:10px;
  border-radius:6px;
  cursor:pointer;
  transition: background 0.3s;
}

.faq details[open] {
  background:#1a1a1a;
}

.faq summary {
  font-weight:bold;
  font-size:1.05em;
  outline:none;
}

.faq p {
  margin-top:10px;
}

/* ===========================
   Блог / новости
=========================== */
.blog {
  margin-top:40px;
}

.blog article {
  background:#1a1a1a;
  padding:20px;
  margin-bottom:20px;
  border-radius:8px;
}

.blog h3 {
  color:#ff4081;
  margin-bottom:10px;
}

/* ===========================
   Follow Us Section
=========================== */
section.follow-us {
  max-width: 800px;           /* ограничиваем ширину блока */
  margin: 0 auto;             /* центрируем секцию по горизонтали */
  text-align: center;         /* центрируем заголовок и текст внутри */
  padding: 40px 20px;
}

section.follow-us h2 {
  color: #ff4081;             /* заголовок в фирменном цвете */
  margin-bottom: 20px;
  font-size: 1.8em;
}

section.follow-us .social-links {
  display: flex;              /* flex-контейнер для ссылок */
  justify-content: center;    /* центрируем ссылки по горизонтали */
  gap: 15px;                  /* расстояние между ссылками */
  flex-wrap: wrap;            /* перенос на маленьких экранах */
}

section.follow-us .social-links a {
  color: #ff4081;             /* основной цвет ссылок */
  text-decoration: none;      /* убираем подчёркивание */
  font-weight: bold;
  transition: color 0.2s;     /* плавный переход цвета при наведении */
}

section.follow-us .social-links a:hover {
  color: #e73370;             /* более тёмный оттенок при ховере */
  text-decoration: underline; /* подчёркивание при наведении */
}

/* Адаптив под мобильные устройства */
@media (max-width: 480px) {
  section.follow-us {
    padding: 25px 15px;
  }

  section.follow-us h2 {
    font-size: 1.5em;
  }

  section.follow-us .social-links {
    gap: 10px;
  }

  section.follow-us .social-links a {
    font-size: 0.9em;
  }
}

/* ===========================
   Подвал
=========================== */
footer {
  text-align:center;
  padding:20px;
  background:#000;
  font-size:0.9em;
}

footer a {
  text-decoration:none;
  color:#ff4081;
}

nav.lang {
  text-align:center;
  margin:20px 0;
}

nav.lang a {
  margin:0 10px;
  color:#ff4081;
  text-decoration:none;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
  header h1 { font-size:2em; }
  .btn { padding:12px 20px; font-size:1em; }
  iframe { width:100%; height:220px; }
  .section { padding:20px 15px; }
}

@media (max-width: 480px) {
  header { padding:25px 15px; }
  header h1 { font-size:1.5em; }
  .btn { width:100%; max-width:300px; display:block; margin:auto; }
}
