@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: #2fff00;
}
a,
ul,
li {
  text-decoration: none;
  font-style: normal;
  list-style: none;
  padding: 0;
  color: inherit;
}
.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: 20px;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-list > li {
  border-bottom: solid 3px #000;
}

.hero {
  background: linear-gradient(to bottom, #004d28, #2fff00);
  color: #eee;
  font-size: 40px;
}

.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: #2fff00;
  padding: 10px 15px;
  border-radius: 10px;
  line-height: 1.8;
  border: solid 2px #004d28;
  text-transform: uppercase;
}
.button:hover {
  background-color: #004d28;
  color: #2fff00;
}

.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: #004d28;
  color: #eee;
}
.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;
}

/* 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 */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #004d28;
  color: #fff;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.cookie-content {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.cookie-content p {
  margin: 0;
  flex: 1 1 60%;
  font-size: 1rem;
}

.cookie-buttons {
  flex: 1 1 35%;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn {
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-accept {
  background-color: #2ecc71;
  color: #fff;
}

.btn-accept:hover {
  background-color: #27ae60;
}

.btn-reject {
  background-color: #e74c3c;
  color: #fff;
}

.btn-reject:hover {
  background-color: #c0392b;
}

/* Cacher la bannière */
.cookie-banner.hidden {
  display: none !important;
}

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-buttons {
    justify-content: flex-start;
    width: 100%;
  }
  .cookie-content p {
    flex: 1 1 100%;
    margin-bottom: 10px;
  }
}

/* Стилі для повноекранного попапу */
.age-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
}

.age-popup-content {
  background-color: #004080;
  padding: 40px 60px;
  border-radius: 12px;
  text-align: center;
  color: white;
  max-width: 400px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.age-popup-content h1 {
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.age-popup-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.age-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-yes {
  background-color: #2ecc71;
  color: white;
}

.btn-yes:hover {
  background-color: #27ae60;
}

.btn-no {
  background-color: #e74c3c;
  color: white;
}

.btn-no:hover {
  background-color: #c0392b;
}
