body { margin:0; font-family: Arial, sans-serif; overflow-x: hidden;}

/* Попап */
#age-popup {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.9);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  z-index: 99999;
}

#age-popup p { font-size:1.5rem; text-align:center; max-width:400px; }
#age-popup button {
  padding:10px 20px;
  font-size:16px;
  cursor:pointer;
  background:#ff9800;
  border:none;
  border-radius:4px;
  color:#fff;
  margin-top:20px;
}
#age-popup button:hover { background:#e68900; }

/* Закреплённая плашка +18 */
#age-banner {
  position: fixed;
  top: 0;
  width: 100%;
  background: red;
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 5px;
  z-index: 1000;
}

/* Контент ленда */


/* Header */
/* Header */
header {
  background: #001f36;
  padding: 30px 20px 10px 20px;
  color: #fff;
  position: relative;
  z-index: 999;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Навигация */
.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 25px;
  font-size: 1rem;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #1e88e5;
}

/* Бургер-кнопка */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger-line {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Анимация при открытии */
.burger-btn.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}
.burger-btn.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -7px);
}

/* Адаптивная навигация */
/* Адаптивная навигация для мобильных */
@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 60px;
    right: 0;
    background: #001f36;
    flex-direction: column; /* кнопки вертикально */
    width: 200px;
    padding: 30px 20px 10px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-radius: 0 0 0 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 25px;
  }

  .main-nav.show {
    transform: translateX(0);
  }

  .main-nav a {
    display: block;           /* чтобы занимали всю ширину */
    width: 100%;
    text-align: center;
    margin: 10px 0;          /* расстояние между кнопками */
    padding: 10px 0;
    font-size: 1.1rem;
    background: #1e88e5;
    color: #fff;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
  }

  .main-nav a:hover {
    background: #1565c0;
    color: #fff;
  }

  .burger-btn {
    display: flex;
  }
}





/* Footer */
.footer-container {
  text-align:center;
  padding:20px;
  background:#001f36;
  color:#fff;
  margin-top:40px;
}


/* Контент ленда */
/* Контент ленда */
/* Контент ленда */
#content { 
  display: none; 
  text-align: center; 
  padding: 40px 20px;
}

/* Грид для карточек */
/* Контейнер со слотами */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px auto;
  padding: 0 20px;
  max-width: 1200px;
}

/* Карточка слота */
.slot-block {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slot-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Изображение */
.slot-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.slot-block img:hover {
  transform: scale(1.05);
}

/* Название игры */
.slot-block h2 {
  font-size: 1.1rem;
  color: #001f36;
  margin-bottom: 10px;
}

/* Кнопка */
.play-btn {
  padding: 10px 20px;
  font-size: 14px;
  background: #1e88e5;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.play-btn:hover { 
  background: #1565c0; 
}


.offer-section {
  background: #f0f8ff;
  padding: 50px 20px;
  text-align: center;
  border-radius: 8px;
  margin: 20px;
}

.offer-section h1 {
  font-size: 2rem;
  color: #001f36;
  margin-bottom: 10px;
}

.offer-section h2 {
  font-size: 1.5rem;
  color: #1e88e5;
  margin-bottom: 20px;
}

.offer-section p {
  max-width: 700px;
  margin: 15px auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.offer-section .go-btn {
  margin-top: 25px;
  padding: 12px 25px;
  font-size: 16px;
  background: #1e88e5;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.offer-section .go-btn:hover {
  background: #1565c0;
}


.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #001f36, #1e88e5);
  color: #fff;
  border-radius: 8px;
  margin: 20px;
}

.hero-section .hero-content {
  flex: 1 1 400px;
  max-width: 600px;
  padding: 20px;
}

.hero-section .hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-section .hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.hero-section .hero-btn {
  padding: 15px 35px;
  font-size: 16px;
  background: #ff9800;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.hero-section .hero-btn:hover {
  background: #e68900;
}

.hero-section .hero-image {
  flex: 1 1 300px;
  max-width: 500px;
  padding: 20px;
  text-align: center;
}

.hero-section .hero-image img {
  width: 100%;
  border-radius: 8px;
}



.about-section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 50px 30px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
}

.about-section h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  text-align: center;
  color: #001f36;
  position: relative;
}

.about-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #1e88e5;
  margin: 10px auto 0;
  border-radius: 2px;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333;
}

.about-section strong {
  color: #1e88e5;
}

.about-section em {
  font-style: italic;
  color: #555;
}

.privacy-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  line-height: 1.7;
  color: #333;
}

.privacy-section h1 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #001f36;
}

.privacy-section h2 {
  font-size: 1.4rem;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #1e88e5;
}

.privacy-section p {
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.terms-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  line-height: 1.7;
  color: #333;
}

.terms-section h1 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #001f36;
}

.terms-section h2 {
  font-size: 1.4rem;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #1e88e5;
}

.terms-section p {
  font-size: 1.05rem;
  margin-bottom: 15px;
}

footer {
  background: #001f36;
  color: #fff;
  padding: 25px 20px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
}

footer .footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

footer p {
  margin: 5px 0;
}

footer a {
  color: #1e88e5;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #1565c0;
  text-decoration: underline;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  footer {
    font-size: 0.9rem;
    padding: 20px 15px;
  }

  footer p {
    margin: 8px 0;
  }
}


.contact-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 50px 20px;
  background: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #001f36;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #333;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.contact-form button {
  padding: 12px 20px;
  font-size: 1rem;
  background: #1e88e5;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #1565c0;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .contact-section {
    padding: 40px 15px;
  }
}
