/* =========================
   Общие стили
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: #0b0f1a;
  color: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}


/* =========================
   +18 fixed banner
========================= */
/* =========================
   +18 fixed banner
========================= */
.age-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: red;
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 8px 0;
  z-index: 1001;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

/* =========================
   Header
========================= */
.site-header {
  background: #111;
  padding: 15px 30px;
  position: fixed;
  top: 28px; /* ниже баннера */
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Лого */
.site-header .logo img {
  display: block;
  height: 60px;
}

/* Навигация */
.main-nav {
  display: flex;
  gap: 25px;
  flex-direction: row;
  position: static; /* обычное состояние */
  height: auto;
  width: auto;
  background: none;
  padding: 0;
}


.main-nav.active {
  right: 0; /* появляется справа */
}

/* Ссылки меню */
.main-nav a {
  color: #f1c40f;
  font-weight: bold;
  text-decoration: none;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #f1c40f;
  border-radius: 2px;
  transition: 0.3s;
}

/* Превращение в X */
.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Overlay */
#overlay {
  display: none;
  position: fixed;
  top: 28px; /* под баннером */
  left: 0;
  width: 100%;
  height: calc(100vh - 28px);
  background: rgba(0,0,0,0.5);
  z-index: 100;
}

/* Адаптив */
@media (max-width: 768px) {
    .burger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 28px; /* под баннером */
    right: -100%;
    width: 250px;
    height: calc(100vh - 28px);
    background: #111;
    flex-direction: column;
    padding: 60px 20px;
    gap: 20px;
    z-index: 1050;
  }

  .main-nav.active {
    right: 0;
  }
}

/* =========================
   Hero
========================= */
.hero {
  text-align: center;
  padding: 150px 20px;
  background: linear-gradient(135deg, #1a1f35, #0b0f1a);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(241,196,15,0.3), rgba(46,204,113,0.2), transparent 70%);
  animation: rotateBackground 15s linear infinite, pulseGradient 6s ease-in-out infinite alternate;
  z-index: 0;
}

/* Поворот и пульсация градиента */
@keyframes rotateBackground {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseGradient {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 0.6; }
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pulse-text {
  font-size: 3rem;
  font-weight: bold;
  color: #f1c40f;
  text-shadow: 0 0 20px rgba(241,196,15,0.8);
  animation: pulse 2s infinite ease-in-out;
}

.hero-content p {
  font-size: 1.3rem;
  margin-top: 20px;
  color: #ddd;
  line-height: 1.6;
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 1; }
  50%  { transform: scale(1.1); opacity: 0.85; }
  100% { transform: scale(1);   opacity: 1; }
}

/* Адаптив */
@media (max-width: 768px) {
  .hero {
    padding: 150px 25px;
    margin-top: 50px;
    min-height: 100vh;
  }
  .pulse-text {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
}



/* =========================
   Slots
========================= */
.slots {
  padding: 60px 20px;
  background: #141a2b;
  text-align: center;
}

.slots h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #f1c40f;
}

.card-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.slot-card {
  background: #111;
  border: 2px solid #333;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.slot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.slot-card img {
  width: 100%;
  border-radius: 8px;
}

.slot-card h3 {
  margin: 15px 0;
  font-size: 1.3rem;
  color: #f1c40f;
}

.play-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #e67e22;
  color: #fff;
  border-radius: 5px;
  transition: background 0.3s, transform 0.3s;
  font-weight: bold;
}

.play-btn:hover {
  background: #d35400;
  transform: scale(1.05);
}

/* =========================
   FAQ
========================= */
.faq {
  padding: 60px 20px;
  background: #0b0f1a;
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #f1c40f;
}

/* Аккордеон */
.faq-item {
  margin: 10px auto;
  max-width: 800px;
  border-bottom: 1px solid #333;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  background: #111;
  color: #f1c40f;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  outline: none;
}

.faq-question:hover {
  background: #222;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #141a2b;
  padding: 0 20px;
}

.faq-answer p {
  padding: 10px 0;
  color: #ddd;
}


/* =========================
   Footer
========================= */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-logos {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 25px;
  align-items: center;
}

.footer-logos a img {
  height: 50px;
  transition: transform 0.3s;
}

.footer-logos a img:hover {
  transform: scale(1.1);
}


/* =========================
   Popup Age Verification
========================= */
.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #222;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  color: #fff;
}

.popup-content h2 {
  margin-bottom: 15px;
  color: #f1c40f;
}

.popup-content button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #27ae60;
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: bold;
}

.popup-content button:hover {
  background: #219150;
}

/* =========================
   Адаптив
========================= */
@media (max-width: 768px) {
  .main-nav {
    text-align: center;
    margin-top: 10px;
  }
  .main-nav a {
    display: inline-block;
    margin: 8px;
  }
  .pulse-text {
    font-size: 2rem;
  }
  .card-container {
    flex-direction: column;
    align-items: center;
  }
  .slot-card {
    width: 90%;
  }
}


.about {
  padding: 60px 20px;
  background: #141a2b;
  color: #fff;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f1c40f;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ddd;
}

.disclaimer {
  padding: 60px 20px;
  background: #0b0f1a;
  color: #fff;
}

.disclaimer .container {
  max-width: 900px;
  margin: 0 auto;
}

.disclaimer h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #f1c40f;
}

.disclaimer-card {
  background: #141a2b;
  border-left: 5px solid #f1c40f;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transition: transform 0.3s, background 0.3s;
}

.disclaimer-card:hover {
  transform: translateY(-3px);
  background: #1c2333;
}

.disclaimer-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #f1c40f;
}

.disclaimer-card p, 
.disclaimer-card ul {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

.disclaimer-card ul {
  padding-left: 20px;
}

.disclaimer-card ul li {
  margin-bottom: 8px;
}

.legal-center {
  padding: 60px 20px;
  background: #141a2b;
  color: #fff;
}

.legal-center .container {
  max-width: 1200px;
  margin: 0 auto;
}

.legal-center h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #f1c40f;
}

/* Сетка карточек */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* Стили самой карточки */
.legal-card {
  background: #1c2333;
  padding: 25px 20px;
  border-radius: 12px;
  border-left: 5px solid #f1c40f;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.legal-card h3 {
  color: #f1c40f;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.legal-card p {
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 10px;
}

/* Hover эффект */
.legal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.7);
}

/* Адаптив */
@media (max-width: 768px) {
  .legal-center h2 {
    font-size: 1.8rem;
  }
}


.footer-links {
  margin-top: 15px;
}

.legcenlink{
  color: #f1c40f;
  text-decoration: none;
  font-weight: bold;
}

.legcenlink:hover {
  text-decoration: underline;
}

/* Slot Demo Section */
.slot-demo {
  padding: 60px 20px;
  background: #141a2b;
  color: #fff;
  text-align: center;
}

.slot-demo h1 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #f1c40f;
  text-shadow: 0 0 10px rgba(241,196,15,0.7);
}

/* Slot iframe container */
.slot-frame {
  max-width: 100%;
  margin: 0 auto 30px;
  background: #1c2333;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  overflow: hidden;
}

.slot-frame iframe {
  width: 100%;
  height: 600px; /* можно менять под мобильные устройства */
  border: none;
  border-radius: 8px;
}

/* Back button */
.back-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #f1c40f;
  color: #111;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.back-btn:hover {
  background: #fff176;
  transform: translateY(-3px);
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
  .slot-frame iframe {
    height: 400px;
  }

  .slot-demo h1 {
    font-size: 1.6rem;
  }

  .back-btn {
    padding: 10px 20px;
  }
}

