/* Основные сбросы и базовый стиль */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}





body {
  font-family: 'Segoe UI', sans-serif;
  background: #0d0d0d; /* тот же фон, что у .photo-preview */

  scrollbar-color: #c69c3a #1a1a1a;
  scrollbar-width: thin;

  min-height: 100vh;
  position: relative;
}

body::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Затемнение */
body::before {
  content: "";
  position: absolute;
  inset: 0;

  z-index: -1;
}

/* Верхняя панель */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  position: absolute; /* 👈 поверх картинки */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  background: transparent; /* 👈 без задника */
}


/* Логотип с картинкой */
.logo img {
  width: 48px;
  height: 48px;
  border-radius: 30%;  /* 👈 круг */
  object-fit: cover;
  transition: 0.2s;
}

.logo img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(198, 156, 58, 0.7);
}

nav {
  display: flex;
  gap: 25px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

nav a:hover {
  color: #c69c3a;
  text-decoration: underline;
}

.auth-btn {
  background: #5b4521;
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}

/* HERO СЕКЦИЯ С ФОНОМ */
/* HERO секция */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('background.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-left: 60px;
  z-index: 1;
  overflow: hidden;
}

/* Затемнение только на фото */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 0;
}

/* Контент поверх */
.hero .content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  color: white;
}

.server-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 10%;
  min-height: 100vh;
  background: #121212;
  gap: 60px;
  flex-wrap: wrap;
}

.server-text {
  flex: 1;
  max-width: 600px;
}

.ggg {
  font-size: 3.5rem;
  font-weight: 900;
  color: #facc15 !important;
}

.server-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-top: 20px;
  color: #ccc;
}

.server-image {
  flex: 1;
  text-align: center;
}

.server-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* Контент по центру */
main {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 80vh; /* вместо height */
  padding-left: 60px;
}

.content {
  max-width: 600px;
}

.small-title {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  color: #c69c3a;
  margin-bottom: 5px;
}

h1 {
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  color: #ccc;
}

/* Кнопки */
.buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.btn {
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.primary {
  background: #c69c3a;
  color: black;
}

.primary:hover {
  background: #d5ad4c;
}

.outline {
  border: 2px solid #c69c3a;
  color: white;
}

.outline:hover {
  background: #c69c3a;
  color: black;
}

/* Соцсети */
.socials {
  display: flex;
  gap: 15px;
}

.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  opacity: 0.9;
  cursor: pointer;
}

.circle:hover {
  background: #c69c3a;
}


#copy-message {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #c69c3a;
  color: black;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 999;
}

.hero {
  background: url('background.png') center/cover no-repeat;
  position: relative;
  min-height: 100vh;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0; /* или не указано */
}

/* Секция "О сервере" */
.about-fancy {
  background: #0d0d0d;
  padding: 100px 40px;
  display: flex;
  justify-content: center;
}

.about-card {
  background: rgba(30, 30, 30, 0.7);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(198, 156, 58, 0.15);
  display: flex;
  gap: 40px;
  padding: 40px;
  max-width: 1100px;
  width: 100%;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  z-index: 1;
}

.about-info {
  flex: 1;
  color: #fff;
  z-index: 2;
}

.about-info h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #c69c3a;
}

.about-info p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #ccc;
}

.about-info ul {
  list-style: none;
  padding: 0;
}

.about-info li {
  margin-bottom: 10px;
  font-size: 16px;
}

.about-info li span {
  color: #c69c3a;
  margin-right: 8px;
  font-weight: bold;
}

.about-img {
  flex: 1;
  position: relative;
  transform: translateY(20px);
}

.about-img img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(198, 156, 58, 0.25);
  transition: transform 0.3s ease;
}

.about-img img:hover {
  transform: scale(1.03);
}

/* Кастомный скроллбар */
body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: #1a1a1a;
}

body::-webkit-scrollbar-thumb {
  background: #c69c3a;
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
  background: #d5ad4c;
}


.photo-preview {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #0c0c0c73;
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
  background-image: url('back1.png'); /* фото на фон */
  background-size: cover;
  background-position: center;
}

.photo-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* затемнение */
  z-index: 0; /* размещаем затемнение поверх фона */
}

.floating-photos {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating {
  position: absolute;
  width: 200px;
  height: auto;
  opacity: 0.6;
  transition: transform 0.2s;
  will-change: transform;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.poster {
  position: relative;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  cursor: pointer;
}

.poster img {
  width: 300px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
}

.poster-text {
  margin-top: 15px;
  font-size: 22px;
  color: #c69c3a;
  font-weight: bold;
}

/* Lightbox стили */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* Галерея с фоновым изображением */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8); /* затемнение фона */
  background-image: url('background-gallery.jpg'); /* фото на фон */
  background-position: center;
  background-size: cover;
  z-index: 999;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease; /* эффект для фона */
}

/* Параллакс-эффект */
.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px;
  max-width: 90%;
  position: relative;
}

/* Фото в галерее */
.gallery-track img {
  height: 400px;
  width: 100%;
  max-width: 500px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.gallery-track img:hover {
  transform: scale(1.05);
}

/* Скрыть scrollbar */
.gallery-track::-webkit-scrollbar {
  height: 8px;
}

.gallery-track::-webkit-scrollbar-thumb {
  background: #c69c3a;
  border-radius: 4px;
}

/* Кнопка закрытия */
.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 30px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
}

#parallaxGallery {
  display: none;
}



.game-modes {
  padding: 100px 40px;
  background: #111;
  color: #fff;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: #c69c3a;
}

.modes-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.mode-card {
  flex: 1 1 400px;
  background: #1a1a1a;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}

.mode-card:hover {
  transform: translateY(-5px);
}

.mode-card h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.download-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #c69c3a;
  color: black;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(198, 156, 58, 0.5);
}

.download-btn:hover {
  transform: scale(1.05);
  background: #e0b84d;
  box-shadow: 0 0 20px rgba(198, 156, 58, 0.8);
}


.version {
  font-size: 16px;
  color: #999;
  margin-bottom: 20px;
}

.desc {
  font-size: 18px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.mode-gallery {
  display: flex;
  gap: 15px;
}

.mode-gallery img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.mode-gallery img:hover {
  transform: scale(1.1);
}

/* Индивидуальные цвета */
.mode-card.smp {
  border-left: 5px solid #E32636;
}

.mode-card.cobblemon {
  border-left: 5px solid #ffde00;
}



html {
  scroll-behavior: smooth;
}

.how-to-start {
  position: relative;
  background: #750000; /* цвет блока как и было */
}

.how-to-start::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;

  /* ИСПРАВЛЕНИЕ: фон перекрытия должен быть ЦВЕТА ПРЕДЫДУЩЕГО блока */
  background-color: #111; /* замените на фактический цвет .game-modes */

  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
  z-index: 10;
}

.how-to-start__title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  animation: fade-up 0.5s ease forwards;
  opacity: 0;
}

.how-to-start__steps {
  display: grid;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}




@media (min-width: 768px) {
  .how-to-start__steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  padding: 20px;
  background-color: #3f3f3f;
  border-radius: 16px;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fade-up 0.5s ease forwards;
}

.step__icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.step:hover {
  transform: translateY(-5px);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.with-skew {
  position: relative;
  background: url('VOXV.png') no-repeat center center/cover;
  clip-path: polygon(0 60px, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.75); /* затемнение фона */
  padding: 100px 20px;
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
}

.how-to-start__title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  animation: fade-up 0.5s ease forwards;
  opacity: 0;
}

.how-to-start__steps {
  display: grid;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .how-to-start__steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  padding: 20px;
  background-color: #1a1a1a;
  border-radius: 16px;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fade-up 0.5s ease forwards;
}

.step__icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.step:hover {
  transform: translateY(-5px);
}




.launcher-section {
  position: relative;
  height: 100vh;
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.4);
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(10,10,10,0.6), rgba(0,0,0,0.9));
  z-index: 1;
}

.launcher-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 60px;
  position: relative;
  z-index: 2;
  padding: 40px;
  max-width: 1200px;
  width: 100%;
}

.launcher-content {
  flex: 1;
  opacity: 0;
  animation: fade-in 1.5s ease forwards;
  text-align: left;
}

.launcher-content h2 {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.launcher-content .version {
  background: #992020;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1rem;
  margin-left: 12px;
}

.launcher-content p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 40px;
}

.download-button {
  background: linear-gradient(135deg, #f0c141, #ffbb33);
  padding: 18px 40px;
  font-size: 1.2rem;
  color: black;
  font-weight: bold;
  border-radius: 40px;
  box-shadow: 0 0 25px rgba(240,193,65, 0.5);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-block;
}

.download-button:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(255, 221, 100, 0.7);
}

.download-button.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 20px rgba(240,193,65, 0.3); }
  50% { box-shadow: 0 0 40px rgba(240,193,65, 0.6); }
  100% { box-shadow: 0 0 20px rgba(240,193,65, 0.3); }
}

.platforms {
  margin-top: 30px;
  display: flex;
  justify-content: flex-start;
  gap: 30px;
}

.platform-icon {
  width: 50px;
  height: 50px;
  opacity: 0.8;
  filter: grayscale(100%) brightness(150%);
  transition: all 0.3s;
}

.platform-icon:hover {
  filter: none;
  transform: scale(1.1);
  opacity: 1;
}

.launcher-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.launcher-images img {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}








.team-section {
  padding: 40px 20px;
  background: #111;
}

.team-title {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 32px;
  font-weight: 600;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.team-card {
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #1a1a1a, #30303d);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #2f2f38;
  max-width: 360px;
  width: 100%;
  transition: 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 0 8px #2563eb66;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  margin-right: 14px;
  object-fit: cover;
  border: 1px solid #444;
}

.info {
  flex: 1;
}

.nickname {
  font-size: 1rem;
  font-weight: 600;
  color: #f9fafb;
}

.role {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 2px;
}

.socials {
  margin-top: 6px;
}

.social {
  font-size: 1.1rem;
  margin-right: 10px;
  color: #94a3b8;
  transition: 0.2s ease;
}

.social.github:hover {
  color: #6e5494;
}

.social.discord:hover {
  color: #5865F2;
}



/* Контейнер с параллаксом */
body.no-scroll {
  overflow: hidden;
}

.announcement-section {
  position: relative; /* для позиционирования псевдоэлемента */
  height: 100vh;
  width: 100%;
  background: url('a1.png') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  overflow: hidden;
  z-index: 0;
}

.announcement-section::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* полупрозрачный черный */
  z-index: 1; /* поверх фона, но ниже содержимого */
}


.announcement-content {
  text-align: center;
  padding: 20px;
  max-width: 90%;
  z-index: 2;
}

.announcement-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
}

.announcement-line {
  font-size: 3rem;
  color: #ffffff;
  opacity: 0;
  transform: translateY(20px);
}

.release-info {
  opacity: 0;
  transform: translateY(30px);
}

.release-sub {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 0.5rem;
}

.release-main {
  font-size: 4rem;
  color: #fff;
}


/* Анимации */
@keyframes float-up {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fade-in-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Отключаем скроллбар */
body::-webkit-scrollbar {
  display: none;
}







.site-footer {
  background-color: #0a0a0a;
  padding: 40px 20px;
  color: #ccc;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
  object-fit: contain;
  border-radius: 12px;
}

.footer-text h3 {
  margin: 8px 0 4px;
  color: #fff;
  font-size: 1.4rem;
}

.footer-text p {
  margin: 4px 0;
  color: #888;
}

.disclaimer {
  font-size: 0.8rem;
  color: #666;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #facc15;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  font-size: 1.5rem;
  color: #aaa;
  transition: transform 0.3s, color 0.3s;
}

.social-link:hover {
  transform: scale(1.2);
}

.social-link.discord:hover { color: #5865F2; }
.social-link.vk:hover { color: #4c75a3; }
.social-link.youtube:hover { color: #FF0000; }
.social-link.github:hover { color: #fff; }

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .footer-logo-section {
    align-items: flex-start;
  }
}






.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #111;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
}

.modal-content .flags img {
  margin: 8px;
  width: 40px;
  border-radius: 2px;
  height: auto;
  margin-top: 16px;
}

.modal-content .close {
  position: absolute;
  top: 385px; right: 783px;
  font-size: 28px;
  cursor: pointer;
  color: #ffffff;
}


.country-btn {
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-weight: 600;
  margin-top: 10px;
}

.country-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.country-btn:active {
  transform: scale(0.98);
}


.wt {

  color: #ffffff; /* белый текст */
  font-size: larger;
  font-weight: bold;
}




@keyframes fade-in {
  to { opacity: 1; }
}



@keyframes fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* Адаптив */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  main {
    padding: 40px 20px;
    height: auto;
  }

  h1 {
    font-size: 48px;
  }
}



@media (max-width: 768px) {
  /* === HEADER === */
  header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px;
    position: relative;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  nav a {
    font-size: 14px;
    padding: 4px 8px;
  }

  .auth-btn {
    width: 90%;
    text-align: center;
    font-size: 15px;
    padding: 10px;
    background: #c69c3a;
    color: black;
    border-radius: 20px;
  }

  /* === HERO === */
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
  }

  .hero .content {
    padding: 0 10px;
    max-width: 100%;
  }

  h1 {
    font-size: 36px;
  }

  .subtitle {
    font-size: 16px;
  }

  .buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  /* === SERVER INFO === */
  .server-info {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
    text-align: center;
  }

  .server-image img {
    width: 100%;
  }



  .server-text p {
    font-size: 1rem;
  }

  /* === GAME MODES === */
  .modes-container {
    flex-direction: column;
    padding: 0;
  }

  .mode-card {
    padding: 20px;
  }

  .mode-gallery {
    justify-content: center;
    flex-wrap: wrap;
  }

  .mode-gallery img {
    width: 90px;
    height: 60px;
  }

  /* === LAUNCHER === */
  .launcher-wrapper {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
    text-align: center;
  }

  .launcher-content h2 {
    font-size: 2rem;
  }

  .launcher-content p {
    font-size: 1rem;
  }

  .platforms {
    justify-content: center;
    gap: 15px;
  }

  .launcher-images img {
    max-width: 100%;
    margin: 0 auto;
  }

  /* === TEAM SECTION === */
  .team-list {
    flex-direction: column;
    align-items: center;
  }

  .team-card {
    max-width: 90%;
  }

  /* === ANNOUNCEMENT SECTION === */
  .announcement-title {
    font-size: 1.5rem;
  }

  .announcement-line {
    font-size: 1.3rem;
  }

  .release-main {
    font-size: 2.5rem;
  }

  /* === FOOTER === */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-logo {
    width: 60px;
    height: 60px;
  }

  /* === MODAL === */
  .modal-content {
    width: 90%;
    padding: 20px;
  }

  .modal-content .close {
    top: 10px;
    right: 10px;
  }

  /* === ANNOUNCEMENT TEXT === */
  .announcement-content {
    padding: 15px;
  }

  /* === POSTER === */
  .poster img {
    width: 90%;
  }

  .poster-text {
    font-size: 1rem;
  }

  /* === LIGHTBOX / GALLERY === */
  .gallery-track img {
    height: 250px;
    max-width: 90%;
  }
}




/* Бургер скрыт по умолчанию */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Мобильный стиль */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.75);
  }
  
  .nav-wrapper{
      display: none;
  }
  
  .nav-wrapper.active {
      display:  flex;
  }

  .burger {
    display: flex;
    align-self: flex-end;
  }

  #main-nav {

    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 16px;
    margin-top: 10px;
  }



  .auth-btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}




