:root {
  --bg-primary: #09090b;
  --bg-secondary: #0f0f12;
  --bg-card: #141417;
  --bg-card-hover: #1a1a1f;
  --accent: #fafafa;
  --accent-muted: #a1a1aa;
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border: #27272a;
  --border-hover: #3f3f46;
  --success: #4ade80;
  --danger: #f87171;
  --radius: 4px;
  --radius-lg: 6px;
  --nav-height: 3.5625rem;
  --section-height: calc(100dvh - var(--nav-height));
  --logo-red-dark: #be123c;
  --logo-red: #e11d48;
  --logo-red-light: #f43f5e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
  -ms-touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  touch-action: pan-x pan-y;
  -ms-touch-action: pan-x pan-y;
}

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

.bg-pattern {
  background-color: #000;
}

.bg-pattern .navbar {
  background: #000;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 301;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-primary);
  position: relative;
  z-index: 302;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Brand mark — crisp SVG for nav */
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: auto;
}

.brand-mark--sm {
  width: 22px;
  height: 20px;
}

.brand-mark--md {
  width: 28px;
  height: 25px;
}

.brand-mark--lg {
  width: 36px;
  height: 32px;
}

.auth-brand-mark {
  width: 48px;
  height: 48px;
  margin: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #000;
}

.auth-card-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}

.auth-card-intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.125rem;
}

.auth-card-head .auth-card-intro h2 {
  margin: 0;
  line-height: 1.2;
  font-size: 1.25rem;
}

.auth-card-head .auth-card-intro .subtitle {
  margin: 0;
  line-height: 1.35;
  font-size: 0.875rem;
}

.auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 302;
  flex-shrink: 0;
  color: var(--text-primary);
  -webkit-appearance: none;
  appearance: none;
}

.navbar > .nav-links {
  display: none !important;
}

.nav-toggle-icon {
  width: 20px;
  height: 20px;
  display: block;
  pointer-events: none;
}

.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  background: #000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.nav-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.nav-menu-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.nav-menu-logo .logo-text {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.15s;
}

.nav-menu-close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.625rem 0.75rem;
}

.nav-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.nav-menu-link {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-primary);
  transition: background 0.15s ease;
}

.nav-menu-link:hover,
.nav-menu-link.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu-link-with-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  color: var(--text-primary);
}

.nav-menu-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.nav-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 0.625rem 0.75rem;
}

.nav-menu-meta {
  padding: 0.25rem 0.75rem 0.75rem;
}

.nav-menu-meta .balance {
  width: 100%;
  justify-content: space-between;
  padding: 0.75rem 0.875rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.nav-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: #000;
}

.nav-menu-actions .btn {
  width: 100%;
  padding: 0.8125rem 1rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-menu-actions .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-menu-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .navbar {
  visibility: hidden;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.375rem 0.625rem;
  font-size: 0.8125rem;
}

/* Home page */
html.home-page,
.home-page {
  overflow: hidden;
  height: 100svh;
  height: 100dvh;
  max-height: 100dvh;
  overscroll-behavior: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  color-scheme: dark;
}

html.home-page::-webkit-scrollbar,
body.home-page::-webkit-scrollbar {
  display: none;
  width: 0 !important;
  height: 0 !important;
  background: transparent;
}

body.home-page {
  overflow: hidden;
  height: 100svh;
  height: 100dvh;
  max-height: 100dvh;
}

body.home-page .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

body.nav-open .home-snap {
  overflow: hidden;
}

.home-snap {
  height: 100svh;
  height: 100dvh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
  -ms-overflow-style: none;
}

@media (pointer: fine) {
  .home-snap {
    scroll-snap-type: none;
  }
}

.home-snap.is-section-navigating {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.home-snap::-webkit-scrollbar,
.home-snap.is-section-navigating::-webkit-scrollbar {
  display: none;
  width: 0 !important;
  height: 0 !important;
  background: transparent;
}

.home-snap::-webkit-scrollbar-track,
.home-snap::-webkit-scrollbar-thumb,
.home-snap.is-section-navigating::-webkit-scrollbar-track,
.home-snap.is-section-navigating::-webkit-scrollbar-thumb {
  display: none;
  width: 0 !important;
  height: 0 !important;
  background: transparent;
  border: 0;
}

.home-snap,
.home-snap * {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-snap *::-webkit-scrollbar,
.home-snap *::-webkit-scrollbar-track,
.home-snap *::-webkit-scrollbar-thumb {
  display: none;
  width: 0 !important;
  height: 0 !important;
  background: transparent;
}

html.home-page,
body.home-page {
  background: #000;
}

html.home-page {
  --bg-primary: #000;
  --bg-secondary: #000;
  --bg-card: #000;
  --bg-card-hover: #000;
}

.home-snap {
  background: #000;
}

.home-snap .home-section {
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: calc(var(--nav-height) + 1rem) clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 2vh, 1.5rem);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  border-bottom: none;
  overflow: hidden;
  background: #000;
}

.home-snap .home-section::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
}

.home-snap .telegram-section::after {
  display: none;
}

.home-snap .section-inner,
.home-snap .hero-inner {
  width: 100%;
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.875rem, 2vh, 1.5rem);
  min-height: 0;
  background: #000;
}

.home-snap .section-inner {
  justify-content: flex-start;
  padding-top: clamp(0.75rem, 2vh, 1.25rem);
}

.home-snap .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  padding-top: clamp(0.5rem, 1.5vh, 0.875rem);
  padding-bottom: 0;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vh, 2rem);
}

.home-snap .hero {
  background: #000;
}

.hero-banner {
  width: 100%;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 235;
  object-fit: cover;
  object-position: center;
}

.hero-casino-bg {
  position: relative;
  z-index: 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.625rem;
  flex-shrink: 0;
  padding: 0.875rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-casino-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.15) 14%,
    rgba(0, 0, 0, 0.15) 86%,
    rgba(0, 0, 0, 0.92) 100%
  );
  pointer-events: none;
}

.hero-casino-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.hero-casino-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.hero-casino-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  z-index: 1;
}

.hero-casino-marquee + .hero-casino-marquee {
  margin-top: 0.5rem;
}

.hero-casino-marquee--top,
.hero-casino-marquee--bottom {
  top: auto;
  transform: none;
}

.hero-casino-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  padding: 0 0.75rem;
  animation: hero-casino-scroll 18s linear infinite;
}

.hero-casino-track--reverse {
  animation-direction: reverse;
  animation-duration: 22s;
}

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

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

.hero-casino-tile {
  position: relative;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  border: 2px solid #000;
  background: #000;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
}

.hero-casino-tile img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-casino-tile[data-casino="mrbit"] {
  background: #0a1020;
}

.hero-casino-tile[data-casino="betano"] {
  background: #c8102e;
}

.hero-casino-tile[data-casino="alphawin"] {
  background: #1a2340;
}

.hero-casino-tile[data-casino="bet365"] {
  background: #127747;
}

.hero-casino-tile[data-casino="sesame"] {
  background: #4b2089;
}

.hero-casino-tile[data-casino="mrbit"] img,
.hero-casino-tile[data-casino="betano"] img,
.hero-casino-tile[data-casino="alphawin"] img,
.hero-casino-tile[data-casino="bet365"] img {
  object-fit: cover;
}

.hero-casino-tile[data-casino="sesame"] img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero-casino-bg {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .hero-casino-tile {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.6875rem;
  }
}

.home-snap .hero-badge {
  margin-bottom: 0;
}

.hero-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.875rem, 2vh, 1.125rem);
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.hero-brand-name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
}

.hero-title-wrap {
  min-width: 0;
  flex: 1;
}

.hero-brand-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.96);
  overflow: hidden;
}

.hero-brand-icon img {
  display: block;
  width: 54%;
  height: 54%;
  object-fit: contain;
}

.hero-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: clamp(1.125rem, 3vh, 1.625rem);
  flex-shrink: 0;
  padding-top: clamp(0.25rem, 1vh, 0.5rem);
}

.hero-intro-banner {
  position: absolute;
  inset: -2.5rem -2.25rem -1.75rem;
  z-index: 0;
  background: url("../assets/hero-smoke-bg.png?v=1") center bottom / cover no-repeat;
  background-position: center 100%;
  opacity: 0.88;
  filter: contrast(1.05) brightness(1.1);
  pointer-events: none;
}

.hero-intro-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.32) 0%,
      rgba(0, 0, 0, 0.08) 38%,
      rgba(0, 0, 0, 0.02) 62%,
      rgba(0, 0, 0, 0.18) 100%
    );
  pointer-events: none;
}

.home-snap .hero-intro .hero-head h1 {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.home-snap .hero-intro .hero-lead {
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.hero-intro > :not(.hero-intro-banner) {
  position: relative;
  z-index: 1;
}

.home-snap .hero h1 {
  font-size: clamp(1.875rem, 6vw, 3.75rem);
  margin-bottom: 0;
  max-width: none;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.home-snap .hero .hero-lead {
  margin: 0;
  max-width: 32ch;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
}

.home-snap .hero-actions {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
  width: 100%;
  max-width: 24rem;
}

.home-snap .hero-stats-bar {
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
}

.home-snap .hero-stat-value {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.hero-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(1.25rem, 3.5vh, 1.75rem);
  min-height: 0;
}

.hero-visual {
  display: grid;
  gap: 0.625rem;
  min-height: 0;
  align-content: start;
}

.hero-games-slider {
  display: grid;
  gap: 0.625rem;
  min-width: 0;
}

.hero-preview {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(20, 20, 23, 0.7);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.hero-preview:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
  transform: translateY(-1px);
}

.hero-preview-featured {
  border-color: rgba(230, 30, 50, 0.35);
  background: rgba(26, 26, 31, 0.9);
  padding: 0.5rem;
  gap: 0.5rem;
}

.hero-preview-with-media {
  padding: 0.5rem;
  gap: 0.5rem;
}

.hero-preview-roulette {
  border-color: rgba(124, 58, 237, 0.35);
  background: rgba(26, 26, 31, 0.9);
}

.hero-preview-media-wrap {
  position: relative;
  display: block;
  border-radius: calc(var(--radius-lg) - 2px);
  overflow: hidden;
}

.hero-preview-media:not(.hero-preview-media--aviator-logo) {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 499;
  object-fit: cover;
}

.hero-preview-media--roulette {
  aspect-ratio: 1024 / 534;
}

.hero-preview-media--sports {
  aspect-ratio: 1024 / 576;
  object-fit: cover;
  object-position: center;
}

.hero-preview-media-wrap--sports {
  background: #000;
  display: block;
}

.hero-preview-media-wrap--sports .hero-preview-media--sports {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.hero-preview-media-wrap--aviator {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  background: #000;
  isolation: isolate;
}

.hero-preview-media-wrap--aviator::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/aviator-bg.png") center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

.hero-preview-media-wrap--aviator::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.22) 100%);
  pointer-events: none;
}

.hero-preview-media--aviator-logo {
  position: relative;
  z-index: 1;
  display: block;
  flex-shrink: 0;
  width: auto;
  max-width: min(58%, 150px);
  max-height: 50%;
  height: auto;
  margin: 0;
  aspect-ratio: auto;
  object-fit: contain;
  filter: url(#aviator-logo-knockout);
}

.hero-preview-media-wrap .hero-preview-tag {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(6px);
}

.hero-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hero-preview-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-preview-tag {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero-preview-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: clamp(1rem, 2.5vh, 1.5rem);
  border-top: 1px solid var(--border);
}

.hero-stat-value--live {
  font-variant-numeric: tabular-nums;
  min-width: 2.5ch;
}

.hero-stat--online {
  align-items: flex-start;
  text-align: left;
}

.hero-online-unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3125rem;
  min-width: 0;
}

.hero-online-top {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

.hero-online-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  min-width: 0;
}

.hero-online-live {
  flex-shrink: 0;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: hero-online-pulse 2.4s ease-out infinite;
}

@keyframes hero-online-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }

  55% {
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
  }
}

.hero-stat--online .hero-stat-label {
  padding-left: 0.125rem;
}

.avatar-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.avatar,
.avatar-group-count {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  margin-left: -0.5rem;
  border-radius: 999px;
  border: 2px solid #09090b;
  background: var(--bg-card);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:nth-child(1) {
  z-index: 1;
}

.avatar:nth-child(2) {
  z-index: 2;
}

.avatar:nth-child(3) {
  z-index: 3;
}

.avatar {
  overflow: hidden;
}

.avatar-image,
.dashboard-user-avatar img,
.nav-menu-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.avatar-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
}

.avatar--fallback .avatar-image {
  display: none;
}

.avatar--fallback .avatar-fallback {
  display: flex;
}

.avatar-group-count {
  z-index: 4;
  padding: 0;
  font-size: 0.5625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-stat--link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s, color 0.15s;
}

.hero-stat--link:hover {
  opacity: 0.82;
}

.hero-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--text-primary);
}

.hero-stat-icon svg {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
}

.hero-stats-bar .hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.82fr);
    grid-template-rows: auto auto;
    gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.75rem);
  }

  .hero-intro {
    grid-column: 1;
    grid-row: 1;
    gap: clamp(1.25rem, 2.5vh, 1.75rem);
  }

  .hero-casino-bg {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0.25rem;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
    justify-self: center;
    width: 88%;
    max-width: 390px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero-games-slider {
    display: contents;
  }

  .hero-preview[data-game="aviator"],
  .hero-preview[data-game="sports"],
  .hero-preview[data-game="roulette"] {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-preview-desc {
    display: block;
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .hero-preview-media-wrap {
    background: transparent;
  }

  .hero-preview-media-wrap .hero-preview-tag {
    top: 0.4375rem;
    right: 0.4375rem;
    font-size: 0.625rem;
    padding: 0.1rem 0.4375rem;
  }

  .hero-preview[data-game="roulette"] .hero-preview-media,
  .hero-preview[data-game="sports"] .hero-preview-media {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  .hero-preview[data-game="aviator"] .hero-preview-media--aviator-logo {
    max-width: min(52%, 140px);
    max-height: 48%;
  }

  .hero-preview {
    padding: 0.625rem 0.75rem;
    gap: 0.3125rem;
  }

  .hero-preview-featured,
  .hero-preview-with-media {
    padding: 0.375rem;
    gap: 0.375rem;
  }

  .hero-stats-bar .hero-stat {
    align-items: flex-start;
  }
}

@media (min-width: 769px) {
  .hero-casino-tile {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 0.9375rem;
  }
}

@media (max-width: 767px) {
  .home-snap .home-section.hero {
    height: 100svh;
    height: 100dvh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
    scroll-snap-stop: always;
    padding-top: calc(var(--nav-height) + 0.625rem);
    padding-bottom: 0;
    padding-inline: 1rem;
  }

  .hero-brand-lockup {
    display: none;
  }

  .home-snap .hero-inner {
    padding-top: 0;
    gap: 0;
    height: 100%;
    min-height: 100%;
    justify-content: flex-start;
  }

  .home-snap .hero h1 {
    max-width: none;
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    line-height: 1.16;
  }

  .home-snap .hero .hero-lead {
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: none;
  }

  .hero-layout {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    min-height: 0;
    grid-template-rows: unset;
  }

  .hero-layout::before {
    content: "";
    display: block;
    flex: 1 1 auto;
    min-height: 0;
  }

  .hero-intro {
    flex-shrink: 0;
    gap: 0.875rem;
    padding-top: 0;
  }

  .hero-intro-banner {
    inset: -1.25rem -1.125rem -0.75rem;
    opacity: 0.82;
    background-position: center 100%;
  }

  .home-snap .live-bets-section {
    scroll-snap-stop: always;
    overflow: visible;
  }

  .home-snap .live-bets-section .live-bets-inner {
    gap: 0.625rem;
    padding-top: 0.25rem;
  }

  .home-snap .live-bets-panel {
    flex: 1 1 auto;
    min-height: 12rem;
  }

  .hero-head {
    gap: 0.9375rem;
  }

  .hero-brand-icon {
    width: 48px;
    height: 48px;
  }

  .hero-casino-bg {
    flex-shrink: 0;
    padding: 0.375rem 0;
    gap: 0;
    margin-bottom: 0;
  }

  .hero-casino-marquee--bottom {
    display: none;
  }

  .hero-casino-marquee + .hero-casino-marquee {
    margin-top: 0;
  }

  .home-snap .hero-actions {
    max-width: none;
    gap: 0.875rem;
  }

  .hero-actions .btn-lg {
    min-width: 0;
    padding: 0.8125rem 1rem;
    font-size: 0.875rem;
  }

  .hero-visual {
    flex: 0 0 auto;
    display: block;
    min-height: 0;
    min-width: 0;
    padding-bottom: 0.125rem;
  }

  .hero-games-slider {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pinch-zoom;
    scroll-padding-inline: 0.125rem;
    padding-bottom: 0.125rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .hero-games-slider::-webkit-scrollbar {
    display: none;
  }

  .hero-games-slider .hero-preview {
    flex: 0 0 calc(50% - 0.3125rem);
    min-width: calc(50% - 0.3125rem);
    scroll-snap-align: start;
    padding: 0.375rem;
    gap: 0;
    min-height: 0;
  }

  .hero-preview-desc {
    display: none;
  }

  .hero-games-slider .hero-preview-media-wrap {
    border-radius: calc(var(--radius-lg) - 4px);
    background: #0a0a0a;
  }

  .hero-games-slider .hero-preview-media-wrap--aviator {
    background: #000;
  }

  .hero-games-slider .hero-preview-media-wrap .hero-preview-tag {
    top: 0.375rem;
    right: 0.375rem;
    font-size: 0.5rem;
    padding: 0.1rem 0.3125rem;
  }

  .hero-games-slider .hero-preview[data-game="aviator"] {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-games-slider .hero-preview-media-wrap--aviator {
    flex: 1 1 auto;
    width: 100%;
    aspect-ratio: 5 / 6;
    max-height: min(36svh, 17.5rem);
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-games-slider .hero-preview[data-game="aviator"] .hero-preview-media--aviator-logo {
    width: auto;
    max-width: 72%;
    max-height: 54%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .hero-games-slider .hero-preview-media-wrap--sports {
    aspect-ratio: 5 / 6;
    max-height: min(36svh, 17.5rem);
    width: 100%;
    background: #000;
  }

  .hero-games-slider .hero-preview[data-game="sports"] .hero-preview-media--sports {
    aspect-ratio: unset;
    max-height: none;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-games-slider .hero-preview[data-game="roulette"] .hero-preview-media {
    aspect-ratio: 5 / 6;
    max-height: min(36svh, 17.5rem);
    height: auto;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .home-snap .hero-stats-bar {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
    gap: 0.375rem;
    padding-top: 0.75rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
  }

  .home-snap .hero-stat-value {
    font-size: 1.125rem;
  }

  .hero-stats-bar .hero-stat-label {
    font-size: 0.625rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
  }

  .hero-stats-bar .hero-stat,
  .hero-stats-bar .hero-stat--link {
    align-items: center;
    text-align: center;
    min-width: 0;
  }

  .hero-stats-bar .hero-stat--online {
    align-items: flex-start;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .avatar,
  .avatar-group-count {
    width: 2rem;
    height: 2rem;
    margin-left: -0.5625rem;
  }

  .avatar-group-count {
    font-size: 0.625rem;
  }

  .hero-online-top {
    gap: 0.75rem;
  }
}

/* Live bets section */
.live-bets-section {
  background: #000;
}

.home-snap .live-bets-section {
  overflow: visible;
}

.home-snap .live-bets-section .live-bets-inner {
  height: 100%;
  min-height: 0;
  justify-content: flex-start;
}

.live-bets-inner {
  gap: clamp(0.75rem, 2vh, 1rem);
}

.live-bets-title {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.live-bets-live-dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
  animation: live-bets-dot-pulse 2s ease-out infinite;
}

@keyframes live-bets-dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
  }

  55% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
}

.live-bets-filters {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.live-bets-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.live-bets-filter svg,
.live-bets-filter-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.live-bets-filter.is-active svg,
.live-bets-filter.is-active .live-bets-filter-icon {
  opacity: 1;
}

.live-bets-filter:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.live-bets-filter.is-active {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.live-bets-filter-wide {
  grid-column: 1 / -1;
}

.live-bets-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  overflow: clip;
}

.live-bets-list {
  flex: 1;
  min-height: 0;
  overflow: clip;
  list-style: none;
}

.live-bets-table-head,
.live-bets-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 0.75fr);
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
}

.live-bets-table-head {
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.live-bets-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
  animation: liveBetSlideIn 0.35s ease-out;
}

.live-bets-row:last-child {
  border-bottom: none;
}

@keyframes liveBetSlideIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.live-bets-game {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: var(--text-primary);
}

.live-bets-game-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-secondary);
}

.live-bets-game-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-bets-user {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-secondary);
}

.live-bets-user.is-link {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.live-bets-user.is-hidden {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}

.live-bets-wager {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.live-bets-coin {
  flex-shrink: 0;
  color: #facc15;
}

.live-bets-multiplier {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: right;
  color: var(--text-secondary);
}

.live-bets-multiplier.is-win {
  color: var(--success);
}

.live-bets-multiplier.is-win-mega {
  color: #a78bfa;
  font-weight: 700;
}

.home-snap #igri .product-grid-item,
.home-snap #igri .grid-item-shell,
.home-snap #igri .grid-card-inner {
  min-height: 0;
}

.home-snap #igri .product-grid {
  max-height: none;
}

.home-snap .section-head {
  flex-shrink: 0;
  margin-bottom: 0;
  max-width: 100%;
  padding-top: 0.25rem;
}

.home-snap .section-label {
  display: inline-block;
  line-height: 1.4;
}

.home-snap .section-head h2 {
  font-size: clamp(1.375rem, 3.5vw, 2rem);
  margin-bottom: 0.375rem;
}

.home-snap .section-head p {
  font-size: clamp(0.8125rem, 2vw, 0.9375rem);
  line-height: 1.5;
}

.home-snap .telegram-inner {
  justify-content: space-between;
  padding-top: 0;
  max-width: 440px;
  margin-inline: auto;
  text-align: center;
  align-items: center;
  background: transparent;
}

.home-snap .telegram-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.home-snap .telegram-inner .home-section-footer {
  margin-top: 0;
  flex-shrink: 0;
}

.home-snap #ceni {
  background: #000;
}

.home-snap #ceni .section-inner {
  background: #000;
}

.home-snap #ceni .plan-cards-grid,
.home-snap #ceni .pricing-grid,
.home-snap #informatsiya .steps-grid,
.home-snap #novini .news-panel,
.home-snap #mneniya .reviews-grid {
  flex: 1;
  min-height: 0;
  align-content: stretch;
}

.home-snap .news-panel,
.home-snap .live-bets-panel,
.home-snap .live-bets-filter,
.home-snap .review-card,
.home-snap .step-card,
.home-snap .pricing-card,
.home-snap .plan-card,
.home-snap .news-item-media,
.home-snap .step-game-icon {
  background: #000;
}

.home-snap #ceni .plan-cards-grid,
.home-snap #ceni .pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: clamp(0.4375rem, 1vh, 0.625rem);
  max-width: 520px;
  width: 100%;
  margin-inline: auto;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  align-content: stretch;
}

.home-snap #ceni .plan-cards-grid .plan-card,
.home-snap #ceni .pricing-grid .plan-card {
  height: 100%;
  min-height: 0;
}

.plan-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
  max-width: 520px;
  width: 100%;
  margin-inline: auto;
}

.plan-cards-grid .plan-card-main {
  padding: 0.625rem 0.75rem 0.5rem;
}

.plan-cards-grid .plan-card-action-wrap {
  padding: 0 0.75rem 0.625rem;
}

.plan-cards-grid .plan-card-name {
  font-size: 0.875rem;
}

.plan-cards-grid .plan-card-desc {
  font-size: 0.6875rem;
}

.plan-cards-grid .plan-card-amount {
  font-size: 1rem;
}

.plan-cards-grid .plan-card-action {
  padding: 0.4375rem 0.625rem;
  font-size: 0.6875rem;
  border-radius: 0;
}

@media (min-width: 768px) {
  .plan-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 980px;
    gap: 0.875rem;
    align-items: stretch;
  }

  .plan-cards-grid .plan-card {
    height: 100%;
  }

  .plan-cards-grid .plan-card-main {
    flex: 1;
    padding: 1rem 1rem 0.75rem;
  }

  .plan-cards-grid .plan-card-meta {
    margin-top: 0.75rem;
    padding-top: 0.625rem;
  }

  .plan-cards-grid .plan-card-action-wrap {
    margin-top: 0;
    padding: 0 1rem 1rem;
  }

  .plan-cards-grid .plan-card-name {
    font-size: 1rem;
  }

  .plan-cards-grid .plan-card-desc {
    font-size: 0.75rem;
  }

  .plan-cards-grid .plan-card-amount {
    font-size: 1.25rem;
  }

  .home-snap #ceni .section-inner {
    justify-content: flex-start;
    padding-top: clamp(0.625rem, 2vh, 1.125rem);
  }

  .home-snap #ceni .section-head {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
  }

  .home-snap #ceni .info-section-label {
    justify-content: center;
  }

  .home-snap #novini .section-head {
    max-width: 40rem;
    margin-inline: auto;
    text-align: center;
  }

  .home-snap #novini .info-section-label {
    justify-content: center;
  }

  .home-snap #ceni .plan-cards-grid,
  .home-snap #ceni .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: unset;
    max-width: min(980px, 100%);
    gap: 0.875rem;
    flex: 0 1 auto;
    align-content: center;
    align-items: stretch;
  }

  .home-snap #ceni .plan-cards-grid .plan-card,
  .home-snap #ceni .pricing-grid .plan-card {
    height: 100%;
  }
}

.home-snap #ceni .plan-cards-grid .plan-card-name,
.home-snap #ceni .pricing-grid .plan-card-name {
  font-size: clamp(0.8125rem, 1.8vw, 0.875rem);
}

.home-snap #ceni .plan-cards-grid .plan-card-desc,
.home-snap #ceni .pricing-grid .plan-card-desc {
  font-size: clamp(0.625rem, 1.4vw, 0.6875rem);
}

.home-snap #ceni .plan-cards-grid .plan-card-amount,
.home-snap #ceni .pricing-grid .plan-card-amount {
  font-size: clamp(0.9375rem, 2vw, 1rem);
}

.home-snap #ceni .plan-cards-grid .plan-card-action,
.home-snap #ceni .pricing-grid .plan-card-action {
  padding: 0.4375rem 0.625rem;
  font-size: 0.6875rem;
}

.home-snap #informatsiya .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.625rem, 1.5vw, 1.25rem);
  background: transparent;
  border: none;
}

.home-snap #informatsiya .step-card {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2vh, 1.5rem);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.home-snap #informatsiya .step-card p {
  flex: 1;
  margin-top: 0;
}

.home-snap #informatsiya .step-read-more {
  padding-top: clamp(0.75rem, 1.5vh, 1rem);
}

.home-snap #mneniya .reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.625rem, 1.5vw, 1rem);
}

.home-snap #mneniya .review-card {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2vh, 1.5rem);
}

.home-snap #mneniya .review-card-head {
  margin-bottom: clamp(0.5rem, 1vh, 1rem);
}

.home-snap #mneniya .review-stars {
  margin-bottom: clamp(0.375rem, 0.8vh, 0.625rem);
}

.home-snap #mneniya .review-star {
  font-size: 0.75rem;
}

.home-snap #mneniya .review-card p {
  flex: 1;
  margin-bottom: clamp(0.5rem, 1vh, 1rem);
}

.home-snap #igri .product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.2vw, 1rem);
}

.home-snap #igri .product-grid-item {
  min-height: 0;
}

.home-snap #igri .grid-item-shell {
  height: 100%;
  min-height: 0;
  padding: clamp(0.375rem, 1vw, 0.75rem);
}

.home-snap #igri .grid-card-inner {
  height: 100%;
  min-height: 0;
  padding: clamp(0.875rem, 1.5vw, 1.25rem);
  gap: clamp(0.5rem, 1vh, 0.875rem);
}

.home-snap #igri .grid-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-snap #igri .area-a { grid-area: 1 / 1 / 2 / 5; }
.home-snap #igri .area-b { grid-area: 2 / 1 / 3 / 5; }
.home-snap #igri .area-c { grid-area: 1 / 5 / 3 / 8; }
.home-snap #igri .area-d { grid-area: 1 / 8 / 2 / 13; }
.home-snap #igri .area-e { grid-area: 2 / 8 / 3 / 13; }

.home-snap .home-section-footer {
  margin-top: auto;
  padding-top: clamp(1rem, 2vh, 1.5rem);
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .home-snap .home-section .section-inner,
  .home-snap .home-section .hero-inner {
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .home-snap .home-section.is-visible .section-inner,
  .home-snap .home-section.is-visible .hero-inner {
    opacity: 1;
  }
}

.home-section {
  border-bottom: 1px solid var(--border);
}

.home-snap .home-section {
  border-bottom: none;
}

.home-section[id] {
  scroll-margin-top: 0;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-head {
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
}

.home-snap .hero {
  align-items: stretch;
}

.hero-inner {
  width: 100%;
  max-width: 1100px;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.3125rem 0.75rem;
  background: rgba(20, 20, 23, 0.8);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--text-secondary);
}

.hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-stat-value {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Product bento grid */
.product-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.product-grid-item {
  min-height: 14rem;
  list-style: none;
}

.grid-item-shell {
  position: relative;
  height: 100%;
  min-height: 14rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.5rem;
}

.glowing-effect {
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  z-index: 1;
  --start: 0;
  --active: 0;
  --spread: 80;
  --blur: 0px;
  --glowingeffect-border-width: 3px;
  --gradient: conic-gradient(from 180deg at 50% 50%, #2a8af6 0deg, #a853ba 180deg, #e92a67 360deg);
}

.glowing-effect::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: calc(-1 * var(--glowingeffect-border-width));
  border-radius: inherit;
  border: var(--glowingeffect-border-width) solid transparent;
  background: var(--gradient);
  background-attachment: fixed;
  opacity: var(--active);
  transition: opacity 300ms ease;
  filter: blur(var(--blur));
  -webkit-mask-image: linear-gradient(#0000, #0000), conic-gradient(from calc((var(--start) - var(--spread)) * 1deg), #0000 0deg, #fff, #0000 calc(var(--spread) * 2deg));
  mask-image: linear-gradient(#0000, #0000), conic-gradient(from calc((var(--start) - var(--spread)) * 1deg), #0000 0deg, #fff, #0000 calc(var(--spread) * 2deg));
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.grid-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
  min-height: calc(14rem - 1rem);
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 27px 0 #2d2d2d;
  transition: background 0.15s;
}

.grid-card-inner:hover {
  background: var(--bg-card-hover);
}

.grid-card-with-media {
  padding: 0.75rem;
  gap: 0.875rem;
  overflow: hidden;
}

.grid-card-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 499;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid rgba(230, 30, 50, 0.2);
}

.grid-card-media--roulette {
  aspect-ratio: 1024 / 534;
  border-color: rgba(124, 58, 237, 0.3);
}

.grid-card-media--sports {
  aspect-ratio: 1024 / 235;
  border-color: var(--border);
  object-position: center;
}

.grid-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.5rem;
  border: 1px solid #52525b;
  border-radius: var(--radius);
  color: var(--text-secondary);
}

.grid-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.grid-card-body h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.card-tag {
  display: inline-block;
  margin-left: 0.375rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.125rem 0.4375rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  vertical-align: middle;
}

.grid-card-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (min-width: 768px) {
  .grid-item-shell {
    border-radius: 1.5rem;
    padding: 0.75rem;
  }

  .grid-card-inner {
    min-height: calc(14rem - 1.5rem);
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, minmax(14rem, auto));
    gap: 1rem;
  }

  .area-a { grid-area: 1 / 1 / 2 / 7; }
  .area-b { grid-area: 1 / 7 / 2 / 13; }
  .area-c { grid-area: 2 / 1 / 3 / 7; }
  .area-d { grid-area: 2 / 7 / 3 / 13; }
  .area-e { grid-area: 3 / 1 / 4 / 13; }
}

@media (min-width: 1280px) {
  .product-grid {
    grid-template-rows: repeat(2, minmax(14rem, auto));
    max-height: 34rem;
  }

  .area-a { grid-area: 1 / 1 / 2 / 5; }
  .area-b { grid-area: 2 / 1 / 3 / 5; }
  .area-c { grid-area: 1 / 5 / 3 / 8; }
  .area-d { grid-area: 1 / 8 / 2 / 13; }
  .area-e { grid-area: 2 / 8 / 3 / 13; }
}

/* Steps section */
#informatsiya {
  background: #000;
}

#informatsiya .step-card {
  background: #000;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  background: transparent;
  border: none;
  border-radius: 0;
}

.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: 1.5rem;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: #f43f5e;
}

.step-card--game {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.step-card--aviator::before {
  background: #f43f5e;
}

.step-card--roulette::before {
  background: #7c3aed;
}

.step-card--sports::before {
  background: #22c55e;
}

.step-game-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: #0a0a0a;
  overflow: hidden;
}

.step-game-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-game-icon--aviator {
  border: 1px solid rgba(244, 63, 94, 0.55);
}

.step-game-icon--aviator img,
.step-game-icon--roulette img {
  width: 82%;
  height: 82%;
}

.step-game-icon--sports img {
  width: 88%;
  height: 88%;
}

.step-game-icon--roulette {
  border: 1px solid rgba(124, 58, 237, 0.55);
}

.step-game-icon--sports {
  border: 1px solid rgba(34, 197, 94, 0.65);
}

.step-card-soon-badge {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 2;
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius);
}

.info-section-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.info-section-label .section-label {
  margin-bottom: 0;
}

.info-label-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  flex-shrink: 0;
}

.info-label-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.step-read-more {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  align-self: stretch;
  text-align: center;
  transition: color 0.15s ease;
}

.step-read-more:hover {
  color: #fda4af;
}

.step-read-more::after {
  content: "→";
}

/* Info article pages */
.info-page {
  min-height: 100vh;
}

.info-article {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 2rem) 1.5rem 3rem;
}

.info-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.info-back:hover {
  color: var(--text-primary);
}

.info-article-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-article-head .step-game-icon {
  margin-bottom: 0;
}

.info-article-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.info-article-head h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.info-article-body {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.info-article-body p {
  margin-bottom: 1rem;
}

.info-article-body h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
}

.info-article-body h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.info-article-body ol,
.info-article-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.info-article-body li {
  margin-bottom: 0.5rem;
}

.info-article-body a {
  color: #fda4af;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-article-body a:hover {
  color: #fff;
}

.info-article-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.info-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.plan-detail-head {
  flex-direction: column;
  gap: 1.25rem;
}

.plan-detail-head .checkout-steps {
  width: 100%;
  margin-bottom: 0;
}

.plan-detail-head .plan-detail-brand {
  flex-shrink: 0;
  --plan-a: #fda4af;
  --plan-b: #f43f5e;
  --plan-c: #e11d48;
}

.plan-detail-head .plan-logo {
  width: 3.25rem;
  height: 3.25rem;
}

.plan-detail-head .plan-logo svg {
  width: 1.75rem;
  height: auto;
}

.plan-detail-price {
  margin-bottom: 1.75rem;
  padding: 1rem 1.125rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 2px solid #f43f5e;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.plan-detail-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.625rem;
}

.plan-detail-price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.plan-detail-price-period {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.plan-detail-price-note {
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.plan-detail-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.plan-detail-highlight {
  margin: 1.25rem 0 1.75rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(244, 63, 94, 0.22);
  border-left: 2px solid #f43f5e;
  border-radius: var(--radius);
  background: rgba(244, 63, 94, 0.06);
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.plan-detail-section {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-detail-section h2 {
  margin-bottom: 0.625rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.plan-detail-section-lead {
  margin-bottom: 0.625rem;
  color: #fda4af;
  font-size: 0.875rem;
  line-height: 1.5;
}

.plan-detail-section p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.65;
}

.plan-detail-section-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin: 0.75rem 0 0;
  padding: 0;
}

.plan-detail-section-list li {
  position: relative;
  padding-left: 0.875rem;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.plan-detail-section-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  background: #f43f5e;
  border-radius: 50%;
}

.plan-detail-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.plan-detail-features li {
  position: relative;
  padding-left: 0.875rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.plan-detail-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  background: #f43f5e;
  border-radius: 50%;
}

.plan-detail-login-note {
  margin: 0 0 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(251, 113, 133, 0.25);
  border-radius: var(--radius);
  background: rgba(244, 63, 94, 0.08);
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.plan-detail-login-note a {
  color: #fda4af;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-preorder-notice {
  margin-bottom: 1.75rem;
  padding: 1rem 1.125rem;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-left: 2px solid #22c55e;
  border-radius: var(--radius);
  background: rgba(34, 197, 94, 0.06);
}

.info-preorder-notice-badge {
  display: inline-block;
  margin-bottom: 0.625rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #86efac;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius);
}

.info-preorder-notice p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.info-preorder-notice p + p {
  margin-top: 0.625rem;
}

.step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Pricing section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.pricing-grid--trio {
  max-width: 980px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-height: 100%;
}

.pricing-card.featured {
  border-color: rgba(251, 113, 133, 0.38);
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.08);
}

.pricing-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.1875rem 0.5rem;
  border-radius: var(--radius);
  background: rgba(244, 63, 94, 0.18);
  color: #fda4af;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-card-head h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pricing-card.featured .pricing-card-head h3 {
  padding-right: 4.5rem;
}

.pricing-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

.pricing-price {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.pricing-price span {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0;
}

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.45;
  flex: 1;
}

.pricing-card li::before {
  content: "—";
  margin-right: 0.5rem;
  color: var(--text-muted);
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}

/* News section */
.news-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
}

.news-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  overflow: clip;
}

.news-status {
  padding: 1.25rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
}

.news-viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-track {
  will-change: transform;
}

.news-track.is-sliding {
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.news-item:first-child {
  border-top: none;
}

.news-item-link {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.75rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s;
}

.news-item-link:hover {
  background: rgba(255, 255, 255, 0.03);
}

.news-item-media {
  flex-shrink: 0;
  width: 5.5rem;
  height: 4.125rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.news-item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.news-item-media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.news-item-media--placeholder svg {
  width: 1.5rem;
  height: 1.5rem;
}

.news-item-media--sport {
  color: #86efac;
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.18);
}

.news-item-media--bet {
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.18);
}

.news-item-media--default {
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.03);
}

.news-item-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.news-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.375rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.news-item-meta time {
  white-space: nowrap;
}

.news-item-source {
  flex-shrink: 0;
  padding: 0.125rem 0.4375rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.news-item-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.news-item-desc {
  display: block;
  margin-top: 0.3125rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.home-snap #novini .news-inner {
  min-height: 0;
  height: 100%;
}

.home-snap #novini .news-panel {
  flex: 1;
  min-height: 0;
}

.home-snap #novini {
  overflow: visible;
}

/* Reviews section */
.reviews-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.review-daily-limit {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.review-thanks,
.review-sending {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  padding: 2rem 1rem;
}

.review-thanks[hidden],
.review-sending[hidden],
.review-form[hidden] {
  display: none !important;
}

.review-sending-inner {
  text-align: center;
}

.review-sending-spinner {
  display: inline-block;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: #fafafa;
  border-radius: 50%;
  animation: review-sending-spin 0.8s linear infinite;
}

.review-sending-inner p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

@keyframes review-sending-spin {
  to {
    transform: rotate(360deg);
  }
}

.review-form-wrap--thanks {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#mneniya.reviews-section--thanks .section-head {
  display: none;
}

#mneniya.reviews-section--thanks .section-head p {
  display: none;
}

#mneniya.reviews-section--thanks .section-head h2 {
  text-align: center;
  width: 100%;
}

.review-thanks-inner {
  text-align: center;
}

.review-thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 1.5rem;
  font-weight: 700;
}

.review-thanks-inner p {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.review-thanks-note {
  display: block;
  margin-top: 0.5rem;
  max-width: 18rem;
  margin-inline: auto;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.reviews-footer .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.reviews-footer .btn {
  min-width: 11rem;
}

.reviews-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 1rem;
}

.review-form-field {
  margin-bottom: 0.875rem;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-bottom: 0.75rem;
}

.review-star {
  color: rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
  line-height: 1;
}

.review-star--filled {
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.35);
}

.review-rating-input {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.review-rating-star {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.18);
  font-size: 1.375rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.review-rating-star:hover,
.review-rating-star.is-preview,
.review-rating-star.is-active {
  color: #fbbf24;
}

.review-rating-star:hover {
  transform: scale(1.08);
}

.reviews-browse {
  min-height: 0;
}

#mneniya.reviews-section--composing .section-inner {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#mneniya.reviews-section--composing .review-form-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

#mneniya.reviews-section--composing .review-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#mneniya.reviews-section--composing .review-form-textarea {
  flex: 1;
  min-height: 8rem;
}

.review-form-row--photo {
  margin-top: 0.875rem;
}

.review-form-wrap {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.review-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.review-form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.review-form-textarea {
  width: 100%;
  min-height: 7rem;
  resize: vertical;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  line-height: 1.5;
}

.review-form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.review-form-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.875rem;
}

.review-form-file {
  position: relative;
  cursor: pointer;
}

.review-form-file input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.review-form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-photo-preview {
  margin: 0.875rem 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 280px;
}

.review-photo-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
}

.review-form-error {
  margin: 0.75rem 0 0;
  color: #f87171;
  font-size: 0.8125rem;
}

.review-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.625rem;
  margin-top: 1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.review-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.review-avatar {
  position: relative;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.review-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.review-avatar-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.review-avatar--fallback img {
  display: none;
}

.review-avatar--fallback .review-avatar-fallback {
  display: flex;
}

.review-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.review-photo {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.review-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.review-author strong {
  font-size: 0.875rem;
  font-weight: 600;
}

.review-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-date {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .home-snap #mneniya .section-inner {
    justify-content: center;
    max-width: 1120px;
    padding-inline: 2rem;
  }

  .home-snap #mneniya .section-head {
    text-align: center;
    margin-inline: auto;
    max-width: 40rem;
  }

  .home-snap #mneniya .info-section-label {
    justify-content: center;
  }

  .home-snap #mneniya .reviews-browse {
    flex: 0 1 auto;
    width: 100%;
  }

  .home-snap #mneniya .reviews-grid {
    flex: 0 1 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-content: start;
    align-items: stretch;
  }

  .home-snap #mneniya .review-card {
    height: auto;
    min-height: 0;
    padding: 1.375rem 1.5rem;
  }

  .home-snap #mneniya .review-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    flex: 0 1 auto;
  }

  .home-snap #mneniya .review-star {
    font-size: 0.875rem;
  }

  .home-snap #mneniya .review-author strong {
    font-size: 0.9375rem;
  }

  .home-snap #mneniya .review-author span,
  .home-snap #mneniya .review-date {
    font-size: 0.8125rem;
  }

  .home-snap #mneniya .reviews-footer {
    flex: 0 0 auto;
    margin-top: 1.75rem;
  }

  .home-snap #mneniya .review-daily-limit {
    font-size: 0.875rem;
  }

  .home-snap #informatsiya {
    background: #000;
  }

  .home-snap #informatsiya .section-inner {
    justify-content: center;
    max-width: 1120px;
    padding-inline: 2rem;
  }

  .home-snap #informatsiya .section-head {
    text-align: center;
    margin-inline: auto;
    max-width: 40rem;
  }

  .home-snap #informatsiya .steps-grid {
    flex: 0 1 auto;
    gap: 1.25rem;
    align-content: start;
  }

  .home-snap #informatsiya .step-card {
    height: 100%;
    padding: 1.375rem 1.5rem;
  }

  .home-snap #informatsiya .step-card p {
    flex: 0 1 auto;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .home-snap #informatsiya .step-read-more {
    margin-top: auto;
    padding: 0.625rem 1rem;
    line-height: 1;
  }

  .home-snap #informatsiya .step-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
  }

  .home-snap #informatsiya .step-game-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.125rem;
  }

  .step-read-more {
    padding: 0.625rem 1rem;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    width: 100%;
  }

  .home-snap #informatsiya .info-section-label {
    justify-content: center;
  }

  .step-card--aviator .step-read-more:hover {
    border-color: rgba(244, 63, 94, 0.35);
    background: rgba(244, 63, 94, 0.06);
    color: #fda4af;
  }

  .step-card--roulette .step-read-more:hover {
    border-color: rgba(124, 58, 237, 0.35);
    background: rgba(124, 58, 237, 0.06);
    color: #c4b5fd;
  }

  .step-card--sports .step-read-more:hover {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.06);
    color: #86efac;
  }

  #mneniya.reviews-section--composing .section-inner {
    justify-content: center;
  }

  #mneniya.reviews-section--composing .review-form-wrap {
    flex: 0 1 auto;
    width: 100%;
    max-width: 36rem;
    margin-inline: auto;
  }

  #mneniya.reviews-section--composing .review-form {
    flex: 0 1 auto;
  }

  #mneniya.reviews-section--composing .review-form-textarea {
    flex: 0 0 auto;
    min-height: 9rem;
  }

  .home-snap #mneniya .review-sending,
  .home-snap #mneniya .review-thanks {
    min-height: 10rem;
  }
}

@media (min-width: 1280px) {
  .home-snap #mneniya .section-inner {
    max-width: 1180px;
  }

  .home-snap #informatsiya .section-inner {
    max-width: 1180px;
  }

  .home-snap #informatsiya .steps-grid {
    gap: 1.5rem;
  }

  .home-snap #informatsiya .step-card {
    padding: 1.5rem 1.75rem;
  }

  .home-snap #informatsiya .step-game-icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .home-snap #mneniya .reviews-grid {
    gap: 1.5rem;
  }

  .home-snap #mneniya .review-card {
    padding: 1.5rem 1.75rem;
  }

  .home-snap #mneniya .section-head h2 {
    font-size: 2.125rem;
  }
}

/* Telegram section */
.telegram-section {
  position: relative;
  isolation: isolate;
  border-bottom: none;
  background: transparent;
  overflow: hidden;
}

.telegram-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/telegram-smoke-bg.png?v=1") center center / cover no-repeat;
  opacity: 0.95;
  filter: contrast(1.06) brightness(1.1);
  pointer-events: none;
}

.telegram-section::after {
  display: none;
}

.telegram-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 440px;
  background: transparent;
}

.telegram-card {
  position: relative;
  width: 100%;
  padding: 0.875rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(244, 63, 94, 0.04) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.telegram-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(244, 63, 94, 0.55) 24%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(244, 63, 94, 0.45) 76%,
    transparent 100%
  );
  pointer-events: none;
}

.telegram-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, #fda4af 0%, #f43f5e 52%, rgba(244, 63, 94, 0.15) 100%);
  pointer-events: none;
}

.telegram-banner-wrap {
  position: relative;
  overflow: hidden;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.24) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(244, 63, 94, 0.32) 100%
  );
  border-radius: calc(var(--radius-lg) - 2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.18);
}

.telegram-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 518;
  object-fit: cover;
  object-position: center top;
  border: none;
  border-radius: calc(var(--radius-lg) - 3px);
  box-sizing: border-box;
}

.telegram-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 0.125rem 0.125rem;
  text-align: center;
  background: transparent;
}

.telegram-card-lead {
  margin: 0;
  max-width: 28rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
}

.telegram-join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4375rem;
  width: 100%;
  max-width: none;
  padding: 0.6875rem 1rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.025) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 10px 24px rgba(0, 0, 0, 0.24);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.telegram-join-btn:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.16) 0%, rgba(244, 63, 94, 0.06) 100%);
  border-color: rgba(244, 63, 94, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(244, 63, 94, 0.12);
  transform: translateY(-1px);
}

.telegram-join-btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.92;
}

.home-snap .telegram-section {
  border-bottom: none;
  background: transparent;
}

@media (max-width: 767px) {
  .home-snap .home-section {
    padding-inline: 1rem;
    padding-bottom: 0.875rem;
  }

  .home-snap .section-inner {
    gap: 0.75rem;
  }

  .home-snap .hero-inner {
    gap: 1rem;
  }

  .home-snap #ceni .section-head p {
    display: none;
  }

  .home-snap #ceni .section-head {
    flex-shrink: 0;
    margin-bottom: 0;
    padding-top: 0;
  }

  .home-snap #ceni .section-head h2 {
    font-size: 1.125rem;
    margin-bottom: 0.1875rem;
  }

  .home-snap #ceni .section-inner {
    justify-content: flex-start;
    gap: 0.375rem;
    min-height: 0;
    padding-top: 0.5rem;
  }

  .home-snap #ceni .plan-cards-grid,
  .home-snap #ceni .pricing-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    grid-auto-rows: unset;
    flex: 0 1 auto;
    min-height: 0;
    align-content: start;
    align-self: stretch;
    max-width: none;
    gap: clamp(0.3125rem, 0.8vh, 0.5rem);
    margin-top: 0.5rem;
  }

  .home-snap #ceni .plan-cards-grid .plan-card,
  .home-snap #ceni .pricing-grid .plan-card {
    height: auto;
    min-height: 0;
  }

  .home-snap #ceni .plan-cards-grid .plan-card-main,
  .home-snap #ceni .pricing-grid .plan-card-main {
    flex: 0 1 auto;
    min-height: 0;
    padding: 0.4375rem 0.625rem 0.25rem;
    gap: 0.1875rem;
  }

  .home-snap #ceni .plan-card-head {
    gap: 0.25rem;
  }

  .home-snap #ceni .plan-logo {
    width: 1.375rem;
    height: 1.375rem;
  }

  .home-snap #ceni .plan-logo svg {
    width: 0.75rem;
  }

  .home-snap #ceni .plan-cards-grid .plan-card-name,
  .home-snap #ceni .pricing-grid .plan-card-name {
    font-size: 0.75rem;
  }

  .home-snap #ceni .plan-cards-grid .plan-card-desc,
  .home-snap #ceni .pricing-grid .plan-card-desc {
    font-size: 0.5625rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-snap #ceni .plan-cards-grid .plan-card-features,
  .home-snap #ceni .pricing-grid .plan-card-features {
    flex: 0 1 auto;
    min-height: 0;
    margin-top: 0.125rem;
    gap: 0.125rem;
    overflow: hidden;
  }

  .home-snap #ceni .plan-cards-grid .plan-card-features li,
  .home-snap #ceni .pricing-grid .plan-card-features li {
    font-size: 0.5625rem;
    line-height: 1.25;
    padding-left: 0.625rem;
  }

  .home-snap #ceni .plan-cards-grid .plan-card-meta,
  .home-snap #ceni .pricing-grid .plan-card-meta {
    flex-shrink: 0;
    margin-top: 0.25rem;
    padding-top: 0.125rem;
  }

  .home-snap #ceni .plan-cards-grid .plan-card-amount,
  .home-snap #ceni .pricing-grid .plan-card-amount {
    font-size: 0.8125rem;
  }

  .home-snap #ceni .plan-cards-grid .plan-card-period,
  .home-snap #ceni .pricing-grid .plan-card-period {
    font-size: 0.5rem;
  }

  .home-snap #ceni .plan-cards-grid .plan-card-action-wrap,
  .home-snap #ceni .pricing-grid .plan-card-action-wrap {
    flex-shrink: 0;
    margin-top: 0;
    padding: 0 0.625rem 0.4375rem;
  }

  .home-snap #ceni .plan-cards-grid .plan-card-action,
  .home-snap #ceni .pricing-grid .plan-card-action {
    padding: 0.3125rem 0.5rem;
    font-size: 0.625rem;
  }

  .home-snap #informatsiya {
    overflow-y: auto;
    scroll-snap-stop: normal;
  }

  .home-snap #informatsiya .section-inner {
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .home-snap #informatsiya .section-head {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .home-snap #informatsiya .section-head p {
    display: none;
  }

  .home-snap #informatsiya .section-head h2 {
    font-size: 1.125rem;
    margin-bottom: 0.125rem;
  }

  .home-snap #informatsiya .steps-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    flex: 0 0 auto;
    align-content: start;
    gap: 0.5rem;
    background: none;
    border: none;
  }

  .home-snap #informatsiya .step-card {
    height: auto;
    min-height: 0;
    border-radius: 2px;
    padding: 0.875rem 1rem;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .home-snap #informatsiya .step-game-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.625rem;
  }

  .home-snap #informatsiya .step-card h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
  }

  .home-snap #informatsiya .step-card p {
    flex: 0 0 auto;
    font-size: 0.75rem;
    margin-top: 0;
    margin-bottom: 0.625rem;
    line-height: 1.45;
  }

  .home-snap #informatsiya .step-read-more {
    margin-top: 0;
    padding-top: 0;
    flex-shrink: 0;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
  }

  .home-snap #novini .section-head p {
    display: none;
  }

  .home-snap #novini .section-head {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .home-snap #novini .section-head h2 {
    font-size: 1.125rem;
    margin-bottom: 0.125rem;
  }

  .home-snap #novini .news-item-link {
    padding: 0.625rem;
    gap: 0.625rem;
  }

  .home-snap #novini .news-item-media {
    width: 4.75rem;
    height: 3.625rem;
  }

  .home-snap #novini .news-item-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-snap #mneniya .reviews-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .home-snap #mneniya .section-head p {
    display: none;
  }

  .home-snap #mneniya .section-head {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .home-snap #mneniya .section-head h2 {
    font-size: 1.125rem;
    margin-bottom: 0.125rem;
  }

  .home-snap #mneniya .section-inner {
    justify-content: flex-start;
    gap: 0.25rem;
    min-height: 0;
  }

  .home-snap #mneniya .reviews-browse {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .home-snap #mneniya .reviews-grid {
    flex: 1;
    min-height: 0;
    gap: clamp(0.3125rem, 0.8vh, 0.5rem);
    align-content: stretch;
  }

  .home-snap #mneniya.reviews-section--composing .review-form-wrap {
    flex: 1;
    min-height: 0;
  }

  .home-snap #mneniya .reviews-footer {
    flex-shrink: 0;
    align-self: stretch;
    align-items: flex-end;
    margin-top: 0;
    padding-top: 0.25rem;
  }

  .home-snap #mneniya .reviews-footer .btn {
    min-width: 0;
    margin-right: 0.75rem;
    padding: 0.4375rem 0.875rem;
    font-size: 0.75rem;
  }

  .home-snap #mneniya .review-daily-limit {
    align-self: stretch;
    text-align: right;
    font-size: 0.6875rem;
  }

  .home-snap #mneniya .review-card {
    height: 100%;
    min-height: 0;
    padding: 0.625rem 0.75rem;
  }

  .home-snap #mneniya .review-card-head {
    margin-bottom: 0.375rem;
  }

  .home-snap #mneniya .review-stars {
    margin-bottom: 0.25rem;
  }

  .home-snap #mneniya .review-star {
    font-size: 0.6875rem;
  }

  .home-snap #mneniya .review-card p {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 0.75rem;
    line-height: 1.45;
    margin-bottom: 0.375rem;
  }

  .home-snap #mneniya .review-author strong {
    font-size: 0.8125rem;
  }

  .home-snap #mneniya .review-author span,
  .home-snap #mneniya .review-date {
    font-size: 0.6875rem;
  }

  .home-snap .hero-actions .btn-lg {
    padding: 0.625rem 1.125rem;
    font-size: 0.8125rem;
  }

  .home-snap .telegram-inner .telegram-join-btn {
    padding: 0.625rem 0.875rem;
    font-size: 0.75rem;
    border-radius: 9px;
  }

  .home-snap .telegram-card {
    padding: 0.75rem;
    border-radius: 12px;
  }

  .home-snap .telegram-card-body {
    padding: 0.875rem 0 0;
    gap: 0.75rem;
  }

  .home-snap .telegram-card-lead {
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .home-snap #igri .product-grid {
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .home-snap #igri .area-a { grid-area: 1 / 1 / 2 / 7; }
  .home-snap #igri .area-b { grid-area: 1 / 7 / 2 / 13; }
  .home-snap #igri .area-c { grid-area: 2 / 1 / 3 / 7; }
  .home-snap #igri .area-d { grid-area: 2 / 7 / 3 / 13; }
  .home-snap #igri .area-e { grid-area: 3 / 1 / 4 / 13; }

  .home-snap #igri .product-grid {
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .home-snap #igri .product-grid {
    grid-template-rows: repeat(2, minmax(0, 1fr));
    max-height: none;
  }
}

/* CTA section */
.cta-section {
  border-bottom: none;
}

.cta-inner {
  text-align: center;
  max-width: 520px;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.cta-inner p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Auth pages */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 57px);
  padding: 2rem;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.bg-pattern .auth-card {
  background: #000;
}

.auth-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}

.auth-card .subtitle {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
}

.checkout-card h2 {
  margin-bottom: 0.5rem;
}

.checkout-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 1.25rem;
  background: var(--bg-secondary);
}

.checkout-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.375rem 0;
}

.checkout-summary-row + .checkout-summary-row {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 0.375rem;
  padding-top: 0.75rem;
}

.checkout-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.checkout-summary-text {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.checkout-back {
  margin-top: 0.625rem;
}

.user-plan-line {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.purchase-notice {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--radius-lg);
  background: rgba(74, 222, 128, 0.08);
  color: #bbf7d0;
  font-size: 0.8125rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--text-muted);
}

.form-group input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: border-color 0.15s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--border-hover);
}

.password-field {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}

.password-field:focus-within {
  border-color: var(--border-hover);
}

.form-group .password-field input {
  width: auto;
  border: none;
  background: transparent;
  box-shadow: none;
}

.password-field input {
  flex: 1;
  min-width: 0;
  padding: 0.625rem 0.75rem;
  padding-right: 0.25rem;
}

.password-field input:focus {
  outline: none;
}

.password-toggle {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-right: 0.375rem;
  padding: 0;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--text-muted);
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.password-toggle:hover,
.password-toggle.is-visible {
  opacity: 1;
  color: var(--text-secondary);
}

.password-toggle:focus-visible {
  outline: none;
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
}

.password-toggle svg {
  width: 0.875rem;
  height: 0.875rem;
}

.password-toggle .password-toggle-icon--show {
  display: none;
}

.password-toggle .password-toggle-icon--hide {
  display: block;
}

.password-toggle.is-visible .password-toggle-icon--show {
  display: block;
}

.password-toggle.is-visible .password-toggle-icon--hide {
  display: none;
}

.auth-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.error-msg {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--danger);
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  display: none;
}

.error-msg.show {
  display: block;
}

/* Dashboard */
.dashboard-page {
  position: relative;
  min-height: 100vh;
  background: #000;
}

.dashboard-page .navbar,
.dashboard-page .dashboard,
.dashboard-page .footer {
  position: relative;
}

.dashboard-page .navbar {
  z-index: 301;
  background: #000;
}

.aviator-body {
  min-height: 100svh;
  background: #000;
  display: flex;
  flex-direction: column;
}

.aviator-body .navbar {
  flex-shrink: 0;
  background: #000;
  z-index: 301;
}

.dashboard {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.app-dashboard {
  max-width: 960px;
  padding: 1.5rem 1.25rem 3rem;
}

.app-dashboard-head {
  margin-bottom: 1.5rem;
}

.dashboard-greeting {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.dashboard-greeting-copy {
  min-width: 0;
}

.dashboard-user-avatar {
  position: relative;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-card);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.dashboard-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.dashboard-user-avatar-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.dashboard-user-avatar--fallback img {
  display: none;
}

.dashboard-user-avatar--fallback .dashboard-user-avatar-fallback {
  display: flex;
}

.app-dashboard-head .dashboard-eyebrow {
  margin-bottom: 0.375rem;
}

.app-dashboard-head h1 {
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.375rem;
}

.app-dashboard-head p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.app-dashboard--hub {
  max-width: 640px;
}

.dash-profile-card {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.dash-profile-main {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.dash-profile-copy {
  min-width: 0;
}

.dash-profile-copy h1 {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.dash-profile-plan {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.dash-profile-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.dash-profile-link:hover {
  border-color: rgba(244, 63, 94, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.dash-profile-link svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

.dash-hub {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dash-hub-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dash-hub-title {
  padding: 0 0.125rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dash-hub-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.dash-menu-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: inherit;
  text-decoration: none;
  transition: background 0.15s;
}

.dash-menu-item:first-child {
  border-top: none;
}

.dash-menu-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.dash-menu-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
  flex: 1;
}

.dash-menu-item-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-menu-item-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.dash-menu-item-badge {
  flex-shrink: 0;
  padding: 0.125rem 0.4375rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dash-menu-item-badge--live {
  background: rgba(244, 63, 94, 0.15);
  color: #fda4af;
}

.dash-menu-item-badge--soon {
  background: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
}

.dash-menu-item-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
}

.dash-menu-item.is-locked .dash-menu-item-label {
  color: var(--text-secondary);
}

.dash-menu-item.is-soon .dash-menu-item-meta::after {
  content: "";
}

.settings-device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.settings-device-name {
  font-size: 0.875rem;
  font-weight: 600;
}

.settings-device-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: #86efac;
}

.subscription-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 2rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.subscription-status--inactive {
  border-color: rgba(255, 255, 255, 0.08);
}

.subscription-status--active {
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.04);
}

.subscription-status--pending {
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.04);
}

.subscription-status-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.subscription-status-value {
  font-size: clamp(1.125rem, 4vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.subscription-status--inactive .subscription-status-value {
  color: var(--text-secondary);
}

.subscription-status--active .subscription-status-value {
  color: #86efac;
}

.subscription-status-meta {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 20rem;
}

.subscription-status-action {
  margin-top: 0.5rem;
  min-width: 12rem;
}

.dash-games-section {
  margin-bottom: 1.25rem;
}

.dash-games-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.625rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.dash-games-card-head {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.375rem 0.375rem 0.125rem;
}

.dash-games-card-head-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
}

.dash-games-card-head-icon svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

.dash-games-card-title {
  padding: 0;
}

.dash-games-card .dash-menu-item {
  border-top: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.dash-games-card .dash-menu-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.dash-menu-item--game {
  gap: 0.875rem;
  min-height: 4.75rem;
  padding: 1.125rem 1.125rem 1.125rem 1rem;
}

.dash-game-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border-radius: var(--radius);
  background: #0a0a0a;
  overflow: hidden;
}

.dash-game-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dash-game-icon--aviator {
  border: 1px solid rgba(244, 63, 94, 0.55);
}

.dash-game-icon--aviator img,
.dash-game-icon--roulette img {
  width: 82%;
  height: 82%;
}

.dash-game-icon--roulette {
  border: 1px solid rgba(124, 58, 237, 0.55);
}

.dash-game-icon--sports {
  border: 1px solid rgba(34, 197, 94, 0.65);
}

.dash-menu-item--game .dash-menu-item-main {
  gap: 0.25rem;
}

.dash-menu-item--game .dash-menu-item-label {
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.dash-menu-item--game .dash-menu-item-meta {
  font-size: 0.8125rem;
  line-height: 1.45;
}

.dash-menu-item--game .dash-menu-item-badge {
  padding: 0.1875rem 0.5625rem;
  font-size: 0.6875rem;
}

.dash-menu-item--game .dash-menu-item-chevron {
  width: 18px;
  height: 18px;
}

.dash-game-lock {
  display: none;
  flex-shrink: 0;
  align-items: center;
  color: #fda4af;
}

.dash-menu-item--game.is-locked .dash-game-lock {
  display: flex;
}

.dash-menu-item--game.is-locked .dash-menu-item-chevron {
  display: none;
}

.dash-chart-card {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.dash-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.dash-chart-subtitle {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.dash-chart-total {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #86efac;
  white-space: nowrap;
}

.dash-chart-online-dot {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: hero-online-pulse 2.4s ease-out infinite;
}

.dash-chart-container {
  position: relative;
  width: 100%;
  min-height: 11rem;
}

.dash-chart-svg {
  display: block;
  width: 100%;
  height: auto;
}

.dash-chart-baseline {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.dash-chart-bar {
  fill: rgba(244, 63, 94, 0.55);
  transition: fill 0.15s, opacity 0.15s;
}

.dash-chart-bar.is-active,
.dash-chart-bar-group:hover .dash-chart-bar {
  fill: #f43f5e;
}

.dash-chart-axis-label {
  fill: var(--text-muted);
  font-size: 11px;
  font-family: inherit;
}

.dash-chart-tooltip {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  pointer-events: none;
  white-space: nowrap;
}

.dash-chart-tooltip[hidden] {
  display: none;
}

.app-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.app-dashboard-stats--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  min-width: 0;
}

.app-stat-card--link {
  transition: background 0.15s, border-color 0.15s;
}

.app-stat-card--link:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
}

.app-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.app-stat-value {
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-stat-value--accent {
  color: #fb7185;
  font-size: 0.9375rem;
}

.app-purchase-notice {
  margin: -0.75rem 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.08);
  color: #86efac;
  font-size: 0.8125rem;
}

.app-dashboard-section {
  margin-top: 0.25rem;
}

.app-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

.app-games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.app-game-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: background 0.15s, border-color 0.15s;
}

.app-game-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
}

.app-game-card--aviator {
  border-color: rgba(244, 63, 94, 0.25);
}

.app-game-card--roulette {
  border-color: rgba(167, 139, 250, 0.22);
}

.app-game-card-media {
  position: relative;
  min-height: 96px;
  background: #0a0a0a;
  border-right: 1px solid var(--border);
}

.app-game-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 96px;
  object-fit: cover;
  object-position: center;
}

.app-game-card-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.125rem 0.4375rem;
  border-radius: var(--radius);
  background: rgba(244, 63, 94, 0.9);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.app-game-card-badge--soon {
  background: rgba(167, 139, 250, 0.85);
}

.app-game-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.875rem 1rem;
  min-width: 0;
}

.app-game-card-body h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.app-game-card-body p {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.app-game-card-body .btn {
  align-self: flex-start;
  pointer-events: none;
}

.app-game-card-lock {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fafafa;
}

.app-game-card.is-locked .app-game-card-media img {
  filter: grayscale(0.35) brightness(0.45);
}

.app-game-card.is-locked .app-game-card-lock {
  display: flex;
}

.app-game-card.is-locked .app-game-card-badge:not(.app-game-card-badge--soon) {
  opacity: 0.55;
}

.app-game-card.is-soon .app-game-card-media img {
  filter: grayscale(0.2) brightness(0.65);
}

.app-purchase-notice + .app-purchase-notice {
  margin-top: -0.5rem;
}

#lockedNotice {
  border-color: rgba(251, 113, 133, 0.25);
  background: rgba(244, 63, 94, 0.08);
  color: #fda4af;
}

#lockedNotice a {
  color: #fda4af;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Plan cards (shared) */
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
  overflow: hidden;
  --plan-a: #fda4af;
  --plan-b: #f43f5e;
  --plan-c: #e11d48;
}

.plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: #f43f5e;
}

.plan-card-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.875rem 0.875rem 0.625rem;
  min-height: 0;
}

.plan-card--compact .plan-card-main {
  gap: 0.25rem;
}

.plan-card--compact .plan-card-features {
  margin-top: 0.125rem;
}

.plan-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.plan-card-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.plan-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: 0;
  background: rgba(244, 63, 94, 0.08);
}

.plan-logo svg {
  width: 1rem;
  height: auto;
}

.plan-logo-shape--a { fill: var(--plan-a); }
.plan-logo-shape--b { fill: var(--plan-b); }
.plan-logo-shape--c { fill: var(--plan-c); }

.plan-card-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.plan-card-desc {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.plan-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
  margin-top: 0.5rem;
}

.plan-card-features li {
  position: relative;
  padding-left: 0.75rem;
  font-size: 0.6875rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.plan-card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 4px;
  height: 4px;
  background: #f43f5e;
}

.plan-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.375rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-card-amount {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.plan-card-period {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.plan-card-action-wrap {
  padding: 0 0.875rem 0.875rem;
  margin-top: auto;
}

.plan-card-action {
  width: 100%;
  margin: 0;
  border-radius: 0;
}

.plan-card-status {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  padding: 0.125rem 0.375rem;
  border-radius: 0;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86efac;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.22);
}

.plan-card-status--preorder {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.plan-card-action.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.plan-card.is-current {
  border-color: rgba(74, 222, 128, 0.35);
}

.plan-card.is-current::before {
  background: #4ade80;
}

/* In-app checkout */
.app-dashboard--checkout .subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.checkout-layout {
  display: grid;
  gap: 1rem;
}

.checkout-summary-row--total {
  margin-top: 0.375rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-summary-row--total strong {
  font-size: 1.125rem;
  color: var(--text-primary);
}

.checkout-summary--compact {
  margin-bottom: 1.25rem;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.checkout-step-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
}

.checkout-step-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.checkout-step.is-current {
  border-color: rgba(244, 63, 94, 0.35);
  background: rgba(244, 63, 94, 0.06);
}

.checkout-step.is-current .checkout-step-index {
  background: #f43f5e;
  color: #fff;
}

.checkout-step.is-current .checkout-step-label {
  color: var(--text-primary);
}

.checkout-step.is-complete .checkout-step-index {
  background: rgba(74, 222, 128, 0.15);
  color: #86efac;
}

.plan-detail-head-row {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.plan-detail-actions {
  margin-top: 1.5rem;
}

.plan-detail-payment-note {
  margin: 0.875rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.checkout-payment--crypto {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
}

.checkout-payment--bundle {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.checkout-payment-bundle-summary {
  margin: 0;
  padding: 1rem 1rem 0.875rem;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.checkout-summary--embedded {
  margin-bottom: 0;
}

.checkout-contact-sheet {
  margin-bottom: 1.5rem;
}

.checkout-contact-sheet .checkout-summary {
  border: none;
  background: transparent;
  box-shadow: none;
}

.checkout-contact-sheet-body {
  gap: 1.125rem;
  padding: 1.125rem 1rem 1.25rem;
}

.checkout-contact-lead {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  text-align: center;
}

.dashboard-page--checkout-contact .app-dashboard-head--compact {
  margin-bottom: 1.125rem;
}

.dashboard-page--checkout-contact .checkout-steps {
  margin-bottom: 1.125rem;
}

.dashboard-page--checkout-contact .checkout-back {
  margin-top: 0;
}

.checkout-payment-bundle-body {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1rem;
}

.checkout-payment-bundle-body .checkout-payment-head {
  margin-bottom: 0;
}

.checkout-payment-head {
  margin-bottom: 1rem;
}

.checkout-payment-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.1875rem 0.5rem;
  border: 1px solid rgba(244, 63, 94, 0.28);
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.1);
  color: #fda4af;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-payment-title {
  margin: 0 0 0.375rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.checkout-payment-title--sm {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.checkout-payment--alt {
  padding-top: 0.25rem;
}

.payment-method-link--secondary {
  opacity: 0.92;
}

.payment-method-icon--muted {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.crypto-coins-grid--tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.crypto-coin-tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 0;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.crypto-coin-tile:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.crypto-coin-tile:active {
  transform: scale(0.99);
}

.crypto-coin-tile.is-selected {
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.06);
}

.checkout-crypto-pay {
  margin-bottom: 0.875rem;
}

.checkout-crypto-pay:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-crypto-pay:disabled:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.crypto-coin-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.crypto-coin-tile-icon img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.crypto-coin-tile-copy {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
  flex: 1;
}

.crypto-coin-tile-copy strong {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.crypto-coin-tile-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.crypto-coin-badge {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  border: 1px solid rgba(244, 63, 94, 0.28);
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.1);
  color: #fda4af;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.crypto-coin-tile--recommended {
  border-color: rgba(244, 63, 94, 0.28);
  background: rgba(244, 63, 94, 0.04);
}

.crypto-coin-tile-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crypto-coin-tile-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1;
}

.crypto-pay-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.crypto-pay-brand img {
  display: block;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.crypto-pay-brand strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.125rem;
}

.crypto-pay-brand span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.crypto-pay-sheet {
  margin-bottom: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  overflow: hidden;
}

.crypto-pay-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.crypto-pay-timer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
}

.crypto-pay-timer-spinner {
  width: 0.875rem;
  height: 0.875rem;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  animation: crypto-pay-spin 0.75s linear infinite;
  flex-shrink: 0;
}

.crypto-pay-amount-spinner {
  width: 0.75rem;
  height: 0.75rem;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-top-color: #f43f5e;
  border-radius: 50%;
  animation: crypto-pay-spin 0.75s linear infinite;
  flex-shrink: 0;
  margin-right: 0.375rem;
}

.crypto-pay-timer-value {
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.crypto-pay-timer.is-expired .crypto-pay-timer-value {
  color: #f87171;
}

@keyframes crypto-pay-spin {
  to {
    transform: rotate(360deg);
  }
}

.crypto-pay-sheet-coin {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.crypto-pay-sheet-coin img {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  object-fit: contain;
}

.crypto-pay-sheet-coin-copy {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.crypto-pay-sheet-coin-copy strong {
  font-size: 0.9375rem;
  line-height: 1.2;
}

.crypto-pay-sheet-coin-copy span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.crypto-pay-sheet-amount {
  flex-shrink: 0;
  text-align: right;
}

.crypto-pay-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1875rem;
  min-width: 5.75rem;
}

.crypto-pay-amount.is-loading {
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.375rem;
}

.crypto-pay-amount.is-loading .crypto-pay-amount-value {
  display: none;
}

.crypto-pay-amount:not(.is-loading) .crypto-pay-amount-spinner {
  display: none;
}

.crypto-pay-amount.is-loading .crypto-pay-amount-fiat {
  opacity: 0.55;
}

.crypto-pay-amount-value {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.crypto-pay-amount-fiat {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.2;
}

@keyframes crypto-pay-shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.crypto-pay-sheet-qr {
  display: flex;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.22);
}

.crypto-pay-sheet-qr .crypto-qr-image {
  width: 176px;
  height: 176px;
  padding: 0.4375rem;
}

.crypto-pay-sheet-details {
  padding: 0.875rem 1rem 1rem;
}

.crypto-pay-sheet-details .payment-copy-row {
  gap: 0.375rem 0.75rem;
}

body.dashboard-page--crypto-pay {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.dashboard-page--crypto-pay .app-dashboard--crypto-pay {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0.875rem 1rem 0.75rem;
}

.app-dashboard--checkout .app-dashboard-head--compact {
  margin-bottom: 0.875rem;
}

.app-dashboard--checkout .app-dashboard-head--compact h1 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.app-dashboard--checkout .checkout-steps {
  margin-bottom: 0.875rem;
}

.app-dashboard--checkout .crypto-coins-grid--tiles {
  margin-bottom: 0.875rem;
}

.app-dashboard--checkout .payment-methods--links {
  margin-bottom: 0.875rem;
}

body.dashboard-page--crypto-pay .app-dashboard-head--compact {
  margin-bottom: 0.75rem;
}

body.dashboard-page--crypto-pay .app-dashboard-head--compact h1 {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.25;
}

body.dashboard-page--crypto-pay .checkout-steps {
  margin-bottom: 0.75rem;
}

body.dashboard-page--crypto-pay .crypto-pay-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

body.dashboard-page--crypto-pay .crypto-pay-actions .checkout-back {
  margin-top: 0;
}

body.dashboard-page--crypto-pay .app-footer--compact {
  padding: 0.5rem 1rem 0.75rem;
  font-size: 0.6875rem;
}

@media (max-width: 767px) {
  body.dashboard-page--crypto-pay .crypto-pay-sheet-qr .crypto-qr-image {
    width: min(46vw, 168px);
    height: min(46vw, 168px);
  }

  body.dashboard-page--crypto-pay .crypto-pay-sheet-head {
    padding: 0.8125rem 0.875rem;
  }

  body.dashboard-page--crypto-pay .crypto-pay-sheet-details {
    padding: 0.75rem 0.875rem 0.875rem;
  }
}

@media (max-width: 767px) {
  .app-dashboard--checkout {
    padding: 1rem 1rem 2.5rem;
  }

  .app-dashboard--checkout .app-dashboard-head {
    margin-bottom: 1rem;
  }

  .app-dashboard--checkout .app-dashboard-head h1 {
    font-size: 1.25rem;
  }

  .app-dashboard--checkout .app-dashboard-head p {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .checkout-steps {
    gap: 0.375rem;
    margin-bottom: 1rem;
  }

  .checkout-step {
    flex-direction: row;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.375rem;
  }

  .checkout-step-label {
    font-size: 0.625rem;
  }

  .checkout-summary--compact,
  .checkout-payment-bundle-summary {
    margin-bottom: 0;
    padding: 0.875rem 0.875rem 0.75rem;
  }

  .checkout-payment--crypto {
    padding: 0;
    margin-bottom: 1rem;
  }

  .checkout-payment-bundle-body {
    padding: 0.875rem;
  }

  .checkout-payment-head {
    margin-bottom: 0.75rem;
  }

  .checkout-payment-title {
    font-size: 0.9375rem;
  }

  .checkout-payment-hint,
  .checkout-payment-note {
    font-size: 0.75rem;
    line-height: 1.45;
  }

  .checkout-payment--alt {
    margin-top: 0.25rem;
  }

  .payment-method-link {
    padding: 0.75rem 0.875rem;
  }
}

@media (min-width: 520px) {
  .crypto-coins-grid--tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
  }
}

.checkout-payment {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.checkout-payment-title {
  font-size: 0.9375rem;
  font-weight: 600;
}

.checkout-payment-hint {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  margin-top: -0.375rem;
}

.payment-methods {
  display: grid;
  gap: 0.625rem;
}

.app-dashboard--narrow {
  max-width: 560px;
}

.order-page-card.plan-card {
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 0.875rem;
}

.order-page-card-body {
  padding: 0.875rem 0.875rem 0.75rem;
}

.order-page-card .plan-card-name {
  font-size: 1.0625rem;
}

.order-page-card .plan-card-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.order-page-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.order-page-features li {
  position: relative;
  padding-left: 0.75rem;
  font-size: 0.6875rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.order-page-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 4px;
  height: 4px;
  background: #f43f5e;
}

.order-page-details {
  display: grid;
  gap: 0.4375rem;
  margin: 0.625rem 0 0;
  padding-top: 0.625rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.order-page-detail {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.order-page-detail dt {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.order-page-detail dd {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  text-align: right;
}

.order-page-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.order-page-total-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.order-page-card .plan-card-amount {
  font-size: 1.25rem;
}

.order-page-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.order-page-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 2.375rem;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border-radius: 0;
  font-size: 0.8125rem;
  box-sizing: border-box;
  text-align: center;
}

.order-page-actions .checkout-back {
  margin-top: 0;
}

.payment-methods--links {
  gap: 0.625rem;
}

.payment-method-link,
.crypto-coin-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.payment-method-link:hover,
.crypto-coin-card:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.payment-method-arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 1rem;
}

.crypto-coins-grid {
  display: grid;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.crypto-coin-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: rgba(251, 113, 133, 0.12);
  color: #fda4af;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.crypto-coin-copy {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.crypto-coin-copy strong {
  font-size: 0.9375rem;
}

.crypto-coin-copy span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.crypto-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.crypto-qr-card--compact {
  gap: 0.625rem;
  padding: 0.875rem;
}

.crypto-qr-image {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 0.5rem;
}

.crypto-qr-card--compact .crypto-qr-image {
  width: 160px;
  height: 160px;
  padding: 0.375rem;
}

.crypto-qr-card .payment-details-body {
  width: 100%;
}

.crypto-qr-card .payment-details-note {
  margin-top: 0;
  text-align: center;
}

.app-packages-payment {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.checkout-payment-note {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.app-purchase-notice--pending {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
  color: #fcd34d;
}

.admin-orders-list {
  display: grid;
  gap: 0.625rem;
}

.admin-order-card {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.admin-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
}

.admin-order-meta {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
}

.admin-review-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-review-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.admin-review-copy {
  flex: 1;
  min-width: 0;
}

.admin-review-copy .review-stars {
  margin: 0.375rem 0 0;
}

.admin-review-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

.admin-review-photo {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 220px;
}

.admin-review-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: cover;
}

.admin-review-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.payment-method {
  position: relative;
  display: block;
  cursor: pointer;
}

.payment-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-method-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s, background 0.15s;
}

.payment-method:hover .payment-method-card {
  border-color: var(--border-hover);
}

.payment-method.is-selected .payment-method-card,
.payment-method input:checked + .payment-method-card {
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(244, 63, 94, 0.06);
}

.payment-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: #fda4af;
  flex-shrink: 0;
}

.payment-method-copy {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.payment-method-copy strong {
  font-size: 0.9375rem;
}

.payment-method-copy span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.payment-details {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.payment-details-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.payment-details-body {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.payment-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.375rem 0.75rem;
  align-items: center;
}

.payment-copy-row .checkout-label {
  grid-column: 1 / -1;
}

.payment-copy-row--copy {
  grid-template-columns: minmax(0, 1fr) auto;
}

.payment-copy-row--copy .payment-copy-value {
  grid-column: 1;
}

.payment-copy-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--text-primary);
  word-break: break-all;
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.payment-copy-btn {
  padding: 0.4375rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.75rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.payment-copy-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.payment-details-note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.payment-status-notice {
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
}

.payment-status-notice p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.payment-status-notice--muted {
  border-left: 2px solid rgba(255, 255, 255, 0.16);
}

.payment-status-notice--contact {
  border-left: 2px solid rgba(244, 63, 94, 0.5);
}

.dashboard-page .checkout-summary {
  margin-bottom: 0;
}

.dashboard-page .checkout-back {
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }
}

.app-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  border-top: 1px solid var(--border);
}

/* Settings page */
.settings-feedback {
  margin-bottom: 1rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid rgba(74, 222, 128, 0.22);
  border-left: 2px solid #4ade80;
  border-radius: 2px;
  background: rgba(74, 222, 128, 0.08);
  font-size: 0.8125rem;
  color: #86efac;
}

.settings-feedback--error {
  border-color: rgba(244, 63, 94, 0.22);
  border-left-color: #f43f5e;
  background: rgba(244, 63, 94, 0.08);
  color: #fda4af;
}

.settings-panel {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
}

.settings-panel--danger {
  border-color: rgba(244, 63, 94, 0.2);
}

.settings-panel-title {
  margin-bottom: 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.settings-row--avatar {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.avatar-picker-dropdown {
  position: relative;
}

.avatar-picker-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.avatar-picker-trigger:hover,
.avatar-picker-dropdown.is-open .avatar-picker-trigger {
  border-color: rgba(244, 63, 94, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.avatar-picker-current {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-card);
}

.avatar-picker-current img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.avatar-picker-trigger-copy {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
  flex: 1;
}

.avatar-picker-trigger-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.avatar-picker-trigger-hint {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.avatar-picker-chevron {
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.15s;
}

.avatar-picker-dropdown.is-open .avatar-picker-chevron {
  transform: rotate(180deg);
}

.avatar-picker-menu {
  position: absolute;
  top: calc(100% + 0.375rem);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 17rem;
  overflow-y: auto;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.avatar-picker-menu[hidden] {
  display: none;
}

.avatar-picker-section + .avatar-picker-section {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.avatar-picker-group-label {
  margin-bottom: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.avatar-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.avatar-picker-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.avatar-picker-option:hover {
  border-color: rgba(244, 63, 94, 0.35);
  transform: translateY(-1px);
}

.avatar-picker-option.is-selected {
  border-color: #f43f5e;
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.45);
}

.avatar-picker-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

@media (min-width: 520px) {
  .avatar-picker-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.settings-row {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.settings-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.settings-row-copy {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.settings-row-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.settings-row-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.settings-row-hint {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.settings-row--toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.settings-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.settings-edit-btn:hover {
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.35);
}

.settings-inline-form {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.settings-input {
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-size: 0.875rem;
}

.settings-input:focus {
  outline: none;
  border-color: rgba(244, 63, 94, 0.45);
}

.settings-inline-actions {
  display: flex;
  gap: 0.5rem;
}

.settings-form {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.settings-form:first-of-type {
  padding-top: 0;
  border-top: none;
}

.settings-form .form-group {
  margin-bottom: 0.75rem;
}

.settings-form .btn {
  border-radius: 0;
}

.settings-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  cursor: pointer;
}

.settings-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.settings-switch-ui {
  width: 2.5rem;
  height: 1.375rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}

.settings-switch-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 0.875rem;
  height: calc(100% - 4px);
  background: var(--text-secondary);
  transition: transform 0.15s, background 0.15s;
}

.settings-switch input:checked + .settings-switch-ui {
  background: rgba(244, 63, 94, 0.2);
  border-color: rgba(244, 63, 94, 0.45);
}

.settings-switch input:checked + .settings-switch-ui::after {
  transform: translateX(1.05rem);
  background: #fda4af;
}

.settings-danger-text {
  margin-bottom: 0.875rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.settings-danger-btn {
  border-radius: 0;
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.35);
}

.settings-danger-btn:hover {
  background: rgba(244, 63, 94, 0.08);
}

@media (min-width: 640px) {
  .app-dashboard {
    padding: 2rem 1.5rem 3rem;
  }

  .app-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-game-card {
    grid-template-columns: 1fr;
    grid-template-rows: 120px auto;
  }

  .app-game-card-media {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .app-game-card--sports {
    grid-column: 1 / -1;
    grid-template-columns: 160px minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .app-game-card--sports .app-game-card-media {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }
}

@media (min-width: 900px) {
  .app-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .app-game-card--sports {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 120px auto;
  }

  .app-game-card--sports .app-game-card-media {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

.dashboard-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.dashboard-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.dashboard-header p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.dashboard-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f43f5e;
  margin-bottom: 0.5rem;
}

.dashboard-header h1 span {
  color: var(--text-primary);
}

/* App shell (logged-in area) */
body.app-shell .navbar {
  border-bottom: 1px solid rgba(244, 63, 94, 0.2);
}

.nav-menu-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.75rem 1rem;
}

.nav-menu-user-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #be123c, #f43f5e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-menu-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-menu-user-avatar-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.nav-menu-user-avatar--fallback img {
  display: none;
}

.nav-menu-user-avatar--fallback .nav-menu-user-avatar-fallback {
  display: flex;
}

.nav-menu-user-name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-menu-admin-badge {
  display: inline-block;
  margin-left: 0.375rem;
  padding: 0.125rem 0.375rem;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fb7185;
  vertical-align: middle;
}

.nav-menu-user-plan {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 0.125rem;
}

.nav-menu-label {
  padding: 0.25rem 0.75rem 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-menu-list--secondary .nav-menu-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

body.app-shell .dashboard-header {
  border-bottom-color: rgba(244, 63, 94, 0.15);
}

body.app-shell .user-bar {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(244, 63, 94, 0.12);
}

body.app-shell .user-avatar {
  background: linear-gradient(135deg, #be123c, #f43f5e);
  border-color: transparent;
  color: #fff;
}

.user-bar {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.25rem;
  margin-bottom: 2rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.balance {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-secondary);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.balance-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.balance-amount {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.casino-connect {
  max-width: 360px;
  margin: 0 auto;
}

.casino-connect-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1rem;
}

.casino-connect-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.casino-connect-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0a;
}

.casino-connect-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casino-connect-name {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.casino-connect-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.casino-connect-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

.dashboard-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.dashboard-actions .btn {
  min-width: 220px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.game-card {
  background: var(--bg-card);
  overflow: hidden;
  transition: background 0.15s;
  cursor: pointer;
}

.game-card:hover {
  background: var(--bg-card-hover);
}

.game-card-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  opacity: 0.85;
  overflow: hidden;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.game-card-image.sports,
.game-card-image.roulette,
.game-card-image.aviator {
  background: #0a0a0a;
}

.game-card-image.sports img {
  object-position: center;
}

.game-card-body {
  padding: 1.25rem;
}

.game-card-body h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.game-card-body p {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}

.game-card-body .btn {
  width: 100%;
}

/* Game page layout */
.game-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.game-header h1 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.game-area {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.game-area .placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.game-area h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.game-area p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  max-width: 360px;
}

.game-area-roulette {
  padding: 0;
  overflow: hidden;
  border-color: rgba(124, 58, 237, 0.25);
}

.game-area-roulette-banner {
  width: 100%;
  line-height: 0;
  border-bottom: 1px solid var(--border);
}

.game-area-roulette-banner img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center top;
}

.game-area-roulette-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 0.5rem;
}

.game-area-roulette-content h2 {
  font-size: 1rem;
  font-weight: 600;
}

.game-area-roulette-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  max-width: 360px;
}

.game-area-sports {
  padding: 0;
  overflow: hidden;
}

.game-area-sports-banner {
  position: relative;
  width: 100%;
  line-height: 0;
  border-bottom: 1px solid var(--border);
  background: #000;
}

.game-area-sports-banner img {
  display: block;
  width: 100%;
  max-height: min(52vw, 320px);
  object-fit: cover;
  object-position: center top;
}

.game-area-coming-soon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
}

.coming-soon-badge {
  font-size: clamp(1.125rem, 4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 0.625rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.65);
  backdrop-filter: blur(8px);
}

.game-area-sports-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 0.5rem;
}

.game-area-sports-content h2 {
  font-size: 1rem;
  font-weight: 600;
}

.game-area-sports-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  max-width: 420px;
  line-height: 1.6;
}

.game-area-sports-content .btn {
  margin-top: 0.75rem;
}

/* Aviator — fresh centered game layout */
.aviator-shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem max(1rem, env(safe-area-inset-bottom));
}

.aviator-shell--play {
  align-items: stretch;
  justify-content: flex-start;
  padding: 1rem 1rem max(1.5rem, env(safe-area-inset-bottom));
}

.aviator-page-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.aviator-page-title-block {
  width: 100%;
}

.aviator-page-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.aviator-page-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #000;
  overflow: hidden;
}

.aviator-page-icon--logo img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: url(#aviator-logo-knockout);
}

.aviator-page-icon img {
  display: block;
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.aviator-page-title-block h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.aviator-page-top .aviator-history-wrap {
  width: 100%;
  gap: 0.5rem;
  padding-top: 0.125rem;
}

.aviator-game {
  width: min(100%, 420px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aviator-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
}

.aviator-back {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.aviator-back:hover {
  color: var(--text-primary);
}

.aviator-top h1 {
  font-size: 0.9375rem;
  font-weight: 600;
}

.aviator-history-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.aviator-history-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.aviator-next-wrap .aviator-history-label {
  color: #fb7185;
}

.aviator-history-empty {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.admin-results-shell {
  width: min(100%, 480px);
  gap: 0.75rem;
}

.admin-results-badge {
  margin-left: auto;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fb7185;
}

.admin-results-section-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.admin-results-section-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: -0.375rem;
}

.admin-results-paste-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-next-panel {
  margin-top: 0;
}

.admin-next-preview {
  min-height: 1.75rem;
}

.aviator-history {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.75rem;
}

.aviator-history-track {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to right, #000 92%, transparent);
}

.aviator-history-track::-webkit-scrollbar {
  display: none;
}

.aviator-history-item {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.aviator-history-item.is-low {
  color: #34b4ff;
}

.aviator-history-item.is-mid {
  color: #9157ff;
}

.aviator-history-item.is-high {
  color: #ff3976;
}

.aviator-history-more {
  flex-shrink: 0;
  width: 2rem;
  height: 1.625rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #2a2a2e;
  color: #fafafa;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.aviator-history-more:hover {
  background: #35353b;
}

.aviator-board {
  position: relative;
  width: 100%;
  height: clamp(240px, 52vw, 300px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.aviator-board::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/aviator-bg.png?v=1") center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

.aviator-board::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 58%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.22) 100%);
  pointer-events: none;
}

.aviator-board .game-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background: #121212;
  background: linear-gradient(
    135deg,
    #121212 25%,
    #1a1a1a 25%,
    #1a1a1a 50%,
    #121212 50%,
    #121212 75%,
    #1a1a1a 75%,
    #1a1a1a
  );
  background-size: 40px 40px;
  animation: aviator-bg-move 4s linear infinite;
}

@keyframes aviator-bg-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}

.aviator-board #flightCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.aviator-multiplier {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: clamp(2.5rem, 11vw, 3.5rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  z-index: 2;
}

.aviator-multiplier.is-flying {
  color: #fff;
}

.aviator-multiplier.is-crashed {
  color: var(--text-muted);
}

.aviator-flew-away {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  pointer-events: none;
  animation: aviator-flew-in 0.35s ease-out;
}

.aviator-flew-away[hidden] {
  display: none !important;
}

.aviator-flew-away-label {
  margin: 0;
  font-size: clamp(1.125rem, 4.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.aviator-flew-away-mult {
  margin: 0;
  font-size: clamp(2.75rem, 12vw, 4.25rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #e11d48;
  text-shadow: 0 2px 16px rgba(225, 29, 72, 0.35);
}

@keyframes aviator-flew-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.aviator-board.is-flew-away .aviator-multiplier {
  visibility: hidden;
}

.aviator-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.875rem;
}

.aviator-casino {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  margin-bottom: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.aviator-casino-change {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.aviator-casino-change:hover {
  color: var(--text-primary);
}

.casino-select-shell {
  width: min(100%, 420px);
  margin: 0 auto;
  gap: 1rem;
}

.aviator-shell--select {
  align-items: stretch;
  justify-content: flex-start;
  padding: 1rem 1rem max(1.5rem, env(safe-area-inset-bottom));
}

.casino-select-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.casino-select-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  width: 100%;
}

.casino-select-title-block h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.casino-select-intro {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.casino-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.casino-list-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  padding: 0.75rem 0.875rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

.casino-list-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.casino-list-item.is-selected {
  border-color: #f43f5e;
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.35);
}

.casino-list-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0a;
}

.casino-list-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casino-list-item[data-casino="mrbit"] .casino-list-logo {
  background: #0a1020;
}

.casino-list-item[data-casino="betano"] .casino-list-logo {
  background: #c8102e;
}

.casino-list-item[data-casino="alphawin"] .casino-list-logo {
  background: #1a2340;
}

.casino-list-item[data-casino="bet365"] .casino-list-logo {
  background: #127747;
}

.casino-list-item[data-casino="sesame"] .casino-list-logo {
  background: #4b2089;
}

.casino-list-item[data-casino="mrbit"] .casino-list-logo img,
.casino-list-item[data-casino="betano"] .casino-list-logo img,
.casino-list-item[data-casino="alphawin"] .casino-list-logo img {
  object-fit: cover;
}

.casino-list-item[data-casino="bet365"] .casino-list-logo img,
.casino-list-item[data-casino="sesame"] .casino-list-logo img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.casino-list-name {
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.casino-list-chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--text-muted);
}

.casino-results-panel {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.casino-results-casino {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.casino-results-casino[hidden] {
  display: none;
}

.casino-results-casino-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0a;
}

.casino-results-casino-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casino-results-casino-name {
  font-size: 0.9375rem;
  font-weight: 600;
}

.casino-results-title {
  font-size: 0.9375rem;
  font-weight: 600;
}

.casino-results-subtitle {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.casino-results-paste {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.casino-results-paste-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.casino-results-paste-input {
  width: 100%;
  min-height: 4rem;
  padding: 0.625rem 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.8125rem;
  resize: vertical;
}

.casino-results-paste-input:focus {
  outline: none;
  border-color: var(--border-hover);
}

.casino-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.casino-result-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.casino-result-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.casino-result-input {
  width: 100%;
  padding: 0.5rem 0.625rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.casino-result-input:focus {
  outline: none;
  border-color: var(--border-hover);
}

.casino-results-error {
  min-height: 1rem;
  font-size: 0.75rem;
  color: #f87171;
}

.casino-results-continue {
  width: 100%;
  min-height: 2.75rem;
}

body.is-syncing {
  overflow: hidden;
}

.sync-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.sync-overlay[hidden] {
  display: none;
}

.sync-overlay-card {
  width: min(100%, 320px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  padding: 1.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.sync-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #f43f5e;
  border-radius: 50%;
  animation: sync-spin 0.85s linear infinite;
}

@keyframes sync-spin {
  to {
    transform: rotate(360deg);
  }
}

.sync-overlay-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sync-overlay-status {
  min-height: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.sync-progress {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.sync-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #be123c, #f43f5e);
  transition: width 0.45s ease;
}

.sync-overlay-casino {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fb7185;
}

@media (min-width: 480px) {
  .casino-results-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.aviator-casino-logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0a;
}

.aviator-casino-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aviator-casino[data-casino="mrbit"] .aviator-casino-logo,
.casino-results-casino[data-casino="mrbit"] .casino-results-casino-logo {
  background: #0a1020;
}

.aviator-casino[data-casino="betano"] .aviator-casino-logo,
.casino-results-casino[data-casino="betano"] .casino-results-casino-logo {
  background: #c8102e;
}

.aviator-casino[data-casino="alphawin"] .aviator-casino-logo,
.casino-results-casino[data-casino="alphawin"] .casino-results-casino-logo {
  background: #1a2340;
}

.aviator-casino[data-casino="bet365"] .aviator-casino-logo,
.casino-results-casino[data-casino="bet365"] .casino-results-casino-logo {
  background: #127747;
}

.aviator-casino[data-casino="sesame"] .aviator-casino-logo,
.casino-results-casino[data-casino="sesame"] .casino-results-casino-logo {
  background: #4b2089;
}

.aviator-casino[data-casino="mrbit"] .aviator-casino-logo img,
.aviator-casino[data-casino="betano"] .aviator-casino-logo img,
.aviator-casino[data-casino="alphawin"] .aviator-casino-logo img,
.casino-results-casino[data-casino="mrbit"] .casino-results-casino-logo img,
.casino-results-casino[data-casino="betano"] .casino-results-casino-logo img,
.casino-results-casino[data-casino="alphawin"] .casino-results-casino-logo img {
  object-fit: cover;
}

.aviator-casino[data-casino="bet365"] .aviator-casino-logo img,
.aviator-casino[data-casino="sesame"] .aviator-casino-logo img,
.casino-results-casino[data-casino="bet365"] .casino-results-casino-logo img,
.casino-results-casino[data-casino="sesame"] .casino-results-casino-logo img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.aviator-casino-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  min-width: 0;
}

.aviator-casino-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.aviator-casino-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.4375rem;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #22c55e;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.aviator-casino-status .casino-connect-dot {
  width: 5px;
  height: 5px;
  background: #22c55e;
  box-shadow: none;
}

.aviator-status {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 0.875rem;
  min-height: 1.25rem;
}

.aviator-predict-btn {
  width: 100%;
  min-height: 2.75rem;
}

.aviator-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.aviator-prediction-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.aviator-prediction-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aviator-predict-row {
  margin-bottom: 0.75rem;
}

.aviator-input-compact {
  flex: 0 0 auto;
  min-width: 110px;
}

.aviator-suffix {
  padding-right: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.aviator-signal {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0.875rem;
  margin-bottom: 0.875rem;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(190, 18, 60, 0.08));
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: var(--radius);
}

.aviator-signal-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.aviator-signal-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.aviator-signal-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fb7185;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.aviator-signal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.aviator-signal-badge {
  display: inline-flex;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.aviator-signal-confidence {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4ade80;
}

.aviator-signal-note {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.aviator-bet-row {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.aviator-input {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.aviator-euro {
  padding-left: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.aviator-input input {
  flex: 1;
  min-width: 0;
  padding: 0.625rem 0.75rem 0.625rem 0.375rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.aviator-input input:focus {
  outline: none;
}

.aviator-input:focus-within {
  border-color: var(--border-hover);
}

.aviator-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.375rem;
}

.aviator-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.aviator-buttons .btn {
  min-height: 2.75rem;
}

@media (min-width: 480px) {
  .aviator-bet-row,
  .aviator-predict-row {
    flex-direction: row;
    align-items: stretch;
  }

  .aviator-input {
    flex: 0 0 140px;
  }

  .aviator-presets {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .aviator-shell {
    padding-inline: 0.875rem;
  }
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

@media (max-width: 640px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .navbar-compact .balance-label {
    display: none;
  }

  .section-inner {
    padding: 2.5rem 1.25rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .dashboard,
  .game-page {
    padding: 1.25rem 1rem;
  }

  .user-bar {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}
