[v-cloak] {
  visibility: hidden;
}

#app {
  width: 100%;
  min-height: 100vh;
}

/* slider — keep original BetConstruct proportions; only clamp snapshot desktop widths before JS */
.slider-bc {
  min-width: 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.slider-bc .swiper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.slider-bc .swiper-wrapper {
  display: flex;
  will-change: transform;
  transition-property: transform;
}

.slider-bc .swiper-slide {
  flex-shrink: 0;
}

.slider-bc:not(.gb-slider-touch) .swiper-slide,
.slider-bc:not(.gb-slider-touch) .swiper-slide[style] {
  width: 100% !important;
  max-width: 100% !important;
}

.slider-bc:not(.gb-slider-touch) .swiper-wrapper,
.slider-bc:not(.gb-slider-touch) .swiper-wrapper[style] {
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  transition-duration: 0ms !important;
}

.slider-bc .sdr-item-holder-bc {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  aspect-ratio: 794 / 365;
  height: auto !important;
  min-height: 0;
}

.slider-bc .sdr-image-bc {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1 !important;
}

@media (max-width: 759px) {
  .slider-bc .sdr-item-holder-bc,
  .hm-row-bc.has-slider .slider-bc .sdr-item-holder-bc {
    aspect-ratio: 376 / 179 !important;
  }
  .slider-bc .swiper,
  .slider-bc .swiper-wrapper,
  .slider-bc .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.slider-bc .gb-glass-img-wrap {
  display: block !important;
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
}

.slider-bc .gb-glass-img-wrap::before {
  display: none !important;
}

.slider-bc .gb-glass-img-wrap img {
  opacity: 1 !important;
}

.slider-bc.gb-slider-touch .swiper-slide {
  opacity: 1 !important;
  visibility: visible !important;
}

.slider-bc.gb-slider-touch .swiper-wrapper {
  will-change: transform;
}

html.gb-home-booting .hm-row-bc.has-slider .slider-bc {
  opacity: 1;
}

html.gb-home-ready .hm-row-bc.has-slider .slider-bc {
  opacity: 1;
}

.slider-bc .swiper-pagination-fraction {
  position: absolute;
  top: 6px;
  left: 16px;
  z-index: 2;
  min-width: 38px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.75);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1;
}

/* products */
.product-banner-container-bc.col-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
  padding: 10px 5px;
}

.product-banner-info-bc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.product-banner-container-bc > div {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.2), rgba(10, 22, 16, 0.58)) !important;
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.16) !important;
}

.product-banner-container-bc .product-banner-info-bc {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.14), rgba(10, 22, 16, 0.28)) !important;
}

/* games row */
.horizontal-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.casinoHorizontalGamesListHorizontalScroll.gb-casino-row-ready,
.casinoHorizontalGamesListHorizontalScroll.horizontal-scroll--no-scroll {
  overflow: hidden !important;
  touch-action: pan-y pinch-zoom;
}

.casinoHorizontalGamesListHorizontalScroll.gb-casino-row-touch {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.casinoHorizontalGamesListHorizontalScroll.gb-casino-row-touch:active {
  cursor: grabbing;
}

.casinoHorizontalGamesListHorizontalScroll .horizontal-scroll__inner {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
}

.casinoHorizontalGamesListHorizontalScroll .casinoGameItemContent {
  touch-action: manipulation;
  position: relative;
  z-index: 2;
}

.casinoHorizontalGamesListHorizontalScroll .casino-game-tile-hover {
  z-index: 4;
}

.casinoHorizontalGamesListHorizontalScroll:not(.slideableCasinoGame) .casinoGameItemContent--regular {
  width: calc((100% - 16px) / 3);
  min-width: 108px;
  max-width: 150px;
  flex-shrink: 0;
}

@media (min-width: 760px) {
  .casinoHorizontalGamesListHorizontalScroll:not(.slideableCasinoGame) .casinoGameItemContent--regular {
    width: 190px;
    min-width: 190px;
    max-width: 190px;
  }
}

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

.horizontal-scroll__inner {
  display: flex;
  gap: 8px;
  width: max-content;
}

.horizontal-scroll__inner a img {
  width: 150px;
  aspect-ratio: 44 / 31;
  border-radius: var(--fds-ref-radius-xsmall, 8px);
  object-fit: cover;
  display: block;
}

.sectionTitle .section-more-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.sectionTitle .section-more-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* menu drawer icons */
.nav-ico-w-row-bc .asideMenuNavItemIcon {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.m-nav-items-list-item-bc {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* bottom nav labels */
.tab-nav-title-bc {
  display: block;
  max-width: 100%;
}

/* casino listing */
.casinoGamesContainer {
  padding: 8px 7px 24px;
}

.casinoGamesListWrapper {
  width: 100%;
  padding: 0 8px;
}

.casinoGamesList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 8px;
  padding-bottom: 16px;
}

@media (max-width: 480px) {
  .casinoGamesList {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 760px) {
  .casinoGamesList {
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 16px;
  }
}

.casinoGameItem {
  position: relative;
}

.casinoGameItemContent {
  display: block;
  text-decoration: none;
  position: relative;
}

@media (min-width: 760px) {
  .casino-game-tile-hover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.72);
    border-radius: inherit;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
  }

  .casinoGameItemContent:hover .casino-game-tile-hover,
  .casinoGameItemContent:focus-within .casino-game-tile-hover,
  .casinoGameItemContent.is-tile-active .casino-game-tile-hover,
  .casinoGameItem:hover .casino-game-tile-hover,
  .casinoGameItem:focus-within .casino-game-tile-hover,
  .casinoGameItem.is-tile-active .casino-game-tile-hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .casino-game-tile-hover-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(92%, 168px);
  }

  .casino-game-tile-hover .btn {
    width: 100%;
    min-height: 36px;
    font-size: 13px;
  }

  .casino-game-tile-hover .btn.a-color {
    background: #16a34a !important;
    border-color: #16a34a !important;
    color: #fff !important;
  }

  .casino-game-tile-hover .btn.a-outline {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(74, 222, 128, 0.4) !important;
    color: #fff !important;
  }
}

@media (max-width: 759px) {
  .casino-game-tile-hover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.78);
    border-radius: inherit;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .casinoGameItemContent.is-tile-active .casino-game-tile-hover,
  .casinoGameItem.is-tile-active .casino-game-tile-hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .casino-game-tile-hover-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(92%, 168px);
  }

  .casino-game-tile-hover .btn {
    width: 100%;
    min-height: 40px;
    font-size: 13px;
    font-weight: 600;
  }

  .casino-game-tile-hover .btn.a-color {
    background: #16a34a !important;
    border-color: #16a34a !important;
    color: #fff !important;
  }

  .casino-game-tile-hover .btn.a-outline {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
  }
}

.casinoHorizontalGamesListHorizontalScroll .casinoGameItemContent.is-tile-active {
  z-index: 6;
  position: relative;
}

.casino-game-tile-hover {
  z-index: 5;
}

.casinoGameItemImage {
  width: 100%;
  aspect-ratio: 44 / 31;
  object-fit: cover;
  display: block;
  border-radius: var(--fds-ref-radius-xsmall, 8px);
}

.casinoGameItem::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.18);
}

.casinoGameItem::before,
.product-banner-container-bc > div::before,
.slider-bc .sdr-item-holder-bc::before {
  content: "";
  position: absolute;
  inset: -35% auto -35% -55%;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.16) 45%, rgba(255,255,255,0.38) 50%, rgba(255,255,255,0.10) 55%, rgba(255,255,255,0) 100%);
  transform: translateX(-130%) rotate(12deg);
  animation: gbGlassSweep 5.8s ease-in-out infinite;
  z-index: 2;
}

.casinoGameItem,
.product-banner-container-bc > div,
.slider-bc .sdr-item-holder-bc {
  position: relative;
  overflow: hidden;
}

@keyframes gbGlassSweep {
  0%, 76%, 100% { transform: translateX(-130%) rotate(12deg); opacity: 0; }
  8% { opacity: 0.9; }
  28% { transform: translateX(360%) rotate(12deg); opacity: 0.18; }
  29%, 75% { opacity: 0; }
}

.casinoNavigationAndFilters .casinoCategories {
  padding: 8px 0;
}

.casinoGameProviderFilters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

.casinoSearchWrapper {
  flex: 1;
}

/* footer */
.layout-footer-holder-bc,
.footerContainer {
  color: rgba(255, 255, 255, 0.85);
}

.footerCopyrights {
  color: rgba(255, 255, 255, 0.6);
}

.android-app-download {
  display: flex;
  justify-content: center;
  padding: 12px 16px 4px;
}

.android-app-download .btn {
  width: 100%;
  max-width: 360px;
}

/* auth popup — see auth-snapshots.css for snapshot pages */

.hdr-auth-user-bc {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-inline-end: 8px;
  max-width: 140px;
}

.hdr-auth-username {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.hdr-auth-balance {
  color: #4ade80;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.hdr-user-bc {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Header login = text link; register = green box */
.hdr-user-bc button.btn.s-small.sign-in {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-height: 32px !important;
  min-width: auto !important;
  padding: 5px 8px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  cursor: pointer !important;
}

.hdr-user-bc button.btn.s-small.sign-in:hover,
.hdr-user-bc button.btn.s-small.sign-in:focus,
.hdr-user-bc button.btn.s-small.sign-in:active {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  color: #4ade80 !important;
  text-decoration: underline !important;
}

.hdr-user-bc button.btn.s-small.register {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-height: 32px !important;
  min-width: 64px !important;
  padding: 5px 12px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  background: #16a34a !important;
  background-color: #16a34a !important;
  border: 1px solid #16a34a !important;
  color: #fff !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.hdr-user-bc button.btn.s-small.register:hover,
.hdr-user-bc button.btn.s-small.register:focus,
.hdr-user-bc button.btn.s-small.register:active {
  background: #15803d !important;
  background-color: #15803d !important;
  border-color: #15803d !important;
  color: #fff !important;
  text-decoration: none !important;
}

.hdr-user-bc .btn.sign-out {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

/* glass image loading skeleton */
.gb-glass-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border-radius: inherit;
}

.gb-glass-img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.02) 8%,
    rgba(255, 255, 255, 0.14) 18%,
    rgba(255, 255, 255, 0.02) 33%
  );
  background-size: 200% 100%;
  animation: gbGlassShimmer 1.35s ease-in-out infinite;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.35s ease;
}

.gb-glass-img-wrap.is-loaded::before {
  opacity: 0;
}

.gb-glass-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gb-glass-img-wrap.is-loaded img {
  opacity: 1;
}

@keyframes gbGlassShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.entrance-form-bc.popup .entrance-form-actions-holder-bc .btn.active {
  opacity: 1;
}

.logo-container .hdr-logo-bc {
  width: 115px;
  height: 36px;
  object-fit: contain;
}

.casinoGamesListWrapper > .btn.a-color {
  display: block;
  width: calc(100% - 16px);
  margin: 16px auto;
}

.casinoProviderAndGame .casinoGameRestrictionPopup {
  text-align: center;
  padding: 24px 16px;
}

.casinoProviderAndGame .casinoGameRestrictionPopup__title {
  margin-bottom: 16px;
}

.casinoGameFrameWrapper {
  width: 100%;
  height: calc(100vh - var(--tab-navigation-height) - 90px);
  min-height: 420px;
  background: #000;
}

.casinoGameFrame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (min-width: 760px) {
  .product-banner-container-bc.col-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .horizontal-scroll__inner a img {
    width: 190px;
  }
}

@media (max-width: 759px) {
  .product-banner-container-bc.col-4 {
    grid-template-columns: repeat(4, minmax(0, 88px));
    justify-content: space-between;
  }

  .slider-bc {
    touch-action: pan-y pinch-zoom;
  }

  .hdr-navigation-scrollable-bc-holder {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hdr-navigation-link-bc {
    white-space: nowrap;
  }
}

/* Smart panel (three dots) — stay open after tap; larger hit target */
#smart-panel-holder.hdr-toggle-button-bc {
  pointer-events: auto !important;
  cursor: pointer;
  min-width: 36px;
  min-height: 36px;
  z-index: 990;
}

.layout-bc.smart-panel-is-visible .hdr-smart-panel-holder-arrow-bc {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* RTL slider — finger follows slide direction */
html[dir="rtl"] .slider-bc.gb-slider-touch .swiper-wrapper {
  direction: ltr;
}

html[dir="rtl"] .slider-bc.gb-slider-touch .swiper-slide {
  direction: rtl;
}

/* Hide hero slider on every page except home */
#root:not(.is-home-page) .hm-row-bc.has-slider,
.layout-bc:not(.is-home-page) .hm-row-bc.has-slider {
  display: none !important;
}

/* ---- Global colorful page loader (boot + navigation) ---- */
html.gb-booting,
html.gb-booting body {
  background: #0a1610 !important;
}

html.gb-booting body > :not(#gb-page-loader) {
  visibility: hidden !important;
  opacity: 0 !important;
}

#gb-page-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1610;
  transition: opacity 0.4s ease, visibility 0.4s;
}

#gb-page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gb-loader-ring-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}

.gb-loader-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #22c55e 0deg,
    #06b6d4 72deg,
    #8b5cf6 144deg,
    #f59e0b 216deg,
    #ef4444 288deg,
    #22c55e 360deg
  );
  animation: gb-loader-spin 0.85s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
}

.gb-loader-core {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.28), transparent 72%);
  box-shadow: inset 0 0 22px rgba(34, 197, 94, 0.12);
}

@keyframes gb-loader-spin {
  to { transform: rotate(360deg); }
}

/* ---- BetConstruct rotating loader (matches original "شرط بندی" loading) ---- */
.bc-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  width: 100%;
}

.bc-loader-contain {
  position: relative;
  margin: auto;
}

.bc-loader-animation {
  animation: bc-loader-rotate 2s linear infinite;
  transform-origin: center center;
  width: 100%;
  height: 100%;
}

.bc-loader.small .bc-loader-animation { width: 24px; height: 24px; }
.bc-loader.medium .bc-loader-animation { width: 68px; height: 68px; }
.bc-loader.big .bc-loader-animation { width: 120px; height: 120px; }

.bc-loader-animation .path {
  stroke: rgba(var(--hero), 1);
  stroke-linecap: round;
  animation: bc-loader-dash 1.5s ease-in-out infinite;
}

@keyframes bc-loader-rotate {
  100% { transform: rotate(360deg); }
}

@keyframes bc-loader-dash {
  0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* Full-page virtual sports loading overlay */
.virtual-sports-loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: rgba(var(--b), 1);
}

.virtual-sports-loader .vs-loader-logo {
  max-width: 170px;
  height: auto;
  opacity: 0.95;
  animation: vs-logo-pulse 1.6s ease-in-out infinite;
}

.virtual-sports-loader .vs-loader-text {
  color: rgba(var(--b-sc), 0.75);
  font-size: 13px;
  letter-spacing: 0.5px;
}

@keyframes vs-logo-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1); }
}

/* Virtual sports lobby grid */
.virtualSportsPage .casinoGamesList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 480px) { .virtualSportsPage .casinoGamesList { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 760px) { .virtualSportsPage .casinoGamesList { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .virtualSportsPage .casinoGamesList { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 1280px) { .virtualSportsPage .casinoGamesList { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.virtualSportsPage .casinoGameItemImage {
  width: 100%;
}

/* Casino game launch overlay (snapshot pages) */
.casino-launch-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casino-launch-overlay.hidden {
  display: none;
}

.casino-launch-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.casino-launch-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: 92vh;
  overflow: auto;
  background: rgba(var(--b), 1);
  border-radius: var(--border-radius, 8px);
  padding: 12px;
}

.casino-launch-thumb {
  max-width: 280px;
  margin: 12px auto;
}

.casino-launch-actions {
  text-align: center;
  padding: 8px 12px 16px;
}

.casino-launch-panel.hidden {
  display: none;
}

.casino-launch-backdrop.hidden {
  display: none;
}

.casino-launch-panel.casino-launch-panel--hidden {
  display: none;
}

.casino-launch-frame {
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: #0a1610;
  display: flex;
  flex-direction: column;
}

.casino-launch-frame.hidden {
  display: none;
}

.casino-launch-toolbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #0e2016;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.casino-launch-toolbar-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #4ade80;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0;
}

.casino-launch-toolbar-title {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding-left: 48px;
}

.casino-launch-toolbar-balance {
  flex: 0 0 auto;
  font-size: 12px;
  color: #4ade80;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(74, 222, 128, 0.12);
}

.casino-launch-balance {
  text-align: center;
  color: #4ade80;
  font-size: 13px;
  margin: 0 0 8px;
}

.casino-launch-iframe-wrap {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
}

.casino-launch-frame .casinoGameFrame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.casino-launch-error {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 22, 16, 0.96);
}

.casino-launch-error.hidden {
  display: none;
}

.casino-launch-error-box {
  width: min(100%, 340px);
  text-align: center;
  padding: 24px 20px;
  border-radius: 12px;
  background: #0e2016;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.casino-launch-error-title {
  margin: 0 0 10px;
  font-size: 18px;
  color: #fff;
}

.casino-launch-error-msg {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.casino-launch-error-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.casino-launch-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #0a1610;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.casino-launch-loading.hidden {
  display: none;
}

.casino-launch-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(74, 222, 128, 0.2);
  border-top-color: #22c55e;
  border-radius: 50%;
  animation: casino-launch-spin 0.8s linear infinite;
}

@keyframes casino-launch-spin {
  to { transform: rotate(360deg); }
}

body.casino-launch-open {
  overflow: hidden;
}

.virtualSportsPage .casinoGameItemImage {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--border-radius);
}
