[v-cloak] {
  visibility: hidden;
}

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

/* slider */
.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 .sdr-item-holder-bc {
  width: 100%;
}

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

.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(4, 137, 240, 0.7);
  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: 4px;
}

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

.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;
  }
}

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

.casinoGameItem {
  position: relative;
  width: 100%;
  border-radius: var(--fds-ref-radius-xsmall, 8px);
  overflow: hidden;
}

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

.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 */

.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;
  }

  .slider-bc .sdr-item-holder-bc {
    aspect-ratio: 794 / 365;
    max-height: 420px;
  }
}

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

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

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

/* ---- 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-frame {
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: #000;
}

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

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

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

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