@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
html,
body {
  margin: 0 auto;
  box-sizing: border-box;
  overflow: auto;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-size: 18px;
  scroll-behavior: smooth;
}
p {
  margin: 0;
}
a:hover {
  color: #FFD700;;
}
a,
ul,
li {
  text-decoration: none;
  font-style: normal;
  list-style: none;
  padding: 0;
  color: #f28d8d;;
}
.container {
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
  padding: 20px;
}
.logo img {
  max-width: 100px;
  width: 1005;
}
.header>.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-list {
  display: flex;
  gap: 24px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  padding: 0;
}

.nav-list>li>a {
  color: #000;
  /* Слонова кістка */
  text-decoration: none;
  padding-bottom: 8px;
  display: inline-block;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-list>li {
  border-bottom: 3px solid transparent;
}

.nav-list>li:hover {
  border-bottom-color: #FFD700;
  /* Золото */
}

.nav-list>li>a:hover {
  color: #FFD700;
  /* Золото при наведенні */
}
.hero {
  background: linear-gradient(to bottom, #121212, #3b0a0a);
  color: #F5F5F5;
  /* слонова кістка */
  font-size: 40px;
  padding: 60px 20px;
  text-align: center;
}

.hero > .container {
  text-align: center;
  padding: 50px 0;
}
.grid-layout {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.casino-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.casino-item {
  display: flex;
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.casino-item:hover {
  transform: scale(1.02);
}

.casino-item img {
  width: 330px;
  object-fit: cover;
}

.casino-text {
  padding: 20px;
  flex: 1;
}

.casino-text h4 {
  margin-top: 0;
  color: #004d28;
}

.casino-text ul {
  margin: 10px 0;
}
.button {
  background-color: #C62828;
  /* рубіновий червоний */
  padding: 10px 15px;
  border-radius: 10px;
  line-height: 1.8;
  border: solid 2px #CD7F32;
  /* бронза */
  text-transform: uppercase;
  color: #F5F5F5;
  /* слонова кістка */
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button:hover {
  background-color: #A32020;
  /* темніший червоний */
  border-color: #FFD700;
  /* золото */
  color: #FFD700;
  /* текст — золото */
}

.comment,
.guide {
  background-color: #0f0f0f;
  color: #eee;
  text-align: center;
}
.comment-container,
.guide-container,
.comment-container-policy {
  margin: 0 200px;
  display: flex;
  gap: 20px;
  justify-content: center;
  padding-top: 30px;
}
.comment-container-policy {
  flex-direction: column;
}
.comment-item {
  flex: 1;
  background-color: #eee;
  padding: 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #000;
}
.guide-item {
  flex: 1;
  background-color: #3c3c3c;
  padding: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}
.guide-item > span {
  max-width: 50px;
  width: 100%;
  fill: #eee;
}
.footer {
  background-color: #eee;
}
.gamestops {
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
}
.gamestops img {
  max-width: 100px;
  width: 100%;
}
.footer-content {
  background-color: #121212;
    /* чорний оксамит */
    color: #F5F5F5;
}
.footer-cooperation {
  text-align: center;
  padding: 20px 0;
}
.footer-content > .container {
  display: flex;
  gap: 40px;
  align-items: center;
}
.footer-text,
.footer-links {
  flex: 1;
  text-align: center;
}

.footer-text p {
  text-align: left;
}

/* pages */
.content-section {
  padding: 30px 0;
}

.content-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #004080;
}

.content-section p {
  font-size: 1.125rem;
  margin-bottom: 15px;
  color: #222;
}

@media (max-width: 720px) {
  .section-casino {
    flex-direction: column;
  }
  .casino-item {
    flex-direction: column;
    min-width: 300px;
    width: 100%;
  }
  .container {
    max-width: 330px;
    width: 100%;
  }
  .comment-container,
  .guide-container,
  .comment-container-policy {
    flex-direction: column;
    margin: 0;
  }
  .gamestops {
    flex-direction: column;
  }
  .footer-content > .container {
    flex-direction: column;
  }
  :-webkit-any(article, aside, nav, section) h1,
  h1 {
    font-size: 1em;
  }
  .casino-item img {
    min-width: 200px;
    width: 100%;
  }
  .gamestops img {
    max-width: 130px;
  }
  .nav-list {
    flex-direction: column;
  }
}

/* Styles de la bannière de cookies */
/* Банер кукі - початковий стан: прихований через opacity та pointer-events */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1e1e1e;
  /* Темний фон */
  color: #F5F5F5;
  /* Слонова кістка */
  padding: 20px;
  font-size: 16px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  border-top: 2px solid #CD7F32;
  /* Бронзова лінія зверху */
}

.cookie-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Кнопка "J’accepte" */
.btn-accept {
  background-color: #C62828;
  /* рубіновий */
  color: #F5F5F5;
  border: 2px solid #C62828;
}

.btn-accept:hover {
  background-color: #A32020;
  border-color: #FFD700;
  /* золото */
  color: #FFD700;
}

/* Кнопка "Je refuse" */
.btn-reject {
  background-color: transparent;
  color: #F5F5F5;
  border: 2px solid #CD7F32;
  /* бронза */
}

.btn-reject:hover {
  background-color: #CD7F32;
  color: #121212;
}



/* Стилі для модалки контактів */
    /* Оверлей модалки */
    .overlay-custom {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(18, 18, 18, 0.95);
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s ease;
      z-index: 9999;
    }
  
    .overlay-custom.visible {
      opacity: 1;
      pointer-events: auto;
    }
  
    /* Вміст модалки */
    .modal-box-custom {
      background-color: #1e1e1e;
      border: 2px solid #CD7F32;
      /* бронза */
      border-radius: 12px;
      padding: 40px 30px;
      max-width: 400px;
      width: 90%;
      color: #F5F5F5;
      text-align: center;
      box-sizing: border-box;
      box-shadow: 0 12px 30px rgba(0, 40, 80, 0.7);
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
  
    /* Поля форми */
    .input-custom,
    .textarea-custom {
      width: 100%;
      margin: 12px 0;
      padding: 0.75rem 1rem;
      border-radius: 8px;
      border: 1.5px solid #B71C1C;
      /* темно-червоний */
      background-color: #4A1A1A;
      /* темний червоний фон */
      color: #F5D6D6;
      /* світло-рожевий текст */
      font-size: 1rem;
      box-sizing: border-box;
      transition: border-color 0.3s ease, background-color 0.3s ease;
    }
  
    .input-custom::placeholder,
    .textarea-custom::placeholder {
      color: #E57373;
      /* світло-червоний */
      opacity: 1;
    }
  
    .input-custom:focus,
    .textarea-custom:focus {
      outline: none;
      border-color: #E53935;
      /* яскраво-червоний */
      background-color: #7F1A1A;
      /* насичений темний червоний */
      color: #FFEBEE;
      /* дуже світлий рожево-червоний */
    }
  
    .textarea-custom {
      resize: vertical;
      min-height: 120px;
      max-height: 180px;
      overflow-y: auto;
    }
  
    /* Кнопки */
    .button-group-custom {
      display: flex;
      gap: 1rem;
      justify-content: center;
      margin-top: 1rem;
    }
  
    .btn-submit-custom,
    .btn-close-custom {
      flex: 1;
      padding: 0.75rem 1.2rem;
      font-size: 1rem;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      text-transform: uppercase;
      border: none;
      transition: background-color 0.3s ease;
    }
  
    .btn-submit-custom {
      background-color: #C62828;
      /* основний червоний */
      color: white;
      border: 2px solid #C62828;
    }
  
    .btn-submit-custom:hover {
      background-color: #D32F2F;
      /* трохи світліший */
    }
  
    .btn-close-custom {
      background: transparent;
      border: 2px solid #CD7F32;
      /* залишаємо бронзу */
      color: #F5F5F5;
    }
  
    .btn-close-custom:hover {
      background-color: #CD7F32;
      color: #121212;
    }

    /* modal 18+ */
        .age-popup {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba(18, 18, 18, 0.96);
          display: flex;
          justify-content: center;
          align-items: center;
          opacity: 0;
          pointer-events: none;
          transition: opacity 0.35s ease;
          z-index: 9999;
        }
    
        .age-popup.active {
          opacity: 1;
          pointer-events: auto;
        }
    
        .age-popup-content {
          background-color: #1e1e1e;
          border: 2px solid #CD7F32;
          border-radius: 12px;
          padding: 30px 40px;
          max-width: 400px;
          width: 90%;
          text-align: center;
          box-shadow: 0 12px 30px rgba(0, 40, 80, 0.7);
          color: #f1f1f1;
          /* світлий текст */
          font-family: Arial, sans-serif;
        }
    
        .age-popup-content h1 {
          font-size: 1.8rem;
          margin-bottom: 20px;
          color: #FFD700;
          /* золотий акцент */
        }
    
        .age-popup-content p {
          margin-bottom: 25px;
          font-size: 1.1rem;
          line-height: 1.5;
          color: #e0e0e0;
        }
    
        .age-buttons {
          display: flex;
          justify-content: center;
          gap: 15px;
          flex-wrap: wrap;
        }
    
        .btn {
          padding: 12px 18px;
          border-radius: 8px;
          font-weight: 600;
          text-transform: uppercase;
          font-size: 1rem;
          cursor: pointer;
          border: none;
          transition: background-color 0.3s ease, color 0.3s ease;
          min-width: 150px;
        }
    
        .btn-yes {
          background-color: #C62828;
          color: #fff;
          border: 2px solid #C62828;
        }
    
        .btn-yes:hover {
          background-color: #D32F2F;
          border-color: #FFD700;
          color: #FFD700;
        }
    
        .btn-no {
          background-color: transparent;
          color: #fff;
          border: 2px solid #CD7F32;
        }
    
        .btn-no:hover {
          background-color: #CD7F32;
          color: #121212;
        }

                @keyframes fadeInUp {
                  0% {
                    opacity: 0;
                    transform: translateY(30px);
                  }
        
                  100% {
                    opacity: 1;
                    transform: translateY(0);
                  }
                }
        
                .page-container {
                  max-width: 900px;
                  margin: 40px auto 80px;
                  padding: 30px 25px;
                  background-color: #1a1a1a;
                  color: #f1f1f1;
                  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
                  line-height: 1.65;
                  font-size: 1.1rem;
                  border-radius: 14px;
                  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
                  animation: fadeInUp 0.8s ease forwards;
                }
        
                .text-page {
                  background-color: #222;
                  padding: 40px 35px;
                  border-radius: 12px;
                  box-shadow: 0 0 20px rgba(255, 255, 255, 0.07);
                  border: 1px solid #333;
                  animation: fadeInUp 1s ease forwards;
                }
        
                .text-page h1 {
                  font-size: 2.2rem;
                  margin-bottom: 28px;
                  color: #FFD700;
                  /* золотий */
                  text-align: center;
                  text-transform: uppercase;
                  letter-spacing: 2px;
                  font-weight: 700;
                  animation: fadeInUp 1.2s ease forwards;
                }
        
                .text-page p {
                  margin-bottom: 22px;
                  color: #ddd;
                  animation: fadeInUp 1.4s ease forwards;
                  opacity: 0;
                  animation-fill-mode: forwards;
                  animation-delay: 0.3s;
                }
        
                .text-page p:last-child {
                  margin-bottom: 0;
                }
        
                /* Додатковий ефект плавного появлення для параграфів по черзі */
                .text-page p:nth-child(2) {
                  animation-delay: 0.4s;
                }
        
                .text-page p:nth-child(3) {
                  animation-delay: 0.5s;
                }
        
                .text-page p:nth-child(4) {
                  animation-delay: 0.6s;
                }