:root {
  --bg:        #0D0C08;
  --bg-header: #0B0A08;
  --card:      #171614;
  --card-2:    #242321;
  --green:     #4BD865;
  --gold:      #FED700;
  --gold-hover:#F2D534;
  --purple:    #27265F;
  --text:      #FFFFFF;
  --muted:     #D5D5D5;
  --line:      #d6b3ff;
  --container:  1140px;
  --font:      "Geologica", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--main-theme-color);
  color: var(--text-color);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--text-color); text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; width: 100%; }
.container.narrow { max-width: 1000px; }

h1, h2, h3, h4 { font-family: var(--title-color); line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: 26px; font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--text-color); }
ul { color: var(--text-color); }

section { padding: 55px 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; cursor: pointer;
  border: none; transition: background .2s, color .2s, transform .15s;
}
.btn-login {
  background: var(--button-bg-color); color: var(--button-text-color);
  border-radius: 10px; padding: 12px 26px; font-size: 14px;
}
.btn-login:hover { background: var(--button-bg-hover); }
.btn-register {
  background: var(--button-bg-color); color: var(--button-text-color); border: 1px solid var(--border-color);
  border-radius: 10px; padding: 12px 26px; font-size: 14px;
}
.btn-register:hover { background: var(--button-bg-hover); }
.btn-gold {
  background: var(--button-bg-color); color: var(--button-text-color); text-transform: uppercase;
  border-radius: 5px; padding: 16px 36px; font-size: 17px; font-weight: 600;
  letter-spacing: .3px;
}
.btn-gold:hover { background: var(--button-bg-hover); transform: translateY(-1px); }
.btn-search {
  background: #fff; color: #202020; border-radius: 20px;
  width: 54px; height: 54px; padding: 0;
}
.btn-search:hover { background: #eee; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--fh-bg-color);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 24px;
}
.logo img { width: 170px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.main-nav a {
  font-size: 15px; font-weight: 500; color: var(--menu-color); padding: 6px 0;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--menu-color); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative; padding: 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; background: rgba(13,12,8,.35);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px; align-items: center; padding: 70px 20px; min-height: 520px;
}
.hero-card {
  background: var(--fh-bg-color); border-radius: 20px; padding: 40px 38px;
  text-align: center;
}
.hero-card h1 { font-size: 55px; font-weight: 700; color: var(--title-color); margin-bottom: .15em; }
.hero-sub { font-size: 22px; font-weight: 600; color: var(--text-color); margin-bottom: .8em; }
.hero-text { color: #E9E9E9; }
.hero-card .btn-gold { margin: 12px 0 18px; }
.hero-terms {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; color: #cfcfcf; margin: 0;
}
.hero-terms svg { color: var(--gold); flex: none; }
.hero-visual { min-height: 300px; }

.search-cta { background: var(--main-theme-color); }
.search-cta .container {
  display: flex; align-items: center; justify-content: center; gap: 22px;
}
.search-cta h2 { margin: 0; font-size: 28px; }

.vip-section { background: var(--main-theme-color); }
.vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vip-card {
  background: var(--fh-bg-color); border-radius: 10px; padding: 30px 25px; text-align: center;
}
.vip-icon { margin-bottom: 14px; }
.vip-icon svg { margin: 0 auto; color: var(--menu-color); }
.vip-card h3 { color: var(--menu-color); font-size: 22px; }
.vip-card p { color: var(--menu-color); font-size: 15px; margin: 0; }

.casino-intro { background: var(--main-theme-color); }
.casino-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.casino-images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: sticky; top: 100px; }
.casino-images img { border-radius: 10px; width: 100%; }
.casino-images img:first-child { grid-column: 1 / -1; }
.casino-text h2 { margin-top: 1.2em; }
.casino-text h2:first-child { margin-top: 0; }
.casino-text ul { padding-left: 1.25em; margin: 0 0 1.2em; }
.casino-text li { margin-bottom: 6px; }

.game-grid-section { background: var(--main-theme-color); }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.game-grid img {
  border-radius: 10px; width: 100%; transition: transform .25s;
}
.game-grid img:hover { transform: scale(1.04); }

.bonus-section { background: var(--main-theme-color); }
.bonus-section h3 { margin-top: 1.4em; }

.table-wrap { width: 100%; overflow-x: auto; margin: 20px 0 30px; }
.bonus-table-wrap { border: 2px solid #fff; border-radius: 6px; }
.bonus-table { width: 100%; border-collapse: collapse; color: #fff; table-layout: fixed; }
.bonus-table th, .bonus-table td { border: 1px solid #fff; padding: 16px 12px; vertical-align: top; text-align: left; }
.bonus-table th { font-weight: 700; font-size: 1.1em; }
.bonus-table ul { margin: 0 0 0 1em; padding: 0; color: #fff; }
.bonus-table li { margin-bottom: 8px; }

.mobile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-top: 30px; }
.mobile-image img { margin: 0 auto; border-radius: 12px; }

.testimonials { background: var(--main-theme-color); }
.testimonials h2 { text-align: center; }
.carousel { display: flex; align-items: center; gap: 12px; }
.carousel-viewport { overflow: hidden; flex: 1; }
.carousel-track { display: flex; transition: transform .5s ease; }
.review {
  flex: 0 0 100%; margin: 0; padding: 30px; text-align: center;
  background: var(--fh-bg-color); border-radius: 12px;
}
.review figcaption { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 14px; }
.review-name { font-weight: 700; font-size: 18px; color: var(--menu-color)}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; }
.star-dim { color: #555; }
.review blockquote { margin: 0; color: var(--menu-color); font-style: italic; }
.carousel-btn {
  background: var(--button-bg-color); color: #fff; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%; font-size: 24px; line-height: 1; flex: none;
  transition: background .2s;
}
.carousel-btn:hover { background: var(--button-bg-hover); color: #091930; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; background: #444; cursor: pointer; padding: 0;
}
.carousel-dots button.active { background: var(--button-bg-hover); }

.payments { background: var(--main-theme-color); }
.payment-table-wrap { border: 1px solid var(--border-color); }
.payment-table { width: 100%; border-collapse: collapse; background: #0b0b0b; color: #fff; table-layout: fixed; }
.payment-table th, .payment-table td { border: 1px solid var(--border-color); padding: 14px 12px; text-align: left; }
.payment-table th { font-weight: 600; background: #000; }

.providers { background: var(--main-theme-color); padding: 40px 0; }
.providers-row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.providers-label { font-size: 20px; font-weight: 600; }
.providers-row img { opacity: .9; }

.faq { background: var(--main-theme-color); }
.faq h2 { text-align: center; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.12); }
.faq-q {
  width: 100%; background: transparent; border: none; color: var(--text-color); cursor: pointer;
  font-family: var(--font); font-size: 18px; font-weight: 500; text-align: left;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-icon { color: var(--green); font-size: 26px; line-height: 1; transition: transform .25s; flex: none; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { margin: 0 0 20px; }

.site-footer { background: var(--fh-bg-color); padding-top: 50px; }
.footer-cta { text-align: center; padding-bottom: 40px; }
.footer-cta h2 { font-size: 26px; margin-bottom: 24px; }
.footer-form { display: flex; gap: 12px; max-width: 560px; margin: 0 auto; }
.footer-form input {
  flex: 1; padding: 14px 16px; border-radius: 6px; border: 1px solid #333;
  background: #111; color: #fff; font-size: 15px;
}
.footer-form input::placeholder { color: #888; }

.footer-cols {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center;
  padding: 40px 20px; border-top: 1px solid rgba(255,255,255,.08);
}
.footer-logo img { width: 180px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--menu-color); }
.footer-responsible {
  background: var(--main-theme-color); border-radius: 10px; padding: 24px;
}
.footer-responsible h4 { font-size: 20px; margin-bottom: .5em; }
.footer-responsible p { color: var(--text-color); font-size: 14px; margin: 0; }

.footer-meta { text-align: center; padding: 30px 20px; }
.social-icons { display: flex; justify-content: center; gap: 14px; margin-bottom: 22px; }
.social-icons a {
  width: 42px; height: 42px; border-radius: 50%; background: var(--button-bg-color);
  display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s;
}
.social-icons a:hover { background: var(--footer-text-color); color: #091930; }
.payment-strip { margin: 0 auto 20px; }
.responsible-icons { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 20px; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid #8c8c8c;
  color: #8c8c8c; font-weight: 700; font-size: 14px;
}
.badge-ga {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; color: #8c8c8c; font-weight: 700; font-size: 15px;
  border: 2px solid #8c8c8c; border-radius: 6px;
}
.company-text { color: #8c8c8c; font-size: 13px; max-width: 760px; margin: 0 auto; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 20px; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; gap: 12px;
}
.copyright { margin: 0; color: var(--muted); font-size: 14px; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact a { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.footer-contact a:hover { color: var(--green); }

@media (max-width: 1024px) {
  .hero-card h1 { font-size: 43px; }
  .casino-images { position: static; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  section { padding: 40px 0; }

  .nav-toggle { display: flex; }
  .btn-login, .btn-register { display: none; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--fh-bg-color); margin: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 20px 20px; }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,.06); }
  .main-nav a { display: block; padding: 14px 0; }
  .main-nav.open .mobile-cta { display: flex; gap: 10px; padding-top: 14px; }

  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding: 40px 16px; }
  .hero-visual { display: none; }
  .hero-card { padding: 30px 22px; }
  .hero-card h1 { font-size: 40px; }
  .hero-sub { font-size: 19px; }

  .search-cta .container { flex-direction: column; gap: 16px; }
  .search-cta h2 { font-size: 24px; text-align: center; }

  .vip-grid { grid-template-columns: 1fr; }

  .casino-grid { grid-template-columns: 1fr; gap: 24px; }
  .casino-images { grid-template-columns: 1fr; }
  .hide-mobile { display: none; }

  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .mobile-grid { grid-template-columns: 1fr; }

  .bonus-table, .bonus-table tbody, .bonus-table tr { display: block; }
  .bonus-table thead { display: none; }
  .bonus-table td { display: block; border: none; border-bottom: 2px solid #fff; padding: 14px 12px; }
  .bonus-table td:last-child { border-bottom: none; }

  .payment-table thead { display: none; }
  .payment-table, .payment-table tbody, .payment-table tr { display: block; }
  .payment-table tr { border-bottom: 1px solid var(--border-color); }
  .payment-table td {
    display: grid; grid-template-columns: 45% 55%; gap: 6px; padding: 10px; border: none;
  }
  .payment-table td::before { content: attr(data-label); font-weight: 600; color: var(--border-color); }

  .footer-cols { grid-template-columns: 1fr; text-align: center; }
  .footer-logo img { margin: 0 auto; }
  .footer-form { flex-direction: column; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-contact a { justify-content: center; }

  .header-inner {
    justify-content: space-between;
  }
}

.review-raiting {
  width: 88px;
  height: 16px;
  margin-bottom: 14px;
}

.review-raiting .stars {
  fill: #c2c0ce;
}

.review-raiting [rating="1"] .stars:not(:nth-child(n + 2)) {
  fill: #ffbe16;
}

.review-raiting [rating="2"] .stars:not(:nth-child(n + 3)) {
  fill: #ffbe16;
}

.review-raiting [rating="3"] .stars:not(:nth-child(n + 4)) {
  fill: #ffbe16;
}

.review-raiting [rating="4"] .stars:not(:nth-child(n + 5)) {
  fill: #ffbe16;
}

.review-raiting [rating="5"] .stars:not(:nth-child(n + 6)) {
  fill: #ffbe16;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    background-color: var(--table-2-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

th,
td {
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

th {
    background-color: var(--table-1-color);
    font-weight: 600;
    color: var(--text-color);
}

tr:nth-child(even) {
    background-color: var(--table-1-color);
}

@media (max-width: 727px) {
    table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    th,
    td {
        min-width: 130px;
    }
}

.footer-links a {
  color: var(--menu-color)
}

.contact-form {
  background: var(--fh-bg-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: -2px 1px 8px 5px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 50px auto;
}

.contact-form label {
  font-size: 14px;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  padding: 10px;
  margin-top:5px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: var(--main-theme-color);
  font-size: 1rem;
}
.contact-form button {
  background-color: var(--button-bg-color);
  color: var(--text-color);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.contact-form button:hover {
  background-color: var(--button-bg-hover);
}
.success-contact {
  text-align: center;
  color: green;
  font-weight: 500;
  padding: 50px 0;
  animation: fadeIn 0.4s ease-in;
}

.success-contact h2 {
  color: green;
  font-weight: 500;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.main-button {
  display: table; margin: 28px auto; padding: 15px 34px; border-radius: 8px;
  background: var(--button-bg-color, #f5b400); color: var(--button-text-color, #111111) !important;
  font-weight: 700; font-size: 17px; line-height: 1.25; text-align: center; text-decoration: none;
  cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: background .2s, transform .15s;
}
.main-button:hover { background: var(--button-bg-hover, var(--button-bg-color, #f5b400)); transform: translateY(-1px); }

:root {
  --footer-menu-color: #ece7dc;
  --updated-block-color: #ece7dc;
  --rate-counter-bg: #1e1e1e;
  --rate-counter-bg-top: #2a2a2a;
}
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.review-card, .fh-review-card, [class*="review-card"],
.collapsible-header, [class*="collapsible-header"],
.updated-block, [class*="updated-block"] {
  color: #ece7dc !important;
}
thead, thead th, table th, .fh-thead {
  color: #ece7dc !important;
}

body, body :is(p,h1,h2,h3,h4,h5,h6,li,td,th,dd,dt,blockquote,figcaption,label) { color: #ECE7DC !important; }
.btn-search, .btn-search :is(p,h1,h2,h3,h4,h5,h6,li,td,th,dd,dt,blockquote,figcaption,label),
.nav-toggle span, .nav-toggle span :is(p,h1,h2,h3,h4,h5,h6,li,td,th,dd,dt,blockquote,figcaption,label) { color: var(--text-color) !important; }
.btn-login, .btn-login :is(p,h1,h2,h3,h4,h5,h6,li,td,th,dd,dt,blockquote,figcaption,label),
.btn-register, .btn-register :is(p,h1,h2,h3,h4,h5,h6,li,td,th,dd,dt,blockquote,figcaption,label),
.btn-gold, .btn-gold :is(p,h1,h2,h3,h4,h5,h6,li,td,th,dd,dt,blockquote,figcaption,label),
.carousel-btn, .carousel-btn :is(p,h1,h2,h3,h4,h5,h6,li,td,th,dd,dt,blockquote,figcaption,label),
.social-icons a, .social-icons a :is(p,h1,h2,h3,h4,h5,h6,li,td,th,dd,dt,blockquote,figcaption,label),
.contact-form button, .contact-form button :is(p,h1,h2,h3,h4,h5,h6,li,td,th,dd,dt,blockquote,figcaption,label) { color: var(--button-text-color) !important; }
[data-fsbp-popup] :is(p,h1,h2,h3,h4,h5,h6,li,td,th,dd,dt,blockquote,figcaption,label) { color: inherit !important; }

header nav li a, header ul li a { color: var(--text-color) !important; }
