:root {
  --primary: #101828;
  --accent: #3B82F6;
  --btn-color: #22c55e;
  --text: #fff;
  --bg: #0f172a;
  --card-bg: #1e293b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary);
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.logo img {
  height: 40px;
  object-fit: contain;
}

#menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  transform: translateY(-2px);
  color: var(--accent);
}

.btn {
  background: var(--btn-color);
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn:hover {
  background: #16a34a;
  transform: scale(1.05);
}

.plus-icon {
  display: inline-block;
  animation: pulse 1.2s infinite;
  font-size: 1.2rem;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.gift-icon {
  display: inline-block;
  animation: bounce 1.2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.promo-banner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  padding: 0;
  background: var(--primary);
  height: 350px;
  overflow: hidden;
}

/* Левая часть — баннер */
.banner-image {
  flex: 1;
  height: 100%;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Правая часть — карточки */
.promo-cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  max-width: 400px;
  flex: 1;
}

.promo-cards .card {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 140px;
}

.card-text h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
}

.card-text .btn {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
}

.card img {
  width: 48px;
  height: 48px;
}

/* 📱 Мобильная версия */
@media (max-width: 768px) {
  .promo-banner {
    flex-direction: column;
    height: auto;
    padding: 0 1rem; /* немного отступов по бокам */
    box-sizing: border-box;
  }
  .banner-image {
    position: relative; /* важно, чтобы позиционирование потомков работало */
  }

  .banner-button-wrap {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 10; /* поверх изображения */
    width: auto;
  }

  .banner-image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
  }
  .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* важное изменение */
    display: block;
    background-color: transparent; /* убрать фон */
  }

  .banner-button-wrap {
    bottom: 1rem;
    left: 1rem;
    position: absolute;
    z-index: 2;
  }

  .promo-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 1rem 1.2rem; /* равномерный отступ справа/слева */
    box-sizing: border-box;
  }

  .promo-cards .card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 0.5rem;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }

  .promo-cards .card img {
    display: none;
  }

  .card-text h2 {
    font-size: 0.72rem;
    margin: 0 0 0.4rem 0;
    line-height: 1.1;
    text-align: center;
  }

  .card-text .btn {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    align-self: center;
  }
}



.promo {
  display: flex;
  gap: 1rem;
  padding: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  flex: 1 1 300px;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
}

@media (max-width: 768px) {
  .promo-banner {
    flex-direction: column;
    height: auto;
    padding: 0 1rem; /* немного отступов по бокам */
    box-sizing: border-box;
  }

  .banner-image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
  }

  .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .promo-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 1rem 1.2rem; /* равномерный отступ справа/слева */
    box-sizing: border-box;
  }

  .promo-cards .card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 0.5rem;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }

  .promo-cards .card img {
    display: none;
  }

  .card-text h2 {
    font-size: 0.72rem;
    margin: 0 0 0.4rem 0;
    line-height: 1.1;
    text-align: center;
  }

  .card-text .btn {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    align-self: center;
  }
}



.content {
  padding: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

table, th, td {
  border: 1px solid #475569;
}

th, td {
  padding: 0.75rem;
  text-align: left;
}

th {
  background: #334155;
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; } .table-scroll table { width: 100%; border-collapse: collapse; }

.footer {
  background: var(--primary);
  color: #cbd5e1;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    display: none;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .promo {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 1.4rem;
  }
}
.header-actions {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .header-actions {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    align-items: center;
  }
}



/* Десктоп: баннер аккуратно выравниваем и задаем размеры */
@media (min-width: 769px) {
  .promo-banner {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .banner-image {
    flex: 1;
    max-width: 720px; /* больше ширины */
    height: 300px;     /* выше баннер */
    overflow: hidden;
    border-radius: 12px;
  }

  .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .promo-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .promo-cards .card {
    flex: 1;
  }
}


/* Моб версия: изображение на всю ширину, блоки под ним */
@media (max-width: 768px) {
  .promo-banner {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    box-sizing: border-box;
  }

  .banner-image {
    flex: 1;
    max-width: 800px; /* больше, чем было */
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
  }
  .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background-color: #0f172a; /* или другой фон */
  }

  .promo-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .promo-cards .card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 0.5rem;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }

  .promo-cards .card img {
    display: none;
  }

  .card-text h2 {
    font-size: 0.72rem;
    margin: 0 0 0.4rem 0;
    line-height: 1.1;
    text-align: center;
  }

  .card-text .btn {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    align-self: center;
  }
}
/* 🔘 Стили кнопок */
.btn-gold {
  background: linear-gradient(45deg, #facc15, #fbbf24);
  color: black;
}

.btn-gold:hover {
  background: linear-gradient(45deg, #fcd34d, #facc15);
}

.btn-white {
  background: white;
  color: black;
}

.btn-white:hover {
  background: #e5e7eb;
}



/* 🧭 Кнопка поверх баннера */
.banner-image {
  position: relative;
}

.banner-button-wrap {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
}

/* 🔁 Чтобы на мобилках баннер не обрезался */
@media (max-width: 768px) {
  .banner-button-wrap {
    bottom: 1rem;
    left: 1rem;
  }
}
.btn-start {
  background: #ffffff;        /* белый фон */
  color: #000000;             /* черный текст */
  padding: 0.7rem 1.4rem;     /* больше отступы */
  font-size: 1rem;            /* больше шрифт */
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-start:hover {
  background: #e5e5e5;        /* светло-серый при наведении */
  transform: scale(1.05);
}
.btn {
  text-decoration: none;
}
.btn-login {
  background: #374151;     /* тёмно-серый фон */
  color: #ffffff;          /* белый текст */
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-login:hover {
  background: #4b5563;
  transform: scale(1.05);
}
.age-limit {
  font-weight: 700;
  color: #ffffff; 
  margin-left: 0.5rem;
}















.responsible-play {
  background: #1e293b; /* как фон карточек */
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 2rem 0;
}

.btn-responsible {
  display: inline-block;
  margin-top: 0.8rem;
  background: #25ff92; /* синий */
  color: #000000;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-responsible:hover {
  background: #009a7b;
}
















/* Приховане модальне вікно */
.modal.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Видиме з плавним появленням */
.modal.visible {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 15, 50, 0.85); /* темний напівпрозорий фон з фіолетовим відтінком */
  justify-content: center;
  align-items: center;
  z-index: 99999; /* максимально зверху */
}

/* Контент вікна */
.modal-content {
  background: linear-gradient(135deg, #3b2f7e, #6b4ca0);
  border-radius: 20px;
  padding: 25px 35px;
  width: 320px;
  box-shadow: 0 15px 30px rgba(107, 76, 160, 0.5);
  color: white;
  text-align: center;
  position: relative;
  font-weight: 600;
  font-size: 18px;
  user-select: none;
}

/* Закриття */
.close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  color: #dcdcff;
  transition: color 0.3s ease;
}
.close:hover {
  color: #ff6ef8;
}

/* Промотекст */
.promo-text {
  margin-bottom: 20px;
  line-height: 1.3;
  font-size: 20px;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.highlight {
  color: #ffd600;
  text-shadow: 0 0 10px #ffd600;
}

/* Блок зображення */
.image-block {
  margin-bottom: 22px;
  position: relative;
}

.image-block img {
  width: 100%;
  border-radius: 15px;
  filter: drop-shadow(0 0 6px #a35eff);
  user-select: none;
  pointer-events: none;
  margin-top: -25px; /* Текст заходить трохи на зображення */
  position: relative;
  z-index: 1;
}

/* Кнопка Отримати */
.get-button {
  background: linear-gradient(45deg, #7f5aff, #00c1ff);
  border: none;
  color: white;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 30px;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 193, 255, 0.6);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.get-button:hover {
  background: linear-gradient(45deg, #9b7eff, #33dcff);
  box-shadow: 0 8px 22px rgba(51, 220, 255, 0.8);
}