:root {
  --bg: #000000;
  --section-bg: #111111;
  --surface: #151515;
  --surface-2: #1a1a1a;
  --blue: #32005d;
  --blue-soft: #32005d;
  --gold: #ffd700;
  --text: #f5f7fb;
  --muted: #a9b1c0;
  --border: rgba(255, 255, 255, 0.07);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  --radius: 12px;
  --radius-lg: 16px;
}

/* === UTAMASLOT88 modern overrides === */
@font-face {
  font-family: "digital_sans_ef_medium";
  src: url("../fonts/digital_sans_ef_medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #000000;
  --section-bg: #111111;
  --surface: #32005d;
  --surface-2: #32005d;
  --blue: #32005d;
  --blue-soft: #32005d;
  --gold: #ffd700;
  --text: #ffffff;
  --muted: #b8b8b8;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  --radius: 12px;
  --radius-lg: 14px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  font-family: "digital_sans_ef_medium", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #32005d, transparent 28%), radial-gradient(circle at top right, #32005d, transparent 24%), linear-gradient(180deg, #050505 0%, #000000 36%, #040404 100%);
  overflow-x: hidden;
}

body::before {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.04), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.02), transparent 20%);
}

body.page-dashboard .page-shell {
  padding-top: 60px;
}

body.page-dashboard .main-content {
  padding-top: 0;
}

body.page-home .main-content {
  padding-top: 60px;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.page-shell .container-fluid {
  max-width: 1120px;
  margin-inline: auto;
}

@media (min-width: 992px) {
  .info-strip > .container-fluid {
    max-width: none;
    margin-inline: 0;
  }
}

.top-header {
  background: rgba(5, 5, 5, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-row,
.dashboard-top-row,
.wallet-row {
  min-width: 0;
}

.brand-name {
  font-family: "digital_sans_ef_medium", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.brand-blue {
  color: var(--blue-soft);
}

.brand-gold {
  color: var(--gold);
}

.brand-logo {
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.2), 0 10px 18px #32005d;
}

.header-actions,
.dashboard-user-wrap {
  min-width: 0;
}

.btn-header,
.lang-btn {
  height: 34px;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding-inline: 0.72rem;
}

.btn-login {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-login:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-register {
  color: #32005d;
  background: linear-gradient(135deg, #ffd700 0%, #fff2a8 48%, #32005d 100%);
  border: 0;
}

.btn-register:hover {
  color: #32005d;
  filter: brightness(1.04);
}

.btn-logout {
  color: #ffffff;
  background: linear-gradient(135deg, #ff5a5f 0%, #c62828 100%);
  border: 0;
}

.btn-logout:hover {
  color: #ffffff;
  filter: brightness(1.04);
}

.lang-btn {
  width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.lang-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 160px;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-user-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-user-chip i {
  color: var(--blue-soft);
  font-size: 0.92rem;
}

.dashboard-wallet-bar {
  background: linear-gradient(180deg, #32005d, #32005d);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.wallet-row {
  padding: 0.6rem 0;
}

.wallet-balance {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.72rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.wallet-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.wallet-btn {
  min-width: 88px;
  min-height: 34px;
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.wallet-deposit {
  background: linear-gradient(135deg, #1abc5b, #108542);
}

.wallet-withdraw {
  background: linear-gradient(135deg, #ff5f5f, #c71f2d);
}

.wallet-btn:hover {
  color: #ffffff;
  filter: brightness(1.05);
}

.menu-bar {
  background: linear-gradient(180deg, #32005d 0%, #32005d 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

section.menu-bar {}

.menu-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0 0.66rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
  cursor: grab;
}

.menu-scroll::-webkit-scrollbar {
  display: none;
}

.menu-scroll.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.menu-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 36px;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid transparent;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.menu-link i {
  font-size: 0.85rem;
}

.menu-link:hover,
.menu-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 215, 0, 0.12));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.info-strip {
  background: #111111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.ticker-track {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 3rem;
  white-space: nowrap;
  min-height: 44px;
  padding: 0.78rem 0;
  will-change: transform;
  animation: ticker var(--ticker-duration, 18s) linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  padding-left: 0;
  padding-block: 0.08rem;
}

.ticker-track span::before {
  content: none;
}

.ticker-icon {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.92rem;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
}

@keyframes ticker {
  from {
    transform: translateX(var(--ticker-start, 100vw));
  }

  to {
    transform: translateX(var(--ticker-end, -100%));
  }
}

.section-block {
  padding: 0.9rem 0;
}

.content-panel {
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.72rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.28rem;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: "digital_sans_ef_medium", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.view-more-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 700;
  transition: color 0.25s ease, transform 0.25s ease;
}

.view-more-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #32005d;
  box-shadow: var(--shadow);
  min-width: 0;
}

.hero-swiper {
  width: 100%;
}

.hero-slide {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.78) 100%);
}

.hero-copy {
  max-width: 38rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: #32005d;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0.55rem 0 0.35rem;
  font-family: "digital_sans_ef_medium", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  line-height: 1.55;
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.hero-btn {
  min-height: 32px;
  padding: 0.42rem 0.78rem;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(-1px);
}

.hero-btn-primary {
  color: #32005d;
  background: linear-gradient(135deg, #ffd700 0%, #fff1a8 100%);
  box-shadow: 0 12px 24px rgba(255, 215, 0, 0.18);
}

.hero-btn-primary:hover {
  color: #32005d;
  box-shadow: 0 14px 26px rgba(255, 215, 0, 0.26);
}

.hero-btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-btn-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.swiper-button-next,
.swiper-button-prev {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #32005d;
  border-color: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 0.86rem;
  font-weight: 900;
}

.swiper-pagination {
  bottom: 8px !important;
}

.swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.38);
  opacity: 1;
  transition: width 0.25s ease, background 0.25s ease;
}

.swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 999px;
  background: var(--gold);
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: #32005d;
  box-shadow: 0 0 0 1px #32005d, 0 18px 32px #32005d;
}

.game-media {
  position: relative;
  overflow: hidden;
  background: #081f40;
}

.detail-card .game-media {
  aspect-ratio: 1 / 1.03;
}

.mini-card .game-media {
  aspect-ratio: 4 / 5;
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.game-card:hover .game-media img {
  transform: scale(1.08);
}

.card-menu {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
}

.card-menu:hover {
  transform: scale(1.06);
  background: #32005d;
}

.card-menu-light {
  background: rgba(0, 0, 0, 0.4);
}

.game-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-gold {
  color: #32005d;
  background: linear-gradient(135deg, #ffd700 0%, #fff1a8 100%);
}

.badge-dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rtp-strip {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.42rem 0.55rem;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.88));
}

.rtp-value {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.rtp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #36d96b;
  box-shadow: 0 0 12px rgba(54, 217, 107, 0.8);
}

.rtp-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.66rem;
  font-weight: 700;
}

.game-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.58rem 0.62rem 0.72rem;
}

.game-title {
  margin: 0;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.35em;
}

.game-provider {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-action,
.promo-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 30px;
  padding: 0.38rem 0.65rem;
  border: 0;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.game-action:hover,
.promo-action:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.action-play,
.action-live,
.action-bet {
  color: #ffffff;
  background: linear-gradient(135deg, #32005d 0%, #32005d 100%);
  box-shadow: 0 10px 18px rgba(0, 88, 217, 0.18);
}

.action-slots,
.action-jackpot {
  color: #32005d;
  background: linear-gradient(135deg, #ffd700 0%, #fff1a8 100%);
  box-shadow: 0 10px 18px rgba(255, 215, 0, 0.12);
}

.action-view {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(255, 215, 0, 0.24);
  box-shadow: 0 0 0 1px #32005d, 0 18px 32px rgba(0, 0, 0, 0.38);
}

.promo-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.promo-card:hover > img {
  transform: scale(1.08);
}

.promo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 0.92rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 22%, rgba(0, 0, 0, 0.82) 100%);
  z-index: 1;
}

.promo-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.28rem 0.52rem;
  border-radius: 999px;
  color: #ffffff;
  background: #32005d;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-overlay h3 {
  margin: 0;
  font-family: "digital_sans_ef_medium", Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.promo-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  line-height: 1.45;
}

.promo-action {
  width: fit-content;
  min-width: 112px;
  padding-inline: 0.85rem;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #32005d, #32005d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  max-width: 680px;
}

.info-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  line-height: 1.7;
}

.btn-small-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.42rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #32005d;
  color: #ffffff;
  background: rgba(0, 88, 217, 0.12);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-small-outline:hover {
  color: #ffffff;
  transform: translateY(-1px);
  background: rgba(0, 88, 217, 0.2);
  border-color: #32005d;
}

.dashboard-table-wrap {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.dashboard-table {
  margin: 0;
  background: #32005d;
}

.dashboard-table thead th {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(0, 0, 0, 0.18);
}

.dashboard-table tbody td {
  color: #ffffff;
  font-size: 0.78rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.wl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 0.26rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.wl-win {
  color: #04200f;
  background: #36d96b;
}

.wl-loss {
  color: #ffffff;
  background: #ff5f5f;
}

.site-footer {
  background: #111111;
  padding-bottom: 0.25rem;
}

.footer-panel {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(10, 10, 10, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.footer-title {
  margin: 0;
  font-family: "digital_sans_ef_medium", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-text {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.77rem;
  line-height: 1.7;
}

.footer-link-list {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.footer-link-list a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-link-list a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.72rem;
}

.footer-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 800;
}

.footer-socials {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.72rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.footer-socials a:hover {
  transform: translateY(-1px);
  background: #32005d;
  border-color: #32005d;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.72rem;
  padding: 0.36rem 0.56rem;
  border-radius: 10px;
  color: #32005d;
  background: linear-gradient(135deg, #ffd700 0%, #fff1a8 100%);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.footer-partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.42rem;
  margin-top: 0.72rem;
}

.footer-partner-grid img {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #32005d;
  filter: grayscale(1) brightness(0.95) contrast(1.02);
}

.footer-divider {
  height: 1px;
  margin: 1rem 0 0.9rem;
  background: rgba(255, 255, 255, 0.08);
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.62rem 1rem;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.74rem;
  font-weight: 700;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-menu a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-bottom {
  margin-top: 0.92rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  text-align: center;
}

.floating-contact {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 116px;
  padding: 0.65rem 0.42rem;
  border-radius: 12px 0 0 12px;
  background: linear-gradient(180deg, #32005d 0%, #32005d 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 28px rgba(0, 88, 217, 0.34);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-contact span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.floating-contact:hover {
  transform: translateY(-50%) translateX(-3px);
  box-shadow: 0 18px 32px rgba(0, 88, 217, 0.42);
}

.floating-chat {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1040;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  color: #32005d;
  background: radial-gradient(circle at 30% 30%, #fff1b0, #ffd700 70%);
  box-shadow: 0 12px 28px rgba(255, 215, 0, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-chat:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 30px rgba(255, 215, 0, 0.36);
}

.back-to-top {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1040;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #32005d 0%, #32005d 100%);
  box-shadow: 0 12px 24px rgba(0, 88, 217, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 14px 28px rgba(0, 88, 217, 0.36);
}

.auth-modal .modal-dialog {
  width: min(440px, calc(100vw - 1rem));
  max-width: 440px;
  margin: 0.8rem auto;
}

.auth-card {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(0, 140, 255, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 215, 0, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(6, 26, 53, 0.98), rgba(8, 24, 46, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(0, 140, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%);
}

.auth-modal .modal-content {
  border: 0;
  background: transparent;
}

.auth-modal .modal-header {
  align-items: flex-start;
  position: relative;
  z-index: 1;
  padding: 1.05rem 1.15rem 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-modal .modal-header .btn-close {
  margin-top: 0.1rem;
  filter: invert(1) brightness(1.35);
  opacity: 0.72;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.auth-modal .modal-header .btn-close:hover {
  opacity: 1;
  transform: scale(1.05);
}

.auth-modal .modal-title {
  margin: 0;
  font-family: "digital_sans_ef_medium", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.auth-modal .modal-title::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd700 0%, #fff1a8 100%);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.42);
  vertical-align: middle;
}

.modal-subtitle {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.5;
}

.auth-modal .modal-body {
  position: relative;
  z-index: 1;
  padding: 1rem 1.15rem 1.15rem;
}

.auth-form .mb-3 {
  margin-bottom: 0.88rem !important;
}

.auth-form .form-label {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 0.45rem;
}

.auth-input,
.auth-modal .form-select {
  min-height: 44px;
  padding: 0.62rem 0.9rem;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(180deg, #32005d, #32005d);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 20px rgba(0, 0, 0, 0.18);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.auth-input:focus,
.auth-modal .form-select:focus {
  color: #ffffff;
  background: linear-gradient(180deg, #32005d, #32005d);
  border-color: #32005d;
  box-shadow:
    0 0 0 0.18rem rgba(0, 88, 217, 0.18),
    0 10px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.auth-submit {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  color: #32005d;
  background: linear-gradient(135deg, #ffd700 0%, #fff1a8 100%);
  box-shadow:
    0 14px 26px rgba(255, 215, 0, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.auth-submit:hover {
  color: #32005d;
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow:
    0 18px 30px rgba(255, 215, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.auth-link-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.95rem;
  padding: 0.72rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
}

.auth-link {
  padding: 0;
  color: var(--blue-soft);
  font-weight: 800;
  text-decoration: none;
}

.auth-link:hover {
  color: #ffffff;
}

.modal-backdrop.show {
  opacity: 0.82;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-observed {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] {
  transition-delay: 0.06s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.12s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.18s;
}

.reveal[data-delay="4"] {
  transition-delay: 0.24s;
}

.reveal[data-delay="5"] {
  transition-delay: 0.3s;
}

@media (min-width: 576px) {
  .brand-name {
    font-size: 1rem;
  }

  .hero-slide {
    height: 260px;
  }

  .hero-overlay {
    padding: 1rem;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 1.2rem;
  }

  .promo-overlay h3 {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .hero-slide {
    height: 320px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 1.45rem;
  }

  .hero-copy p {
    font-size: 0.84rem;
  }

  .section-title {
    font-size: 1.04rem;
  }
}

@media (min-width: 992px) {
  .section-block {
    padding: 1rem 0;
  }

  .hero-slide {
    height: 420px;
  }

  .hero-overlay {
    padding: 1.4rem;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 1.95rem;
  }

  .hero-copy p {
    font-size: 0.92rem;
  }

  .game-title {
    font-size: 0.84rem;
  }

  .promo-overlay h3 {
    font-size: 1.08rem;
  }
}

@media (max-width: 575.98px) {
  .top-header {
    height: 60px;
  }

  body.page-home .main-content {
    padding-top: 60px;
  }

  .lang-btn,
  .btn-header {
    height: 30px;
    border-radius: 9px;
    font-size: 0.68rem;
  }

  .lang-btn {
    width: 30px;
  }

  .btn-header {
    padding-inline: 0.56rem;
  }

  .menu-link {
    min-height: 34px;
    padding: 0.48rem 0.76rem;
    font-size: 0.72rem;
  }

  .menu-link i {
    font-size: 0.8rem;
  }

  .hero-overlay {
    padding: 0.78rem;
  }

  .hero-btn {
    min-height: 30px;
    font-size: 0.68rem;
    padding: 0.38rem 0.7rem;
  }

  .section-head {
    margin-bottom: 0.64rem;
  }

  .view-more-link {
    font-size: 0.72rem;
  }

  .game-body {
    padding: 0.5rem 0.5rem 0.62rem;
  }

  .game-title {
    font-size: 0.68rem;
    min-height: 2.1em;
  }

  .game-provider {
    font-size: 0.6rem;
  }

  .provider-card {
    min-height: 150px;
    padding: 0.65rem;
  }

  .provider-media img {
    max-height: 104px;
  }

  .game-action,
  .promo-action {
    min-height: 28px;
    padding: 0.34rem 0.55rem;
    font-size: 0.62rem;
  }

  .promo-overlay {
    padding: 0.78rem;
  }

  .promo-overlay h3 {
    font-size: 0.9rem;
  }

  .promo-overlay p {
    font-size: 0.68rem;
  }

  .info-card {
    padding: 0.9rem;
  }

  .footer-panel {
    padding: 0.92rem;
  }

  .footer-partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .floating-contact {
    min-height: 100px;
    padding: 0.58rem 0.34rem;
  }

  .floating-contact span {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .floating-chat {
    width: 50px;
    height: 50px;
    right: 12px;
    bottom: 12px;
    font-size: 1.05rem;
  }

  .back-to-top {
    left: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }

  .wallet-row {
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0.45rem;
  }

  .wallet-balance {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.42rem 0.58rem;
    font-size: 0.64rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .wallet-actions {
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 0.35rem;
  }

  .wallet-btn {
    min-width: 0;
    min-height: 30px;
    padding-inline: 0.52rem;
    font-size: 0.6rem;
    white-space: nowrap;
  }
}

/* === Desktop screenshot-style layout and typography === */
:where(body, button, input, select, textarea, a, p, span, li, label, h1, h2, h3, h4, h5, h6, small, strong, em, div, td, th, option) {
  font-family: "digital_sans_ef_medium", Arial, sans-serif;
}

body {
  line-height: 1.35;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.footer-title,
.promo-overlay h3,
.game-title,
.hero-copy h1,
.hero-copy h2,
.auth-modal .modal-title {
  font-weight: 600;
}

strong,
b {
  font-weight: 600;
}

.brand-name,
.btn-header,
.menu-link,
.wallet-btn,
.dashboard-user-chip,
.wallet-balance,
.footer-chip,
.footer-menu a,
.game-action,
.promo-action,
.section-kicker,
.game-badge,
.hero-badge,
.auth-submit,
.auth-link,
.btn-small-outline,
.view-more-link {
  font-weight: 600;
}

.section-title {
  font-size: 0.96rem;
  letter-spacing: 0.04em;
}

.hero-copy,
.hero-actions,
.hero-badge,
.hero-copy h1,
.hero-copy h2,
.hero-copy p {
  display: none;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 24%, rgba(0, 0, 0, 0.66) 100%);
  pointer-events: none;
}

.hero-slide {
  height: 220px;
}

.game-card {
  border-color: rgba(255, 255, 255, 0.06);
}

.game-body {
  background: linear-gradient(180deg, #000000, #000000);
  padding: 0.56rem 0.62rem 0.72rem;
}

.game-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.game-provider {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.62rem;
  font-weight: 500;
}

.game-action,
.promo-action {
  min-height: 28px;
  font-size: 0.64rem;
  font-weight: 600;
}

.sidebar-left,
.sidebar-right {
  display: none;
}

.menu-link {
  min-width: 82px;
  min-height: 48px;
  padding: 0.38rem 0.55rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.16rem;
  border-radius: 6px;
  text-align: center;
}

.menu-link i {
  font-size: 0.92rem;
}

.menu-link span {
  line-height: 1;
}

@media (max-width: 575.98px) {
  .menu-link {
    min-width: 72px;
    min-height: 44px;
    padding: 0.34rem 0.46rem;
    font-size: 0.64rem;
  }

  .menu-link i {
    font-size: 0.84rem;
  }
}

.desktop-sidebar {
  min-width: 0;
}

.sidebar-card {
  padding: 0.85rem;
  border-radius: 12px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.sidebar-card + .sidebar-card,
.sidebar-stack + .sidebar-card {
  margin-top: 0.75rem;
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  margin-bottom: 0.7rem;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sidebar-title i {
  color: var(--gold);
  font-size: 0.88rem;
}

.service-list {
  display: grid;
  gap: 0.45rem;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 32px;
  padding: 0.42rem 0.58rem;
  border-radius: 4px;
  color: #ffffff;
  background: linear-gradient(180deg, #32005d, #32005d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 600;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.service-link:hover {
  color: #ffffff;
  transform: translateX(2px);
  filter: brightness(1.05);
}

.service-link i {
  color: #ffffff;
  font-size: 0.8rem;
}

.qr-box {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 88, 217, 0.2), transparent 32%),
    linear-gradient(180deg, #2b2b2b 0%, #151515 100%);
}

.qr-box::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0) 0 12%, rgba(255, 255, 255, 0.28) 12% 16%, rgba(0, 0, 0, 0) 16% 28%, rgba(255, 255, 255, 0.28) 28% 32%, rgba(0, 0, 0, 0) 32% 44%, rgba(255, 255, 255, 0.28) 44% 48%, rgba(0, 0, 0, 0) 48% 60%, rgba(255, 255, 255, 0.28) 60% 64%, rgba(0, 0, 0, 0) 64% 76%, rgba(255, 255, 255, 0.28) 76% 80%, rgba(0, 0, 0, 0) 80% 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0) 0 12%, rgba(255, 255, 255, 0.22) 12% 16%, rgba(0, 0, 0, 0) 16% 28%, rgba(255, 255, 255, 0.22) 28% 32%, rgba(0, 0, 0, 0) 32% 44%, rgba(255, 255, 255, 0.22) 44% 48%, rgba(0, 0, 0, 0) 48% 60%, rgba(255, 255, 255, 0.22) 60% 64%, rgba(0, 0, 0, 0) 64% 76%, rgba(255, 255, 255, 0.22) 76% 80%, rgba(0, 0, 0, 0) 80% 100%);
  opacity: 0.55;
}

.qr-box::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 8px;
  border: 2px solid rgba(0, 140, 255, 0.18);
}

.qr-mark {
  position: absolute;
  inset: 0;
  width: 34%;
  height: 34%;
  margin: auto;
  object-fit: contain;
  border-radius: 14px;
  padding: 0.45rem;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.18);
}

.sidebar-note {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  line-height: 1.5;
}

.sidebar-stack {
  display: grid;
  gap: 0.65rem;
}

.sidebar-banner {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.sidebar-search {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sidebar-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 34px;
  padding: 0 0.7rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141414;
  color: #ffffff;
  font-size: 0.7rem;
  box-shadow: none;
}

.sidebar-search input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.sidebar-search button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 2px;
  color: #ffffff;
  background: #32005d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-search button i {
  font-size: 0.78rem;
}

.sidebar-right .sidebar-card:first-child {
  margin-bottom: 0.7rem;
}

.main-content > .menu-bar,
.main-content > .info-strip {
  grid-column: 1 / -1;
}

@media (min-width: 1200px) {
  body.page-home .main-content,
  body.page-dashboard .main-content {
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr) 206px;
    gap: 12px;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
    padding-inline: 0;
  }

  body.page-home .main-content > section,
  body.page-dashboard .main-content > section {
    grid-column: 2;
  }

  body.page-home .main-content > .desktop-sidebar,
  body.page-dashboard .main-content > .desktop-sidebar {
    display: block;
    min-width: 0;
  }

  .sidebar-left {
    grid-column: 1;
    position: sticky;
    top: 72px;
    align-self: start;
  }

  .sidebar-right {
    grid-column: 3;
    position: sticky;
    top: 72px;
    align-self: start;
  }

  .hero-slide {
    height: 300px;
  }

  .section-block {
    padding: 0.72rem 0;
  }

  .section-head {
    margin-bottom: 0.55rem;
  }
}

@media (max-width: 1199.98px) {
  .desktop-sidebar {
    display: none !important;
  }
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 20% -10%, #32005d, transparent 26%), radial-gradient(circle at 85% 0%, rgba(255, 215, 0, 0.08), transparent 22%), linear-gradient(180deg, #060606 0%, #000000 28%, #020202 100%);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.035), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.02), transparent 24%);
  z-index: -1;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid rgba(255, 215, 0, 0.85);
  outline-offset: 2px;
}

.page-shell {
  position: relative;
}

.top-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 60px;
  background: rgba(0, 0, 0, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1035;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.main-content {
  padding-top: 60px;
}

.brand-link {
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.18), 0 10px 18px rgba(0, 88, 217, 0.22);
}

.brand-name {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  font-size: 0.96rem;
  white-space: nowrap;
}

.brand-white {
  color: #ffffff;
}

.brand-blue {
  color: var(--blue-soft);
  text-shadow: 0 0 14px rgba(45, 121, 255, 0.45);
}

.brand-gold {
  color: var(--gold);
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.35);
}

.header-actions {
  flex-shrink: 0;
}

.lang-btn,
.btn-header {
  height: 34px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.lang-btn {
  width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.lang-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-login {
  color: #ffffff;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-login:hover {
  color: #ffffff;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-register {
  color: #32005d;
  padding: 0.55rem 0.8rem;
  border: 0;
  background: linear-gradient(135deg, #ffd700 0%, #fff0a6 50%, #2d79ff 100%);
  box-shadow: 0 10px 24px rgba(0, 88, 217, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-register:hover {
  color: #32005d;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 88, 217, 0.35);
}

.menu-bar {
  position: sticky;
  top: 60px;
  z-index: 1028;
  background: linear-gradient(180deg, #32005d 0%, #32005d 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.menu-scroll {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0 0.65rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.menu-scroll::-webkit-scrollbar {
  display: none;
}

.menu-link {
  flex: 0 0 auto;
  padding: 0.56rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.menu-link:hover,
.menu-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 215, 0, 0.11));
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.info-strip {
  background: var(--section-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.ticker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  overflow: hidden;
}

.ticker-badge {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--gold);
  font-size: 0.96rem;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
}

.ticker-window {
  flex: 0 1 auto;
  width: min(760px, calc(100vw - 6rem));
  overflow: hidden;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 2.25rem;
  white-space: nowrap;
  min-height: 44px;
  padding: 0.8rem 0;
  will-change: transform;
  animation: ticker var(--ticker-duration, 18s) linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  padding-left: 0;
  padding-block: 0.08rem;
}

.ticker-track span::before {
  content: none;
}

.ticker-icon {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.96rem;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
}

@keyframes ticker {
  from {
    transform: translateX(var(--ticker-start, 100vw));
  }

  to {
    transform: translateX(var(--ticker-end, -100%));
  }
}

.section-block {
  padding: 0.95rem 0;
}

.content-panel {
  background: var(--section-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.view-more-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
  transition: color 0.25s ease, transform 0.25s ease;
}

.view-more-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.hero-shell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--section-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.hero-swiper {
  width: 100%;
}

.hero-slide {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 18%, rgba(0, 0, 0, 0.76) 100%);
}

.hero-copy {
  max-width: 38rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  background: #32005d;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0.55rem 0 0.35rem;
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
  line-height: 1.12;
  font-weight: 800;
}

.hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.55;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.hero-btn {
  min-height: 34px;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(-1px);
}

.hero-btn-primary {
  color: #32005d;
  background: linear-gradient(135deg, #ffd700 0%, #fff2ac 100%);
  box-shadow: 0 12px 26px rgba(255, 215, 0, 0.2);
}

.hero-btn-primary:hover {
  color: #32005d;
  box-shadow: 0 14px 28px rgba(255, 215, 0, 0.28);
}

.hero-btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-btn-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.swiper-button-next,
.swiper-button-prev {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #32005d;
  border-color: rgba(255, 255, 255, 0.22);
  transform: scale(1.04);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 0.88rem;
  font-weight: 900;
}

.swiper-pagination {
  bottom: 8px !important;
}

.swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.38);
  opacity: 1;
  transition: width 0.25s ease, background 0.25s ease;
}

.swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 999px;
  background: var(--gold);
}

.card-shell {
  position: relative;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-shell::after,
.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 36%, rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.card-shell:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: #32005d;
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.1), 0 16px 30px #32005d;
}

.card-media {
  position: relative;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card-shell:hover .card-media img {
  transform: scale(1.08);
}

.featured-card .card-media,
.promo-card {
  aspect-ratio: 16 / 10;
}

.detail-card .card-media,
.sport-card .card-media {
  aspect-ratio: 4 / 3;
}

.mini-card .card-media {
  aspect-ratio: 4 / 5;
}

.game-body {
  padding: 0.7rem 0.75rem 0.8rem;
}

.game-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.game-provider {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 600;
}

.game-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.23rem 0.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.badge-gold {
  color: #000000;
  background: linear-gradient(135deg, #ffd700 0%, #fff0a4 100%);
}

.badge-dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.rtp-strip {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.82));
}

.rtp-value {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
}

.rtp-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #37e66b;
  box-shadow: 0 0 12px rgba(55, 230, 107, 0.7);
}

.rtp-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 700;
}

.mini-card .game-body {
  padding: 0.65rem 0.65rem 0.7rem;
}

.mini-card .game-title {
  font-size: 0.8rem;
}

.mini-card .game-provider {
  font-size: 0.68rem;
}

.promo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  background: var(--surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 215, 0, 0.24);
  box-shadow: 0 0 0 1px rgba(0, 88, 217, 0.22), 0 18px 34px rgba(0, 0, 0, 0.38);
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.promo-card:hover img {
  transform: scale(1.08);
}

.promo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.3rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 22%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.promo-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  color: #ffffff;
  background: #32005d;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-tag-gold {
  color: #000000;
  background: linear-gradient(135deg, #ffd700 0%, #fff0a4 100%);
}

.promo-overlay h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.promo-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  line-height: 1.45;
  max-width: 28rem;
}

.lobby-group {
  padding: 0.9rem 0 0;
}

.lobby-group + .lobby-group {
  margin-top: 0.65rem;
}

.subsection-head {
  margin-bottom: 0.65rem;
}

.subsection-head h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.subsection-head p {
  margin: 0.18rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.floating-contact {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 0.7rem 0.42rem;
  border-radius: 12px 0 0 12px;
  background: linear-gradient(180deg, #32005d 0%, #32005d 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 28px #32005d;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-contact span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.floating-contact:hover {
  transform: translateY(-50%) translateX(-3px);
  box-shadow: 0 18px 32px rgba(0, 88, 217, 0.42);
}

.floating-chat {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1040;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  color: #000000;
  background: radial-gradient(circle at 30% 30%, #fff1b1, #ffd700 70%);
  box-shadow: 0 12px 28px rgba(255, 215, 0, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-chat:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 30px rgba(255, 215, 0, 0.36);
}

.site-footer {
  background: #000000;
  padding-bottom: 0.25rem;
}

.footer-panel {
  background: var(--section-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.footer-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-copy {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 34rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.55rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateY(-1px);
  background: #32005d;
  border-color: #32005d;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] {
  transition-delay: 0.06s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.12s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.18s;
}

.reveal[data-delay="4"] {
  transition-delay: 0.24s;
}

.reveal[data-delay="5"] {
  transition-delay: 0.3s;
}

@media (min-width: 576px) {
  .brand-name {
    font-size: 1rem;
  }

  .hero-slide {
    height: 260px;
  }

  .hero-overlay {
    padding: 1.1rem;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 1.2rem;
  }

  .promo-overlay h3 {
    font-size: 1.1rem;
  }
}

@media (min-width: 768px) {
  .hero-slide {
    height: 320px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 1.45rem;
  }

  .hero-copy p {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.08rem;
  }
}

@media (min-width: 992px) {
  .section-block {
    padding: 1.05rem 0;
  }

  .hero-slide {
    height: 420px;
  }

  .hero-overlay {
    padding: 1.45rem;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 1.95rem;
  }

  .hero-copy p {
    font-size: 0.92rem;
  }

  .game-title {
    font-size: 0.95rem;
  }

  .promo-overlay h3 {
    font-size: 1.18rem;
  }
}

@media (max-width: 575.98px) {
  .top-header {
    height: 60px;
  }

  .brand-logo {
    height: 28px;
  }

  .main-content {
    padding-top: 60px;
  }

  .lang-btn,
  .btn-header {
    height: 30px;
    border-radius: 9px;
    font-size: 0.72rem;
  }

  .lang-btn {
    width: 30px;
  }

  .btn-login,
  .btn-register {
    padding-inline: 0.56rem;
  }

  .menu-link {
    padding: 0.5rem 0.82rem;
    font-size: 0.76rem;
  }

  .hero-overlay {
    padding: 0.82rem;
  }

  .hero-btn {
    min-height: 31px;
    font-size: 0.72rem;
    padding: 0.42rem 0.72rem;
  }

  .section-head {
    margin-bottom: 0.68rem;
  }

  .view-more-link {
    font-size: 0.74rem;
  }

  .card-shell,
  .promo-card {
    border-radius: 11px;
  }

  .game-body {
    padding: 0.6rem 0.6rem 0.7rem;
  }

  .floating-contact {
    min-height: 104px;
    padding: 0.6rem 0.36rem;
  }

  .floating-contact span {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .floating-chat {
    width: 50px;
    height: 50px;
    right: 12px;
    bottom: 12px;
    font-size: 1.05rem;
  }

  .footer-panel {
    padding: 0.9rem;
  }

  .auth-modal .modal-dialog {
    width: min(100vw - 0.8rem, 440px);
    margin: 0.45rem auto;
  }

  .auth-card {
    border-radius: 18px;
  }

  .auth-modal .modal-header {
    padding: 0.95rem 0.95rem 0.35rem;
  }

  .auth-modal .modal-body {
    padding: 0.9rem 0.95rem 1rem;
  }

  .auth-modal .modal-title {
    font-size: 1.04rem;
  }

  .auth-input,
  .auth-modal .form-select,
  .auth-submit {
    min-height: 40px;
  }
}

/* === Final screenshot-style polish overrides === */
body,
button,
input,
select,
textarea {
  font-family: "digital_sans_ef_medium", Arial, sans-serif !important;
}

body {
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-name,
.section-title,
.footer-title,
.sidebar-title,
.game-title,
.game-provider,
.promo-overlay h3,
.promo-overlay p,
.section-kicker,
.view-more-link,
.footer-link-list a,
.footer-text,
.footer-chip,
.footer-badge,
.service-link,
.sidebar-note,
.game-action,
.promo-action,
.menu-link,
.btn-header,
.lang-btn,
.wallet-btn,
.wallet-balance,
.dashboard-user-chip,
.promo-tag,
.rtp-value,
.rtp-label,
.auth-modal .modal-title,
.auth-link,
.auth-submit,
.btn-small-outline,
.info-card p,
.wl-pill,
.footer-bottom {
  font-family: "digital_sans_ef_medium", Arial, sans-serif !important;
  font-weight: 500 !important;
}

strong,
b {
  font-weight: 600 !important;
}

.hero-copy,
.hero-actions,
.hero-badge,
.hero-copy h1,
.hero-copy h2,
.hero-copy p,
.hero-overlay {
  display: none !important;
}

.hero-shell {
  margin-bottom: 14px !important;
}

.section-title {
  font-size: 0.94rem;
  letter-spacing: 0.04em;
}

.section-block {
  padding-block: 0.56rem;
}

.section-head {
  margin-bottom: 0.55rem;
}

#featured.section-block,
body.page-home #featured.section-block,
body.page-dashboard #featured.section-block {
  padding-top: 0.16rem;
}

.hero-block.section-block,
body.page-home .hero-block.section-block,
body.page-dashboard .hero-block.section-block {
  padding-bottom: 0.16rem;
}

.game-card,
.promo-card {
  width: 100%;
  height: 100%;
}

#featured-grid > .col,
#demand-grid > .col,
#trending-grid > .col,
#jackpot-grid > .col,
#slots-grid > .col,
#provider-grid > .col,
#live-grid > .col,
#sports-grid > .col,
#promo-grid > .col {
  display: flex;
}

.game-card {
  border-radius: 12px !important;
}

.game-media {
  aspect-ratio: 4 / 5;
}

.detail-card .game-media,
.mini-card .game-media {
  aspect-ratio: 4 / 5;
}

.game-body {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  min-height: 96px;
  padding: 0.56rem 0.62rem 0.68rem;
}

.game-title {
  min-height: 2.1em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0.03em;
}

.game-provider {
  min-height: 1.1em;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.provider-card {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 170px;
  padding: 0.8rem;
  border-radius: 12px;
  background:
    radial-gradient(circle at top left, rgba(255, 215, 0, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(12, 12, 12, 0.98), rgba(22, 22, 22, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.provider-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 0, 0.22);
  box-shadow: 0 0 0 1px rgba(0, 88, 217, 0.14), 0 16px 28px rgba(0, 0, 0, 0.36);
}

.provider-media {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
}

.provider-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  min-height: 1.15rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.meta-chip-neutral {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.meta-chip-rtp {
  color: #00130d;
  background: linear-gradient(135deg, #37e66b 0%, #ccffd7 100%);
}

.meta-chip-jackpot {
  color: #32005d;
  background: linear-gradient(135deg, #ffd700 0%, #fff2ae 100%);
}

.game-action,
.promo-action {
  margin-top: auto;
  min-height: 28px;
  padding: 0.34rem 0.56rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.card-menu,
.card-menu-light {
  width: 28px;
  height: 28px;
  top: 8px;
  right: 8px;
  font-size: 0.84rem;
}

.sidebar-card {
  border-radius: 12px;
}

.sidebar-title {
  font-size: 0.7rem;
  font-weight: 500;
}

.service-link {
  min-height: 32px;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 500;
}

.sidebar-note {
  font-size: 0.66rem;
  font-weight: 400;
}

.sidebar-banner {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-banner:hover {
  transform: scale(1.03);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.32);
}

.footer-partner-grid img {
  border-radius: 8px;
  filter: grayscale(1) brightness(0.9) contrast(1.05);
}

@media (min-width: 1200px) {
  body.page-home .main-content,
  body.page-dashboard .main-content {
    grid-template-columns: 182px minmax(0, 1fr) 214px !important;
    gap: 10px !important;
    max-width: 1120px !important;
  }

  body.page-home .main-content,
  body.page-dashboard .main-content {
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
    padding-inline: 0 !important;
  }

  body.page-home .desktop-layout,
  body.page-dashboard .desktop-layout {
    display: grid !important;
    grid-template-columns: 176px minmax(0, 1fr) 206px !important;
    gap: 12px !important;
    align-items: start !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
    padding-inline: 0 !important;
  }

  body.page-home .content-column,
  body.page-dashboard .content-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    min-width: 0 !important;
  }

  body.page-home .desktop-layout > .desktop-sidebar,
  body.page-dashboard .desktop-layout > .desktop-sidebar {
    display: block !important;
    min-width: 0 !important;
  }

  .sidebar-left {
    top: 72px !important;
  }

  .sidebar-right {
    top: 72px !important;
  }

  .hero-slide {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  .hero-swiper {
    height: auto !important;
  }

  .hero-swiper .swiper-wrapper {
    height: auto !important;
    align-items: flex-start;
  }

  .hero-swiper .swiper-slide {
    height: auto !important;
  }

  .hero-slide img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }

  .info-strip {
    min-height: 58px !important;
  }

  .ticker {
    min-height: 58px !important;
    overflow: hidden !important;
    gap: 0.28rem !important;
    justify-content: center !important;
  }

  .ticker-badge {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    font-size: 1rem !important;
  }

  .ticker-window {
    width: min(720px, calc(100vw - 6rem)) !important;
  }

  .ticker-track {
    min-height: 56px !important;
    padding-block: 1.05rem !important;
    align-items: center !important;
  }

  .ticker-track span {
    line-height: 1.65 !important;
    padding-block: 0.15rem !important;
    overflow: visible !important;
  }

  .ticker-icon {
    font-size: 1rem !important;
  }

  .hero-shell {
    margin-bottom: 14px !important;
  }

  .section-block {
    padding-block: 0.5rem !important;
  }

  .hero-block.section-block,
  body.page-home .hero-block.section-block,
  body.page-dashboard .hero-block.section-block {
    padding-bottom: 0.14rem !important;
  }

  #featured.section-block,
  body.page-home #featured.section-block,
  body.page-dashboard #featured.section-block {
    padding-top: 0.14rem !important;
  }

  .menu-bar {
    width: min(1120px, calc(100vw - 1.5rem)) !important;
    max-width: none !important;
    margin-inline: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .menu-bar > .container-fluid {
    width: 100% !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  .menu-scroll {
    width: 100% !important;
    max-width: none !important;
    gap: clamp(0.25rem, 0.4vw, 0.55rem) !important;
    padding: 0.34rem 0 0.44rem !important;
    overflow: visible !important;
    justify-content: space-between !important;
  }

  .menu-link {
    min-width: 0 !important;
    flex: 1 1 0 !important;
    min-height: 62px !important;
    padding: 0.38rem clamp(0.35rem, 0.55vw, 0.72rem) !important;
    border-radius: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.18rem !important;
    text-align: center !important;
    white-space: normal !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(0, 0, 0, 0.02)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  }

  .menu-link i {
    flex: 0 0 auto !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
  }

  .menu-link span {
    min-width: 0 !important;
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    text-wrap: balance !important;
    font-size: clamp(0.62rem, 0.58rem + 0.12vw, 0.72rem) !important;
    line-height: 1.08 !important;
    letter-spacing: 0.02em !important;
  }

  .menu-link:hover {
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(0, 136, 255, 0.24), rgba(0, 88, 217, 0.18)) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    transform: translateY(-1px) !important;
  }

  .menu-link.active {
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(0, 136, 255, 0.3), rgba(0, 68, 170, 0.2)) !important;
    border-color: rgba(255, 215, 0, 0.28) !important;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 0 18px rgba(0, 136, 255, 0.24),
      inset 0 -2px 0 rgba(255, 215, 0, 0.2) !important;
    transform: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .menu-bar {
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .menu-bar > .container-fluid {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: clamp(0.75rem, 1.4vw, 1.15rem);
  }

  .menu-scroll {
    width: 100%;
    max-width: none;
    gap: clamp(0.22rem, 0.38vw, 0.42rem);
    padding: 0.36rem 0 0.46rem;
    overflow: visible;
    justify-content: space-between;
  }

  .menu-link {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    padding: 0.34rem clamp(0.3rem, 0.45vw, 0.56rem);
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    font-size: clamp(0.61rem, 0.56rem + 0.15vw, 0.68rem);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
  }

  .menu-link i {
    flex: 0 0 auto;
    font-size: 0.82rem;
    line-height: 1;
  }

  .menu-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1;
  }

  .menu-link:hover {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 136, 255, 0.22), rgba(0, 88, 217, 0.16));
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
  }

  .menu-link.active {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 136, 255, 0.28), rgba(0, 68, 170, 0.2));
    border-color: rgba(255, 215, 0, 0.24);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06),
      0 0 14px rgba(0, 136, 255, 0.2),
      inset 0 -2px 0 rgba(255, 215, 0, 0.18);
    transform: none;
  }
}

@media (max-width: 1199.98px) {
  .sidebar-left,
  .sidebar-right {
    display: none !important;
  }
}

body.page-login {
  min-height: 100vh;
  overflow-x: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 78, 205, 0.38), transparent 20%),
    radial-gradient(circle at 88% 16%, rgba(0, 183, 255, 0.34), transparent 18%),
    radial-gradient(circle at 50% 88%, rgba(255, 215, 0, 0.18), transparent 22%),
    linear-gradient(135deg, #050012 0%, #1b0644 32%, #091337 68%, #04010d 100%);
}

body.page-login::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%),
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.12), transparent 3%),
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.12), transparent 3%),
    radial-gradient(circle at 25% 78%, rgba(255, 255, 255, 0.08), transparent 3%),
    radial-gradient(circle at 84% 74%, rgba(255, 255, 255, 0.08), transparent 3%);
  opacity: 0.5;
}

body.page-login::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 36px),
    radial-gradient(circle at 50% 50%, transparent 0 56%, rgba(0, 0, 0, 0.25) 100%);
  opacity: 0.2;
}

.login-screen {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.login-bg-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.9;
}

.login-bg-orb-a {
  width: clamp(12rem, 24vw, 20rem);
  height: clamp(12rem, 24vw, 20rem);
  left: -4rem;
  top: -2rem;
  background: radial-gradient(circle at 30% 30%, rgba(255, 76, 215, 0.95), rgba(112, 26, 217, 0.25) 50%, transparent 72%);
}

.login-bg-orb-b {
  width: clamp(15rem, 30vw, 24rem);
  height: clamp(15rem, 30vw, 24rem);
  right: -7rem;
  bottom: -6rem;
  background: radial-gradient(circle at 30% 30%, rgba(0, 183, 255, 0.8), rgba(4, 18, 58, 0.18) 55%, transparent 74%);
}

.login-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(circle at center, black 0 52%, transparent 88%);
  mask-image: radial-gradient(circle at center, black 0 52%, transparent 88%);
}

.login-canvas {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "stage"
    "submit"
    "ribbon";
  align-items: start;
  justify-items: stretch;
  gap: 0.85rem;
}

.login-submit-rail {
  grid-area: submit;
  align-self: stretch;
  min-height: 72px;
  width: 100%;
  border: 2px solid rgba(255, 226, 115, 0.95);
  border-radius: 20px;
  background: linear-gradient(180deg, #46ff61 0%, #1bb83b 40%, #0b7421 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "digital_sans_ef_medium", Arial, sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow:
    0 26px 52px rgba(25, 151, 60, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.login-submit-rail span {
  display: block;
}

.login-submit-rail:hover {
  color: #ffffff;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow:
    0 30px 60px rgba(25, 151, 60, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.login-submit-rail:focus-visible {
  outline: 2px solid rgba(255, 215, 0, 0.8);
  outline-offset: 3px;
}

.login-stage {
  grid-area: stage;
  min-width: 0;
}

.login-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(1rem, 2vw, 1.45rem);
  background:
    radial-gradient(circle at top left, rgba(0, 183, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 76, 215, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(58, 10, 132, 0.97), rgba(10, 9, 48, 0.98));
  border: 2px solid rgba(255, 215, 0, 0.74);
  box-shadow:
    0 34px 84px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.login-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  pointer-events: none;
}

.login-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.14), transparent 12%, transparent 88%, rgba(255, 82, 214, 0.18));
  opacity: 0.9;
}

.login-frame-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(0.9rem, 1.8vw, 1.35rem);
}

.login-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.login-brand-mark {
  width: clamp(54px, 7vw, 76px);
  height: auto;
  flex: 0 0 auto;
  border-radius: 18px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.35));
}

.login-brand-copy {
  min-width: 0;
}

.login-kicker {
  display: block;
  color: #ffd94b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.login-brand-copy h1 {
  margin: 0.1rem 0 0;
  font-family: "digital_sans_ef_medium", Arial, sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.65rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-brand-copy p {
  margin: 0.28rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  line-height: 1.45;
  max-width: 28rem;
}

.login-home-link {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.login-home-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.login-frame-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.login-side-panel {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: clamp(0.9rem, 1.6vw, 1.15rem);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 15, 40, 0.78), rgba(7, 13, 32, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.login-lang-label {
  color: #ffd94b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.login-lang-pill {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.82rem 0.95rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: left;
}

.login-lang-pill i {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.72);
}

.login-flag {
  width: 2rem;
  height: 1.35rem;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 0.28rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #012169 0 100%);
}

.login-flag::before,
.login-flag::after {
  content: "";
  position: absolute;
  inset: 0;
}

.login-flag::before {
  background:
    linear-gradient(45deg, transparent 42%, #ffffff 42% 47%, #c8102e 47% 53%, #ffffff 53% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, #ffffff 42% 47%, #c8102e 47% 53%, #ffffff 53% 58%, transparent 58%);
}

.login-flag::after {
  background:
    linear-gradient(90deg, transparent 38%, #ffffff 38% 45%, #c8102e 45% 55%, #ffffff 55% 62%, transparent 62%),
    linear-gradient(180deg, transparent 38%, #ffffff 38% 45%, #c8102e 45% 55%, #ffffff 55% 62%, transparent 62%);
  opacity: 0.92;
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.login-remember input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: #ffd700;
}

.login-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.55;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(0.2rem, 0.55vw, 0.45rem) 0;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.login-field label {
  color: #ffd94b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.login-input-shell {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 58px;
  padding: 0.75rem 0.95rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(7, 15, 39, 0.98), rgba(11, 21, 52, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 24px rgba(0, 0, 0, 0.22);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.login-input-shell i {
  color: #7cc3ff;
  font-size: 1rem;
}

.login-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.login-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.login-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.login-input-shell:focus-within {
  border-color: rgba(0, 166, 255, 0.65);
  box-shadow:
    0 0 0 0.18rem rgba(0, 136, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.1rem;
}

.login-secondary-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.28);
  padding-bottom: 0.12rem;
}

.login-secondary-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.login-ribbon {
  grid-area: ribbon;
  align-self: stretch;
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.75rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 29, 68, 0.88), rgba(6, 10, 31, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.login-ribbon::before {
  content: "";
  position: absolute;
  inset: auto 14% 12% 14%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.8), transparent);
  filter: blur(1px);
  opacity: 0.8;
}

.login-ribbon::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.login-ribbon-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: min(360px, 100%);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.34));
}

.login-ribbon span {
  display: block;
  color: #7bbaff;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-shadow: 0 0 16px rgba(44, 147, 255, 0.42);
}

@media (max-width: 991.98px) {
  .login-screen {
    padding: 1rem;
  }

  .login-frame {
    border-radius: 22px;
    padding: 0.9rem;
  }

  .login-frame-header {
    flex-wrap: wrap;
  }

  .login-brand-mark {
    width: 48px;
  }

  .login-home-link {
    width: 42px;
    height: 42px;
  }

  .login-side-panel,
  .login-lang-pill,
  .login-remember,
  .login-input-shell,
  .login-ribbon {
    border-radius: 16px;
  }

  .login-input-shell {
    min-height: 52px;
  }

  .login-brand-copy p {
    font-size: 0.74rem;
  }
}

@media (max-width: 575.98px) {
  .login-canvas {
    width: min(100%, 560px);
    gap: 0.75rem;
  }

  .login-frame {
    padding: 0.85rem;
  }

  .login-frame-header {
    margin-bottom: 0.8rem;
  }

  .login-submit-rail {
    min-height: 68px;
    border-radius: 18px;
  }

  .login-ribbon {
    min-height: 112px;
    border-radius: 20px;
  }

  .login-ribbon-mark {
    width: min(320px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-submit-rail,
  .login-home-link,
  .login-input-shell {
    transition: none;
  }

  .login-bg-orb {
    filter: none;
  }
}

/* Logo transparent override */
.brand-logo,.login-ribbon-mark{background:transparent!important;border:none!important;box-shadow:none!important;outline:none!important;border-radius:0!important;padding:0!important;}
.brand-logo{width:260px!important;height:auto!important;max-width:100%;}
.login-ribbon-mark{width:260px!important;height:auto!important;}


/* Premium Blue Theme Override */
:root{--bg: #32005d;--bg2: #32005d;--card: #32005d;--line: #32005d;--cyan: #32005d;--royal: #32005d;}
body,html{background: radial-gradient(circle at top, #32005d 0%, #32005d 35%, #32005d 100%) fixed !important;color: #fffdfd;}
.container,.content,.main,.wrapper{
background:transparent!important;
}
header,.navbar,.topbar,.footer,footer,.card,.game-card,.panel,.box,.quick-card,.menu-box,.sidebar,.login-box,.register-box{background: #32005d !important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(52,214,255,.18)!important;box-shadow: 0 0 18px rgba(37, 99, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .06) !important;}
.btn,.btn-primary,button{background: linear-gradient(135deg, #32005d, #32005d) !important;border:none!important;color:#fff!important;box-shadow: 0 0 18px rgb(255 0 255 / 35%) !important;}
a:hover,.nav-link:hover{
color:#6ee7ff!important;
text-shadow:0 0 10px rgba(52,214,255,.6);
}
