html {
  scroll-behavior: smooth;
}
/* Общие стили для body и форм */
body {
  font-family: 'Arial', sans-serif;
  background: #0b0f1a;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.popup { display:none; position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.8); justify-content:center; align-items:center; z-index:9999; }
.popup-content { background:#fff; padding:20px; text-align:center; border-radius:10px; color:#000; }


h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #ffd700; /* золотой для акцента */
}

/* Основной контент */
main {
  padding: 120px 20px 40px 20px; 
  text-align: center;
  background: #0b0f1a;
  min-height: 100vh;
  color: #fff;
  font-family: 'Arial', sans-serif;
}

/* Заголовок слота */
main h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #ffd700; /* золотой акцент */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Изображение слота */
main img {
  max-width: 90%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  margin: 20px 0;
  transition: transform 0.3s, box-shadow 0.3s;
}

main img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.8);
}

/* Описание слота */
main p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  color: #ddd;
}

.slot-container {
  margin: 30px auto;
  max-width: 900px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.8);
}

/* Баннер +18 */
.age-banner {
  position: fixed;
  top: 0;
  width: 100%;
  background: red;
  color: #fff;
  text-align: center;
  padding: 5px;
  font-weight: bold;
  z-index: 999;
  font-family: 'Arial', sans-serif;
  margin: 0;
}

/* Хедер */
.site-header {
  position: fixed;
  top: 28px; /* ниже баннера */
  width: 100%;
  background: #111;
  margin: 0;
  display: flex;
  justify-content: center;
  z-index: 998;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.site-header .container {
  width: 90%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo img {
  height: 50px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  transition: 0.3s;
}

.main-nav a:hover {
  color: #ffd700;
  transition: 0.5s;
}

#loginForm{
    margin: auto;
    padding: auto;
    margin-top: 40px;
}

#registerForm{
    margin: auto;
    padding: auto;
    margin-top: 40px;
}
/* Кнопки Login/Register */
.login-btn {
  border: 1px solid #ffd700;
  padding: 5px 12px;
  border-radius: 5px;
}

.register-btn {
  background: #ffd700;
  color: #111;
  padding: 5px 12px;
  border-radius: 5px;
  margin-left: 5px;
}

.register-btn:hover {
  background-color: #fff;
}

/* Бургер-меню */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
}

/* Адаптив для мобильных */
@media (max-width: 908px) {
  .main-nav {
    position: fixed;
    top: 110px; /* ниже баннера и хедера */
    right: -100%;
    background: #111;
    height: 100vh;
    width: 250px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: 0.3s;
    padding: 10px;
  }
  .burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 10px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -10px);
}

  .container{
    padding: 10px;
  }

  .main-nav a {
    margin: 15px 0;
    font-size: 18px;
    display: block;
  }

  .burger {
    display: flex;
  }

  .main-nav.active {
    right: 0;
  }
}



/* Hero-блок */
.hero {
  position: relative;
  padding: 50px 20px;
  text-align: center;
  border-radius: 15px;
  overflow: hidden;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

/* Canvas фон */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* под контентом */
}

/* Содержимое Hero */
.hero-content {
  position: relative;
  z-index: 2; /* поверх canvas */
  max-width: 700px;
  padding: 0 15px;
}

/* Заголовок */
.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #ffd700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  line-height: 1.2;
}

/* Подзаголовок */
.hero h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 400;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* Основной текст */
.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #ddd;
}

/* Блок кнопок */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Кнопки */
.hero-btn {
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s;
}

.primary-btn {
  background: #ffd700;
  color: #111;
}

.primary-btn:hover {
  background: #e6c200;
  transform: scale(1.05);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid #fff;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Адаптивные стили */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 42px;
  }
  .hero h2 {
    font-size: 22px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero-btn {
    font-size: 16px;
    padding: 12px 25px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 15px;
    min-height: 450px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero h2 {
    font-size: 20px;
  }
  .hero p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 10px;
    min-height: 400px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero h2 {
    font-size: 18px;
  }
  .hero p {
    font-size: 14px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .hero-btn {
    width: 100%;
    text-align: center;
  }
}


/* Стили формы */
form {
  background: #1a1f2e;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

form input {
  width: 90%;
  padding: 12px 15px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 16px;
  background: #2c3145;
  color: #fff;
}

form input::placeholder {
  color: #bbb;
}

form button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: none;
  border-radius: 8px;
  background: #ffd700;
  color: #0b0f1a;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #e6c200;
}

/* Сообщение об ошибке или успехе */
#message {
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  color: #ff6b6b; /* красный по умолчанию */
}

#message.success {
  color: #4caf50; /* зелёный для успешной регистрации */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
  form {
    padding: 20px;
  }

  form button {
    font-size: 16px;
  }
}


.slots-section {
  padding: 60px 20px;
  background: #0b0f1a;
  color: #fff;
  text-align: center;
}

.slots-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffd700;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.slots-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* Карточка слота */
.slot-card {
  background: #1a1f2e;
  border-radius: 15px;
  width: 300px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  transition: transform 0.3s, box-shadow 0.3s;
}

.slot-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.8);
}

.slot-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.slot-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffd700;
}

.slot-card p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ddd;
  line-height: 1.4;
}

/* Кнопка */
.slot-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #ffd700;
  color: #111;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.slot-btn:hover {
  background: #e6c200;
  transform: scale(1.05);
}

/* Адаптив */
@media (max-width: 768px) {
  .slots-container {
    flex-direction: column;
    align-items: center;
  }

  .slot-card {
    width: 90%;
  }
}


.features-section {
  padding: 60px 20px;
  background: #0b0f1a;
  color: #fff;
  text-align: center;
}

.features-section h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #ffd700;
}

.features-section p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #ddd;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Контейнер карточек */
.features-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

/* Карточка */
.feature-card {
  background: #1a1f2e;
  border-radius: 15px;
  padding: 25px 20px;
  width: 250px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.8);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #ffd700;
}

.feature-card p {
  font-size: 16px;
  color: #ddd;
  line-height: 1.4;
}

/* Адаптив */
@media (max-width: 768px) {
  .features-container {
    flex-direction: column;
    align-items: center;
  }
  .feature-card {
    width: 90%;
  }
}

.cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a1f2e, #0b0f1a);
  border-radius: 15px;
  text-align: center;
  color: #fff;
  margin: 60px auto;
  max-width: 900px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.7);
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #ffd700;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #ddd;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s;
}

.primary-btn {
  background: #ffd700;
  color: #111;
}

.primary-btn:hover {
  background: #e6c200;
  transform: scale(1.05);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid #fff;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Адаптив */
@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 28px;
  }
  .cta-section p {
    font-size: 16px;
  }
  .cta-btn {
    font-size: 16px;
    padding: 12px 25px;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}


.reviews-section {
  padding: 60px 20px;
  background: #0b0f1a;
  color: #fff;
  text-align: center;
}

.reviews-section h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #ffd700;
}

.reviews-section p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #ddd;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Контейнер карточек */
.reviews-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

/* Карточка отзыва */
.review-card {
  background: #1a1f2e;
  border-radius: 15px;
  padding: 25px 20px;
  width: 250px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.8);
}

.review-card p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.5;
  color: #ddd;
}

.review-card span {
  font-weight: bold;
  color: #ffd700;
  font-size: 14px;
}

/* Адаптив */
@media (max-width: 768px) {
  .reviews-container {
    flex-direction: column;
    align-items: center;
  }
  .review-card {
    width: 90%;
  }
}


.site-footer {
  background: #11141f;
  color: #ccc;
  padding: 60px 10px;
  text-align: center;
  font-size: 14px;
}

.site-footer h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffd700;
}

.site-footer p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-links {
  margin: 20px 0;
}

.footer-links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffd700;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.footer-logos img {
  height: 60px;
  transition: transform 0.3s;
  border-radius: 0;
    box-shadow: none; 
}

.footer-logos a:hover img {
  transform: scale(1.1);
}

.footer-copy {
  margin-top: 15px;
  color: #888;
}


.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1f2e;
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 500px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

.cookie-popup p {
  margin: 0;
  line-height: 1.4;
}

.cookie-popup a {
  color: #ffd700;
  text-decoration: underline;
}

.cookie-popup button {
  padding: 8px 15px;
  background: #ffd700;
  color: #111;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.cookie-popup button:hover {
  background: #e6c200;
}


/* Общий контейнер попапа */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85); /* затемнение фона */
  display: none; /* по умолчанию скрыт */
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

/* Контент попапа */
.popup-content {
  background: #1a1f2e;
  color: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.8);
  animation: fadeIn 0.4s ease;
}

/* Текст */
.popup-content p {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Кнопка */
.popup-content button {
  background: #ffd700;
  border: none;
  color: #111;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.popup-content button:hover {
  background: #e6c200;
  transform: scale(1.05);
}

/* Анимация */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Адаптив */
@media (max-width: 480px) {
  .popup-content {
    padding: 20px 15px;
  }
  .popup-content p {
    font-size: 16px;
  }
  .popup-content button {
    font-size: 14px;
    padding: 10px 20px;
  }
}

.legal-page {
  padding: 60px 20px;
  background: linear-gradient(135deg, #0d1117, #1c1f26);
  color: #e4e4e4;
  line-height: 1.7;
  font-family: 'Arial', sans-serif;
}

.legal-page .container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
}

.legal-page h1 {
  font-size: 2.4rem;
  margin-bottom: 25px;
  text-align: center;
  background: linear-gradient(90deg, #ffcc00, #ff6600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.legal-page h2 {
  font-size: 1.6rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffcc00;
  border-left: 4px solid #ff6600;
  padding-left: 12px;
}

.legal-page ul {
  margin-left: 20px;
  list-style: none;
  padding: 0;
}

.legal-page ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
}

.legal-page ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ffcc00;
  font-weight: bold;
}

.legal-page p {
  font-size: 1.05rem;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .legal-page .container {
    padding: 25px;
  }

  .legal-page h1 {
    font-size: 2rem;
  }

  .legal-page h2 {
    font-size: 1.3rem;
  }
}
