/* styles.css */
:root {
  --main-color: #1c2333;
  --accent-color: #ff8f00;
  --text-color: #f5f5f5;
  --bg-color: #2b2b2b;
  --font-main: "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  background-color: #000;
}

a {
  cursor: pointer;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: relative;
  overflow: visible;
  padding: 60px 0;
  z-index: 1;
}

.header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 960px;
  /* дозволяє фону «вилізти» нижче */
  background: url('/images/BG.png') no-repeat center center;
  background-size: cover;
  z-index: -1;
  transform: translateY(0);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-img {
  width: 60px;
    height: auto;
}

.header-text {
  max-width: 600px;
}

.site-title {
font-weight: 700;
  font-size: 24px;
  color: #fff;
  flex: 1;
}

.site-subtitle {
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  margin-top: 19px;
}


/* Мобільна адаптація */
@media (max-width: 1023px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .site-title {
    font-size: 28px;
  }

  .site-subtitle {
    font-size: 16px;
  }

  .logo-img {
    width: 80px;
  }

  .header-background {
    height: 140%;
    /* більше фону на мобілці */
  }
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
}

.casino-list {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 117px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  z-index: 15;
  position: relative;
}

.casino-item {
  display: grid;
  grid-template-columns: 10px 1fr;
  align-items: center;
  background-color: #121212;
  padding: 15px 20px;
  gap: 20px;
  border-radius: 6px;
  height: 155px;
}

.casino-item:hover {
  border: 1px solid #ff8f00;
}

.casino-rank {
  font-size: 20px;
  font-weight: 700;
  color: #64696f;
  text-align: center;
}

.casino-logo-rating {
  display: flex;
  align-items: center;
  gap: 25px;
  background-color: rgba(255, 255, 255, 0.04);
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  justify-content: space-between;
}


.casino-logo {
  width: 150px;
  height: auto;
  object-fit: contain;
  background-color: #f5f5f5;
  padding: 8px 10px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.casino-rating {
display: flex;
  /* flex-direction: column; */
  gap: 15px;
  font-size: 23px;
  color: #bbb;
  /* text-align: center; */
  align-items: center;
}

.rating-score {
font-weight: 400;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  color: #fff;
}

.rating-stars {
  color: #ff8f00;
  letter-spacing: 2px;
}

.rating-reviews {
  font-style: italic;
  font-size: 12px;
  color: #777;
}

.casino-bonus {
    text-align: center;
      font-weight: 700;
      font-weight: 500;
      font-size: 17px;
      line-height: 1.2;
      text-transform: uppercase;
      text-align: center;
      color: #fff;
      display: flex;
      /* flex-direction: column; */
      align-items: center;
      gap: 20px;
}

.bonus-amount {
font-weight: 600;
  font-size: 34px;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

.casino-visit {
  text-align: right;
}

.btn-visit {
  background-color:#0095ff;
  color: #fff;
  padding: 14px 40px;
  max-width: 100%;
  height: 50px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  box-sizing: border-box;
}

.btn-visit:hover {
  background-color: #008fcc;
  cursor: pointer;
}


/* Мобільна адаптація */

@media (max-width: 768px) {
  .casino-item {
    grid-template-columns: 40px 1fr 150px 250px;
    grid-template-rows: auto auto auto;
    gap: 10px;
    padding: 15px;
  }

  .casino-rank {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }

  .casino-logo-rating {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }

  .casino-bonus {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    text-align: left;
  }

  .casino-visit {
    grid-row: 3 / 4;
    grid-column: 2 / 3;
    text-align: left;
  }

  .btn-visit {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
  }
}

/* Hero Section */
.hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(to bottom, #441313, #1c1800);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--bg-color);
  padding: 15px 30px;
  border: none;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
}

/* Features */
.features {
  padding: 60px 0;
}

.feature-list {
  display: flex;
  gap: 20px;
}

.feature-item {
  flex: 1;
  background-color: #1c2333;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.feature-item h3 {
  color: var(--accent-color);
  margin-bottom: 10px;
}

/* Footer */
.site-footer {
  background-color: #121418;
  color: #d0d2d6;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  padding: 40px 20px 20px;
  border-top: 3px solid #ff8f00;
      z-index: 9;
        position: relative;
}

.footer-main {
  max-width: 1220px;
  margin: 0 auto 30px;
  text-align: center;
  /* Ось сюди додано */
}

.footer-main p {
  max-width: 850px;
  line-height: 1.5;
  margin: 0 auto 30px;
  color: #b0b3b8;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  /* Додаємо центрування для логотипів */
  align-items: center;
}

.footer-logos img {
  height: 50px;
  /* або будь-яка потрібна тобі висота */
  width: auto;
  object-fit: contain;
  /* щоб картинка не обрізалась */
  display: inline-block;
  vertical-align: middle;
}

.footer-logos a:hover img {
  filter: grayscale(0%);
}

.footer-bottom {
  border-top: 1px solid #2a2c33;
  max-width: 1220px;
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.footer-link {
  color: #d0d2d6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ff8f00;
  text-decoration: underline;
}

.footer-copy {
  color: #7a7d82;
  font-size: 13px;
  margin-top: 10px;
  white-space: nowrap;
}

/* Адаптив */

@media (max-width: 768px) {

  .footer-main,
  .footer-bottom {
    padding-left: 10px;
    padding-right: 10px;
  }

  .footer-logos {
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .footer-nav {
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
  }

  .footer-copy {
    width: 100%;
    text-align: center;
    margin-top: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
}
.page-main.wow-theme {
  padding: 0 20px 80px 20px;
  color: #f5f5f5;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  z-index: 10;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: #FF8F00;
  /* бурштин */
  margin-bottom: 60px;
  text-shadow: 0 0 6px rgba(255, 143, 0, 0.6);
}

.page-title span {
  display: block;
  font-size: 1.4rem;
  color: #ccc;
  font-weight: 400;
  margin-bottom: 10px;
  text-shadow: none;
}

.content-section {
  background: rgba(43, 43, 43, 0.9);
  /* напівпрозорий антрацит */
  border-left: 5px solid #FFA000;
  /* шафрановий акцент */
  padding: 30px 35px;
  margin-bottom: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 143, 0, 0.2);
}

.section-title {
  font-size: 1.6rem;
  color: #FF8F00;
  margin-bottom: 12px;
  font-weight: 600;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #f0f0f0;
}

.section-text a {
  color: #FFA000;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.section-text a:hover {
  color: #ffffff;
}

.section-text strong {
  font-weight: 600;
  color: #FFD700;
}

.cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  background-color: #1c1800;
  color: #f5f5f5;
  border: 1px solid #5c5a02;
  border-radius: 12px;
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-title {
  margin: 0;
  font-size: 18px;
  color: #ff8f00;
}

.cookie-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-btn.accept {
  background-color: #ffa000;
  color: #1c1800;
}

.cookie-btn.accept:hover {
  background-color: #ffb300;
}

.cookie-btn.decline {
  background-color: #2b2b2b;
  color: #f5f5f5;
}

.cookie-btn.decline:hover {
  background-color: #3a3a3a;
}
.age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000ba;
  /* насичений темний фон без прозорості */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 0 20px;
  box-sizing: border-box;
}

.age-gate__confirm,
.age-gate__denied {
  background-color: #2b2b2b;
  border: 2px solid #5c5a02;
  border-radius: 16px;
  padding: 30px 40px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  color: #F5F5F5;
  /* контрастний світлий текст */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);

  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.age-gate__confirm.show,
.age-gate__denied.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.age-gate__image {
  width: 100px;
  margin-bottom: 20px;
}

.age-gate__text {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 30px;
  font-weight: 500;
}

.age-gate__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.age-gate__btn {
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
  min-width: 130px;
  font-family: inherit;
  /* уніфікований шрифт */
}

.btn-confirm {
  background-color: #FFA000;
  /* шафрановий */
  color: #1c1800;
}

.btn-confirm:hover {
  background-color: #FFB300;
}

.btn-deny {
  background-color: transparent;
  border: 2px solid #FF8F00;
  /* бурштиновий */
  color: #FF8F00;
}

.btn-deny:hover {
  background-color: rgba(255, 143, 0, 0.15);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 18, 12, 0.95);
  /* темний теплий фон */
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease, visibility 0.5s;
  z-index: 10000;
  backdrop-filter: blur(6px);
}

.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

@keyframes modalFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.96);
    filter: blur(3px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.modal-form {
  background: linear-gradient(145deg, #3a2e14, #1b1609);
  border-radius: 18px;
  padding: 38px 48px;
  max-width: 460px;
  width: 100%;
  box-shadow:
    0 0 25px rgba(110, 85, 40, 0.4),
    inset 0 0 35px rgba(110, 85, 40, 0.15);
  color: #ded6c8;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalFadeIn 0.5s ease forwards;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  color: #b89a5a;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.25s ease;
  filter: drop-shadow(0 0 1px #b89a5a);
}

.modal-close:hover {
  color: #d4c38a;
  transform: rotate(90deg);
  filter: drop-shadow(0 0 4px #d4c38a);
}

.modal-title {
  margin: 0 0 14px 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #b89a5a;
  text-shadow:
    0 0 4px #a88c48;
  user-select: none;
}

.modal-label {
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 6px;
  color: #d3c9b2;
  text-shadow: 0 0 2px #8e7d4c;
  user-select: none;
}

.modal-input,
.modal-textarea {
  background: #2d2510;
  border: 2px solid #b89a5a;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  color: #e3dcc9;
  font-family: inherit;
  resize: vertical;
  box-shadow:
    inset 0 0 6px rgba(184, 154, 90, 0.65),
    0 0 3px rgba(184, 154, 90, 0.3);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.3s ease;
}

.modal-input::placeholder,
.modal-textarea::placeholder {
  color: #c8bb9c;
  opacity: 0.7;
}

.modal-input:focus,
.modal-textarea:focus {
  outline: none;
  border-color: #d4c38a;
  box-shadow:
    inset 0 0 10px rgba(212, 195, 138, 0.8),
    0 0 10px rgba(212, 195, 138, 0.5);
  background: #3a3115;
}

.modal-submit {
  margin-top: 12px;
  padding: 13px 0;
  background: linear-gradient(90deg, #a88c48, #b89a5a);
  border: none;
  border-radius: 16px;
  font-weight: 800;
  font-size: 17px;
  color: #2b250e;
  cursor: pointer;
  text-shadow:
    0 0 2px #cec295;
  box-shadow:
    0 0 10px #b89a5a,
    inset 0 0 6px #a88c48;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.2s ease;
  user-select: none;
}

.modal-submit:hover {
  background: linear-gradient(90deg, #c3b07a, #d4c38a);
  box-shadow:
    0 0 16px #d4c38a,
    inset 0 0 10px #c3b07a;
  transform: scale(1.04);
}

.modal-submit:active {
  transform: scale(0.96);
  box-shadow: 0 0 6px #b89a5a inset;
}

.site-header {
  position: relative;
  padding: 30px 0 50px;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  z-index: 10;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.logo-img {
  height: 56px;
  width: auto;
  flex-shrink: 0;
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: #fff;
}

.site-subtitle {
  margin: 0 0 20px 0;
  font-size: 1rem;
  color: #ccc;
  max-width: 720px;
  line-height: 1.5;
}

.header-nav {
  width: 100%;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  user-select: none;
}

.nav-link:hover,
.nav-link:focus {
  color: #ffa000;
  outline: none;
}

/* Адаптив */

@media (max-width: 768px) {
  .header-top {
    justify-content: flex-start;
  }

  .site-title {
    font-size: 1.4rem;
  }

  .site-subtitle {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .nav-list {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-list {
    flex-direction: column;
    gap: 14px;
  }
}