:root {
  --phone-width: 430px;
  --visual-w: 853;
  --visual-h: 1844;
  --visual-crop-h: 1646;
  --bg: #e6f8ff;
  --panel: #f8fdff;
  --ink: #061c55;
  --muted: #436285;
  --primary: #0799ff;
  --accent: #ffc62d;
  --line: rgba(29, 134, 213, .18);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(87, 207, 255, .34), transparent 32%),
    linear-gradient(180deg, #d7f5ff 0%, #f7fdff 48%, #eaf9ff 100%);
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
}

a {
  color: inherit;
}

.phone {
  position: relative;
  width: min(100vw, var(--phone-width));
  margin: 0 auto;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(211, 245, 255, .92), rgba(255, 255, 255, .98) 58%, #eaf8ff);
  box-shadow: 0 0 0 1px rgba(0, 96, 180, .08);
}

.visual-stage {
  position: relative;
  width: 100%;
  aspect-ratio: var(--visual-w) / var(--visual-crop-h);
  overflow: hidden;
  background: #dbf6ff;
}

.visual {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.visual-hotspot {
  position: absolute;
  z-index: 3;
  display: block;
  border-radius: 16px;
  background: transparent;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(9, 153, 255, .18);
}

.visual-hotspot:focus-visible,
.nav-hit:focus-visible,
.guide-card:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid rgba(9, 153, 255, .95);
  outline-offset: 2px;
}

.visual-hotspot:active {
  background: rgba(9, 153, 255, .08);
}

.logo-slot {
  left: 5.2%;
  top: 1.58%;
  width: 26.2%;
  height: 4.85%;
  border-radius: 0;
}

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

.top-register {
  left: 46.5%;
  top: 2.7%;
  width: 20.3%;
  height: 3.7%;
  border-radius: 999px;
}

.top-login {
  left: 61.8%;
  top: 2.7%;
  width: 15.5%;
  height: 3.7%;
  border-radius: 999px;
}

.top-telegram {
  left: 79%;
  top: 2.52%;
  width: 7.5%;
  height: 4.2%;
  border-radius: 50%;
}

.hero-games {
  left: 2.4%;
  top: 8.6%;
  width: 95.2%;
  height: 26.6%;
}

.game-gallery {
  left: 3.5%;
  top: 38.1%;
  width: 93.5%;
  height: 16.9%;
}

.visual-promo {
  left: 3.2%;
  top: 56.1%;
  width: 94.1%;
  height: 15.3%;
}

.visual-rewards {
  left: 2.7%;
  top: 73.2%;
  width: 46.2%;
  height: 8.2%;
}

.visual-support {
  left: 2.7%;
  top: 82.1%;
  width: 46.2%;
  height: 8.2%;
}

.visual-account {
  left: 51%;
  top: 82.1%;
  width: 46.2%;
  height: 8.2%;
}

.seo-panel {
  position: relative;
  z-index: 1;
  padding: 20px 14px 142px;
  background:
    linear-gradient(180deg, rgba(2, 144, 238, .16), rgba(255, 255, 255, .96) 12%),
    linear-gradient(180deg, #effbff, #ffffff 58%, #eaf8ff);
}

.kicker {
  margin: 0 0 7px;
  color: #088de7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  color: #06215f;
  font-size: 27px;
  line-height: 1.06;
  letter-spacing: 0;
}

.lead {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 13px;
}

.guide-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(233, 249, 255, .94));
  box-shadow:
    0 10px 24px rgba(0, 91, 170, .08),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}

.guide-card {
  min-height: 82px;
  padding: 13px;
  text-decoration: none;
}

.guide-card span {
  display: block;
  margin-bottom: 8px;
  color: #0789df;
  font-size: 12px;
  font-weight: 900;
}

.guide-card strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.18;
}

.content-card {
  margin-top: 12px;
  padding: 16px;
}

.content-card h2 {
  margin-bottom: 9px;
  color: #06215f;
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: 0;
}

.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.category-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.faq-card {
  background:
    linear-gradient(180deg, rgba(232, 249, 255, .98), rgba(255, 255, 255, .96));
}

details {
  border-top: 1px solid rgba(14, 118, 203, .12);
  padding: 12px 0;
}

details:first-of-type {
  border-top: 0;
}

summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

details p {
  margin: 9px 0 0;
}

.safety-note {
  border-color: rgba(255, 198, 45, .45);
  background:
    linear-gradient(180deg, rgba(255, 248, 210, .96), rgba(236, 249, 255, .95));
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
  padding: 15px 12px;
  border: 1px solid rgba(16, 125, 210, .15);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.site-footer a {
  color: #0a78c8;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.nav-hits {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: min(390px, calc(100vw - 20px));
  min-height: 76px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(224, 245, 255, .95));
  box-shadow:
    0 16px 45px rgba(9, 62, 122, .22),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.nav-hit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 60px;
  border-radius: 24px;
  color: #6d829c;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.nav-hit span {
  display: block;
  max-width: 100%;
  margin-top: 4px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.nav-hit.active {
  color: #ffffff;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--primary) 84%, #48d7ff), #006ee8);
  box-shadow:
    0 12px 26px rgba(0, 112, 218, .26),
    inset 0 1px 0 rgba(255, 255, 255, .42);
}

.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  max-width: min(360px, calc(100vw - 36px));
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  color: #fff;
  background: rgba(4, 48, 112, .94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 800;
}

.toast[hidden] {
  display: none;
}

@media (max-width: 360px) {
  .seo-panel {
    padding-inline: 10px;
  }

  h1 {
    font-size: 24px;
  }

  .nav-hit span {
    font-size: 11px;
  }
}

/* PH-TPL-18 click/logo/frame fix 20260626-tpl18-click-logo-frame-fix */
.visual-stage .logo-slot {
  background-image: none !important;
}

.visual-stage .logo-slot .logo-img {
  background-image: url("./assets/brand-logo.svg?v=20260626-tpl18-click-logo-frame-fix") !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;
}

button.visual-hotspot,
.visual-stage button.visual-hotspot,
button.nav-hit {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: inherit;
  font: inherit;
}

.visual-stage button.visual-hotspot {
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  white-space: nowrap !important;
}
