:root {
  --tpl-primary: #10e18d;
  --tpl-accent: #d9a84c;
  --tpl-bg: #03150f;
  --tpl-panel: rgba(4, 24, 17, .94);
  --tpl-line: rgba(16, 225, 141, .5);
  --tpl-ink: #f8fff8;
  --tpl-muted: #dcebdd;
  --nav-height: 92px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--tpl-ink);
  background:
    radial-gradient(circle at 55% 0, rgba(217, 168, 76, .2), transparent 22rem),
    linear-gradient(180deg, #021711 0%, #051a12 58%, #020806 100%);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

img,
svg {
  display: block;
}

.phone-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 8%, rgba(217, 168, 76, .18), transparent 12rem),
    linear-gradient(180deg, #031811 0%, #02110c 100%);
  box-shadow: 0 0 0 1px rgba(16, 225, 141, .22);
}

.visual-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 853 / 1844;
  overflow: hidden;
  background: #03150f;
}

.visual-image {
  width: 100%;
  height: auto;
  max-width: none;
  pointer-events: none;
}

.logo-hit,
.visual-hit {
  position: absolute;
  z-index: 12;
  display: block;
}

.logo-hit {
  left: 3.2%;
  top: 1%;
  width: 31%;
  height: 4.4%;
}

.logo-hit span {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.top-login-hit {
  left: 52.6%;
  top: 1.65%;
  width: 13.6%;
  height: 3.3%;
}

.top-register-hit {
  left: 68.3%;
  top: 1.6%;
  width: 17.3%;
  height: 3.35%;
}

.top-telegram-hit {
  left: 88.4%;
  top: 1.35%;
  width: 7.6%;
  height: 3.9%;
}

.hero-register-hit {
  left: 5.9%;
  top: 32.2%;
  width: 42.2%;
  height: 4.2%;
}

.hero-login-hit {
  left: 51.8%;
  top: 32.2%;
  width: 42%;
  height: 4.2%;
}

.quick-app-hit,
.quick-wallet-hit,
.quick-payment-hit {
  top: 37.6%;
  height: 7.8%;
}

.quick-app-hit {
  left: 2.8%;
  width: 30.7%;
}

.quick-wallet-hit {
  left: 35%;
  width: 30.7%;
}

.quick-payment-hit {
  left: 67.2%;
  width: 30.6%;
}

.quick-payment-help-hit,
.quick-support-hit,
.quick-telegram-hit {
  top: 46.1%;
  height: 7.8%;
}

.quick-payment-help-hit {
  left: 2.8%;
  width: 30.7%;
}

.quick-support-hit {
  left: 35%;
  width: 30.7%;
}

.quick-telegram-hit {
  left: 67.2%;
  width: 30.6%;
}

.sports-hit,
.slots-hit,
.casino-hit,
.lotto-hit {
  top: 59.3%;
  height: 9.2%;
}

.sports-hit {
  left: 4.5%;
  width: 21.4%;
}

.slots-hit {
  left: 27.4%;
  width: 21.2%;
}

.casino-hit {
  left: 50.2%;
  width: 21.5%;
}

.lotto-hit {
  left: 73.2%;
  width: 21.4%;
}

.table-games-hit,
.fishing-hit {
  top: 69.6%;
  height: 9.2%;
}

.table-games-hit {
  left: 4.5%;
  width: 21.4%;
}

.fishing-hit {
  left: 27.4%;
  width: 21.2%;
}

.faq-register-hit,
.faq-payment-hit,
.faq-support-hit {
  left: 5.2%;
  width: 57.6%;
  height: 3.6%;
}

.faq-register-hit {
  top: 82.25%;
}

.faq-payment-hit {
  top: 86%;
}

.faq-support-hit {
  top: 88.2%;
  height: 2.5%;
}

.visual-nav-cover {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11;
  height: 7.3%;
  border-top: 1px solid rgba(16, 225, 141, .34);
  background:
    radial-gradient(circle at 17% 18%, rgba(16, 225, 141, .24), transparent 6rem),
    linear-gradient(180deg, rgba(3, 17, 13, .98), rgba(2, 8, 6, 1));
}

.seo-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 24px 14px calc(var(--nav-height) + 44px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 100% 0, rgba(217, 168, 76, .16), transparent 13rem),
    radial-gradient(circle at 0 20%, rgba(16, 225, 141, .14), transparent 13rem),
    linear-gradient(180deg, #041a13 0%, #020806 100%);
}

.seo-eyebrow {
  margin: 0;
  color: #22f3a0;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.seo-panel h1 {
  margin: 0;
  color: #fff;
  font-size: 33px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.seo-lead {
  margin: 0;
  color: var(--tpl-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.58;
}

.seo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.seo-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 225, 141, .52);
  border-radius: 12px;
  background: rgba(4, 24, 17, .96);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: inset 0 0 18px rgba(16, 225, 141, .1);
}

.seo-actions a:first-child {
  color: #07120b;
  border-color: rgba(148, 255, 203, .72);
  background: linear-gradient(180deg, #28efa0, #07a95f);
}

.seo-actions a:last-child {
  grid-column: 1 / -1;
}

.seo-card,
.seo-footer {
  border: 1px solid var(--tpl-line);
  border-radius: 14px;
  background: var(--tpl-panel);
  padding: 16px;
  box-shadow: inset 0 0 22px rgba(255, 93, 120, .08), 0 12px 28px rgba(0, 0, 0, .3);
}

.seo-card h2,
.seo-footer h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.seo-card p,
.seo-footer p {
  margin: 10px 0 0;
  color: var(--tpl-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.58;
}

.category-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.category-list li {
  min-height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(16, 225, 141, .45);
  border-radius: 10px;
  padding: 0 10px;
  color: #fff;
  background: rgba(6, 31, 22, .88);
  font-size: 12px;
  font-weight: 900;
}

.faq-card {
  display: grid;
  gap: 10px;
}

.faq-card details {
  border: 1px solid rgba(16, 225, 141, .42);
  border-radius: 12px;
  background: rgba(3, 18, 13, .9);
  padding: 12px;
}

.faq-card summary {
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.faq-card details p {
  margin-top: 8px;
}

.safety-card {
  border-color: rgba(217, 168, 76, .48);
  background: linear-gradient(180deg, rgba(217, 168, 76, .12), rgba(4, 24, 17, .94));
}

.seo-footer nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.seo-footer nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #fff;
  background: rgba(8, 33, 24, .9);
  font-size: 11px;
  font-weight: 900;
}

.nav-hits {
  position: fixed;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 30;
  width: calc(100% - 24px);
  max-width: 406px;
  height: 76px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(16, 225, 141, .58);
  border-radius: 18px;
  padding: 6px;
  background: rgba(2, 13, 10, .94);
  box-shadow: 0 -16px 34px rgba(0, 0, 0, .42), inset 0 0 18px rgba(16, 225, 141, .1);
  backdrop-filter: blur(14px);
}

.nav-hit {
  height: 64px;
  min-width: 0;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 14px;
  color: #d9e7df;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.nav-hit svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  fill: currentColor;
}

.nav-hit span {
  margin-top: 6px;
  white-space: nowrap;
}

.nav-hit.is-active {
  color: #19f29b;
  background: linear-gradient(180deg, rgba(16, 225, 141, .22), rgba(9, 48, 31, .48));
}

.link-notice {
  position: fixed;
  left: 50%;
  bottom: calc(98px + env(safe-area-inset-bottom));
  transform: translate(-50%, 12px);
  z-index: 40;
  width: calc(100% - 44px);
  max-width: 386px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 255, 203, .6);
  border-radius: 12px;
  padding: 10px 14px;
  color: #07120b;
  background: linear-gradient(180deg, rgba(43, 240, 159, .98), rgba(7, 169, 95, .98));
  box-shadow: 0 12px 28px rgba(0, 0, 0, .34);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.link-notice.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 360px) {
  .seo-panel h1 {
    font-size: 30px;
  }

  .nav-hit {
    font-size: 10px;
  }

  .category-list {
    grid-template-columns: 1fr;
  }
}
