/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
html, body {
  max-width: 100%;
  overflow-x: hidden; /* убираем горизонтальный скролл */
}
/* ===== ROOT VARS ===== */
:root {
  --green: #00c851;
  --green-hover: #00e060;
  --bg: #1c1c1c;
  --text: #e0e0e0;
  --header-bg: #111;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--green);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}
.logo span {
  color: var(--green);
}

/* NAVIGATION */
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  color: #ddd;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 6px 10px;
  transition: all 0.3s ease;
}

/* 3D эффект при наведении */
.nav a:hover {
  color: var(--green);
  box-shadow:
    1px 1px #53ea93,
    2px 2px #53ea93,
    3px 3px #53ea93,
    4px 4px #53ea93,
    5px 5px #53ea93,
    6px 6px #53ea93,
    7px 7px #53ea93;
  transform: translateX(-7px);
}


/* LOGIN BUTTON / CONTACT BUTTON */
.login-btn {
  display: inline-block; /* делает ссылку похожей на кнопку */
  text-decoration: none; /* убираем подчеркивание */
  background: var(--green);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.login-btn:hover {
  background: var(--green-hover);
  transform: scale(1.05);
}
/* Секция */
.hero-section {
  position: relative;
  height: 600px; /* можно поставить min-height, если нужна адаптивность */
  background-image: url("../assetss/images/hero.webp");
  background-repeat: no-repeat;
  background-position: center center; /* фото всегда по центру */
  background-size: cover; /* лучше cover, чем 100% auto */
  background-attachment: fixed; /* 👈 вот это фиксирует фон */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10%;
  color: #fff;
  overflow: hidden;
}
/* Затемнение */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

/* Контент */
.hero-content {
  position: relative;
  max-width: 600px;
  z-index: 2;
  margin-left: 200px;
}
.hero-content h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
}
.hero-content h2 span {
  color: var(--green); /* акцент зелёным */
}
.hero-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #ddd;
}

/* Кнопка */
.btn-cta {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-cta:hover {
  background: var(--green-hover);
  transform: scale(1.05);
}
.footer {
  background: var(--header-bg);
  color: var(--text);
  padding: 50px 20px 20px;
  margin-top: 0px;
  border-top: 4px solid var(--green); /* декоративная полоска сверху */
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 30px;
}

/* Заголовки */
.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #fff;
}

.footer-logo span {
  color: var(--green);
  font-weight: bold;
}

/* Списки */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

/* Ссылки с угловым эффектом */
.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.footer-col ul li a::before,
.footer-col ul li a::after {
  content: "";
  position: absolute;
  background: var(--green);
  transition: all 0.3s ease;
  opacity: 0;
}

/* нижняя линия */
.footer-col ul li a::before {
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
}

/* правая вертикальная */
.footer-col ul li a::after {
  right: 0;
  bottom: 0;
  width: 2px;
  height: 0;
}

.footer-col ul li a:hover {
  color: var(--green);
}

.footer-col ul li a:hover::before {
  width: 100%;
  opacity: 1;
}

.footer-col ul li a:hover::after {
  height: 100%;
  opacity: 1;
}

/* Соцсети */
.footer-socials a {
  display: inline-block;
  margin-right: 12px;
  color: #aaa;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: var(--green);
  transform: translateY(-4px) scale(1.1);
  text-shadow: 0 0 8px var(--green);
}

/* Нижняя часть */
.footer-bottom {
  text-align: center;
  padding-top: 15px;
  font-size: 0.9rem;
  color: #888;
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  font-size: 0.9rem;
  color: #888;
  display: flex;
  flex-direction: column; /* сначала логотип, потом текст */
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  height: 40px; /* регулируй размер логотипа */
  width: auto;
  
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.1);
}
/* ===== Features Section ===== */
.features-section {
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  display: block;
  height: 3px;
  width: 50%;
  margin: 10px auto 0;
  background: var(--green);
  border-radius: 2px;
}

/* Grid */
.features-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
   max-width: 1000px; /* 👈 ограничиваем ширину */
  margin: 0 auto;
}

/* Box */
.feature-box {
  position: relative;
  width: 320px;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  margin: 20px;
}

.feature-box::before,
.feature-box::after {
  content:'';
  position: absolute;
  top: 0;
  left: 50px;
  width: 50%;
  height: 100%;
  background: linear-gradient(315deg, #016d3b, #019c4c); /* более спокойные зелёные */
  border-radius: 8px;
  transform: skewX(15deg);
  transition: 0.5s;
}

/* 🔥 убрано свечение */
/* feature-box::after {
   filter: blur(30px);
} */

.feature-box:hover::before,
.feature-box:hover::after {
  transform: skewX(0deg);
  left: 20px;
  width: calc(100% - 90px);
}

/* Content */
.feature-box span {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.feature-box .content {
  position: relative;
  left: 0;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border-radius: 8px;
  z-index: 1;
  color: #fff;
  transition: 0.5s;
}

.feature-box:hover .content {
  left: -25px;
  padding: 40px 30px;
}

.feature-box .content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--green);
}

.feature-box .content p {
  font-size: 1rem;
  line-height: 1.4em;
  color: #ddd;
}
.games-section {
  padding: 60px 20px;
  text-align: center;
  
}

.games-section .section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff;
  position: relative;
}

.games-section .section-title::after {
  content: "";
  display: block;
  height: 3px;
  width: 50px;
  margin: 10px auto 0;
  background: var(--green);
  border-radius: 2px;
}

/* Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Card */
.game-card {
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
   animation: pulse 2s infinite ease-in-out;
}

/* Анимация */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(247, 247, 247, 0.2);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
  }
}

/* Ховер всё равно работает */
.game-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 200, 81, 0.5);
}

.game-card img {
  width: 100%;
  aspect-ratio: 4/5; /* или 16/9 */
  object-fit: cover;
  object-position: center top; /* можно сместить вверх */
  display: block;
}

.game-card h3 {
  font-size: 1.2rem;
  margin: 15px 0 10px;
  color: #fff;
}

/* Free Button */
.btn-free {
  display: inline-block;
  margin: 10px 0 20px;
  background: var(--green);
  color: #fff;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-free:hover {
  background: var(--green-hover);
  transform: scale(1.05);
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 10px; /* чтобы не липло к краям */
}

.modal-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9; /* сохраняем пропорции */
  max-height: 80vh; /* на десктопах */
  border: none;
  display: block;
}

/* Кнопка закрытия */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 10;
}
.close:hover {
  color: var(--green);
}

/* Кнопка во весь экран */
.fullscreen-btn {
  position: absolute;
  top: 10px;
  right: 50px;
  background: var(--green);
  border: none;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  z-index: 10;
  transition: all 0.3s ease;
}
.fullscreen-btn:hover {
  background: var(--green-hover);
  transform: scale(1.1);
}
/* Мобилки */
@media (max-width: 768px) {
  .games-section {
    padding: 40px 10px;
  }

  .game-card img {
    height: 120px; /* уменьшаем картинку */
  }

  .game-card h3 {
    font-size: 1rem;
  }

  .btn-free {
    padding: 6px 14px;
    font-size: 0.9rem;
  }

    .modal-content {
    width: 100%;
    height: 100%;
    border-radius: 0;
    margin: 0;
  }

  .modal-content iframe {
    width: 100%;
    height: 100vh; /* во весь экран */
    aspect-ratio: auto; /* убираем фиксированные пропорции */
  }


  /* Кнопки в модалке */
  .close, .fullscreen-btn {
    font-size: 22px;
    top: 8px;
  }

  .fullscreen-btn {
    right: 40px;
    padding: 4px 8px;
  }
}


.faq-section {
  padding: 60px 20px;
  background: var(--bg);
  color: var(--text);
}

/* Верхний блок */
.faq-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.faq-left {
  flex: 1;
  min-width: 280px;
}

.faq-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  position: relative;
  color: #fff;
}

.faq-title::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--green);
}

.faq-left p {
  color: #ccc;
  margin-bottom: 20px;
  max-width: 400px;
}

.btn-faq {
  display: inline-block;
  background: var(--green);
  padding: 10px 20px;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.btn-faq:hover {
  background: var(--green-hover);
}

.faq-img img {
  max-width: 420px;
}

/* Нижний блок */
.faq-bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Аккордеон */
.faq-accordion {
  flex: 1;
  min-width: 280px;
}
.accordion-item {
  margin-bottom: 10px;
  background: var(--header-bg);
  border-radius: 4px;
  overflow: hidden;
}
.accordion-btn {
  width: 100%;
  padding: 15px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: bold;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}
.accordion-btn:hover {
  background: rgba(0, 200, 81, 0.1);
}
.accordion-btn span {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--green);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease;
}
.accordion-content p {
  margin: 10px 0;
  color: #bbb;
}

/* Правая часть */
.faq-right {
  flex: 1;
  min-width: 250px;
}
.faq-right h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}
.faq-right p {
  color: #ccc;
  margin-bottom: 20px;
}
.btn-question {
  display: inline-block;
  background: var(--green);
  padding: 10px 20px;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.btn-question:hover {
  background: var(--green-hover);
}

/* Мобилки */
@media (max-width: 768px) {
  .faq-container,
  .faq-bottom {
    flex-direction: column;
    text-align: center;
  }

  .faq-title::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .faq-img img {
    margin: 0 auto;
  }
}
.features-section {
  padding: 60px 20px;
  background: var(--bg);
  color: var(--text);
  text-align: center;
}

/* Заголовок */
.features-title {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #fff;
}
.features-title span {
  color: var(--green);
}
.features-subtitle {
  max-width: 800px;
  margin: 0 auto 50px;
  color: #bbb;
  font-size: 1rem;
  line-height: 1.6;
}

/* Сетка */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Карточка */
.feature-item {
  background: var(--header-bg);
  padding: 25px 20px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.feature-item i {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 15px;
}
.feature-item h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}
.feature-item p {
  font-size: 0.95rem;
  color: #ccc;
}

/* Hover */
.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 4px 15px rgba(0, 200, 81, 0.2);
}

/* Мобилки */
@media (max-width: 768px) {
  .features-title {
    font-size: 1.6rem;
  }
  .features-subtitle {
    font-size: 0.95rem;
  }
}
.contact-section {
  position: relative;
  padding: 80px 20px;
  background: url("../assetss/images/hero.webp") center/cover no-repeat;
  color: var(--text);
  text-align: center;
  overflow: hidden;
}

/* затемнение поверх картинки */
.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 0;
}

.contact-section .container {
  position: relative;
  z-index: 1; /* чтобы контент был поверх overlay */
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.contact-subtitle {
  margin-bottom: 30px;
  color: #ddd;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #333;
  border-radius: 6px;
  background: rgba(28,28,28,0.8); /* полупрозрачный фон */
  color: #fff;
  font-size: 1rem;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid var(--green);
  outline: none;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--green);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--green-hover);
  transform: scale(1.05);
}

/* Сообщение */
.form-message {
  display: none;
  margin-top: 20px;
  padding: 12px;
  background: rgba(0, 200, 81, 0.1);
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--green);
  font-weight: bold;
  text-align: center;
}
.section-divider-glow {
  height: 3px;
  width: 85%;
  margin: 50px auto;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  border-radius: 2px;
}
.about-section {
  padding: 80px 20px;
  background: var(--bg);
  color: var(--text);
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--green);
}

.about-text h2 span {
  color: #fff;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #ccc;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.about-list li {
  margin-bottom: 10px;
  color: #ddd;
  font-size: 1rem;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.about-stats div {
  text-align: center;
}

.about-stats span {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--green);
  display: block;
}

.about-stats p {
  color: #aaa;
  font-size: 0.9rem;
  margin: 5px 0 0;
}

.about-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  object-fit: cover;
}

/* 📱 Мобилки */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    text-align: center;
  }
  .about-stats {
    justify-content: center;
  }
}
.wishes-section {
  padding: 60px 20px;
  text-align: center;
  border-top: 4px solid var(--green);
  border-bottom: 4px solid var(--green);

  /* 🎇 Мерцающий фон */
  background: linear-gradient(270deg, #111, #1c1c1c, #0f3d25, #111);
  background-size: 400% 400%;
  animation: glowingBg 12s ease infinite;
}

/* Анимация переливания */
@keyframes glowingBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.wishes-section .section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--green);
  position: relative;
}

.wishes-section .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--green);
  margin: 10px auto 0;
  border-radius: 2px;
}

.wishes-text {
  font-size: 1.1rem;
  color: #ddd;
  max-width: 800px;
  margin: 10px auto;
  line-height: 1.6em;
}
/* DISCLAIMER */
.disclaimer-section {
  background: #111;
  padding: 40px 20px;
  text-align: center;
  border-top: 4px solid var(--green);
  
}

.disclaimer-title {
  color: red;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.disclaimer-text {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 25px;
}

.dis__images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dis__images img {
  height: 40px;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.3s ease;
}

.dis__images img:hover {
  filter: grayscale(0) brightness(1);
  transform: scale(1.05);
}
.support-section {
  background: #111; /* фон */
  color: var(--text);
  padding: 60px 20px;
}

.support-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
}

.support-info {
  flex: 1 1 500px;
}

.support-info h2 {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 20px;
}

.support-info p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.support-list {
  list-style: none;
  padding: 0;
}

.support-list li {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.support-list strong {
  color: var(--green);
}

.support-image {
  flex: 1 1 400px;
  text-align: center;
}

.support-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* 📱 Мобилки */
@media (max-width: 768px) {
  .support-section .container {
    flex-direction: column;
    text-align: center;
  }

  .support-info {
    flex: 1 1 100%;
  }

  .support-image {
    flex: 1 1 100%;
  }
}
.reviews-section {
  background: #111;
  color: var(--text);
  padding: 80px 20px;
  text-align: center;
}

.reviews-title {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: var(--green);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: #1c1c1c;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
  position: relative;
}

.review-card:hover {
  transform: translateY(-6px);
}

.review-card i {
  font-size: 2rem;
  color: #db4437; /* цвет Google */
  margin-bottom: 15px;
}

.player-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 10px;
}

.comment {
  font-size: 1rem;
  line-height: 1.5;
  color: #ddd;
}
.agreements-section {
  background: #111;
  color: var(--text);
  padding: 70px 20px;
}

.agreements-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.agreements-section h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--green);
}

.agreements-section .intro {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #ccc;
}

.agreement-box {
  background: #1c1c1c;
  border-left: 5px solid var(--green);
  padding: 20px 25px;
  border-radius: 8px;
  margin-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agreement-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.agreement-box h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--green);
}

.agreement-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}
/* ====== 📱 Мобильная адаптация ====== */
@media (max-width: 768px) {

  /* HEADER */
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .logo {
    font-size: 1.4rem;
  }

  /* HERO */
  .hero-section {
    height: auto;
    min-height: 400px;
    padding: 40px 20px;
    background-attachment: scroll; /* на мобилках фикс багует */
    justify-content: center;
    text-align: center;
  }
  .hero-content {
    margin-left: 0;
    max-width: 100%;
  }
  .hero-content h2 {
    font-size: 1.5rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }

  /* FOOTER */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-col {
    width: 100%;
  }
  .footer-socials a {
    margin-right: 8px;
    font-size: 1.1rem;
  }

  /* REVIEWS */
  .reviews-title {
    font-size: 1.6rem;
  }
  .review-card {
    padding: 18px;
  }
  .player-name {
    font-size: 1rem;
  }
  .comment {
    font-size: 0.9rem;
  }

  /* AGREEMENTS */
  .agreements-section h1 {
    font-size: 1.8rem;
  }
  .agreement-box h2 {
    font-size: 1.2rem;
  }
  .agreement-box p {
    font-size: 0.9rem;
  }
}
/* Затемнение фона */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Контент баннера */
.popup-content {
  background: #948a8a; /* насыщенный зелёный */
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 320px;
 
  animation: fadeIn 0.5s ease-in-out;
}

.popup-content h2 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #00ff7f;
  text-shadow: 0 0 10px #00ff7f;
}

.popup-content p {
  margin-bottom: 20px;
  font-size: 16px;
}

.popup-content button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

#enterBtn {
  background: #00cc66;
  color: #fff;
}

#enterBtn:hover {
  background: #00ff7f;
}

.leave {
  background: #ff4444;
  color: #fff;
}

.leave:hover {
  background: #ff6666;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}