@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap");
:root {
  --color-primary: #01734b;
  --color-btn-secondary: #ccb72e;
  --color-btn-primary: #ffd03a;
  --color-bg: #fff;
  --color-ink: #17241f;
  --color-muted: #63766d;
  --color-pale: #eff8f3;
  --shadow: 0 8px 28px #073f2814;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font: 16px/1.7 "Open Sans", Arial, sans-serif;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: 0.2s;
}
a:hover {
  color: #004c32;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
}
.wrapper {
  min-height: 100vh;
  overflow: hidden;
}
.container,
.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.box {
  background: #fff;
  border: 1px solid #dbeae2;
  border-radius: 16px;
  padding: 30px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}
h1,
h2,
h3 {
  line-height: 1.2;
  color: #075a3c;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.7rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1rem;
}
.topline {
  background: #00583b;
  color: #edfff6;
  text-align: right;
  padding: 5px 20px;
  font-size: 0.78rem;
}
.header {
  background: var(--color-primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 3px 16px #003b2855;
}
.header-bar {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  align-items: center;
  display: flex;
  gap: 9px;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
}
.logo img {
    width: auto;
    height: 80px;
}
.nav {
  display: flex;
  gap: 17px;
  margin-left: auto;
  align-items: center;
}
.nav a {
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}
.nav a:hover {
  color: var(--color-btn-primary);
}
.nav-icon {
  width: 18px;
  vertical-align: -4px;
}
.actions {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}
.btn {
  display: inline-block;
  padding: 10px 19px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 2px 0 #0003;
  transition: transform 0.2s, filter 0.2s;
}
.btn:hover {
  transform: scale(1.04);
  filter: brightness(1.06);
}
.primary {
  background: var(--color-btn-primary);
  color: #1b2c21;
}
.secondary,
.login {
  background: var(--color-btn-secondary);
  color: #1b2c21;
}
.burger {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.65rem;
  cursor: pointer;
}
.hero {
  min-height: 430px;
  background: linear-gradient(90deg, #00583bea, #01734b88),
    url("/main-banner.png") center/cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.hero h1,
.hero h2 {
  color: #fff;
  max-width: 700px;
  font-size: clamp(2.1rem, 3vw, 3.5rem);
  margin: 0 0 12px;
}
.hero p {
  font-size: 1.2rem;
  max-width: 650px;
}
.trust-row,
.trust {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 25px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-badge,
.trust-row span {
  padding: 7px 13px;
  border: 1px solid #fff8;
  border-radius: 20px;
  background: #fff2;
  font-weight: 700;
}
.breadcrumbs {
  width: min(1180px, calc(100% - 40px));
  margin: 20px auto;
  color: var(--color-muted);
}
.breadcrumbs ol {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
}
.breadcrumbs li + li:before {
  content: "›";
  margin-right: 20px;
}
.content-text {
  line-height: 1.8;
}
.content-text ul {
  padding-left: 25px;
}
.tabs {
  display: flex;
  gap: 10px;
  margin: 10px 0 22px;
}
.tab-btn,
.tab {
  border: 0;
  background: #eaf5ef;
  padding: 11px 17px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
.tab-btn.active,
.tab.active {
  background: var(--color-primary);
  color: #fff;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.game-card,
.game {
  border: 1px solid #d9e8df;
  border-radius: 11px;
  padding: 12px;
  background: #fff;
  transition: 0.25s;
}
.game-card:hover,
.game:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.game-card img,
.game img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.game-card strong,
.game strong {
  display: block;
}
.game-meta {
  font-size: 0.82rem;
  color: var(--color-muted);
  display: block;
}
.game-card .btn,
.game .btn {
  width: 100%;
  margin-top: 10px;
  text-align: center;
  padding: 8px;
}
.toc-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0;
  list-style: none;
}
.toc-list a {
  display: block;
  background: var(--color-pale);
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.advantage-tile {
  padding: 20px;
  background: var(--color-pale);
  border-radius: 12px;
}
.advantage-tile .icon {
  font-size: 1.8rem;
}
.advantage-tile h3 {
  margin: 5px 0;
}
.table-wrap {
  overflow-x: auto;
}
.mirror-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 650px;
}
.mirror-table th,
.mirror-table td {
  padding: 13px;
  border: 1px solid #d6e6dc;
  text-align: left;
}
.mirror-table th {
  background: #e9f4ee;
}
.tournament-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tournament-card {
  padding: 21px;
  border: 1px solid #efd77d;
  border-radius: 12px;
  background: #fffaf0;
  box-shadow: var(--shadow);
}
.tournament-card h3 {
  margin-top: 0;
}
.prize {
  font-size: 1.5rem;
  font-weight: 800;
  color: #8c7210;
}
.countdown {
  color: var(--color-primary);
  font-weight: 800;
}
.slot-machine {
  text-align: center;
  background: linear-gradient(140deg, #00583b, #01734b);
  color: #fff;
  border-radius: 14px;
  padding: 28px;
}
.slot-machine h2 {
  color: #fff;
}
.reels {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px;
}
.reel {
  background: #fff;
  color: #075a3c;
  border-radius: 9px;
  padding: 5px 15px;
  font-size: 2.8rem;
  min-width: 72px;
}
.slot-result {
  min-height: 32px;
  margin: 15px;
}
.faq-item {
  border-bottom: 1px solid #d7e5dc;
  padding: 13px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 800;
}
.faq-question span{
  font-family: monospace;
}
.faq-answer {
  display: none;
  padding-top: 8px;
}
.faq-item.closed .faq-answer {
  display: none;
}
.author-card {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}
.author-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}
.footer {
  background: var(--color-primary);
  color: #eafff4;
  padding: 52px 0 115px;
}
.footer h3 {
  color: var(--color-btn-primary);
}
.footer a {
  color: #eafff4;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 30px;
}
.footer-list {
  padding: 0;
  list-style: none;
  line-height: 2;
}
.logo-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.logo-badge {
  border: 1px solid #ffffff55;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 0.79rem;
}
.footer-wide {
  grid-column: 1/-1;
}
.legal {
  font-size: 0.8rem;
  border-top: 1px solid #ffffff44;
  margin-top: 28px;
  padding-top: 20px;
}
.promo-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 999;
  padding: 12px 20px;
  animation: slide-up 0.5s ease;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}
.promo-inner {
  width: min(1000px, 100%);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.promo-close {
  border: 0;
  background: none;
  font-size: 1.25rem;
  cursor: pointer;
}
.fade-in-up {
  animation: fade-in-up 0.7s both;
}
.xk7f2 {
  isolation: isolate;
}
.b3m9q {
  letter-spacing: 0.01em;
}
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}
@media (max-width: 768px) {
  .container,
  .wrap {
    width: calc(100% - 28px);
  }
  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #00583b;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav.active {
    display: flex;
  }
  .burger {
    display: block;
    order: 2;
  }
  .actions {
    margin-left: auto;
    order: 1;
  }
  .actions .btn {
    padding: 8px 10px;
    font-size: 0.7rem;
  }
  .header-bar {
    gap: 8px;
  }
  .game-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .game-card,
  .game {
    min-width: 210px;
    scroll-snap-align: start;
  }
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .toc-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .tournament-grid {
    display: flex;
    overflow-x: auto;
  }
  .tournament-card {
    min-width: 255px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .author-card {
    align-items: center;
  }
  .hero {
    min-height: 390px;
  }
  .logo img {
    height: 45px;
}
}
@media (max-width: 480px) {
  .box {
    padding: 21px 16px;
  }
  .hero h1,
  .hero h2 {
    font-size: 2.25rem;
  }
  .advantage-grid,
  .footer-grid,
  .toc-list {
    grid-template-columns: 1fr;
  }
  .author-card {
    flex-direction: column;
  }
  .author-card img {
    width: 110px;
    height: 110px;
  }
  .promo-inner {
    font-size: 0.82rem;
    gap: 8px;
  }
  .promo-inner .btn {
    padding: 7px 9px;
  }
  .trust-row,
  .trust {
    width: calc(100% - 28px);
  }
}
.auttrrll {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  color: var(--color-ink);
  line-height: 1.8;
}

.auttrrll > p {
  margin: 0 0 1rem;
}

.auttrrll h2 {
  margin: 42px 0 18px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.2;
  color: #075a3c;
}

.auttrrll h3 {
  margin: 30px 0 12px;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #075a3c;
}

.auttrrll ul {
  margin: 0 0 22px;
  padding-left: 25px;
}

.auttrrll li {
  margin-bottom: 8px;
}

.auttrrll strong {
  color: #075a3c;
}

.auttrrll a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.auttrrll a:hover {
  color: #004c32;
}

.auttrrll table {
  width: 100%;
  margin: 24px 0 30px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #d6e6dc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.auttrrll th,
.auttrrll td {
  padding: 13px 16px;
  border: 1px solid #d6e6dc;
  text-align: left;
  vertical-align: top;
}

.auttrrll th {
  background: #e9f4ee;
  color: #075a3c;
  font-weight: 800;
}

.auttrrll tbody tr:nth-child(even) {
  background: #f8fcfa;
}

.auttrrll tbody tr:hover {
  background: var(--color-pale);
}

.auttrrll p + table {
  margin-top: 20px;
}

.auttrrll h2 + table {
  margin-top: 20px;
}

.auttrrll h2:first-child {
  margin-top: 0;
}

.auttrrll h2,
.auttrrll h3 {
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .auttrrll {
    width: calc(100% - 28px);
  }

  .auttrrll h2 {
    margin-top: 34px;
  }

  .auttrrll table {
    display: block;
    overflow-x: auto;
    white-space: normal;
    -webkit-overflow-scrolling: touch;
  }

  .auttrrll th,
  .auttrrll td {
    min-width: 150px;
    padding: 11px 13px;
  }
}

@media (max-width: 480px) {
  .auttrrll {
    width: 100%;
  }

  .auttrrll h2 {
    font-size: 1.5rem;
  }

  .auttrrll h3 {
    font-size: 1.08rem;
  }

  .auttrrll p {
    font-size: 0.95rem;
  }

  .auttrrll ul {
    padding-left: 21px;
  }

  .auttrrll th,
  .auttrrll td {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}
.game-set[hidden],
.tab-panel[hidden] {
  display: none;
}

.tabs .tab-btn,
.tabs .tab {
  transition: background 0.2s, color 0.2s;
}

.tabs .tab-btn:hover,
.tabs .tab:hover {
  background: #d8ece1;
}

.tabs .tab-btn.active:hover,
.tabs .tab.active:hover {
  background: var(--color-primary);
}
