body,
.list {
  background: var(--site-page-bg);
}

.main {
  background: transparent;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(8, 19, 46, 0.96) 0%, rgba(16, 31, 70, 0.94) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  max-width: 1180px;
  gap: 18px;
  overflow: visible;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-size: 0;
  display: flex;
  align-items: center;
  padding: 15px 0px 10px 0px;
}

.logo img {
  max-height: 96px;
}

.logo-switches {
  display: none;
}

#menu {
  gap: 10px;
  align-items: center;
  overflow: visible;
  white-space: normal;
  flex-wrap: wrap;
}

#menu li {
  position: relative;
  overflow: visible;
}

#menu li + li {
  margin-left: 0;
}

#menu a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: #f4f8ff;
}

#menu a:hover,
#menu .active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.menu-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-subtoggle {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-subtoggle span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}

.menu-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: 16px;
  background: #13244d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(4, 12, 31, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 60;
}

#menu li:hover > .menu-dropdown,
#menu li:focus-within > .menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

.menu-dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu-dropdown li {
  width: 100%;
  margin: 0;
}

.menu-dropdown li + li {
  margin-left: 0;
}

.site-home-hero,
.site-page-shell,
.site-link-card {
  box-shadow: 0 18px 48px rgba(113, 64, 10, 0.08);
}

.site-home-hero,
.site-page-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px;
  background: #fffdfb;
  border: 1px solid rgba(209, 122, 34, 0.14);
  border-radius: 28px;
  overflow: hidden;
}

.site-home-content h1,
.site-page-content h1,
.site-page-content h2,
.site-page-content h3,
.site-section-head h2 {
  color: #3c2205;
}

.site-home-content,
.site-page-content {
  margin-top: 18px;
}

.site-home-content h1,
.site-page-content h1 {
  margin: 0 0 18px;
}

.site-home-content h2,
.site-page-content h2 {
  margin: 34px 0 14px;
}

.site-home-content h3,
.site-page-content h3 {
  margin: 24px 0 12px;
}

.site-page-content .content-image,
.site-home-content .content-image {
  margin: 24px 0 30px;
}

.site-page-content .content-image img,
.site-home-content .content-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(209, 122, 34, 0.14);
  box-shadow: 0 18px 48px rgba(113, 64, 10, 0.08);
  background: #fff7e8;
}

.site-home-actions,
.site-page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  align-items: center;
}

.site-secondary-link {
  color: #ac4d00;
  font-weight: 700;
}

.header-cta-buttons {
  display: flex;
  align-items: center;
  margin-left: 16px;
}

.button-cta-strong {
  background: linear-gradient(135deg, #ffdf4a 0%, #ff7a1a 100%);
  color: #281200;
  font-weight: 800;
  min-width: 188px;
  padding: 11px 22px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 30px rgba(239, 79, 47, 0.28);
}

.site-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 24px auto 0;
}

.site-link-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(209, 122, 34, 0.14);
  border-radius: 24px;
}

.site-link-card strong,
.site-section-head h2 {
  color: #3c2205;
}

.site-link-card span,
.site-section-head p,
.demo-frame-header p {
  color: #744716;
}

.site-casino-section {
  max-width: 1100px;
  margin: 16px auto 30px;
}

.site-table-title {
  margin-bottom: 12px;
  color: #3c2205;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.casino-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid rgba(209, 122, 34, 0.14);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(113, 64, 10, 0.08);
}

.casino-mobile-list {
  display: none;
}

.casino-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.casino-table th,
.casino-table td {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(209, 122, 34, 0.12);
  text-align: left;
  vertical-align: middle;
}

.casino-table th {
  background: #fff4dc;
  color: #6a3900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.casino-table thead th {
  text-align: center;
}

.casino-table tr:last-child td {
  border-bottom: 0;
}

.casino-table-logo img {
  display: block;
  max-width: 160px;
  max-height: 72px;
  width: auto;
  height: auto;
}

.casino-table-logo {
  width: 190px;
  background: #2f2f2f;
  text-align: center;
}

.casino-table-logo img {
  margin: 0 auto;
}

.casino-table td.casino-table-bonus {
  color: #744716;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  width: 42%;
  padding: 8px 15px;
}

.casino-table-action,
.casino-table-logo {
  text-align: center;
}

.casino-table-action {
  width: 220px;
}

.casino-table-action .btn-act {
  width: auto;
  min-width: 100%;
  margin: 0 auto;
}

.site-section-head {
  margin-bottom: 18px;
}

.demo-frame-block {
  margin: 26px 0 30px;
}

.demo-frame-shell {
  margin-top: 16px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(209, 122, 34, 0.16);
  background: #fff4dc;
  min-height: 520px;
}

.demo-frame-shell iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  border: 0;
  background: #fff;
}

.btn-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  min-height: 52px;
  background: linear-gradient(135deg, #ffbf47 0%, #ff8c1a 100%);
  border: none;
  border-color: #ffbf47;
  color: #4b2500;
  min-width: 220px;
  width: auto;
  max-width: 100%;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  box-sizing: border-box;
}

.btn-act:hover {
  filter: brightness(1.04);
}

.site-page-cta {
  justify-content: center;
}

.site-page-cta .btn-act {
  min-width: 240px;
  min-height: 52px;
}

.site-page-cta-top {
  margin-top: 22px;
  margin-bottom: 10px;
}

.page-header.site-section-header {
  max-width: 1100px;
  margin: 30px auto 0;
  padding: 0 4px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid rgba(22, 42, 87, 0.14);
  border-radius: 18px;
  background: #f7faff;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 20px 18px;
}

.casino-table-action .btn-act,
.casino-mobile-action .btn-act,
.site-page-cta .btn-act {
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 52px;
  line-height: 1.25;
}

@media (max-width: 960px) {
  .site-link-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta-buttons {
    display: none;
  }

  .menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    display: none;
  }

  .site-home-hero,
  .site-page-shell {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .menu-subtoggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    padding: 14px;
    border-radius: 18px;
    background: #13244d;
    box-shadow: 0 18px 48px rgba(4, 12, 31, 0.28);
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
    white-space: normal;
    z-index: 80;
  }

  #menu li {
    width: 100%;
  }

  .menu-link-row-parent {
    justify-content: space-between;
  }

  #menu li.is-open > .menu-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header.menu-open #menu {
    display: flex;
  }

  .casino-table-wrap {
    display: none;
  }

  .casino-mobile-list {
    display: grid;
    gap: 14px;
  }

  .casino-mobile-card {
    padding: 18px;
    border: 1px solid rgba(209, 122, 34, 0.14);
    border-radius: 18px;
    background: #fff;
  }

  .casino-mobile-logo {
    margin-bottom: 12px;
    padding: 16px;
    border-radius: 14px;
    background: #2f2f2f;
    text-align: center;
  }

  .casino-mobile-logo img {
    max-width: 160px;
    max-height: 64px;
    width: auto;
    height: auto;
  }

  .casino-mobile-bonus {
    margin-bottom: 14px;
    color: #5a2b00;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
  }

  .casino-mobile-action {
    display: flex;
    justify-content: center;
  }

  .casino-mobile-action .btn-act,
  .site-page-cta .btn-act {
    width: 100%;
    min-width: 0;
  }

  .logo img {
    max-height: 86px;
  }
}
