/* Theme base and shared controls */
:root {
  --fuchsia-500: #d946ef;
  --fuchsia-600: #c026d3;
  --pink-600: #db2777;
  --neutral-950: #0a0a0a;
  --neutral-900: #0f0f0f;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --teal-500: #14b8a6;
  --teal-600: #0c7a89;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --purple-500: #8b5cf6;
  --purple-600: #7e22ce;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --cyan-500: #06b6d4;
}

.c-layout {
  min-height: 100vh;
  background-color: hsl(292, 71%, 5%);
  color: white;
}

.c-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::-moz-selection {
  background: rgba(217, 70, 239, 0.4);
}

::selection {
  background: rgba(217, 70, 239, 0.4);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: transparent;
}

.btn-promotions {
  position: relative;
  display: inline-flex;
  margin-left: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background-color: hsl(0, 100%, 63%);
  color: white;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}
@media (max-width: 560px) {
  .btn-promotions {
    display: none;
  }
}

.btn-wheel-of-fortune {
  position: relative;
  display: inline-flex;
  margin-left: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background-color: hsl(278, 100%, 63%);
  color: white;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}

.btn-gradient,
.btn-secondary {
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn-gradient {
  background-image: linear-gradient(120deg, var(--fuchsia-600), var(--pink-600));
  color: white;
}
.btn-gradient:hover {
  opacity: 0.9;
}
@media (min-width: 640px) {
  .btn-gradient {
    padding: 0.5rem 2.5rem;
  }
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

/* Global layout scaffolding */
:root {
  --sidebar-width: clamp(260px, 20vw, 320px);
  --sidebar-collapsed-width: 76px;
}

.c-grid {
  display: block;
  padding: 0 0.75rem;
  transition: padding-left 220ms ease;
}
@media (min-width: 765px) {
  .c-grid {
    margin-left: calc(var(--sidebar-collapsed-width) + 1.5rem);
  }
}
@media (min-width: 765px) {
  .c-grid.sidebar-expanded {
    margin-left: calc(var(--sidebar-collapsed-width) + 1.5rem);
  }
}

.c-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .c-main {
    padding-left: 0.25rem;
  }
}

@media (min-width: 765px) {
  .c-footer {
    padding-left: calc(var(--sidebar-width) + 1.5rem);
  }
}

/* Left sidebar interactions */
.c-sidebar {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  bottom: 0.5rem;
  z-index: 70;
  display: none;
  pointer-events: none;
}
@media (min-width: 765px) {
  .c-sidebar {
    display: block;
  }
}
.c-sidebar .sidebar-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: visible;
  transition: width 220ms ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  box-shadow: 0 28px 60px -40px rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}
.c-sidebar nav {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.75);
  padding: 1rem;
}
.c-sidebar nav ul {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  margin: 0;
}
.c-sidebar nav a {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 0.75rem;
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 200ms ease;
}
.c-sidebar nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.c-sidebar nav a svg {
  flex-shrink: 0;
}
.c-sidebar nav a span {
  margin-left: 0;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: all 200ms;
}
.c-sidebar .sidebar-toggle {
  position: absolute;
  top: 20%;
  left: 100%;
  transform: translateX(-50%);
  height: 44px;
  width: 44px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.08);
  color: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
  clip-path: inset(0 0 0 50%);
}
.c-sidebar .sidebar-toggle:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
}
.c-sidebar .sidebar-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}
.c-sidebar .sidebar-toggle svg {
  transition: transform 200ms ease;
}
.c-sidebar .sidebar-bonus {
  margin-top: auto;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(217, 70, 239, 0.25), rgba(13, 148, 136, 0.25));
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.c-sidebar .sidebar-bonus__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
}
.c-sidebar .sidebar-bonus__value {
  font-weight: 700;
  font-size: 1.25rem;
}
.c-sidebar.is-open {
  width: var(--sidebar-width);
}
.c-sidebar.is-open .sidebar-container {
  width: 100%;
}
.c-sidebar.is-open nav a span {
  margin-left: 0.75rem;
  width: auto;
  opacity: 1;
}
.c-sidebar.is-open .sidebar-toggle {
  clip-path: inset(0 0 0 0);
}
.c-sidebar.is-open .sidebar-toggle svg {
  transform: rotate(180deg);
}
.c-sidebar.is-open .sidebar-bonus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.is-immersive-game .c-sidebar {
  display: none !important;
}

/* Hero carousel */
.hero-carousel {
  margin-top: 1rem;
  overflow: hidden;
  --slides-per-view: 1;
  --slide-gap: clamp(0.85rem, 2vw, 1.25rem);
  position: relative;
}
.hero-carousel .carousel-container {
  position: relative;
  overflow: hidden;
}
.hero-carousel .carousel-track {
  height: 35rem;
  display: flex;
  align-items: stretch;
  gap: var(--slide-gap);
  padding-block: clamp(0.75rem, 1.5vw, 1.25rem);
  transform: translateX(0);
  will-change: transform;
  cursor: grab;
  touch-action: pan-y;
}
.hero-carousel .carousel-track.is-animating {
  transition: transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-carousel .carousel-track.is-dragging {
  cursor: grabbing;
  transition: none;
}
.hero-carousel .carousel-slide {
  flex: 0 0 calc(100% / var(--slides-per-view));
  max-width: calc(100% / var(--slides-per-view));
  display: flex;
  align-items: stretch;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.hero-carousel .carousel-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  border-radius: 1.1rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: clamp(11rem, 18vw, 14rem);
  box-shadow: 0 24px 60px -40px rgba(15, 23, 42, 0.85);
  position: relative;
  overflow: hidden;
}
.hero-carousel .carousel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.18), transparent 55%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 55%);
  opacity: 0.65;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-carousel .carousel-card__badge {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.35);
  position: relative;
  z-index: 1;
}
.hero-carousel .carousel-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.hero-carousel .carousel-card__title {
  font-size: clamp(1.35rem, 1.5vw + 1rem, 2rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}
.hero-carousel .carousel-card__subtitle {
  font-size: clamp(0.9rem, 0.7vw + 0.75rem, 1.05rem);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 24ch;
}
.hero-carousel .carousel-card__cta {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  background-color: rgba(15, 23, 42, 0.35);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding-inline: 1.25rem;
}
.hero-carousel .carousel-card__cta:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(15, 23, 42, 0.55);
}
.hero-carousel .dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  top: -1.9rem;
}
.hero-carousel .dots button {
  height: 0.2rem;
  width: 2rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
}
.hero-carousel .dots button.active {
  background-color: white;
}
.hero-carousel .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.hero-carousel .carousel-nav:hover, .hero-carousel .carousel-nav:focus {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.55);
}
.hero-carousel .carousel-nav--prev {
  left: clamp(0.5rem, 2vw, 1.25rem);
}
.hero-carousel .carousel-nav--next {
  right: clamp(0.5rem, 2vw, 1.25rem);
}
@media (max-width: 768px) {
  .hero-carousel .carousel-nav {
    opacity: 1;
    pointer-events: auto;
  }
}
.hero-carousel:hover .carousel-nav, .hero-carousel:focus-within .carousel-nav, .hero-carousel.is-interacting .carousel-nav {
  opacity: 1;
  pointer-events: auto;
}

.live-experience {
  margin: 28px 0 36px;
  position: relative;
  z-index: 1;
}
.live-experience__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  grid-template-areas: "primary secondary" "primary tertiary" "primary quaternary";
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 1200px) {
  .live-experience__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "primary" "secondary" "tertiary" "quaternary";
  }
}
.live-experience__primary {
  grid-area: primary;
}
@media (max-width: 1200px) {
  .live-experience__primary {
    grid-column: 1/-1;
  }
}
.live-experience__secondary {
  grid-area: secondary;
}
.live-experience__tertiary {
  grid-area: tertiary;
}
.live-experience__quaternary {
  grid-area: quaternary;
}

.live-banner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 30px;
  background: radial-gradient(140% 120% at 15% 10%, rgba(255, 189, 105, 0.35), transparent 58%), linear-gradient(135deg, rgba(255, 112, 76, 0.92), rgba(118, 61, 255, 0.92));
  box-shadow: 0 25px 40px rgba(15, 15, 40, 0.35);
  color: #fff;
}
@media (max-width: 768px) {
  .live-banner {
    border-radius: 20px;
    padding: 24px;
  }
}
.live-banner__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(65% 60% at 85% 20%, rgba(255, 255, 255, 0.28), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.75;
}
.live-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.live-banner__badges {
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-banner__title {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.live-banner__description {
  font-size: 16px;
  line-height: 1.55;
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}
.live-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.live-banner__meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
}
@media (max-width: 768px) {
  .live-banner__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
}
.live-badge--accent {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.live-badge--timer {
  background: rgba(6, 21, 54, 0.35);
  color: rgba(255, 255, 255, 0.92);
}

.btn-secondary--ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-secondary--ghost:hover, .btn-secondary--ghost:focus {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.live-progress {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.live-progress__bar {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffe082, #ff6f91, #7c4dff);
  transition: width 0.15s ease;
}

.live-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.live-indicators__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.live-indicators__dot.is-active {
  transform: scale(1.25);
  background: #fff;
}
.live-indicators__dot:hover, .live-indicators__dot:focus {
  background: rgba(255, 255, 255, 0.6);
}

.live-feed {
  border-radius: 22px;
  padding: 22px;
  background: rgba(12, 16, 32, 0.78);
  border: 1px solid rgba(77, 97, 180, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 32px rgba(6, 12, 32, 0.32);
  color: #e8ecff;
  backdrop-filter: blur(12px);
}
.live-feed__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.live-feed__pulse {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(232, 236, 255, 0.78);
}
.live-feed__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #61ffa8;
  box-shadow: 0 0 12px rgba(97, 255, 168, 0.8);
  animation: live-feed-pulse 1.6s infinite;
}
.live-feed__toggle {
  border: 1px solid rgba(154, 168, 255, 0.36);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: transparent;
  color: rgba(232, 236, 255, 0.88);
  transition: all 0.2s ease;
}
.live-feed__toggle:hover, .live-feed__toggle:focus {
  border-color: rgba(154, 168, 255, 0.7);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(154, 168, 255, 0.12);
}
.live-feed__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 340px;
  overflow: hidden;
}
.live-feed__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(28, 36, 68, 0.55);
  box-shadow: 0 12px 22px rgba(6, 12, 32, 0.18);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.live-feed__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.live-feed__item.is-pending {
  opacity: 0;
  transform: translateY(-16px);
}
.live-feed__item.is-leaving {
  opacity: 0;
  transform: translateY(20px);
}
.live-feed__item--win {
  border-left: 3px solid rgba(139, 241, 166, 0.9);
}
.live-feed__item--bonus {
  border-left: 3px solid rgba(255, 215, 141, 0.9);
}
.live-feed__item--record {
  border-left: 3px solid rgba(255, 139, 185, 0.9);
}
.live-feed__item--cashback {
  border-left: 3px solid rgba(139, 191, 255, 0.9);
}
.live-feed__item--tournament {
  border-left: 3px solid rgba(191, 152, 255, 0.9);
}
.live-feed__item--chat {
  border-left: 3px solid rgba(255, 255, 255, 0.5);
}
.live-feed__avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(121, 155, 255, 0.72), rgba(88, 225, 255, 0.72));
  font-weight: 700;
  color: rgba(12, 16, 32, 0.92);
  text-transform: uppercase;
  font-size: 16px;
}
.live-feed__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.live-feed__text {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
}
.live-feed__text strong {
  color: #fff;
  font-weight: 700;
}
.live-feed__text span {
  color: rgba(232, 236, 255, 0.8);
}
.live-feed__time {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(154, 168, 255, 0.65);
}

@keyframes live-feed-pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}
.live-stats {
  display: grid;
  gap: 14px;
}
@media (max-width: 768px) {
  .live-stats {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}
.live-stats__item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(14, 20, 48, 0.78);
  border: 1px solid rgba(77, 97, 180, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.live-stats__label {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(154, 168, 255, 0.78);
}
.live-stats__value {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  transition: transform 0.2s ease;
}
.live-stats__value.is-pulsing {
  transform: scale(1.04);
}
.live-stats__delta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.live-stats__delta.is-positive {
  color: rgba(134, 255, 193, 0.86);
}
.live-stats__delta.is-negative {
  color: rgba(255, 157, 157, 0.86);
}

.live-missions {
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(160deg, rgba(18, 22, 45, 0.9), rgba(29, 34, 66, 0.75));
  border: 1px solid rgba(80, 90, 180, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 16px 28px rgba(5, 10, 28, 0.28);
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #edf0ff;
}
.live-missions__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.live-missions__title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(232, 236, 255, 0.86);
}
.live-missions__shuffle {
  border: 1px solid rgba(140, 155, 255, 0.36);
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(140, 155, 255, 0.12);
  color: rgba(232, 236, 255, 0.88);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.live-missions__shuffle:hover, .live-missions__shuffle:focus {
  border-color: rgba(140, 155, 255, 0.66);
  background: rgba(140, 155, 255, 0.22);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(98, 116, 255, 0.18);
}
.live-missions__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.live-missions__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: stretch;
  border-radius: 18px;
  background: rgba(20, 27, 54, 0.78);
  border: 1px solid rgba(90, 105, 190, 0.28);
  box-shadow: 0 14px 24px rgba(5, 10, 28, 0.24);
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.live-missions__item.is-updating, .live-missions__item.is-pulsing {
  transform: translateY(-4px);
  box-shadow: 0 20px 32px rgba(35, 45, 110, 0.46);
}
.live-missions__item.is-complete {
  border-color: rgba(117, 255, 186, 0.6);
  background: linear-gradient(135deg, rgba(37, 58, 88, 0.88), rgba(54, 88, 112, 0.78));
}
.live-missions__item.is-complete .live-missions__badge {
  background: rgba(117, 255, 186, 0.18);
  color: #8fffc9;
}
.live-missions__item.is-complete .live-missions__progress-bar {
  background: linear-gradient(90deg, #8fffc9, #5dffd9);
}
.live-missions__item.is-claimed {
  opacity: 0.85;
  border-color: rgba(180, 140, 255, 0.4);
}
.live-missions__item.is-claimed .live-missions__badge {
  background: rgba(180, 140, 255, 0.16);
  color: #d6c4ff;
}
.live-missions__item.is-claimed .live-missions__progress-bar {
  background: linear-gradient(90deg, #d6c4ff, #88a9ff);
}
@media (max-width: 768px) {
  .live-missions__item {
    grid-template-columns: 1fr;
    padding: 14px;
  }
}
.live-missions__badge {
  align-self: flex-start;
  border-radius: 14px;
  background: rgba(140, 155, 255, 0.16);
  color: rgba(210, 220, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 12px;
  display: inline-flex;
  justify-content: center;
  text-align: center;
}
@media (max-width: 768px) {
  .live-missions__badge {
    width: -moz-max-content;
    width: max-content;
    margin-bottom: 6px;
  }
}
.live-missions__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.live-missions__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.live-missions__name {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.live-missions__reward {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(142, 205, 255, 0.9);
  background: rgba(82, 138, 255, 0.18);
  border-radius: 999px;
  padding: 6px 12px;
}
.live-missions__description {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(224, 228, 255, 0.8);
}
.live-missions__progress {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(84, 94, 150, 0.4);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.live-missions__progress-bar {
  position: absolute;
  inset: 0;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, #9db0ff, #7cd6ff);
  transition: width 0.28s ease;
}
.live-missions__progress-text {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 236, 255, 0.78);
  margin-left: auto;
  padding-left: 12px;
}
.live-missions__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.live-missions__status {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(184, 198, 255, 0.7);
}
.live-missions .btn-secondary {
  border: 1px solid rgba(148, 162, 255, 0.4);
  color: rgba(232, 236, 255, 0.92);
  background: rgba(148, 162, 255, 0.14);
  transition: all 0.2s ease;
}
.live-missions .btn-secondary:hover, .live-missions .btn-secondary:focus {
  border-color: rgba(148, 162, 255, 0.7);
  background: rgba(148, 162, 255, 0.24);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(148, 162, 255, 0.18);
}
.live-missions .btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* Category strip, search panel, and quick filters */
.categories {
  margin-top: 0.5rem;
}
.categories .categories-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.categories .search-panel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.categories .search-panel__input {
  flex: 1 1 150px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(17, 24, 39, 0.7);
  padding: 0.6rem 1rem;
}
.categories .search-panel__input input {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  color: inherit;
  outline: none;
  font-size: 0.95rem;
}
.categories .search-panel__input input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.categories .search-panel__input input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.categories .search-panel__icon {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.55);
}
.categories .search-panel__providers {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(244, 63, 94, 0.16));
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
}
.categories .search-panel__providers [data-provider-button-label] {
  text-wrap: nowrap;
}
.categories .search-panel__providers:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.24), rgba(244, 63, 94, 0.22));
}
.categories .search-panel__providers-icon {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.65);
}
.categories .scroll-row {
  margin-top: 1rem;
}
.categories .quick-tiles {
  display: inline-flex;
  gap: 0.75rem;
  min-width: -moz-max-content;
  min-width: max-content;
  align-items: stretch;
  padding: 0.15rem 0;
}
.categories .quick-tiles__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 5.5rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
}
.categories .quick-tiles__item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
}
.categories .quick-tiles__item.is-active {
  border-color: rgba(236, 72, 153, 0.65);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(59, 130, 246, 0.14));
  color: #fff;
}
.categories .quick-tiles__icon {
  display: inline-flex;
  padding: 0.45rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}
.categories .quick-tiles__label {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}
.categories button {
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  cursor: pointer;
  transition: background-color 200ms;
}
.categories button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.categories button.active {
  background-color: var(--fuchsia-600);
  border-color: var(--fuchsia-500);
}

.scroll-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.scroll-row__viewport {
  flex: 1 1 auto;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.scroll-row__viewport::-webkit-scrollbar {
  display: none;
}
.scroll-row__content {
  display: inline-flex;
  align-items: stretch;
  gap: 0.75rem;
  min-width: -moz-max-content;
  min-width: max-content;
}
.scroll-row__arrow {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(255, 255, 255, 0.75);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
  opacity: 0;
  pointer-events: none;
}
.scroll-row__arrow:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(99, 102, 241, 0.24);
}
.scroll-row__arrow.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
@media (max-width: 640px) {
  .scroll-row__arrow__arrow, .scroll-row__arrow__fade {
    display: none;
  }
}
.scroll-row__arrow.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-row__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42px;
  pointer-events: none;
  transition: opacity 180ms ease;
  opacity: 0;
}
.scroll-row__fade--start {
  left: 40px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, transparent 100%);
}
.scroll-row__fade--end {
  right: 40px;
  background: linear-gradient(270deg, rgba(15, 23, 42, 0.92) 0%, transparent 100%);
}
.scroll-row__fade.is-visible {
  opacity: 1;
}
.scroll-row--compact {
  width: 100%;
  gap: 0.6rem;
}
.scroll-row--compact .scroll-row__content {
  gap: 0.6rem;
}
.scroll-row--compact .scroll-row__arrow {
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
}
.scroll-row--compact .scroll-row__fade--start {
  left: 38px;
}
.scroll-row--compact .scroll-row__fade--end {
  right: 38px;
}

/* Provider badges */
.providers {
  margin-top: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 1rem;
}
.providers .providers-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.providers .providers-strip__item {
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  background-color: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.promotions-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.promotions-page__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .promotions-page__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.promotions-page__title {
  margin: 0;
  font-size: clamp(1.75rem, 1.25vw + 1.2rem, 2.25rem);
  font-weight: 700;
}

.promotions-page__subtitle {
  margin: 0.35rem 0 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.7);
}

.promotions-page__back {
  align-self: stretch;
}
@media (min-width: 640px) {
  .promotions-page__back {
    align-self: auto;
  }
}

.promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.promotion-card {
  display: flex;
  flex-direction: column;
  background: rgba(15, 1, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.promotion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.promotion-card__media {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, #7c3aed 0%, #2dd4bf 100%);
}
.promotion-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.promotion-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
}

.promotion-card__flag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  border-radius: 999px;
  font-weight: 700;
}

.promotion-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.promotion-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.promotion-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.promotion-card__subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  min-height: 44px;
}

.promotion-card__cta {
  align-self: flex-start;
  margin-top: auto;
}

.promotion-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.modal-dialog--promotions {
  max-width: 960px;
}

.modal-dialog--promotion-detail {
  max-width: 960px;
}

.modal-body--promotion-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.promotion-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
@media (min-width: 768px) {
  .promotion-detail {
    grid-template-columns: 320px minmax(0, 1fr);
  }
}

.promotion-detail__media {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb 0%, #22d3ee 100%);
}
.promotion-detail__media.hidden {
  display: none;
}
.promotion-detail__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.promotion-detail__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promotion-detail__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.promotion-detail__badge,
.promotion-detail__new {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.promotion-detail__badge.hidden,
.promotion-detail__new.hidden {
  display: none;
}

.promotion-detail__badge {
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6;
}

.promotion-detail__new {
  background: rgba(34, 197, 94, 0.18);
  color: #34d399;
}

.promotion-detail__title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.promotion-detail__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.promotion-detail__date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.promotion-detail__date.hidden {
  display: none;
}

.promotion-detail__bonus {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.promotion-detail__tag,
.promotion-detail__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 600;
}

.promotion-detail__chip-description {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.promotion-detail__steps {
  display: grid;
  gap: 12px;
}

.promotion-detail__step {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px 14px;
}

.promotion-detail__step-index {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #bfdbfe;
}

.promotion-detail__step-body h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #fff;
}

.promotion-detail__step-body p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.promotion-detail__rules {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.promotion-detail__rules li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.promotion-detail__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Game grid and cards */
.game-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 1280px) {
  .game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.game-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: transform 200ms;
}
.game-card:hover {
  transform: translateY(-2px);
}
.game-card__art {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #1e293b, #0f172a);
}
.game-card__art img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.game-page {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.game-page__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 18, 32, 0.78);
  box-shadow: 0 24px 60px -50px rgba(15, 23, 42, 0.85);
}
.game-page__panel--bottom {
  margin-bottom: 0.5rem;
}
@media (max-width: 640px) {
  .game-page__panel {
    flex-direction: column;
    align-items: stretch;
  }
}

.game-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.game-breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.game-breadcrumbs a:hover {
  color: #fff;
}
.game-breadcrumbs svg {
  width: 14px;
  height: 14px;
  opacity: 0.4;
}
.game-breadcrumbs span {
  color: #fff;
  font-weight: 600;
}

.game-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.game-actions--secondary {
  justify-content: center;
}

.game-action {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.game-action:hover {
  background: rgba(236, 72, 153, 0.18);
  border-color: rgba(236, 72, 153, 0.4);
  transform: translateY(-1px);
}
.game-action.is-active {
  background: rgba(236, 72, 153, 0.28);
  border-color: rgba(236, 72, 153, 0.5);
  color: #fff;
  box-shadow: 0 16px 32px -26px rgba(236, 72, 153, 0.8);
}
.game-action svg {
  width: 18px;
  height: 18px;
}

.game-page__viewport {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.92));
  padding: clamp(1rem, 3vw, 1.75rem);
}

.game-shell {
  position: relative;
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.game-shell__surface {
  width: 100%;
}

.game-shell__placeholder,
.game-shell__frame,
.game-shell__error {
  width: 100%;
  height: clamp(320px, 65vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.game-shell__placeholder {
  position: relative;
  color: rgba(255, 255, 255, 0.6);
}
.game-shell__placeholder .skeleton-banner {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  background: linear-gradient(120deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.65));
  overflow: hidden;
}
.game-shell__placeholder .skeleton-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  animation: skeleton-glow 1.6s ease-in-out infinite;
}

.game-shell__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 1.1rem;
}

.game-shell__error {
  color: rgba(248, 113, 113, 0.9);
  font-weight: 600;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
  border-radius: 1.1rem;
}

@keyframes skeleton-glow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.is-immersive-game .c-header,
.is-immersive-game .c-footer,
.is-immersive-game .c-sidebar,
.is-immersive-game [data-sidebar-toggle],
.is-immersive-game [data-drawer-open],
.is-immersive-game [data-drawer] {
  display: none !important;
}
.is-immersive-game .c-grid {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) !important;
  padding: clamp(0.5rem, 2vw, 1.5rem);
  margin: 0 auto;
}
.is-immersive-game .game-page {
  width: min(80vw, 1400px);
  margin: 0 auto;
}
.is-immersive-game .game-page__viewport {
  padding: clamp(1rem, 2vw, 2rem);
}
.is-immersive-game .game-shell__placeholder,
.is-immersive-game .game-shell__frame,
.is-immersive-game .game-shell__error {
  height: 80vh;
}

/* Footer layout */
.c-footer {
  margin-top: 2rem;
  padding: 3rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.c-footer .footer-columns {
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.c-footer .footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.c-footer .footer-badges span {
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.85rem;
  background-color: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
}
.c-footer .footer-bottom {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile drawer */
.c-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}
.c-drawer.open {
  display: block;
}
.c-drawer .drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(4px);
}
.c-drawer .drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 90vw);
  background-color: rgba(10, 10, 10, 0.95);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.5rem;
}
.c-drawer .drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.c-drawer .drawer-close {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}
.c-drawer .drawer-nav {
  display: grid;
  gap: 0.75rem;
}
.c-drawer .drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.05);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

/* Modal windows */
.c-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 70;
}
.c-modal.open {
  display: flex;
  background-color: rgba(0, 0, 0, 0.5);
}
.c-modal .modal-dialog {
  max-height: 92vh;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgb(12, 10, 16);
  box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  z-index: 101;
  pointer-events: auto;
  overflow: auto;
}
.c-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 0;
}
.c-modal .modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.c-modal .modal-close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.c-modal .modal-close:hover {
  opacity: 0.8;
}
.c-modal .modal-body {
  padding: 1.25rem 1.5rem;
  display: grid;
  gap: 1.25rem;
}
.c-modal .modal-body label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.c-modal .modal-body label span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.c-modal .modal-body input[type=text],
.c-modal .modal-body input[type=email],
.c-modal .modal-body input[type=password] {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  outline: none;
}
.c-modal .modal-body input[type=text]:focus,
.c-modal .modal-body input[type=email]:focus,
.c-modal .modal-body input[type=password]:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}
.c-modal .modal-body input[type=text]::-moz-placeholder, .c-modal .modal-body input[type=email]::-moz-placeholder, .c-modal .modal-body input[type=password]::-moz-placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.c-modal .modal-body input[type=text]::placeholder,
.c-modal .modal-body input[type=email]::placeholder,
.c-modal .modal-body input[type=password]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.c-modal .modal-body .input-with-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.c-modal .modal-body .input-with-button input {
  flex: 1;
}
.c-modal .modal-body .input-with-button .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 0.8rem;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.c-modal .modal-body .input-with-button .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}
.c-modal .modal-body .input-with-button .btn-secondary:active {
  background: rgba(255, 255, 255, 0.2);
}
.c-modal .modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem;
}
.c-modal .modal-actions .btn-gradient {
  flex: 1;
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 0.9rem;
  padding: 0.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.c-modal .modal-actions .btn-gradient:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.c-modal .modal-actions .btn-gradient:active {
  transform: translateY(0);
}
.c-modal .modal-actions .btn-secondary {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 0.9rem;
  padding: 0.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.c-modal .modal-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.modal-dialog--providers {
  width: min(680px, 92vw);
  max-height: min(80vh, 720px);
}

.modal-dialog--cashier {
  width: min(940px, 95vw);
  max-height: min(88vh, 860px);
}

.modal-body--providers {
  padding: 1.5rem;
  flex: 1 1 auto;
  overflow-y: auto;
}

.modal-body--cashier {
  padding: 1.5rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.cashier-modal {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.cashier-modal__content {
  flex: 1 1 auto;
  min-height: 0;
}

.cashier-modal__scroller {
  height: 100%;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.cashier-modal__scroller::-webkit-scrollbar {
  width: 6px;
}

.cashier-modal__scroller::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

@media (max-width: 768px) {
  .cashier-modal__header {
    flex-direction: column;
    align-items: stretch;
  }
  .modal-dialog--cashier {
    max-height: 95vh;
  }
}
.provider-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.provider-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease, transform 200ms ease;
}
.provider-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}
.provider-card__image {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
}
.provider-card__image img {
  width: 64px;
  height: 64px;
  -o-object-fit: contain;
     object-fit: contain;
}
.provider-card__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}
.provider-card.provider--active {
  border-color: rgba(236, 72, 153, 0.7);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(99, 102, 241, 0.16));
  color: #fff;
}

/* Profile page */
.profile-page {
  padding: clamp(1.5rem, 4vw, 3rem) 1.5rem 3rem;
  color: #fff;
}
.profile-page__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.profile-page__grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.profile-page__grid--main {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.profile-page__full {
  grid-column: 1/-1;
}

.profile-card {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  box-shadow: 0 28px 60px -44px rgba(15, 23, 42, 0.85);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.profile-card--user {
  gap: 1.25rem;
}
.profile-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.profile-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}
.profile-card__subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.profile-card__user {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.profile-card__avatar {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(6, 182, 212, 0.6);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.35);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.6);
}
.profile-card__avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.profile-card__identity {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.profile-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.profile-card__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
.profile-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.profile-card__divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.2), rgba(14, 165, 233, 0.2));
  margin: 0.25rem 0 0.5rem;
}
.profile-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profile-action {
  flex: 1 1 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
  border: 1px solid transparent;
}
.profile-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -18px rgba(236, 72, 153, 0.7);
}
.profile-action--primary {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.95), rgba(249, 115, 22, 0.9));
  border-color: rgba(236, 72, 153, 0.6);
  color: #fff;
}
.profile-action--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.profile-action--secondary:hover {
  box-shadow: 0 10px 24px -18px rgba(59, 130, 246, 0.65);
}
.profile-action--outline {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.25);
  color: rgba(224, 242, 254, 0.9);
}
.profile-action--sm {
  height: 40px;
  font-size: 0.8rem;
  padding: 0 1rem;
  flex: 0 0 auto;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.profile-balance {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.profile-balance__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.profile-balance__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.profile-balance__value {
  font-size: 1rem;
  font-weight: 600;
}

.profile-progress {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.profile-progress__bar {
  width: 100%;
  height: 12px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.profile-progress__bar span {
  display: block;
  height: 100%;
  width: var(--progress-value, 0%);
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.85), rgba(236, 72, 153, 0.85));
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.4);
  transition: width 300ms ease;
}
.profile-progress__meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}
.profile-progress__meta strong {
  color: #fff;
}

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

.profile-stat {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.profile-stat__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.profile-stat__value {
  font-size: 1.1rem;
  font-weight: 700;
}

.profile-empty {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.profile-table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}
.profile-table td {
  padding: 0.6rem 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.profile-table tr:last-child td {
  border-bottom: none;
}
.profile-table__amount {
  font-weight: 600;
}
.profile-table__amount--positive {
  color: rgba(34, 211, 238, 0.9);
}
.profile-table__amount--negative {
  color: rgba(244, 114, 182, 0.9);
}

.profile-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 200ms ease;
}
.profile-contact:hover {
  color: #fff;
}
.profile-contact svg {
  width: 16px;
  height: 16px;
}

.profile-switch {
  display: inline-flex;
  padding: 0.3rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  gap: 0.3rem;
}
.profile-switch__option {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 0.7rem;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}
.profile-switch__option.is-active {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.85), rgba(99, 102, 241, 0.7));
  color: #fff;
}

.profile-list {
  display: grid;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}
.profile-list__item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.profile-list__item span {
  color: rgba(34, 211, 238, 0.85);
  font-weight: 600;
}

@media (max-width: 640px) {
  .profile-action {
    flex: 1 1 100%;
  }
  .profile-card {
    padding: 1.1rem;
  }
}
/* Wallet page */
.wallet-page {
  padding: clamp(1.5rem, 3vw, 3rem) 1.5rem 3rem;
  color: #fff;
}
.wallet-page__container {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.wallet-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
}
.wallet-page__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.wallet-page__subtitle {
  max-width: 520px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
.wallet-page__balance {
  padding: 1.15rem 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(236, 72, 153, 0.25));
  border: 1px solid rgba(236, 72, 153, 0.25);
  box-shadow: 0 24px 60px -42px rgba(129, 140, 248, 0.6);
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: right;
}
.wallet-page__balance-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}
.wallet-page__balance-value {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.wallet-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.wallet-highlight__card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(14, 165, 233, 0.18));
  border: 1px solid rgba(236, 72, 153, 0.25);
  box-shadow: 0 32px 60px -48px rgba(236, 72, 153, 0.6);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.wallet-highlight__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.4), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}
.wallet-highlight__card > * {
  position: relative;
  z-index: 1;
}
.wallet-highlight__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(236, 72, 153, 0.16);
  border: 1px solid rgba(236, 72, 153, 0.35);
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wallet-highlight__title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600;
}
.wallet-highlight__desc {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 0.95rem;
}

.wallet-tabs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 0.5rem;
  width: -moz-fit-content;
  width: fit-content;
}
.wallet-tabs__button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.wallet-tabs__button.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.48), rgba(236, 72, 153, 0.48));
  box-shadow: 0 18px 36px -28px rgba(129, 140, 248, 0.8);
}
.wallet-tabs__button:hover {
  color: #fff;
  background: rgba(99, 102, 241, 0.28);
}

.wallet-layout {
  display: grid;
  grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 1.75rem);
}
.wallet-layout--history {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 992px) {
  .wallet-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.wallet-methods {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: -moz-fit-content;
  height: fit-content;
}
.wallet-methods__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wallet-methods__title {
  font-size: 1rem;
  font-weight: 600;
}
.wallet-methods__subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.25rem;
}
.wallet-methods__toggle {
  display: none;
  padding: 0.45rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
@media (max-width: 768px) {
  .wallet-methods__toggle {
    display: inline-flex;
    align-self: flex-start;
  }
}
.wallet-methods__grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.wallet-methods__grid::-webkit-scrollbar {
  width: 6px;
}
.wallet-methods__grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.wallet-methods__grid.show {
  max-height: none;
}

.method_block_pay {
  border-radius: 1.1rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.method_block_pay:hover {
  background: rgba(236, 72, 153, 0.08);
  border-color: rgba(236, 72, 153, 0.28);
}
.method_block_pay.active {
  background: rgba(236, 72, 153, 0.16);
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: 0 22px 40px -36px rgba(236, 72, 153, 0.9);
}

.wallet-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.wallet-method__icon {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.wallet-method__icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.wallet-method__info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.wallet-method__name {
  font-weight: 600;
  font-size: 0.95rem;
}
.wallet-method__meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.wallet-panel {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.3rem, 3vw, 1.7rem);
  min-height: 100%;
}
.wallet-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.wallet-panel__title {
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 600;
}
.wallet-panel__subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.3rem;
}
.wallet-panel__limits {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}
.wallet-panel__limits strong {
  color: #fff;
}

.wallet-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.wallet-form__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.5rem;
}
.wallet-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}
.wallet-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wallet-input {
  position: relative;
}
.wallet-input__field {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 16, 32, 0.78);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wallet-input__field:focus {
  outline: none;
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.18);
}
.wallet-input__suffix {
  position: absolute;
  top: 50%;
  right: 1.1rem;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.wallet-quick {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.wallet-quick__btn {
  flex: 0 0 auto;
  min-width: 64px;
  padding: 0.65rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.wallet-quick__btn:hover {
  background: rgba(236, 72, 153, 0.2);
  border-color: rgba(236, 72, 153, 0.45);
  transform: translateY(-1px);
}

.wallet-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.wallet-summary__item {
  font-size: 0.95rem;
  font-weight: 600;
}

.wallet-hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: -0.25rem;
}

.wallet-history {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.wallet-history::-webkit-scrollbar {
  width: 6px;
}
.wallet-history::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.wallet-history__controls {
  display: inline-flex;
  gap: 0.75rem;
  background: rgba(12, 20, 38, 0.85);
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem;
  margin-bottom: 1.25rem;
}
.wallet-history__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.wallet-history__item--success {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.08);
}
.wallet-history__item--error {
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.08);
}
.wallet-history__item--waiting {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
}
.wallet-history__method {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.wallet-history__icon {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(12, 20, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wallet-history__icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.wallet-history__details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.wallet-history__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wallet-history__amount {
  font-size: 1rem;
  font-weight: 700;
}
.wallet-history__status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.wallet-history__badge {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.wallet-history__action {
  background: transparent;
  border: none;
  color: rgba(244, 63, 94, 0.95);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wallet-history__action:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .wallet-tabs {
    width: 100%;
    justify-content: space-between;
  }
  .wallet-summary {
    align-items: stretch;
  }
  .wallet-summary .profile-action {
    width: 100%;
    justify-content: center;
  }
}
/* Slots listing */
.slots__controls {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.slots__controls .scroll-row {
  flex: 1 1 auto;
}

.slots__providers {
  display: flex;
  gap: 0.65rem;
}

.provider-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.78);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease, transform 200ms ease;
}
.provider-chip:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(59, 130, 246, 0.16);
  transform: translateY(-1px);
}
.provider-chip.provider--active {
  border-color: rgba(236, 72, 153, 0.6);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.24), rgba(59, 130, 246, 0.2));
  color: #fff;
}
.provider-chip__image {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.provider-chip__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.provider-chip__label {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.slots__container {
  position: relative;
  text-align: center;
}

.slotsLoad {
  display: none;
  padding: 24px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}
.slotsLoad__label {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.slots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
@media (min-width: 1601px) {
  .slots .game-card {
    width: 12rem;
  }
}
@media (max-width: 1600px) {
  .slots .game-card {
    width: 12rem;
  }
}
@media (max-width: 1400px) {
  .slots .game-card {
    width: 11rem;
  }
}
@media (max-width: 1200px) {
  .slots .game-card {
    width: 10rem;
  }
}
@media (max-width: 992px) {
  .slots .game-card {
    width: 8rem;
  }
}
@media (max-width: 768px) {
  .slots .game-card {
    width: 6.5rem;
  }
}
.slots .game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(140deg, rgba(15, 23, 42, 0.72), rgba(39, 39, 62, 0.6));
  box-shadow: 0 16px 32px -28px rgba(15, 23, 42, 0.85);
  aspect-ratio: 268/419;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.slots .game-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px -30px rgba(59, 130, 246, 0.65);
}
.slots .game-card__art {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.08), transparent 55%), radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.08), transparent 60%);
}
.slots .game-card__art img,
.slots .game-card__art svg {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.slots .slot-card {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.slots .slot-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.slots .slot-card__thumb {
  aspect-ratio: 16/10;
  width: 100%;
  overflow: hidden;
}
.slots .slot-card__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.slots .slot-card__title {
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.load-more-btn {
  display: none;
  margin: 16px auto 0;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}
.load-more-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}
.load-more-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.slots__providers--bottom {
  margin-top: 1.75rem;
}

.slots__empty {
  width: 100%;
  padding: 28px;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.slots__empty-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}
.slots__empty-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* Spinner */
.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  animation: rotate 1s linear infinite;
}
.loader::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 5px solid #fff;
  animation: prixClipFix 2s linear infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes prixClipFix {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
  }
  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
  }
  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
  }
  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
  }
}
/* Cookie consent */
.cookie-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, 100vw - 2rem);
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background-color: rgba(10, 10, 10, 0.9);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  gap: 1rem;
  z-index: 80;
}
.cookie-bar.show {
  display: flex;
}
.cookie-bar__text {
  flex: 1;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}
.cookie-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
