@font-face {
  font-family: "CoinCasino";
  src: url("fonts/coincasino.woff2") format("woff2");
  font-weight: 400 900;
}

:root {
  --bg: #070b0e;
  --panel: #11151d;
  --panel-2: #151923;
  --line: #33394c;
  --text: #ffffff;
  --muted: #b8c0cd;
  --cyan: #07849a;
  --cyan-bright: #10a1b9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: CoinCasino, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.menu-toggle {
  position: fixed;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 47px;
  background: linear-gradient(180deg, #12161d 0%, #0d1117 100%);
  border-bottom: 1px solid #171d26;
  box-shadow: 0 2px 10px rgb(0 0 0 / 35%);
}

.topbar__inner {
  width: min(1080px, calc(100% - 28px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 129px;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 26px;
  margin-right: auto;
}

.main-nav__link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  color: #c6cfdd;
  font-size: 14px;
  font-weight: 800;
}

.main-nav__link:hover,
.main-nav__link.is-active {
  background: #202633;
  color: #fff;
}

.actions {
  display: flex;
  gap: 8px;
}

.burger,
.mobile-nav {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 8px rgb(0 0 0 / 35%);
}

.btn--ghost {
  background: #1b202b;
  border: 1px solid #4a5266;
}

.btn--primary,
.btn--hero {
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan));
}

.btn--hero {
  margin-top: 12px;
}

.page {
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
  padding: 2px 0 44px;
}

.hero {
  position: relative;
  min-height: 335px;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c1016;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(9 10 15 / 95%) 0%, rgb(9 10 15 / 82%) 34%, rgb(9 10 15 / 25%) 62%, rgb(9 10 15 / 0%) 100%),
    linear-gradient(0deg, rgb(9 10 15 / 24%), rgb(9 10 15 / 24%));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(510px, 58%);
  padding: 42px 18px 34px 18px;
}

.hero h1 {
  max-width: 500px;
  margin: 0 0 14px;
  font-size: clamp(32px, 3.7vw, 43px);
  line-height: 1.06;
  font-weight: 900;
}

.hero__lead {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 800;
}

.perks {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eef2f6;
  font-size: 14px;
  font-weight: 800;
}

.perks span {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  color: #d6fbff;
}

.payment-strip {
  min-height: 50px;
  margin-top: 22px;
  padding: 8px 78px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: linear-gradient(180deg, #121620, #0f131b);
}

.payment-strip > strong {
  font-size: 18px;
  text-align: center;
}

.payment-strip .btn {
  justify-self: end;
  min-height: 39px;
}

.coin-list {
  display: flex;
  align-items: center;
  gap: 7px;
}

.coin {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.coin--btc { background: #f7931a; }
.coin--eth { background: #f2f4f7; color: #242a35; }
.coin--usdt { background: #26a17b; }
.coin--sol { background: linear-gradient(135deg, #00ffa3, #dc1fff); }
.coin--bnb { background: #f3ba2f; }
.coin--usdc { background: #2775ca; }
.coin--xrp { background: #f5f7fb; color: #111; }
.coin--doge { background: #c2a633; }
.coin--pepe { background: #208b4f; }
.coin--bonk { background: #ffd100; }

.cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.visa {
  font-size: 27px;
  font-weight: 900;
  font-style: italic;
}

.mastercard {
  position: relative;
  width: 50px;
  height: 31px;
  display: inline-block;
}

.mastercard i,
.mastercard b {
  position: absolute;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.mastercard i {
  left: 7px;
  background: #eb001b;
}

.mastercard b {
  right: 7px;
  background: #f79e1b;
  mix-blend-mode: screen;
}

.games {
  margin-top: 38px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section-title h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
}

.section-title h2 span {
  color: #63f25e;
  margin-right: 6px;
}

.section-title a {
  font-size: 14px;
  font-weight: 900;
}

.game-row {
  width: 100%;
  max-width: 100%;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 2px 8px;
  scrollbar-width: none;
}

.game-row::-webkit-scrollbar {
  display: none;
}

.game-card {
  position: relative;
  flex: 0 0 174px;
  height: 214px;
  overflow: hidden;
  border-radius: 15px;
  display: block;
  background: #151923;
  box-shadow: 0 8px 18px rgb(0 0 0 / 22%);
  transition: transform 160ms ease, filter 160ms ease;
}

.game-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.game-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.content {
  margin-top: 38px;
  padding: 26px 28px;
  border: 1px solid #202838;
  border-radius: 8px;
  background: #10141c;
  color: #dce3ed;
  font-family: Arial, Helvetica, sans-serif;
}

.content > :first-child {
  margin-top: 0;
}

.content h2,
.content h3,
.content h1 {
  color: #fff;
  overflow-wrap: anywhere;
}

.content h1 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
}

.content h2 {
  margin: 32px 0 15px;
  font-size: 29px;
  font-weight: 900;
}

.content h3 {
  margin: 22px 0 8px;
  font-size: 20px;
  font-weight: 900;
}

.content p {
  margin: 0 0 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.content ul,
.content ol {
  margin: 12px 0 20px;
  padding-left: 24px;
}

.content li {
  margin-bottom: 8px;
  line-height: 1.55;
}

.content li p {
  margin: 0;
}

.content table {
  width: 100%;
  margin: 18px 0 24px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid #30384a;
  border-radius: 8px;
  background: #121822;
}

.content td {
  padding: 13px 15px;
  border: 1px solid #30384a;
  vertical-align: top;
}

.content tr:first-child td {
  color: #fff;
  font-weight: 900;
  background: #1a2130;
}

.content td p {
  margin: 0;
}

.faq-title {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid #2a3345;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #30394d;
  border-radius: 8px;
  background: linear-gradient(180deg, #151b27, #111722);
  box-shadow: 0 10px 22px rgb(0 0 0 / 18%);
}

.faq-item[open] {
  border-color: #0d8fa6;
  background: linear-gradient(180deg, #172333, #121923);
}

.faq-item summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  font-family: CoinCasino, Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: #cbd5e2;
  line-height: 1.65;
}

.footer {
  background: #15191f;
  border-top: 1px solid #262c38;
  padding: 34px 0 24px;
}

.footer__grid,
.footer__bottom {
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.footer h3 {
  margin: 0 0 14px;
  font-size: 17px;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 10px;
  color: #aab2c1;
  font-size: 14px;
}

.footer__bottom {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #2b3140;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__bottom img {
  width: 138px;
}

@media (max-width: 820px) {
  .topbar {
    height: 56px;
  }

  .topbar__inner {
    position: relative;
  }

  .main-nav,
  .actions .btn--primary {
    display: none;
  }

  .actions {
    position: relative;
    z-index: 2;
    margin-left: auto;
    margin-right: 46px;
  }

  .burger {
    width: 38px;
    height: 38px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-grid;
    place-items: center;
    border: 1px solid #4a5266;
    border-radius: 8px;
    background: #1b202b;
    cursor: pointer;
    z-index: 3;
  }

  .burger span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: #fff;
  }

  .mobile-nav {
    width: min(1080px, calc(100% - 28px));
    margin: 0 auto;
    padding: 10px;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    border: 1px solid #2f374a;
    border-radius: 0 0 10px 10px;
    background: #111722;
    box-shadow: 0 14px 24px rgb(0 0 0 / 35%);
  }

  .menu-toggle:checked ~ .topbar .mobile-nav {
    display: grid;
  }

  .mobile-nav__link,
  .mobile-nav__cta {
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 8px;
    color: #dbe3ef;
    font-size: 14px;
    font-weight: 900;
  }

  .mobile-nav__link.is-active {
    background: #202633;
    color: #fff;
  }

  .mobile-nav__cta {
    justify-content: center;
    background: linear-gradient(180deg, var(--cyan-bright), var(--cyan));
    color: #fff;
  }

  .payment-strip {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 12px;
  }

  .payment-strip .btn {
    justify-self: center;
  }

  .coin-list {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .topbar__inner,
  .page,
  .footer__grid,
  .footer__bottom {
    width: min(1080px, calc(100% - 16px));
  }

  .brand img {
    width: 112px;
  }

  .actions {
    gap: 5px;
  }

  .btn {
    min-height: 34px;
    padding: 0 9px;
    font-size: 12px;
  }

  .hero {
    min-height: 438px;
  }

  .hero__image {
    object-position: 62% center;
  }

  .hero__shade {
    background: linear-gradient(180deg, rgb(9 10 15 / 82%) 0%, rgb(9 10 15 / 72%) 44%, rgb(9 10 15 / 28%) 100%);
  }

  .hero__content {
    width: 100%;
    padding: 26px 18px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 27px;
    overflow-wrap: break-word;
  }

  .hero__lead {
    max-width: 330px;
    font-size: 14px;
  }

  .payment-strip {
    margin-top: 14px;
  }

  .game-row {
    gap: 8px;
  }

  .game-card {
    flex-basis: 152px;
    height: 188px;
  }

  .content {
    width: 100%;
    max-width: calc(100vw - 16px);
    padding: 22px 18px;
  }

  .content h1 {
    font-size: 28px;
  }

  .content h2 {
    font-size: 24px;
  }

  .content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .content p {
    max-width: 100%;
    word-break: break-word;
  }

  .faq-item summary {
    min-height: 52px;
    padding: 14px;
    font-size: 16px;
  }

  .faq-item p {
    padding: 0 14px 15px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
