:root {
  --bg: #f6f8fc;
  --surface: rgba(255, 255, 255, .92);
  --surface2: rgba(255, 255, 255, .72);
  --stroke: rgba(15, 23, 42, .12);
  --stroke2: rgba(15, 23, 42, .08);
  --text: rgba(15, 23, 42, .92);
  --muted: rgba(15, 23, 42, .62);
  --shadow: 0 22px 70px rgba(15, 23, 42, .12);
  --shadow2: 0 10px 28px rgba(15, 23, 42, .10);
  --r: 18px;
  --r2: 24px;
  /* Theme colors (edit these to match your brand) */
  --accent1: #2563eb;
  /* primary */
  --accent2: #06b6d4;
  /* secondary */
  --accent3: #7c3aed;
  /* optional */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-card: 0.35s var(--ease-out);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 700px at 50% -15%, rgba(37, 99, 235, .07), transparent 58%),
    linear-gradient(180deg, #eceff5 0%, #f2f4f9 35%, #f6f7fb 70%, #f8f9fc 100%);
  overflow-x: hidden;
  position: relative;
}

body:has(.floating-telegram) {
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(480px 380px at 12% 30%, rgba(34, 197, 94, .05), transparent 52%),
    radial-gradient(420px 320px at 88% 70%, rgba(37, 99, 235, .05), transparent 50%);
  animation: ambient-drift 32s ease-in-out infinite alternate;
}

/* Page content above falling decor; header & FAB stay on top */
main#content {
  position: relative;
  z-index: 99999999999999 !important;
}

/* Falling money — behind main (z-index 5), visible in page margins & body background */
.falling-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: visible;
  isolation: isolate;
}

.falling-bg__item {
  position: absolute;
  opacity: 1 !important;
  top: -20vh;
  left: 0;
  line-height: 1;
  user-select: none;
  will-change: transform;
  animation-name: falling-money;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  color: rgba(21, 128, 61, 1);
  font-weight: 900;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.5));
  -webkit-text-stroke: 1px rgba(0,0,0,0.5);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4), 0 0 10px rgba(34, 197, 94, 0.5);
}

.falling-bg--screenshot .falling-bg__item {
  text-shadow:
    0 0 16px rgba(34, 197, 94, .7),
    0 0 28px rgba(22, 163, 74, .4),
    0 2px 5px rgba(15, 23, 42, .12);
}

@keyframes falling-money {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  to {
    transform: translate3d(var(--fall-x, 24px), 135vh, 0) rotate(720deg);
  }
}

@media (max-width: 540px) {
  .falling-bg__item {
    font-size: clamp(12px, 3.2vw, 16px) !important;
    animation-duration: 12s !important;
    opacity: 1 !important;
  }
  
  .falling-bg__item:nth-child(odd) {
    animation-duration: 15s !important;
  }
  
  .falling-bg__item:nth-child(even) {
    animation-duration: 10s !important;
  }
}

a {
  color: inherit;
  text-decoration: none
}

button,
input {
  font: inherit
}

/* Game page background like screenshot */
body[data-page="game"] {
  background:
    radial-gradient(900px 520px at 50% -20%, rgba(37, 99, 235, .18), transparent 60%),
    linear-gradient(180deg, #eaf4ff, #f6fbff 55%, #ffffff);
}

body[data-page="about"] {
  background:
    radial-gradient(900px 520px at 50% -20%, rgba(37, 99, 235, .16), transparent 60%),
    linear-gradient(180deg, #eaf4ff, #f6fbff 55%, #ffffff);
}

body[data-page="disclaimer"] {
  background:
    radial-gradient(900px 520px at 50% -20%, rgba(37, 99, 235, .16), transparent 60%),
    linear-gradient(180deg, #eaf4ff, #f6fbff 55%, #ffffff);
}

.container {
  width: min(1100px, 100%);
  padding: 0 max(16px, env(safe-area-inset-left, 0px)) 0 max(16px, env(safe-area-inset-right, 0px));
  margin: 0 auto;
}

.muted {
  color: var(--muted)
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.accent {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #0f172a;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}

.skip-link:focus {
  left: 12px
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(120deg, rgba(37, 99, 235, .98) 0%, rgba(59, 130, 246, .95) 45%, rgba(6, 182, 212, .92) 100%);
  background-size: 200% 100%;
  animation: header-gradient 14s ease infinite alternate;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  transition: box-shadow var(--transition-card);
}

.site-header[data-elevate="true"] {
  box-shadow: 0 12px 40px rgba(15, 23, 42, .14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(12px, env(safe-area-inset-top, 0px)) 0 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.join-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 900;
  color: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .16);
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.join-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .24);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.join-pill:active {
  transform: translateY(0);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.brand-mark svg,
.brand-mark img {
  width: 40px;
  height: 40px
}

.brand-title {
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 16px;
  line-height: 1.1;
  color: rgba(255, 255, 255, .96);
}

.brand-subtitle {
  display: block;
  margin-top: 1px;
  font-weight: 700;
  font-size: 12px;
  color: rgba(255, 255, 255, .86);
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .96);
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.menu-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .22);
}

.menu-btn:active {
  transform: translateY(0);
}

.menu-icon {
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, .92);
  position: relative;
  border-radius: 99px;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, .92);
  border-radius: 99px;
}

.menu-icon::before {
  top: -6px
}

.menu-icon::after {
  top: 6px
}

.menu-label {
  font-weight: 700;
  font-size: 13px
}

.home-ico {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .96);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.home-ico:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(255, 255, 255, .22);
}

.home-ico svg {
  width: 20px;
  height: 20px
}

.nav {
  position: fixed;
  right: 16px;
  top: 64px;
  width: min(360px, calc(100% - 32px));
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--stroke2);
  border-radius: 18px;
  box-shadow: var(--shadow2);
  padding: 10px;
  display: none;
}

/* Secondary nav + ticker */
.subnav {
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid var(--stroke2);
}

.subnav-inner {
  display: flex;
  gap: 6px;
  padding: 8px 0;
  overflow: auto;
}

.subnav-link {
  flex: 0 0 auto;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 900;
  color: rgba(15, 23, 42, .75);
  border: 1px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.subnav-link:hover {
  color: rgba(37, 99, 235, .92);
  background: rgba(37, 99, 235, .06);
  transform: translateY(-1px);
}

.subnav-link.is-active {
  color: rgba(37, 99, 235, .98);
  background: rgba(37, 99, 235, .10);
  border: 1px solid rgba(37, 99, 235, .16);
}

.ticker {
  background: #0b1220;
  color: rgba(255, 255, 255, .92);
  border-bottom: 3px solid rgba(245, 158, 11, .92);
}

.ticker-inner {
  padding: 8px 0;
  text-align: center;
  font-weight: 950;
  letter-spacing: .3px;
  font-size: 12px;
}

/* Hero (home page like screenshot) */
.hero {
  padding: 12px 0 10px
}

.hero .container>* {
  animation: fadeRise 0.78s var(--ease-out) backwards;
}

.hero .container>*:nth-child(1) {
  animation-delay: 0.04s;
}

.hero .container>*:nth-child(2) {
  animation-delay: 0.1s;
}

.hero .container>*:nth-child(3) {
  animation-delay: 0.16s;
}

.hero .container>*:nth-child(4) {
  animation-delay: 0.22s;
}

.hero .container>*:nth-child(5) {
  animation-delay: 0.28s;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(88, 28, 135, .18);
  background: linear-gradient(135deg, #2b0a4f 0%, #4c1d95 40%, #2b0a4f 100%);
  box-shadow: 0 20px 60px rgba(76, 29, 149, .18);
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(118deg, transparent 40%, rgba(255, 255, 255, .1) 50%, transparent 60%);
  animation: hero-shine 12s ease-in-out infinite;
  pointer-events: none;
}

.hero-banner>* {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  animation: floatSoft 6s ease-in-out infinite;
}

.hero-logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 950;
  color: rgba(255, 255, 255, .95);
  background: linear-gradient(135deg, rgba(34, 197, 94, .9), rgba(6, 182, 212, .85));
}

.hero-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-text h1 {
  margin: 0;
  color: rgba(255, 255, 255, .96);
  font-size: 26px;
  letter-spacing: -0.5px;
  line-height: 1.05;
}

.hero-domain {
  margin: 6px 0 0;
  color: rgba(245, 158, 11, .95);
  font-weight: 900;
}

.stats-row {
  margin-top: 10px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--stroke2);
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.stat {
  padding: 12px 10px;
  text-align: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.stat:hover {
  background: rgba(37, 99, 235, .04);
  transform: scale(1.02);
}

.stat+.stat {
  border-left: 1px solid var(--stroke2)
}

.stat-kpi {
  font-weight: 950;
  letter-spacing: -0.3px;
  font-size: 13px;
  color: rgba(15, 23, 42, .9);
}

.stat-label {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(15, 23, 42, .55);
  text-transform: uppercase;
}

.live-bar {
  margin-top: 12px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 2px solid rgba(37, 99, 235, .35);
  background: rgba(255, 255, 255, .92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color var(--transition-card), box-shadow var(--transition-card);
}

.live-bar:hover {
  border-color: rgba(37, 99, 235, .5);
  box-shadow: 0 12px 28px rgba(37, 99, 235, .1);
}

.live-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-bar .dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  animation: live-pulse 2.2s ease-in-out infinite;
}

.live-title {
  font-weight: 950;
  letter-spacing: .3px;
  color: rgba(37, 99, 235, .95);
}

.live-sub {
  color: rgba(15, 23, 42, .6);
  font-size: 12px;
  font-weight: 700;
}

.top3-wrap {
  margin-top: 12px;
  z-index: 99999999999 !important;
  padding: 18px 16px;
  border-radius: 24px;
  border: 2px solid rgba(37, 99, 235, .12);
  background: #fff;
  box-shadow: 0 16px 40px rgba(37, 99, 235, .15);
  position: relative;
  overflow: hidden;
}

.top3-wrap::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, .1) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.top3-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.top3-ico {
  width: auto;
  min-width: 52px;
  height: 46px;
  padding: 0 10px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(37, 99, 235, .15);
  border: 1px solid rgba(37, 99, 235, .25);
  box-shadow: 0 4px 12px rgba(37, 99, 235, .2);
}

.top3-ico-trophy {
  font-size: 24px;
  line-height: 1;
  color: #ffffff;
}

.top3-ico-fire {
  font-size: 22px;
  line-height: 1;
  margin-left: -2px;
  color: #ffffff;
}

.top3-title {
  font-weight: 950;
  letter-spacing: -0.5px;
  font-size: 16px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

.top3-sub {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
}

.top3-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.top3-card {
  position: relative;
  z-index: 10;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, .07);
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
  padding: 14px 12px;
  text-align: center;
  transition: transform var(--transition-card), box-shadow var(--transition-card), border-color var(--transition-fast);
}

.top3-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(76, 29, 149, .18);
  border-color: rgba(124, 58, 237, .25);
}

.top3-card:hover .top3-app-ico {
  transform: scale(1.08);
}

.top3-ribbon {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 850;
  font-size: 10px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 2px 8px rgba(245, 158, 11, .4);
}

.top3-app {
  padding: 16px 8px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 10px;
  align-items: center;
}

.top3-app-ico {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border: 2px solid rgba(37, 99, 235, .2);
  transition: transform var(--transition-card);
}

.top3-app-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top3-app-ico.alt {
  background: linear-gradient(135deg, rgba(6, 182, 212, .95), rgba(124, 58, 237, .88))
}

.top3-app-ico.gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, .98), rgba(37, 99, 235, .86))
}

.top3-app-name {
  font-weight: 950;
  font-size: 14px;
  color: rgba(15, 23, 42, .9);
}

.top3-app-bonus {
  margin-top: 6px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(34, 197, 94, .95);
}

.download-btn {
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border: 1px solid rgba(37, 99, 235, .22);
  box-shadow: 0 8px 20px rgba(37, 99, 235, .25);
  transition: transform var(--transition-fast), filter var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

.download-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 16px 32px rgba(37, 99, 235, .35);
}

.download-btn:active {
  transform: translateY(-1px);
}

.hero-search {
  margin-top: 12px;
  position: relative;
}

.hero-search .search {
  padding-right: 58px
}

.search-fab {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(2, 132, 199, .98), rgba(6, 182, 212, .92));
  border: 1px solid rgba(2, 132, 199, .18);
  box-shadow: 0 12px 22px rgba(2, 132, 199, .16);
  transition: transform var(--transition-fast), filter var(--transition-fast), box-shadow var(--transition-fast);
}

.search-fab:hover {
  transform: translateY(-50%) scale(1.06);
  filter: brightness(1.06);
  box-shadow: 0 16px 28px rgba(2, 132, 199, .28);
}

.search-fab:active {
  transform: translateY(-50%) scale(0.98);
}

.search-fab svg {
  width: 18px;
  height: 18px
}


/* About page like screenshot */
.about-hero {
  padding: 20px 0 0;
}

.about-hero-inner {
  padding: 34px 18px 58px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(37, 99, 235, .98), rgba(37, 99, 235, .70));
  color: rgba(255, 255, 255, .96);
  text-align: center;
  box-shadow: 0 24px 70px rgba(37, 99, 235, .18);
}

.about-hero-inner h1 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.8px;
}

.about-hero-inner p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .86);
  font-weight: 750;
}

.about-body {
  margin-top: -42px;
  padding: 0 0 18px;
}

.about-sheet {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 28px;
  box-shadow: 0 26px 80px rgba(15, 23, 42, .12);
  padding: 16px 16px 18px;
}

.about-block+.about-block {
  margin-top: 16px
}

.about-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  font-size: 20px;
  color: rgba(37, 99, 235, .98);
}

.about-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, .12);
  border: 1px solid rgba(37, 99, 235, .16);
  color: rgba(37, 99, 235, .98);
  font-weight: 950;
}

.about-icon.star {
  background: rgba(37, 99, 235, .10);
}

.about-text {
  margin: 10px 0 0;
  color: rgba(15, 23, 42, .68);
  font-weight: 650;
  line-height: 1.65;
}

.about-kpis {
  margin-top: 16px;
  padding: 14px 14px;
  border-radius: 22px;
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, .08);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.about-kpi {
  text-align: center;
  padding: 10px 8px;
}

.about-kpi+.about-kpi {
  border-left: 1px solid rgba(255, 255, 255, .08)
}

.about-kpi-num {
  color: rgba(59, 130, 246, .98);
  font-weight: 950;
  letter-spacing: -0.4px;
  font-size: 18px;
}

.about-kpi-label {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 850;
  color: rgba(255, 255, 255, .62);
  text-transform: uppercase;
}

.why-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.why-card {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(37, 99, 235, .06);
  border: 1px solid rgba(37, 99, 235, .12);
}

.why-ico {
  font-size: 20px
}

.why-title {
  margin-top: 8px;
  font-weight: 950;
  letter-spacing: -0.2px
}

.why-text {
  margin-top: 6px;
  color: rgba(15, 23, 42, .68);
  font-weight: 650;
  line-height: 1.55;
  font-size: 13px;
}

.about-quote {
  margin: 16px 0 0;
  color: rgba(71, 85, 105, .86);
  font-style: italic;
  text-align: center;
  font-weight: 650;
}

.site-footer--dark {
  background: #0b1220;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.site-footer--dark .footer-title {
  color: rgba(255, 255, 255, .92)
}

.site-footer--dark .footer-links a {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .80);
}

.site-footer--dark .muted {
  color: rgba(255, 255, 255, .60)
}

/* Disclaimer page like screenshot */
.legal-hero {
  padding: 20px 0 0;
}

.legal-hero-inner {
  padding: 34px 18px 58px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(37, 99, 235, .98), rgba(37, 99, 235, .70));
  color: rgba(255, 255, 255, .96);
  text-align: center;
  box-shadow: 0 24px 70px rgba(37, 99, 235, .18);
}

.legal-hero-inner h1 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.8px;
}

.legal-body {
  margin-top: -42px;
  padding: 0 0 18px;
}

.legal-sheet {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 28px;
  box-shadow: 0 26px 80px rgba(15, 23, 42, .12);
  padding: 16px 16px 18px;
}

.legal-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(239, 68, 68, .08);
  border-left: 5px solid rgba(239, 68, 68, .70);
  border-top: 1px solid rgba(239, 68, 68, .14);
  border-right: 1px solid rgba(239, 68, 68, .14);
  border-bottom: 1px solid rgba(239, 68, 68, .14);
}

.legal-alert-ico {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(239, 68, 68, .12);
  color: rgba(239, 68, 68, .92);
  font-weight: 950;
}

.legal-alert-text {
  color: rgba(185, 28, 28, .92);
  font-weight: 750;
  line-height: 1.55;
  font-size: 13px;
}

.legal-section {
  margin-top: 14px;
  padding-top: 6px;
}

.legal-section h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(37, 99, 235, .98);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.3px;
}

.legal-h-ico {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, .12);
  border: 1px solid rgba(37, 99, 235, .16);
}

.legal-section p {
  margin: 10px 0 0;
  color: rgba(15, 23, 42, .68);
  font-weight: 650;
  line-height: 1.7;
  font-size: 13px;
}

.legal-updated {
  margin-top: 14px;
  text-align: center;
  color: rgba(100, 116, 139, .85);
  font-style: italic;
  font-weight: 650;
  font-size: 12px;
}

.nav.is-open {
  display: grid;
  animation: pop .18s ease-out
}

.nav a {
  padding: 12px 12px;
  border-radius: 14px;
  color: rgba(15, 23, 42, .86);
  font-weight: 700;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav a:hover {
  background: rgba(15, 23, 42, .04);
  transform: translateX(2px);
}

.nav-cta {
  background: linear-gradient(90deg, rgba(37, 99, 235, .12), rgba(6, 182, 212, .12));
  border: 1px solid var(--stroke2);
}

@keyframes ambient-drift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(2%, -3%) scale(1.05);
    opacity: 0.9;
  }
}

@keyframes header-gradient {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes hero-shine {

  0%,
  100% {
    transform: translateX(-40%) translateY(-15%) rotate(14deg);
  }

  50% {
    transform: translateX(30%) translateY(10%) rotate(14deg);
  }
}

@keyframes floatSoft {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes live-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .22);
    opacity: 1;
  }

  50% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, .08);
    opacity: 0.92;
  }
}

@keyframes fab-glow {

  0%,
  100% {
    box-shadow: 0 10px 26px rgba(37, 99, 235, .22);
  }

  50% {
    box-shadow: 0 14px 34px rgba(37, 99, 235, .38);
  }
}

@keyframes pop {
  from {
    transform: translateY(-8px);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

@media (min-width: 860px) {
  .menu-btn {
    display: none
  }

  .nav {
    position: static;
    display: flex !important;
    width: auto;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    gap: 6px;
  }

  .nav a {
    padding: 10px 12px
  }

  .home-ico {
    margin-left: 6px
  }
}

/* Game page card (used on game.html) */
.game {
  padding: 18px 0 18px;
}

.game-card {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 30px;
  padding: 16px 14px;
  box-shadow: 0 26px 80px rgba(15, 23, 42, .12);
  animation: fadeRise 0.6s var(--ease-out) backwards;
  transition: transform var(--transition-card), box-shadow var(--transition-card), border-color var(--transition-fast);
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 90px rgba(15, 23, 42, .14);
}

.game-app {
  display: flex;
  gap: 14px;
  align-items: center;
}

.game-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37, 99, 235, .98), rgba(6, 182, 212, .92));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 14px 26px rgba(37, 99, 235, .18);
}

.game-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-app-name {
  font-weight: 950;
  letter-spacing: -0.4px;
  font-size: 26px;
}

.game-app-bonus {
  margin-top: 4px;
  font-weight: 900;
  color: rgba(22, 163, 74, .92);
  font-size: 13px;
}

.game-app-verified {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
  color: rgba(15, 23, 42, .62);
}

.game-verified-ico {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(37, 99, 235, .92);
  font-size: 12px;
}

.game-actions {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.game-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 16px;
  border-radius: 20px;
  font-weight: 950;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .10);
}

.game-btn-ico {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}

.game-btn-ico svg {
  width: 20px;
  height: 20px
}

.game-btn-primary {
  background: linear-gradient(90deg, rgba(37, 99, 235, .98), rgba(59, 130, 246, .92));
  box-shadow: 0 18px 34px rgba(37, 99, 235, .18);
}

.game-btn-secondary {
  background: linear-gradient(90deg, rgba(2, 132, 199, .98), rgba(6, 182, 212, .92));
  box-shadow: 0 18px 34px rgba(2, 132, 199, .16);
}

.game-section-title {
  max-width: 640px;
  margin: 18px auto 10px;
  font-size: 22px;
  letter-spacing: -0.4px;
  font-weight: 950;
}

.game-trending {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.game-row {
  display: grid;
  grid-template-columns: 24px 56px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 12px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, .30);
  background: rgba(255, 255, 255, .92);
  animation: fadeRise 0.55s var(--ease-out) backwards;
  transition: transform var(--transition-card), box-shadow var(--transition-card), border-color var(--transition-fast);
}

.game-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, .1);
  border-color: rgba(37, 99, 235, .22);
}

.game-row.game-row--no-badge {
  grid-template-columns: 24px 56px 1fr auto;
}

.game-rank {
  font-weight: 950;
  color: rgba(148, 163, 184, .9);
}

.game-row-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, rgba(37, 99, 235, .98), rgba(6, 182, 212, .92));
  overflow: hidden;
}

.game-row-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-row-icon.alt {
  background: linear-gradient(135deg, rgba(6, 182, 212, .95), rgba(124, 58, 237, .88))
}

.game-row-icon.gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, .98), rgba(37, 99, 235, .86))
}

.game-row-icon.teal {
  background: linear-gradient(135deg, rgba(34, 211, 238, .95), rgba(37, 99, 235, .86))
}

.game-row-icon.green {
  background: linear-gradient(135deg, rgba(34, 197, 94, .98), rgba(16, 185, 129, .86))
}

.game-row-icon.alt2 {
  background: linear-gradient(135deg, rgba(99, 102, 241, .95), rgba(6, 182, 212, .88))
}

.game-row-icon.purple {
  background: linear-gradient(135deg, rgba(124, 58, 237, .98), rgba(236, 72, 153, .84))
}

.game-row-icon.dark {
  background: linear-gradient(135deg, rgba(30, 41, 59, .98), rgba(100, 116, 139, .86));
  color: #ffffff
}

.game-row-name {
  font-weight: 950
}

.game-row-bonus {
  font-weight: 900;
  font-size: 12px;
  color: rgba(22, 163, 74, .92)
}

.game-badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 11px;
  color: #fff;
  background: rgba(239, 68, 68, .92);
}

.game-get {
  padding: 10px 16px;
  border-radius: 16px;
  font-weight: 950;
  color: rgba(37, 99, 235, .96);
  background: rgba(37, 99, 235, .08);
  border: 1px solid rgba(37, 99, 235, .14);
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.game-get:hover {
  transform: scale(1.03);
  background: rgba(37, 99, 235, .14);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .15);
}

.game-get:active {
  transform: scale(0.98);
}

.game-footer-card {
  max-width: 720px;
  margin: 18px auto 0;
  border-radius: 32px;
  padding: 22px 16px 18px;
  background: radial-gradient(900px 320px at 50% 0%, rgba(37, 99, 235, .18), transparent 60%), #0b1220;
  border: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .92);
}

.game-footer-title {
  font-weight: 950;
  font-size: 26px;
  letter-spacing: -0.5px;
}

.game-footer-title span:first-child {
  color: rgba(255, 255, 255, .92)
}

.game-footer-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.game-footer-links a {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .86);
  font-weight: 800;
  font-size: 13px;
}

.game-footer-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.game-footer-chip {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .06);
  font-weight: 900;
  color: rgba(255, 255, 255, .86);
}

.game-notice {
  margin-top: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .05);
  padding: 14px 14px;
}

.game-notice-title {
  font-weight: 950;
  letter-spacing: -0.2px;
}

.game-notice-text {
  margin-top: 8px;
  color: rgba(255, 255, 255, .72);
  font-weight: 650;
  font-size: 13px;
  line-height: 1.55;
}

.game-blocklist {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(239, 68, 68, .18);
  border: 1px solid rgba(239, 68, 68, .28);
  color: rgba(255, 255, 255, .86);
  font-weight: 900;
  font-size: 12px;
}

/* Apps */
.apps {
  padding: 18px 0 22px
}

.apps-tabs-bar {
  display: flex;
  justify-content: stretch;
  margin-bottom: 14px;
}

.apps-tabs-bar .tabs {
  flex: 1;
}

.tabs {
  display: flex;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, .92);
  gap: 8px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
}

.tab {
  flex: 1;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(37, 99, 235, .92);
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.tab:not(.is-active) {
  background: #fff;
  border-color: rgba(37, 99, 235, .28);
  color: rgba(37, 99, 235, .88);
}

.tab.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  box-shadow: 0 6px 16px rgba(37, 99, 235, .22);
}

.search-row {
  margin: 12px 0 14px
}

.search-row--apps-first {
  margin: 0 0 12px;
}

.nav-tabs {
  display: none;
  width: 100%;
  padding: 8px 0;
  border-top: 1px solid var(--stroke2);
  margin-top: 8px;
}

.nav-tab {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  border-radius: 0;
}

.nav-tab:hover {
  background: rgba(37, 99, 235, .08);
}

.nav-tab.is-active {
  background: rgba(37, 99, 235, .12);
  color: var(--accent1);
  font-weight: 700;
}

@media (max-width: 768px) {
  .search-row {
    display: none;
  }
  .nav-tabs {
    display: block;
  }
  
  .nav a.is-active {
    color: var(--accent1);
    font-weight: 700;
    background: rgba(37, 99, 235, .08);
    border: 1px solid rgba(37, 99, 235, .2);
  }
  
  .nav a {
    padding: 12px 16px;
    border: 1px solid transparent;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
  }
  
  .nav a:hover {
    background: rgba(37, 99, 235, .05);
    border: 1px solid rgba(37, 99, 235, .1);
  }
  
  .nav a[href*="t.me"] {
    border: 1px solid transparent !important;
  }
  
  .nav a[href*="t.me"].is-active {
    border: 1px solid rgba(37, 99, 235, .2) !important;
  }
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--stroke2);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
  transition: border-color var(--transition-fast), box-shadow var(--transition-card), transform var(--transition-fast);
}

.search:focus-within {
  border-color: rgba(37, 99, 235, .35);
  box-shadow: 0 14px 32px rgba(37, 99, 235, .12);
  transform: translateY(-1px);
}

.search-ico {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: rgba(15, 23, 42, .55);
}

.search-ico svg {
  width: 18px;
  height: 18px
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: rgba(15, 23, 42, .90);
}

.search input::placeholder {
  color: rgba(15, 23, 42, .45)
}

.app-list {
  display: grid;
  gap: 10px;
  animation: fadeRise 0.6s var(--ease-out) backwards;
}

.app-list .app-row {
  border-radius: 20px;
}

.app-row {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 34px 46px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 6px 20px rgba(15, 23, 42, .07);
  animation: fadeRise 0.55s var(--ease-out) backwards;
  transition: transform var(--transition-card), box-shadow var(--transition-card), border-color var(--transition-fast);
}

.app-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .1);
  border-color: rgba(37, 99, 235, .16);
}

.rank {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 950;
  color: rgba(15, 23, 42, .66);
  background: rgba(15, 23, 42, .03);
  border: 1px solid var(--stroke2);
}

.app-ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 950;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 99, 235, .98), rgba(6, 182, 212, .92));
  overflow: hidden;
}

.app-ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-ico.alt {
  background: linear-gradient(135deg, rgba(6, 182, 212, .95), rgba(124, 58, 237, .9))
}

.app-ico.alt2 {
  background: linear-gradient(135deg, rgba(99, 102, 241, .95), rgba(6, 182, 212, .88))
}

.app-ico.gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, .98), rgba(34, 197, 94, .86))
}

.app-ico.teal {
  background: linear-gradient(135deg, rgba(34, 211, 238, .95), rgba(34, 197, 94, .86))
}

.app-ico.green {
  background: linear-gradient(135deg, rgba(34, 197, 94, .98), rgba(16, 185, 129, .86))
}

.app-ico.purple {
  background: linear-gradient(135deg, rgba(124, 58, 237, .98), rgba(236, 72, 153, .84))
}

.app-ico.dark {
  background: linear-gradient(135deg, rgba(30, 41, 59, .98), rgba(100, 116, 139, .86));
  color: #ffffff
}

.app-name {
  font-weight: 950;
  letter-spacing: -0.2px
}

.app-bonus {
  font-size: 12px;
  font-weight: 800;
  color: rgba(22, 163, 74, .95)
}

.get-btn {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border: 1px solid rgba(37, 99, 235, .22);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .2);
  transition: transform var(--transition-fast), filter var(--transition-fast), box-shadow var(--transition-fast);
}

.get-btn:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.06);
  box-shadow: 0 14px 28px rgba(37, 99, 235, .28);
}

.get-btn:active {
  transform: translateY(0) scale(0.98);
}

.app-row.is-hidden {
  display: none
}

/* About + Footer */
.about {
  padding: 18px 0 24px
}

.about-card {
  position: relative;
  z-index: 10;
  border-radius: 26px;
  border: 1px solid var(--stroke2);
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(37, 99, 235, .12), transparent 70%),
    radial-gradient(700px 260px at 90% 20%, rgba(6, 182, 212, .10), transparent 70%),
    rgba(255, 255, 255, .92);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow);
}

.about-card h2 {
  margin: 0 0 6px;
  letter-spacing: -0.4px
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.pill {
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.pill-kpi {
  font-weight: 950;
  letter-spacing: -0.3px
}

.pill-label {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 750;
  color: rgba(15, 23, 42, .62)
}

.about-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.disclaimer {
  padding: 0 0 26px
}

.details {
  border: 1px solid var(--stroke2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  padding: 10px 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.details summary {
  cursor: pointer;
  font-weight: 900;
}

.details p {
  margin: 10px 0 0;
  line-height: 1.55
}

.site-footer {
  position: relative;
  z-index: 10;
  padding: 18px 0 50px;
  border-top: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, .70);
}

.footer-inner {
  display: grid;
  gap: 10px;
}

.footer-title {
  font-weight: 950;
  letter-spacing: -0.3px
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: rgba(15, 23, 42, .03);
  color: rgba(15, 23, 42, .72);
  font-weight: 750;
  font-size: 13px;
}

.footer-copy {
  font-size: 13px
}

/* Floating Telegram */
.floating-telegram {
  position: fixed;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(14px, env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 99, 235, .98), rgba(6, 182, 212, .92));
  border: 2px solid #fff;
  box-shadow: 0 10px 26px rgba(37, 99, 235, .22);
  z-index: 99999999999999999999999;
  animation: fab-glow 3.2s ease-in-out infinite;
  transition: transform var(--transition-fast), filter var(--transition-fast), box-shadow var(--transition-fast);
  touch-action: manipulation;
}

.floating-telegram:hover {
  animation-play-state: paused;
  transform: scale(1.08);
  filter: brightness(1.08);
  box-shadow: 0 18px 40px rgba(37, 99, 235, .35);
}

.floating-telegram:active {
  transform: scale(1.02);
}

.floating-telegram svg {
  width: 22px;
  height: 22px
}

/* Mobile-first polish — app list, touch targets, notched phones */
@media (max-width: 540px) {
  .brand {
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-title {
    font-size: 15px;
  }

  .menu-btn {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
  }

  .join-pill {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
    touch-action: manipulation;
  }

  .ticker-inner {
    font-size: 11px;
    padding: 10px 0;
    line-height: 1.35;
  }

  .hero-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px 14px;
  }

  .hero-text h1 {
    font-size: clamp(20px, 6.4vw, 24px);
    letter-spacing: -0.35px;
  }

  .hero-logo {
    margin-inline: auto;
  }

  .top3-grid {
    grid-template-columns: 1fr;
  }

  .live-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "left count"
      "sub sub";
    align-items: center;
    gap: 6px 12px;
  }

  .live-left {
    grid-area: left;
  }

  .live-count {
    grid-area: count;
    justify-self: end;
    font-size: clamp(20px, 7vw, 26px);
  }

  .live-sub {
    grid-area: sub;
    text-align: center;
    width: 100%;
    margin: 0;
  }

  .stats-row .stat-kpi {
    font-size: 12px;
  }

  .stats-row .stat-label {
    font-size: 10px;
  }

  .apps-tabs-bar .tabs {
    width: 100%;
  }

  .tabs {
    display: flex;
  }

  .tab {
    flex: 1;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    touch-action: manipulation;
  }

  .app-row {
    grid-template-columns: 36px 48px 1fr auto;
    gap: 12px;
    min-height: 64px;
    padding: 14px 12px;
  }

  .rank {
    width: 36px;
    height: 36px;
    border-radius: 14px;
  }

  .app-ico {
    width: 48px;
    height: 48px;
  }

  .get-btn {
    min-width: 76px;
    min-height: 44px;
    padding: 12px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }

  .hero-search .search {
    min-height: 56px;
    padding: 16px 60px 16px 18px;
    font-size: 16px;
    border-radius: 20px;
    gap: 12px;
  }

  .search-fab {
    width: 44px;
    height: 44px;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 12px;
    background: linear-gradient(135deg, #0284c7, #06b6d4);
    box-shadow: 0 4px 12px rgba(2, 132, 199, .25);
  }

  .search-fab svg {
    width: 20px;
    height: 20px;
  }

  .search-row .search {
    min-height: 56px;
    padding: 16px 18px;
    font-size: 16px;
    border-radius: 20px;
    gap: 12px;
    margin: 8px 0;
  }

  .search-ico {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .search-ico svg {
    width: 20px;
    height: 20px;
  }

  .search input {
    font-size: 16px;
    padding: 0;
    line-height: 1.4;
  }

  .download-btn {
    min-height: 46px;
    margin-top: 12px;
    touch-action: manipulation;
  }

  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .subnav-inner {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 8px;
  }

  .subnav-link {
    scroll-snap-align: start;
    touch-action: manipulation;
    flex-shrink: 0;
  }

  .game-row {
    grid-template-columns: 22px 52px 1fr auto auto;
    gap: 10px;
    padding: 14px 12px;
    min-height: 64px;
  }

  .game-row.game-row--no-badge {
    grid-template-columns: 22px 52px 1fr auto;
  }

  .game-row-icon {
    width: 52px;
    height: 52px;
  }

  .game-get {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    touch-action: manipulation;
  }

  .game-btn {
    min-height: 52px;
    touch-action: manipulation;
  }

  .site-footer {
    padding-bottom: max(50px, calc(28px + env(safe-area-inset-bottom, 0px)));
  }
}

/* Reduce motion (do not blanket-disable .falling-bg__item or it disappears) */
@media (prefers-reduced-motion: reduce) {

  *:not(.falling-bg__item),
  *:not(.falling-bg__item)::before,
  *:not(.falling-bg__item)::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  body::before {
    animation: none !important;
    opacity: 0.85;
  }

  .site-header {
    animation: none !important;
  }

  .falling-bg__item {
    font-size: 30px !important;
    animation-duration: 15s !important;
    animation-iteration-count: infinite !important;
    opacity: 1 !important;
  }
}