 body {
   margin: 0;
   font-family: 'Poppins', sans-serif;
 }

 header {
   background: linear-gradient(135deg, #090918, #000e34);
   color: #fff;
   padding: 60px 20px;
   text-align: center;
 }

 .hero-title {
   font-size: 3em;
   font-weight: bold;
   margin: 0 0 10px;
 }

 .hero-subtitle {
   font-size: 1.5em;
   margin-bottom: 30px;
 }

 .countdown {
   font-size: 1.2em;
   background: #0f3460;
   display: inline-block;
   padding: 10px 20px;
   border-radius: 8px;
   margin-bottom: 30px;
 }

 .cta-button {
   background: #e94560;
   color: #000;
   padding: 15px 30px;
   font-size: 1em;
   font-weight: bold;
   border: none;
   border-radius: 8px;
   cursor: pointer;
   transition: background 0.3s;
 }

 .cta-button:hover {
   background: #d63447;
 }

 section {
   padding: 60px 20px;
   text-align: center;
 }

 .results-section {
   background: #f6fffb;
 }

 .results-title {
   font-size: 2em;
   margin-bottom: 20px;
   color: #1a1a2e;
 }

 .winning-numbers {
   font-size: 1.5em;
   margin: 10px 0;
 }

 .draw-date {
   color: #555;
   margin-bottom: 20px;
 }

 .check-ticket-btn {
   background: #16213e;
   color: #fff;
   padding: 10px 20px;
   font-size: 1em;
   font-weight: bold;
   border: none;
   border-radius: 8px;
   cursor: pointer;
   transition: background 0.3s;
 }

 .check-ticket-btn:hover {
   background: #1a1a2e;
 }

 .how-to-play-section {
   background: #f6fffb;
 }

 .how-to-play-title {
   font-size: 2em;
   color: #1a1a2e;
   margin-bottom: 20px;
 }

 .how-to-play-steps {
   max-width: 800px;
   margin: 0 auto;
   text-align: left;
   font-size: 1.1em;
   line-height: 1.6;
 }

 .how-to-play-steps li {
   display: flex;
   align-items: flex-start;
   gap: 15px;
   margin-bottom: 20px;
 }

 .how-to-play-steps img {
   width: 60px;
   height: 60px;
   object-fit: contain;
 }

 .why-play-section {
   background: #f6fffb;
 }

 .why-play-title {
   font-size: 2em;
   color: #1a1a2e;
   margin-bottom: 40px;
 }

 .benefits {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 40px;
   max-width: 1000px;
   margin: 0 auto;
 }

 .benefit-item {
   width: 200px;
   text-align: center;
 }

 .benefit-item img {
   width: 60px;
   height: 60px;
   margin-bottom: 15px;
 }

 .benefit-item p {
   font-size: 1em;
   color: #333;
 }

 .faq-section {
   background: #f6fffb;
 }

 .faq-title {
   font-size: 2em;
   color: #1a1a2e;
   margin-bottom: 30px;
 }

 .faq-item {
   max-width: 800px;
   margin: 0 auto 20px;
   text-align: left;
 }

 .faq-question {
   font-weight: bold;
   margin-bottom: 5px;
 }

 .faq-answer {
   margin-bottom: 10px;
   color: #333;
 }

 .contact-section {
   background: #f6fffb;
 }

 .contact-title {
   font-size: 2em;
   color: #1a1a2e;
   margin-bottom: 30px;
 }

 .contact-form {
   max-width: 600px;
   margin: 0 auto;
   text-align: left;
 }

 .contact-form label {
   display: block;
   margin-bottom: 5px;
   font-weight: bold;
 }

 .contact-form input,
 .contact-form textarea {
   width: 100%;
   padding: 10px;
   margin-bottom: 15px;
   border: 1px solid #ccc;
   border-radius: 6px;
   font-size: 1em;
 }

 .contact-form button {
   background: #16213e;
   color: #fff;
   padding: 12px 25px;
   font-size: 1em;
   font-weight: bold;
   border: none;
   border-radius: 8px;
   cursor: pointer;
   transition: background 0.3s;
 }

 .contact-form button:hover {
   background: #1a1a2e;
 }

 @media (max-width: 600px) {
   .contact-form {
     padding: 0 15px;
     box-sizing: border-box;
   }
 }


 .nav-container {
      background: linear-gradient(135deg, #090918, #000e34);
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 15px 20px;
   position: sticky;
   top: 0;
   z-index: 1000;
 }

 .nav-logo {
   color: white;
   font-size: 1.5em;
   font-weight: bold;
 }

 .nav-links {
   display: flex;
   gap: 20px;
 }

 .nav-links a {
   color: white;
   text-decoration: none;
   font-weight: bold;
 }

 .burger {
   display: none;
   flex-direction: column;
   cursor: pointer;
 }

 .burger div {
   width: 25px;
   height: 3px;
   background-color: white;
   margin: 4px 0;
 }

 @media (max-width: 768px) {
   .nav-links {
     display: none;
     flex-direction: column;
     background-color: #1a1a2e;
     position: absolute;
     top: 60px;
     left: 10px;
     width: 100%;
     padding: 10px 0;
   }

   .nav-links.active {
     display: flex;
   }

   .burger {
     display: flex;
   }
 }

 /* styles.css */

 .age-help-banner {
   background-color: #f6fffb;
   border-bottom: 1px solid #ffeeba;
   font-family: sans-serif;
 }

 .age-help-container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 8px 16px;
   display: flex;
   align-items: center;
   gap: 12px;
 }

 .age-icon {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background-color: #dc3545;
   color: #fff;
   font-weight: bold;
   font-size: 0.9rem;
   width: 32px;
   height: 32px;
   border-radius: 50%;
   flex-shrink: 0;
 }

 .age-help-text {
   margin: 0;
   font-size: 0.9rem;
   color: #856404;
 }

 .age-help-text a {
   color: #0c5460;
   text-decoration: underline;
 }

 @media (max-width: 600px) {
   .age-help-container {
     flex-direction: column;
     align-items: flex-start;
     gap: 6px;
   }

   .age-help-text {
     font-size: 0.85rem;
   }

   .age-icon {
     width: 28px;
     height: 28px;
     font-size: 0.8rem;
   }
 }
 /* Общий слой-фон модального окна */
.age-modal {
  position: fixed;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #090918, #000e34);
  z-index: 9999;

  /* по умолчанию скрыто; JS снимет display:none при необходимости */
  display: none;
}

/* Внутренняя «карточка» */
.age-modal__dialog {
  background: #fff;
  padding: 40px 30px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

/* Заголовок */
.age-modal__title {
  margin-bottom: 20px;
}

/* Текст-описание */
.age-modal__text {
  margin-bottom: 30px;
  line-height: 1.4;
}

/* Кнопки */
.age-modal__btn {
  padding: 10px 25px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
}

.age-modal__btn--ok {
  background: #16213e;
}

.age-modal__btn--cancel {
  background: #e94560;
  margin-top: 15px;
}
.age-modal--visible {
  display: flex;   /* Показываем модалку, когда нужный класс присутствует */
}