.site {
  width: min(100%, 480px);
  margin: 0 auto;
  padding-bottom: calc(96px + var(--safe-bottom));
  color: #f4f7fb;
  background: #13212c;
}

:where(.site) button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.topstack {
  position: sticky;
  top: 0;
  z-index: 8;
  background: #101c27;
}

.bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: calc(56px + var(--safe-top));
  padding: var(--safe-top) 12px 0;
}

.logo {
  margin-right: auto;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo em {
  font-style: normal;
  color: #7ee0c3;
}

.chip {
  height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.chip--bonus {
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffe100;
  background: transparent;
  border: 1px dashed #ffe100;
  box-shadow: none;
  font-size: 11px;
  font-weight: 600;
  position: relative;
}

.chip--bonus::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d4f;
}

.chip--login {
  width: 81px;
  height: 35px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 600;
}

.chip--join {
  width: 81px;
  height: 35px;
  border-radius: 6px;
  color: #07141e;
  background: linear-gradient(#b7f3df, #3ecf9a);
  box-shadow: 0 2px 0 #147a5c;
  font-size: 14px;
  font-weight: 600;
}

.hero {
  position: relative;
  margin: 0;
  padding: 0 0 12px;
  overflow: hidden;
  background: #10202c;
}

.hero__art {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -108px;
  margin-bottom: -108px;
}

.hero__glow {
  position: absolute;
  right: -20px;
  top: 18px;
  width: 190px;
  height: 230px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 244, 210, 0.2), transparent 42%),
    linear-gradient(180deg, transparent, rgba(8, 16, 22, 0.2));
  pointer-events: none;
}

.hero__coins {
  display: none;
}

.hero__coins i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #fff6d0, #f3c94e 36%, #c48a12 70%, #6d4c0c);
  box-shadow:
    inset 0 0 0 3px rgba(255, 236, 170, 0.55),
    0 8px 14px rgba(0, 0, 0, 0.35);
}

.hero__coins i:nth-child(1) { width: 72px; height: 72px; right: 18px; top: 18px; }
.hero__coins i:nth-child(2) { width: 48px; height: 48px; right: 78px; top: 62px; }
.hero__coins i:nth-child(3) { width: 58px; height: 58px; right: 6px; top: 92px; }
.hero__coins i:nth-child(4) { width: 34px; height: 34px; right: 64px; top: 8px; }

.hero h1 {
  position: relative;
  margin: 0;
  max-width: 230px;
  color: #ffe14a;
  font-size: 32px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-shadow: 0 3px 0 #8a6a10;
}

.hero__lead {
  position: relative;
  margin: 12px 0 0;
  max-width: 220px;
  font-size: 30px;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
}

.hero__lead em {
  font-style: normal;
  color: #fff;
}

.hero__actions {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 128px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.ybtn,
.lang {
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
}

.ybtn {
  background: #ffe100;
  color: #000;
  white-space: nowrap;
}

.ybtn--google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ybtn--google i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}

.lang {
  background: rgba(19, 33, 44, 0.45);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.stats {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}

.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  min-height: 70px;
  padding: 8px 10px;
  border-radius: 15px;
  text-align: left;
  background: rgba(16, 28, 38, 0.72);
  border: 1px solid #34475a;
}

.stat__k {
  grid-row: 1 / span 2;
  color: #9eb0c2;
  font-size: 12px;
  font-weight: 700;
}

.stat strong {
  font-size: 16px;
}

.stat em {
  color: #8aa0b4;
  font-style: normal;
  font-size: 12px;
}

.age {
  position: absolute;
  top: 10px;
  right: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.points {
  padding: 18px 16px 6px;
}

.points article {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.points h2 {
  margin: 0 0 4px;
  color: #6de5bf;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.points p {
  margin: 0;
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
}

.pays {
  display: block;
  width: 100%;
  height: auto;
  margin: 4px 0 0;
}

.shine {
  margin: 8px 16px 12px;
  color: #f2f5f8;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.shine b {
  color: #ffb24a;
  text-shadow: 0 0 12px rgba(255, 160, 40, 0.45);
}

.ops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px 14px;
}

.ops button {
  height: 44px;
  border-radius: 22px;
  color: #6de5bf;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #6de5bf;
}

.poster {
  display: block;
  width: calc(100% - 24px);
  margin: 12px 12px 14px;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
}

.poster img {
  display: block;
  width: 100%;
  height: auto;
}

.poster__box {
  display: grid;
  place-items: center;
  width: 64px;
  height: 72px;
  border-radius: 10px;
  background: linear-gradient(#ffd36a, #f0a020);
  color: #6a3b00;
  font-size: 22px;
  font-weight: 900;
}

.poster__copy strong,
.poster__copy em {
  display: block;
}

.poster__copy strong {
  color: #ffe14a;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.poster__copy em {
  margin-top: 4px;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.poster__go {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f4f7fb;
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 800;
  line-height: 28px;
}

.wins {
  margin: 0 12px 12px;
  padding: 10px 10px 12px;
  border-radius: 16px;
  background: #0e1a24;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.wins header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.wins h2 {
  margin: 0;
  color: #8fe0cb;
  font-size: 15px;
}

.wins header span {
  color: #ff5a6a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.wins header span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #ff5a6a;
}

.winrow {
  overflow: hidden;
}

.wintrack {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: ticker 18s linear infinite;
}

.wintrack button {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: #1a2a38;
  font-size: 12px;
}

.wintrack b {
  color: #ffd36a;
}

.wintrack span {
  color: #9aafc2;
}

.wintrack strong::before {
  content: "";
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 24px);
  height: 39px;
  margin: 0 12px 12px;
  padding: 0 14px;
  border-radius: 999px;
  background: #000;
  border: 1px solid #2d3f4e;
  color: #8aa0b4;
  font-size: 14px;
  text-align: left;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 8px;
}

.tabs button {
  height: 36px;
  color: #8aa0b4;
  font-size: 14px;
  font-weight: 800;
}

.tabs .is-on {
  color: #f4f7fb;
  box-shadow: inset 0 -2px 0 #3ecf9a;
}

.more {
  margin: 0 16px 8px;
  color: #8aa0b4;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 12px;
}

.cover {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 12px;
  background: #0e1a24;
}

.cover img {
  display: block;
  width: 100%;
  height: auto;
}

.cover span {
  position: absolute;
  z-index: 1;
  left: 8px;
  right: 8px;
  bottom: 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.cover::after {
  content: none;
}

.cover--harbor { background-image: url("../img/cover-harbor.jpg"); }
.cover--neon { background-image: url("../img/cover-neon.jpg"); }
.cover--gold { background-image: url("../img/cover-gold.jpg"); }
.cover--night { background-image: url("../img/cover-night.jpg"); }
.cover--cedar { background-image: url("../img/cover-cedar.jpg"); }
.cover--port { background-image: url("../img/cover-port.jpg"); }

.blockhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 16px 8px;
}

.blockhead h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.blockhead h2 i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ecf9a;
  box-shadow: 0 0 0 3px rgba(62, 207, 154, 0.25);
}

.blockhead span {
  color: #8aa0b4;
  font-size: 13px;
  font-weight: 700;
}

.cover--live-a { background-image: url("../img/cover-live-a.jpg"); }
.cover--live-b { background-image: url("../img/cover-live-b.jpg"); }
.cover--live-c { background-image: url("../img/cover-live-c.jpg"); }

.dock {
  position: fixed;
  left: 50%;
  bottom: calc(10px + var(--safe-bottom));
  z-index: 6;
  display: grid;
  grid-template-columns: 1.15fr repeat(4, 1fr);
  width: min(calc(100% - 28px), 420px);
  height: 58px;
  padding: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3d6d66, #1e3d3a);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
}

.dock__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 700;
}

.dock__btn i {
  font-style: normal;
  font-size: 16px;
  line-height: 1;
}

.dock__btn.is-on {
  background: linear-gradient(#7ddec4, #3aaa86);
  color: #073028;
}

.welcome {
  --brand: #6de5bf;
  --muted: #8aa3b5;
  --text: #f4f8fb;
  --card: #101d28;
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(4, 10, 16, 0.62);
  opacity: 0;
  transition: opacity 220ms ease;
}

.welcome[hidden] {
  display: none;
}

.welcome.is-on {
  opacity: 1;
}

.welcome__bonus {
  position: relative;
  width: min(96vw, 432px, calc(100vw - min(8.533vw, 38.4px)));
  padding-top: min(23.467vw, 105.6px);
}

.welcome__card {
  position: relative;
  z-index: 4;
  padding: min(9.6vw, 43.2px) min(5.867vw, 26.4px) min(5.867vw, 26.4px);
  overflow: visible;
  text-align: center;
  color: var(--text);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(109, 229, 191, 0.1), transparent 46%),
    linear-gradient(180deg, #172633 0%, var(--card) 38%, #0c1822 100%);
  border: min(0.267vw, 1.2px) solid rgba(255, 255, 255, 0.06);
  border-radius: min(5.867vw, 26.4px);
  box-shadow:
    0 min(4.8vw, 21.6px) min(12.8vw, 57.6px) #00000061,
    0 0 0 min(0.267vw, 1.2px) #6de5bf0f,
    inset 0 min(0.267vw, 1.2px) 0 #ffffff12;
}

.welcome__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: min(0.267vw, 1.2px);
  background: linear-gradient(90deg, transparent, rgba(109, 229, 191, 0.7), transparent);
  pointer-events: none;
}

.welcome__hero {
  position: absolute;
  left: 0;
  right: 0;
  top: max(-23.467vw, -105.6px);
  height: min(40vw, 180px);
  overflow: visible;
  pointer-events: none;
  z-index: 5;
}

.welcome__coin {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(7.467vw, 33.6px);
  height: min(7.467vw, 33.6px);
  margin-left: max(-3.733vw, -16.8px);
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(circle at 28% 24%, #fff6c8 0 7%, transparent 16%),
    radial-gradient(circle at 50% 48%, #ffd76a 0 34%, #e3a318 62%, #b07810 82%, #7a4e08);
  box-shadow:
    inset 0 0 0 min(0.533vw, 2.4px) #f3d78a,
    inset 0 0 0 min(1.067vw, 4.8px) #c48a14,
    0 min(0.533vw, 2.4px) 0 #9a6810,
    0 min(1.333vw, 6px) min(2.133vw, 9.6px) #00000047;
  animation: welcome-coin-rain var(--dur, 0.85s) linear var(--d, 0s) both;
}

.welcome__coin::before {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: min(0.373vw, 1.68px) solid rgba(255, 236, 180, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  .welcome__coin {
    animation: none;
  }
}

@keyframes welcome-coin-rain {
  0% {
    opacity: 0;
    transform: translate(var(--from), max(-56vw, -252px)) rotate(var(--spin)) scale(0.9);
  }
  8% {
    opacity: 1;
  }
  55% {
    opacity: 0.85;
  }
  to {
    opacity: 0;
    transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(var(--s));
  }
}

.welcome__x {
  appearance: none;
  position: absolute;
  top: min(3.2vw, 14.4px);
  right: min(3.2vw, 14.4px);
  z-index: 6;
  display: grid;
  place-items: center;
  width: min(8.533vw, 38.4px);
  height: min(8.533vw, 38.4px);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #07141eb8;
  box-shadow: inset 0 0 0 min(0.267vw, 1.2px) #ffffff0f;
  color: var(--muted);
  cursor: pointer;
}

.welcome__x svg {
  width: min(3.2vw, 14.4px);
  height: min(3.2vw, 14.4px);
  fill: currentColor;
}

.welcome__x:active {
  transform: scale(0.96);
  opacity: 0.85;
}

.welcome__offer + .welcome__offer {
  margin-top: min(3.733vw, 16.8px);
  padding-top: min(4.267vw, 19.2px);
  border-top: min(0.267vw, 1.2px) solid rgba(151, 170, 192, 0.12);
}

.welcome__kicker {
  margin: 0;
  color: var(--brand);
  font-size: min(4.8vw, 21.6px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.welcome__amount {
  margin: min(2.133vw, 9.6px) 0 min(1.067vw, 4.8px);
  color: var(--text);
  font-size: min(7.467vw, 33.6px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: 0 0 min(6.4vw, 28.8px) rgba(109, 229, 191, 0.18);
}

.welcome__amount em {
  font-style: normal;
  color: var(--brand);
}

.welcome__sub {
  margin: 0;
  color: var(--muted);
  font-size: min(3.467vw, 15.6px);
  font-weight: 500;
  line-height: min(5.6vw, 25.2px);
}

.welcome__cta {
  position: relative;
  margin-top: min(3.733vw, 16.8px);
}

.welcome__offer + .welcome__offer .welcome__btn {
  margin-top: min(3.733vw, 16.8px);
}

.welcome__btn {
  width: 100%;
  height: min(11.733vw, 52.8px);
  border: 1px solid #6de5bf;
  border-radius: 6px;
  background: #6de5bf;
  color: #07141e;
  font-size: min(3.733vw, 16.8px);
  font-weight: 600;
  cursor: pointer;
}

.welcome__btn:active {
  filter: grayscale(80%);
  opacity: 0.8;
}

.welcome__hand {
  position: absolute;
  right: min(1.067vw, 4.8px);
  top: min(3.2vw, 14.4px);
  z-index: 8;
  width: min(18.667vw, 84px);
  height: min(11.733vw, 52.8px);
  object-fit: contain;
  object-position: left center;
  pointer-events: none;
  transform: rotate(32deg);
  transform-origin: 12% 42%;
  filter: drop-shadow(0 min(1.067vw, 4.8px) min(1.6vw, 7.2px) rgba(0, 0, 0, 0.35));
}

body.welcome-open {
  overflow: hidden;
}
