/* === Общие стили === */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(120deg, #2b003d, #0a0020);
  color: #fff;
  overflow-x: hidden;
  animation: backgroundMove 20s infinite alternate;
}

@keyframes backgroundMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === Хедер === */
/* --- Хедер --- */
/* === Хедер === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(24, 0, 49, 0.8);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1000;
}

.burger {
  font-size: 2.2rem;
  cursor: pointer;
  display: none;
  color: #c877ff;
  z-index: 1100;
}

header .logo {
  height: 60px;
}

/* --- Меню --- */
nav {
  display: flex;
  gap: 25px;
}

/* Ссылки */
nav a {
  text-decoration: none;
  color: #af04f9;
  font-weight: 600;
  transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover {
  color: #c877ff;
  text-shadow: 0 0 10px #ff88ff;
}

/* --- АДАПТИВ --- */
@media (max-width: 1000px) {
  .burger {
    display: block;
    z-index: 3333
    
    ;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* на весь экран */
    display: flex;
    flex-direction: column;
    justify-content: center; /* центр по вертикали */
    align-items: center;     /* центр по горизонтали */
    background: rgba(20, 0, 40, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 2000;
  }

  nav.active {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
  }

  nav a {
    font-size: 1.8rem;
    margin: 10px 0;
    color: #fff;
    text-shadow: 0 0 10px #c877ff;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  nav.active a {
    opacity: 1;
    transform: translateY(0);
  }

  

  /* Анимация ссылок по очереди */
  nav.active a:nth-child(1) { transition-delay: 0.05s; }
  nav.active a:nth-child(2) { transition-delay: 0.10s; }
  nav.active a:nth-child(3) { transition-delay: 0.15s; }
  nav.active a:nth-child(4) { transition-delay: 0.20s; }
  nav.active a:nth-child(5) { transition-delay: 0.25s; }
  nav.active a:nth-child(6) { transition-delay: 0.30s; }
}


/* === Основной контент === */
main {
  padding: 40px 15px;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Раздел отзывов === */
#reviews h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #c877ff;
  text-align: center;
  text-shadow: 0 0 8px #c877ff;
}

#reviews p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #ccc;
}

/* === Карточки отзывов === */
.review {
  background: linear-gradient(135deg, #33004d, #1a0026);
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 25px;
  box-shadow: 0 0 15px #c877ff, 0 8px 20px rgba(0,0,0,0.6);
  transition: transform 0.3s, box-shadow 0.3s;
}

.review:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 0 25px #ff88ff, 0 12px 30px rgba(0,0,0,0.8);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.review-header .player-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 20px;
  border: 2px solid #c877ff;
  box-shadow: 0 0 10px #c877ff;
}

.review-header .review-info h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #f0c0ff;
}

.review-header .review-info .review-date {
  font-size: 0.9rem;
  color: #aaa;
}

.review-header .review-info .review-rating {
  font-size: 1.2rem;
  color: #ff99ff;
  
}

.review-text {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.5;
}

/* === Форма добавления отзыва === */
#submit-review h2 {
  font-size: 2.2rem;
  color: #c877ff;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #c877ff;
}

#submit-review form {
  background: linear-gradient(135deg, #33004d, #1a0026);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 0 15px #c877ff, 0 8px 20px rgba(0,0,0,0.6);
  max-width: 600px;
  margin: 0 auto;
  transition: box-shadow 0.3s;
}

#submit-review form:hover {
  box-shadow: 0 0 25px #ff88ff, 0 12px 30px rgba(0,0,0,0.8);
}

#submit-review form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #e0c0ff;
}



#submit-review form input,
#submit-review form textarea,
#submit-review form select,
#submit-review form button {
  width: 95%;
  padding: 2%;
  margin-bottom: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  background-color: rgba(50,0,80,0.7);
  color: #fff;
  
}

#submit-review form textarea {
  resize: vertical;
}

#submit-review form button {
  background: #c877ff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

#submit-review form button:hover {
  background: #ff88ff;
  transform: translateY(-2px);
  box-shadow: 0 0 15px #ff88ff;
}



@media (max-width: 768px) {
  #submit-review h2 {
    font-size: 2rem;
    margin-bottom: 18px;
  }

  #submit-review form {
    padding: 20px;
    max-width: 90%;
  }

  #submit-review form input,
  #submit-review form textarea,
  #submit-review form select,
  #submit-review form button {
    width: 100%;
    padding: 10px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  #submit-review h2 {
    font-size: 1.8rem;
  }

  #submit-review form {
    padding: 15px;
    max-width: 95%;
  }

  #submit-review form input,
  #submit-review form textarea,
  #submit-review form select,
  #submit-review form button {
    padding: 8px;
    font-size: 0.9rem;
  }
}


/* === Магические частицы на фоне === */
body::before {
  content: '';
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: url('images/magic-particles.png') repeat;
  opacity: 0.1;
  pointer-events: none;
}


/* === Секция Hero Fullscreen === */#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('images/hero-bg.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

/* Затемнённый фон за меню при активном состоянии */
nav.active::before {
  content: '';
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.4);
  z-index: -1; /* позади ссылок меню */
  border-radius: 0;
}

/* Блок поверх фона с "glass effect" */
.hero-overlay {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 60px;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 20px;
  z-index: 2;
}

/* Заголовок и параграф */
.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.hero-overlay .btn {
  display: inline-block;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.3s, transform 0.2s;
}

.hero-overlay .btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
}

/* === Секция Jogos / Slots === */
#games {
  padding: 60px 20px;
  background: linear-gradient(135deg, #1a0026, #33004d);
  text-align: center;
  color: #fff;
}

#games h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #c877ff;
  text-shadow: 0 0 10px #c877ff;
}

#games p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ddd;
}

/* Контейнер слотов */
.slots-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Каждый слот */
.slot {
  background: linear-gradient(135deg, #33004d, #1a0026);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 15px #c877ff, 0 8px 20px rgba(0,0,0,0.6);
  transition: transform 0.3s, box-shadow 0.3s;
}

.slot:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px #ff88ff, 0 12px 30px rgba(0,0,0,0.8);
}

/* Изображение слота */
.slot-img {
  width: 100%;
  display: block;
}

/* Название слота */
.slot h3 {
  font-size: 1.4rem;
  margin: 15px 0;
  color: #f0c0ff;
  text-shadow: 0 0 8px #c877ff;
}

/* Кнопка "Jogar Agora" */
.btn-slot {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-slot:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 0 15px #ff88ff;
}

/* === Адаптивность === */

/* Планшеты */
@media screen and (max-width: 992px) {
  .slots-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Мобильные */
@media screen and (max-width: 600px) {
  .slots-container {
    grid-template-columns: 1fr;
  }
}


footer {
  background: rgb(255, 255, 255);
  padding: 30px 20px;
  text-align: center;
  color: #000000;
  text-shadow: 0 0 5px #c877ff;
  backdrop-filter: blur(8px);
  border-top: 2px solid #c877ff;
}

/* Логотипы футера */
.footer-logos {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-logos img {
  height: 40px;
  width: auto;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 10px;
}

.footer-logos img:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #39003c;
}

/* Ссылки футера */
footer .footer-links {
  margin-top: 10px;
}

footer .footer-links a {
  color: #000000;
  margin: 0 12px;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

footer .footer-links a:hover {
  color: #580068;
  text-shadow: 0 0 15px #3e003e;
}

@media (max-width: 768px) {
  footer {
    padding: 20px 15px;
    font-size: 0.95rem;
  }

  .footer-logos {
    flex-wrap: wrap; /* логотипы переходят на новую строку */
    gap: 15px;
  }

  .footer-logos img {
    height: 35px;
    padding: 8px;
  }

  footer .footer-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  footer .footer-links a {
    margin: 0;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 15px 10px;
    font-size: 0.9rem;
  }

  .footer-logos {
    flex-direction: column; /* лого одно под другим */
    align-items: center;
    gap: 10px;
  }

  .footer-logos img {
    height: 30px;
    padding: 6px;
  }

  footer .footer-links {
    margin-top: 12px;
    font-size: 0.85rem;
    gap: 6px;
  }
}

#why-us {
  padding: 60px 20px;
  background: linear-gradient(135deg, #2a013e, #460069);
  color: #fff;
  text-align: center;
}

#why-us h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #ff88ff;
  text-shadow: 0 0 10px #ff88ff;
}

#why-us p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ddd;
}

/* Контейнер карточек */
.features-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Каждая карточка */
.feature {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 25px 15px;
  box-shadow: 0 0 10px rgba(255, 136, 255, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px #ff88ff, 0 10px 30px rgba(0,0,0,0.6);
}

.feature img {
  width: 80px;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffccff;
}

.feature p {
  font-size: 1rem;
  color: #ddd;
}

/* Адаптивность */
@media screen and (max-width: 992px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .features-container {
    grid-template-columns: 1fr;
  }
}

/* Модальное окно */
.modal {
  display: none; /* скрыто по умолчанию */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  padding: 30px;
}

/* Контент модалки */
.modal-content {
  background: rgba(30, 0, 50, 0.9);
  padding: 25px;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  color: #fff;
  text-align: left;
  box-shadow: 0 0 20px #ff88ff;
  animation: fadeIn 0.4s;
}

.modal-content h2 {
  margin-top: 0;
  color: #ffccff;
  text-align: center;
}

.modal-content label {
  display: block;
  margin-top: 10px;
}

.modal-content input {
  width: 90%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.modal-content button {
  margin-top: 15px;
  width: 95%;
  padding: 12px;
  background: #c877ff;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-content button:hover {
  background: #ff88ff;
}

/* Кнопка закрытия */
.close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
}

.close:hover {
  color: #ff88ff;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}


@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 20px;
    font-size: 0.95rem;
  }

  .modal-content input,
  .modal-content button {
    width: 100%;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 100%;
    height: auto;
    border-radius: 0; /* убираем скругления на очень маленьких экранах */
    max-width: none;
    padding: 15px;
  }

  .modal-content h2 {
    font-size: 1.2rem;
  }

  .modal-content input,
  .modal-content button {
    font-size: 0.9rem;
    padding: 10px;
  }

  .close {
    font-size: 1.2rem;
    top: 10px;
    right: 10px;
  }
}

/* === Age modal === */
.age-modal[hidden] { display: none; }

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 4000; /* достаточно высоко чтобы быть над меню и модалками */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* backdrop overlay */
.age-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: auto;
}

/* panel */
.age-modal__panel {
  position: relative;
  width: min(760px, 92%);
  max-width: 760px;
  background: linear-gradient(180deg, rgba(40,6,60,0.98), rgba(16,4,30,0.98));
  color: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 30px rgba(200,100,255,0.08);
  text-align: center;
  pointer-events: auto;
  transform: translateY(8px);
}

/* close button */
.age-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

/* heading + text */
.age-modal__panel h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: #ffd7ff;
  text-shadow: 0 0 10px rgba(200,120,255,0.2);
}

.age-modal__panel p {
  margin: 0 0 18px;
  color: #e8d9f2;
  line-height: 1.45;
}

/* controls */
.age-modal__controls {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* remember checkbox */
.age-remember {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #e8d9f2;
  font-size: 0.95rem;
  cursor: pointer;
}

/* buttons container */
.age-buttons {
  display: flex;
  gap: 12px;
}

/* buttons */
.btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  min-width: 120px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  transition: transform .16s ease, box-shadow .16s ease;
}

.btn:active { transform: translateY(1px); }

.btn-yes {
  background: linear-gradient(90deg,#9c5bff,#ff88ff);
  color: #080009;
  text-shadow: 0 0 6px rgba(255,255,255,0.05);
}

.btn-yes:hover { box-shadow: 0 10px 30px rgba(156,91,255,0.28); }

.btn-no {
  background: linear-gradient(90deg,#3b3b3b,#222022);
  color: #fff;
}

.btn-no:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.28); }

/* responsive */
@media (max-width: 600px) {
  .age-modal__panel { padding: 18px; border-radius: 10px; width: min(92%, 420px); }
  .age-modal__panel h2 { font-size: 1.3rem; }
  .btn { min-width: 100px; padding: 10px 12px; font-size: 0.95rem; }
  .age-modal__controls { gap: 10px; }
}


/* === Cookie modal === */
.cookie-modal[hidden] { display: none; }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: auto;
}

.cookie-modal__panel {
  position: relative;
  width: min(760px, 92%);
  background: linear-gradient(180deg, rgba(40,6,60,0.98), rgba(16,4,30,0.98));
  color: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 30px rgba(200,100,255,0.08);
  text-align: center;
  pointer-events: auto;
}

.cookie-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

.cookie-modal__panel h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: #ffd7ff;
  text-shadow: 0 0 10px rgba(200,120,255,0.2);
}

.cookie-modal__panel p {
  margin: 0 0 18px;
  color: #e8d9f2;
  line-height: 1.45;
}

.cookie-modal__controls {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-remember {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #e8d9f2;
  font-size: 0.95rem;
  cursor: pointer;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

@media (max-width: 600px) {
  .cookie-modal__panel { padding: 18px; border-radius: 10px; width: min(92%, 420px); }
  .cookie-modal__panel h2 { font-size: 1.3rem; }
  .btn { min-width: 100px; padding: 10px 12px; font-size: 0.95rem; }
  .cookie-modal__controls { gap: 10px; }
}

