/* Варианты только стартового экрана (landing). Остальные шаги — общий base-стиль. */

.base-root.landing-theme-aura .base-bg:before {
  width: 120%;
  height: 520px;
  top: -120px;
  background: radial-gradient(ellipse at 50% 0%, rgba(167, 139, 250, 0.35) 0%, transparent 62%);
}

.base-root.landing-theme-aura .base-bg:after {
  width: 380px;
  height: 380px;
  bottom: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 68%);
}

.base-root.landing-theme-aura .base-card {
  border-color: rgba(167, 139, 250, 0.22);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.base-pane--aura {
  position: relative;
}

.landing-aura-ornament {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(124, 58, 237, 0.5), rgba(79, 70, 229, 0.15), rgba(56, 189, 248, 0.35));
  filter: blur(28px);
  opacity: 0.75;
  pointer-events: none;
}

.base-root.landing-theme-aura .landing-aura-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(165, 180, 252, 0.28);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.base-root.landing-theme-aura .landing-aura-banner {
  position: relative;
  border-radius: 20px;
  overflow: visible;
  background: transparent;
  max-height: min(46vh, 220px);
}

.landing-aura-banner-glow {
  position: absolute;
  inset: -12px -8px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.45), rgba(56, 189, 248, 0.2));
  filter: blur(18px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.base-root.landing-theme-aura .landing-aura-banner .base-banner-img {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.base-root.landing-theme-aura .landing-aura-title span {
  background: linear-gradient(120deg, #f8fafc 0%, #c7d2fe 45%, #e9d5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.base-root.landing-theme-aura .landing-aura-sub {
  font-size: 14px;
  color: rgba(203, 213, 245, 0.82);
  margin-bottom: 20px;
}

.base-root.landing-theme-aura .landing-aura-trust {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.base-root.landing-theme-aura .landing-aura-btn {
  min-height: 56px;
  font-size: 16px;
  letter-spacing: 0.02em;
  box-shadow:
    0 8px 32px rgba(99, 102, 241, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.base-root.landing-theme-aura .landing-aura-perks {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 0 18px;
  flex-wrap: wrap;
}

.base-root.landing-theme-aura .landing-aura-perk {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.base-root.landing-theme-aura .landing-aura-perk-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--base-af), var(--base-at));
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.65);
}

/* На остальных экранах убираем aura-специфику с корня */
.base-root.landing-theme-aura:not(.on-landing-screen) .base-card {
  border-color: rgba(99, 102, 241, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

/* Roblox — 1:1 с рефами index + roulette, без скролла страницы */

.base-root.landing-theme-roblox {
  --rbx-bg: #020b1c;
  --rbx-blue: #087bff;
  --rbx-sky: #12aaff;
  --rbx-text: #f5f7ff;
  --rbx-muted: #9fb2d4;
  --rbx-line: rgba(53, 119, 255, 0.38);
  --rbx-gap: 8px;
  /* --rbx-cw задаёт JS после measure; без фиксированных 100px — иначе кривая остановка */
  --rbx-cw: 33.333%;
  --rbx-ch: clamp(128px, 19svh, 172px);
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--rbx-text);
  overflow: hidden;
}

.base-root.landing-theme-roblox .base-bg {
  background: var(--rbx-bg);
}

.base-root.landing-theme-roblox.on-landing-screen {
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  min-height: 100svh;
  height: 100svh;
  max-height: 100svh;
  overflow: hidden;
}

.base-root.landing-theme-roblox.on-landing-screen .base-bg:before,
.base-root.landing-theme-roblox.on-landing-screen .base-bg:after {
  display: none;
}

.base-root.landing-theme-roblox.on-landing-screen .base-app {
  width: 100%;
  max-width: 480px;
  height: 100%;
  margin: 0 auto;
}

.base-root.landing-theme-roblox.on-landing-screen .base-card {
  height: 100%;
  min-height: 0;
  max-height: none;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  contain: none;
  animation: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.base-root.landing-theme-roblox.on-landing-screen #pane {
  flex: 1;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  animation: none;
}

.base-root.landing-theme-roblox.on-landing-screen #pane > .base-pane--roblox {
  flex: 1;
  min-height: 0;
}

.base-root.landing-theme-roblox:not(.on-landing-screen):not(.on-auth-screen) .base-card {
  background: rgba(3, 12, 28, 0.96);
  border: 1px solid rgba(53, 119, 255, 0.22);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.68);
}

/* Roblox auth (phone/code) — стиль rullsupweb gr-auth */
.base-root.landing-theme-roblox.on-auth-screen {
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  min-height: 100svh;
  height: 100svh;
  max-height: 100svh;
  overflow: auto;
  background:
    radial-gradient(circle at 15% 12%, rgba(7, 155, 255, 0.16), transparent 34%),
    radial-gradient(circle at 85% 78%, rgba(7, 82, 255, 0.12), transparent 30%),
    #06070af0;
}

.base-root.landing-theme-roblox.on-auth-screen .base-bg {
  display: none;
}

.base-root.landing-theme-roblox.on-auth-screen .base-app,
.base-root.landing-theme-roblox.on-auth-screen .base-card,
.base-root.landing-theme-roblox.on-auth-screen #pane {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  contain: none;
  overflow: visible;
}

.base-root.landing-theme-roblox.on-auth-screen #pane {
  /* flex + center: иначе grid stretch разносит спиннер/тексты по всей высоте */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 100svh;
  padding: 20px 16px;
}

.base-root.landing-theme-roblox.on-auth-screen #pane > .rbx-wait {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 360px);
  text-align: center;
}

.base-root.landing-theme-roblox.on-auth-screen #pane > .rbx-wait .base-ld-wrap {
  padding: 0 0 4px;
}

.base-root.landing-theme-roblox.on-auth-screen #pane > .rbx-wait .base-ld-ring {
  margin-bottom: 14px;
}

.base-root.landing-theme-roblox.on-auth-screen #pane > .rbx-wait .base-ld-dots {
  margin-top: 10px;
}

.base-root.landing-theme-roblox.on-auth-screen #pane > .rbx-wait .base-title {
  margin: 10px 0 8px;
}

.base-root.landing-theme-roblox.on-auth-screen #pane > .rbx-wait .base-sub {
  margin: 0;
}

.base-root.landing-theme-roblox.on-auth-screen #pane > .rbx-wait [data-role="countdown"] {
  margin-top: 18px;
}

.rbx-auth {
  width: 100%;
  display: grid;
  place-items: center;
}

.rbx-auth__panel {
  position: relative;
  width: min(100%, 390px);
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    linear-gradient(165deg, rgba(20, 40, 78, 0.92), rgba(6, 14, 32, 0.96));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(7, 155, 255, 0.14),
    inset 0 1px rgba(255, 255, 255, 0.1);
  animation: rbx-auth-in 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

@keyframes rbx-auth-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rbx-auth__shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 38%, rgba(255, 255, 255, 0.09) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: rbx-auth-shine 1.6s 0.15s forwards;
}

@keyframes rbx-auth-shine {
  to {
    transform: translateX(130%);
  }
}

.rbx-auth__topbar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.rbx-auth__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  margin: -8px 0 -8px -10px;
  padding: 8px 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--rbx-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s;
}

.rbx-auth__back:hover {
  color: var(--rbx-text);
  background: rgba(255, 255, 255, 0.06);
}

.rbx-auth__back--spacer {
  min-width: 64px;
  pointer-events: none;
}

.rbx-auth__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(7, 155, 255, 0.28);
  background: rgba(7, 155, 255, 0.1);
  color: #9fd4ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
}

.rbx-auth__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #079bff;
  box-shadow: 0 0 10px rgba(7, 155, 255, 0.75);
}

.rbx-auth__gift {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(7, 155, 255, 0.22);
  background: rgba(7, 155, 255, 0.08);
  color: var(--rbx-muted);
  font-size: 0.86rem;
}

.rbx-auth__gift-ico {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.rbx-auth__gift-ico svg {
  width: 36px;
  height: 36px;
  display: block;
}

.rbx-auth__gift strong {
  color: var(--rbx-text);
  font-weight: 700;
}

.rbx-auth__heading {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.rbx-auth__heading h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--rbx-text);
}

.rbx-auth__heading p {
  margin: 0;
  color: var(--rbx-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.rbx-auth__heading p strong {
  color: var(--rbx-text);
}

.rbx-auth__phone-row {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.rbx-auth__country-wrap {
  position: relative;
  flex-shrink: 0;
}

.rbx-auth__country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 52px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--rbx-text);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.rbx-auth__country:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.rbx-auth__dial {
  white-space: nowrap;
}

.rbx-auth__input {
  min-width: 0;
  flex: 1;
  height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--rbx-text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.rbx-auth__input::placeholder {
  color: rgba(159, 178, 212, 0.65);
}

.rbx-auth__input:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(7, 155, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(7, 155, 255, 0.15);
}

.rbx-auth__input--error {
  border-color: rgba(206, 66, 87, 0.6);
}

.rbx-auth__error {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #ff8a9a;
  font-size: 0.82rem;
}

.rbx-auth__submit {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 16px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #079bff 0%, #0752ff 100%);
  box-shadow:
    0 12px 28px rgba(7, 155, 255, 0.36),
    inset 0 1px rgba(255, 255, 255, 0.16);
  transition: transform 0.2s, opacity 0.15s;
}

.rbx-auth__submit:hover:not(:disabled) {
  transform: translateY(-1px);
}

.rbx-auth__submit:active:not(:disabled) {
  transform: scale(0.98);
}

.rbx-auth__submit:disabled {
  opacity: 0.5;
  cursor: default;
}

.rbx-auth .base-country-menu {
  background: rgba(14, 22, 40, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.rbx-auth .base-code-row {
  position: relative;
  z-index: 1;
  gap: 8px;
  margin-bottom: 10px;
}

.rbx-auth .base-code-box {
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--rbx-text);
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: none;
}

.rbx-auth .base-code-box.active {
  border-color: rgba(7, 155, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(7, 155, 255, 0.15);
}

.rbx-auth .base-code-row.ok .base-code-box,
.rbx-auth .base-code-box.filled.ok {
  color: #3ddc6a;
  border-color: #3ddc6a;
}

.rbx-auth .base-code-row.err .base-code-box {
  border-color: rgba(206, 66, 87, 0.6);
}

.rbx-auth__meter {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--rbx-muted);
}

.rbx-auth__meter.ok {
  color: #3ddc6a;
  font-weight: 600;
}

.rbx-auth__meter.err {
  color: #ff8a9a;
}

.rbx-auth .base-numpad {
  position: relative;
  z-index: 1;
  margin: 4px 0 8px;
}

.rbx-auth .base-np {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--rbx-text);
}

.rbx-auth .base-np:active:not(:disabled) {
  background: rgba(7, 155, 255, 0.18);
}

.rbx-auth__code-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.rbx-auth__timer {
  color: rgba(159, 178, 212, 0.75);
  font-size: 0.82rem;
}

.rbx-auth__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  margin: -6px -4px;
  padding: 6px 4px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #9fd4ff;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s;
}

.rbx-auth__link:hover:not(:disabled) {
  color: #c4e6ff;
  background: rgba(7, 155, 255, 0.1);
}

.rbx-auth__link:disabled {
  opacity: 0.45;
  cursor: default;
}

.rbx-auth__help {
  width: 100%;
  justify-content: center;
  margin: 4px 0 8px;
}

@media (prefers-reduced-motion: reduce) {
  .rbx-auth__panel,
  .rbx-auth__shine {
    animation: none;
  }
}

.base-pane--roblox {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) 20px calc(env(safe-area-inset-bottom, 0px) + 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 32% at 50% 14%, rgba(0, 87, 255, 0.3), transparent 70%),
    radial-gradient(ellipse 60% 30% at 0% 92%, rgba(0, 78, 255, 0.22), transparent 70%),
    linear-gradient(170deg, #031027, #020a19 55%, #010817);
  animation: none;
}

.base-root.landing-theme-roblox.on-landing-screen .base-pane--roblox {
  min-height: 0;
  height: 100%;
}

.rbx-deco {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(0, 110, 255, 0.22);
  background: rgba(0, 73, 200, 0.07);
  border-radius: 30px;
  transform: rotate(-28deg);
}

.rbx-deco--a {
  width: 150px;
  height: 150px;
  left: -95px;
  top: 34%;
}

.rbx-deco--b {
  width: 170px;
  height: 170px;
  right: -110px;
  top: 7%;
}

.rbx-arc {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: 50%;
  bottom: -230px;
  width: 130%;
  height: 340px;
  transform: translateX(-50%);
  border: 1px solid rgba(0, 98, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 -20px 60px rgba(0, 76, 255, 0.12);
}

.rbx-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 0;
}

.rbx-mark-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(150px, 27svh, 250px);
}

.base-pane--roblox.rbx-phase-spin .rbx-mark-wrap {
  height: clamp(130px, 23svh, 220px);
}

.rbx-mark-wrap:before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(0, 91, 255, 0.35);
  filter: blur(46px);
}

.rbx-mark {
  position: relative;
  width: clamp(96px, 18svh, 150px);
  aspect-ratio: 1;
  transform: rotate(14deg);
  border-radius: 20%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f3f8ff, #8ec8ff 38%, #147cff);
  box-shadow:
    0 0 22px #087bff,
    0 0 70px rgba(0, 99, 255, 0.6),
    inset 0 2px 5px rgba(255, 255, 255, 0.8);
}

.rbx-mark:after {
  content: "";
  width: 32%;
  aspect-ratio: 1;
  background: #03132e;
  border-radius: 3px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.55);
}

.rbx-mark-img {
  position: relative;
  width: clamp(96px, 18svh, 150px);
  aspect-ratio: 1;
  object-fit: cover;
  transform: rotate(14deg);
  border-radius: 20%;
  box-shadow: 0 0 22px #087bff, 0 0 55px rgba(0, 99, 255, 0.5);
}

.landing-roblox-title {
  margin-top: 6px;
  font-size: clamp(30px, 8.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -1.2px;
  font-weight: 800;
  color: var(--rbx-text);
}

.landing-roblox-title span {
  color: #17a2ff;
}

.landing-roblox-sub {
  margin-top: 14px;
  max-width: 320px;
  color: var(--rbx-muted);
  font-size: clamp(16px, 4.6vw, 19px);
  line-height: 1.4;
  font-weight: 500;
}

.rbx-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.base-pane--roblox.rbx-phase-spin .rbx-panel {
  gap: 16px;
}

.rbx-prizes {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
  background: rgba(13, 34, 72, 0.72);
  border: 1px solid var(--rbx-line);
  border-radius: 26px;
  box-shadow:
    inset 0 0 28px rgba(15, 88, 220, 0.12),
    0 14px 40px rgba(0, 0, 0, 0.25);
}

.rbx-prize {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  border: 2px solid transparent;
  border-radius: 20px;
  background: rgba(5, 19, 43, 0.7);
  color: var(--rbx-text);
  font: inherit;
  min-width: 0;
  aspect-ratio: 3 / 4;
  max-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.rbx-prize-coin {
  width: 58%;
  max-width: 70px;
  aspect-ratio: 1;
  filter: drop-shadow(0 0 8px rgba(255, 202, 94, 0.25));
}

.rbx-prize-coin svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rbx-prize-amt {
  font-size: clamp(18px, 5.2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.rbx-prize.active {
  border-color: var(--rbx-sky);
  background: linear-gradient(180deg, rgba(0, 93, 255, 0.22), rgba(2, 21, 51, 0.95));
  box-shadow: 0 0 26px rgba(0, 105, 255, 0.5);
  transform: scale(1.04);
  z-index: 1;
}

.rbx-prize.active:before,
.rbx-prize.active:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
}

.rbx-prize.active:before {
  top: -12px;
  border-bottom: 11px solid var(--rbx-sky);
}

.rbx-prize.active:after {
  bottom: -12px;
  border-top: 11px solid var(--rbx-sky);
}

.rbx-roulette {
  position: relative;
  width: 100%;
  padding: 10px;
  background: rgba(13, 34, 72, 0.75);
  border: 1px solid var(--rbx-line);
  border-radius: 28px;
  box-shadow:
    inset 0 0 30px rgba(15, 88, 220, 0.12),
    0 16px 45px rgba(0, 0, 0, 0.25);
}

.rbx-viewport {
  position: relative;
  overflow: hidden;
  height: var(--rbx-ch);
  border-radius: 20px;
}

.rbx-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.rbx-card {
  box-sizing: border-box;
  flex: none;
  width: var(--rbx-cw);
  height: 100%;
  margin-right: var(--rbx-gap);
  border-radius: 20px;
  background: rgba(5, 19, 43, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.4svh, 20px);
  transition: background 0.4s, box-shadow 0.4s;
  border: 0 solid transparent;
}

.rbx-card svg {
  width: 58%;
  max-width: 70px;
  aspect-ratio: 1;
  filter: drop-shadow(0 0 8px rgba(255, 202, 94, 0.25));
}

.rbx-card .amount {
  font-size: clamp(18px, 5.2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.2px;
  font-variant-numeric: tabular-nums;
}

.rbx-card.win {
  background: linear-gradient(180deg, rgba(255, 196, 70, 0.28), rgba(2, 21, 51, 0.95));
  box-shadow: 0 0 26px rgba(255, 190, 60, 0.45);
}

.rbx-frame {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 10px;
  width: var(--rbx-cw);
  height: var(--rbx-ch);
  transform: translateX(-50%);
  border: 3px solid var(--rbx-sky);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(0, 160, 255, 0.18),
    0 0 28px rgba(0, 105, 255, 0.5),
    inset 0 0 22px rgba(0, 120, 255, 0.18);
  pointer-events: none;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.rbx-frame:before,
.rbx-frame:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
}

.rbx-frame:before {
  top: -14px;
  border-bottom: 11px solid var(--rbx-sky);
}

.rbx-frame:after {
  bottom: -14px;
  border-top: 11px solid var(--rbx-sky);
}

.rbx-roulette.won .rbx-frame {
  border-color: #ffc94d;
  box-shadow: 0 0 34px rgba(255, 190, 60, 0.65), inset 0 0 22px rgba(255, 190, 60, 0.18);
}

.rbx-roulette.won .rbx-frame:before {
  border-bottom-color: #ffc94d;
}

.rbx-roulette.won .rbx-frame:after {
  border-top-color: #ffc94d;
}

.landing-roblox-btn {
  width: 100%;
  min-height: 64px;
  border: 1px solid rgba(83, 199, 255, 0.55);
  border-radius: 24px;
  background: linear-gradient(105deg, #079bff, #0752ff 85%);
  color: #fff;
  font: inherit;
  font-size: 20px;
  font-weight: 750;
  box-shadow:
    0 12px 32px rgba(0, 89, 255, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.25);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s, transform 0.1s;
}

.landing-roblox-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.landing-roblox-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.landing-roblox-trust:empty {
  display: none;
}

/* Win overlay */
.rbx-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 6, 18, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.rbx-overlay.show {
  opacity: 1;
  visibility: visible;
}

.rbx-modal {
  position: relative;
  width: 100%;
  max-width: 360px;
  text-align: center;
  padding: 34px 24px 24px;
  border-radius: 30px;
  border: 1px solid rgba(83, 199, 255, 0.5);
  background: linear-gradient(180deg, rgba(10, 40, 92, 0.95), rgba(3, 17, 42, 0.98));
  box-shadow: 0 0 60px rgba(0, 110, 255, 0.5), inset 0 1px rgba(255, 255, 255, 0.12);
  transform: scale(0.6) translateY(30px);
  opacity: 0;
}

.rbx-overlay.show .rbx-modal {
  animation: rbxPop 0.6s cubic-bezier(0.2, 1.3, 0.4, 1) forwards;
}

@keyframes rbxPop {
  to {
    transform: none;
    opacity: 1;
  }
}

.rbx-rays {
  position: absolute;
  left: 50%;
  top: 78px;
  width: 260px;
  height: 260px;
  margin: -130px 0 0 -130px;
  border-radius: 50%;
  pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 214, 102, 0.2) 0 8deg, transparent 8deg 24deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 70%);
  mask: radial-gradient(circle, #000 0, transparent 70%);
  animation: rbxRaysSpin 12s linear infinite;
}

@keyframes rbxRaysSpin {
  to {
    transform: rotate(360deg);
  }
}

.rbx-trophy,
.rbx-win-robux {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0 auto 6px;
  animation: rbxBob 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(255, 202, 94, 0.45));
}

.rbx-win-robux svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes rbxBob {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.06);
  }
}

.rbx-modal h2 {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8fd0ff;
}

.rbx-modal-prize {
  position: relative;
  margin: 6px 0 2px;
  font-size: 60px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -1.5px;
  background: linear-gradient(180deg, #fff7d1, #ffc94d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(255, 190, 60, 0.45));
}

.rbx-modal-unit {
  position: relative;
  color: var(--rbx-muted);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 22px;
}

.rbx-modal .landing-roblox-btn {
  min-height: 60px;
  font-size: 20px;
}

#rbx-confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 30;
  pointer-events: none;
}

.base-root.landing-theme-roblox .base-btn {
  background: linear-gradient(105deg, #079bff, #0752ff 85%);
  border-radius: 24px;
}

.base-root.landing-theme-roblox .base-title span {
  color: var(--rbx-text);
}

.base-root.landing-theme-roblox .base-sub span {
  color: var(--rbx-muted);
}

.base-root.landing-theme-roblox .base-flow-badge {
  background: linear-gradient(135deg, rgba(7, 155, 255, 0.22), rgba(7, 82, 255, 0.14));
  border-color: rgba(53, 119, 255, 0.38);
  color: #dbeafe;
}

@media (min-width: 600px) {
  .base-root.landing-theme-roblox.on-landing-screen {
    display: grid;
    place-items: center;
    padding: 24px;
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow: auto;
  }

  .base-root.landing-theme-roblox.on-landing-screen .base-app {
    max-width: 480px;
    height: auto;
  }

  .base-root.landing-theme-roblox.on-landing-screen .base-card {
    height: auto;
    border: 1px solid rgba(74, 139, 255, 0.28);
    border-radius: 36px;
    overflow: hidden;
  }

  .base-root.landing-theme-roblox.on-landing-screen .base-pane--roblox {
    min-height: 820px;
    height: auto;
    border-radius: 36px;
  }
}

/* Roblox: синий акцент на всех экранах флоу */
.base-root.landing-theme-roblox {
  --base-af: #079bff;
  --base-at: #0752ff;
}

.base-root.landing-theme-roblox .base-btn,
.base-root.landing-theme-roblox .base-btn-lg,
.base-root.landing-theme-roblox .need2fa-cta {
  background: linear-gradient(105deg, #079bff, #0752ff 85%) !important;
  color: #fff !important;
  border-radius: 24px;
}

.base-root.landing-theme-roblox .base-pf,
.base-root.landing-theme-roblox .base-pw-inp,
.base-root.landing-theme-roblox .base-code-box.active {
  border-color: rgba(7, 155, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(7, 155, 255, 0.12);
}

.base-root.landing-theme-roblox .base-dot.on,
.base-root.landing-theme-roblox .base-dot.done {
  background: #079bff;
}

.base-root.landing-theme-roblox .base-resend-btn {
  color: #12aaff;
}

.need2fa-skin-roblox .need2fa-inner {
  border: 1px solid rgba(53, 119, 255, 0.45);
  background: linear-gradient(180deg, rgba(10, 40, 92, 0.95), rgba(3, 17, 42, 0.98));
  box-shadow: 0 0 48px rgba(0, 110, 255, 0.35);
}

.need2fa-skin-roblox .need2fa-num {
  background: linear-gradient(105deg, #079bff, #0752ff);
  color: #fff;
}

.need2fa-skin-roblox .need2fa-cta {
  background: linear-gradient(105deg, #079bff, #0752ff 85%);
  border-radius: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .rbx-rays,
  .rbx-trophy,
  .rbx-win-robux {
    animation: none;
  }
}
