/* =========================================================
   HOME SLIDER - DESKTOP
   ========================================================= */
/*
.is-home-page .hm-row-bc.has-slider .sdr-item-holder-bc {
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  position: relative !important;
}
*/
.is-home-page .hm-row-bc.has-slider .sdr-item-bc {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}

.is-home-page .hm-row-bc.has-slider .sdr-image-bc {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.is-home-page .hm-row-bc.has-slider .sdr-iframe-holder-bc {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  overflow: hidden !important;
}

.is-home-page .hm-row-bc.has-slider .sdr-iframe-bc,
.is-home-page .hm-row-bc.has-slider .sdr-iframe-backface-bc {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

.is-home-page .hm-row-bc.has-slider .swiper-slide {
  height: auto !important;
}

.is-home-page .hm-row-bc.has-slider .swiper-wrapper {
  align-items: stretch !important;
}


/* =========================================================
   STORIES RING - HOME PAGE
   ========================================================= */

/* Remove borders and backgrounds from story card wrappers */
.is-home-page .storiesWidgetWrapper .storiesWidgetListItem,
.is-home-page .storiesWidgetWrapper .horizontal-sl-item-bc,
.is-home-page .storiesWidgetWrapper .accordion-button {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Main visible ring around story image */
.is-home-page .storiesWidgetWrapper .horizontal-sl-icon-bc {
  border: none !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgb(45, 255, 95) !important;
  border-radius: 50% !important;
}

/* Remove original red ring layers */
.is-home-page .storiesWidgetWrapper .horizontal-sl-item-bc::before,
.is-home-page .storiesWidgetWrapper .horizontal-sl-item-bc::after,
.is-home-page .storiesWidgetWrapper .storiesWidgetListItem::before,
.is-home-page .storiesWidgetWrapper .storiesWidgetListItem::after,
.is-home-page .storiesWidgetWrapper .accordion-button::before,
.is-home-page .storiesWidgetWrapper .accordion-button::after,
.is-home-page .storiesWidgetWrapper .horizontal-sl-icon-bc::before,
.is-home-page .storiesWidgetWrapper .horizontal-sl-icon-bc::after {
  content: none !important;
  display: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Seen / visited stories become grey */
.is-home-page .storiesWidgetWrapper .storiesWidgetListItem.visited .horizontal-sl-icon-bc,
.is-home-page .storiesWidgetWrapper .storiesWidgetListItem.seen .horizontal-sl-icon-bc,
.is-home-page .storiesWidgetWrapper .storiesWidgetListItem.viewed .horizontal-sl-icon-bc,
.is-home-page .storiesWidgetWrapper .storiesWidgetListItem.read .horizontal-sl-icon-bc,
.is-home-page .storiesWidgetWrapper .storiesWidgetListItem.watched .horizontal-sl-icon-bc,
.is-home-page .storiesWidgetWrapper .horizontal-sl-item-bc.visited .horizontal-sl-icon-bc,
.is-home-page .storiesWidgetWrapper .horizontal-sl-item-bc.seen .horizontal-sl-icon-bc,
.is-home-page .storiesWidgetWrapper .horizontal-sl-item-bc.viewed .horizontal-sl-icon-bc,
.is-home-page .storiesWidgetWrapper .horizontal-sl-item-bc.read .horizontal-sl-icon-bc,
.is-home-page .storiesWidgetWrapper .horizontal-sl-item-bc.watched .horizontal-sl-icon-bc {
  box-shadow: 0 0 0 4px #8f959e !important;
}


/* =========================================================
   ODDS
   ========================================================= */

.market-odd-bc {
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}


/* =========================================================
   PROMOTIONS CARDS - DESKTOP
   ========================================================= */

@media (min-width: 768px) {
  .promotionsListEl-bc {
    border-radius: 15px !important;
    overflow: hidden !important;
  }

  .promotions-article-title {
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}


/* =========================================================
   CASINO GAME CARDS - DESKTOP
   ========================================================= */

@media (min-width: 768px) {
  .casinoGameItem,
  .casinoGameItemImage,
  .casinoGameItemContent,
  .casino-game-item,
  .casino-game-item-image-bc,
  .casino-game-item-content {
    border-radius: 10px !important;
    overflow: hidden !important;
  }
}


/* =========================================================
   GLOBAL FONT
   ========================================================= */

body,
button,
input,
select,
textarea,
p,
span,
a,
li,
label,
h1,
h2,
h3,
h4,
h5,
h6,
.checkbox-control-text-bc,
.casino-popup-title,
.casino-popup-content,
.promotions-article-title,
.header-icon-text,
.nav-menu-item,
.hdr-user-info-texts-bc,
.sp-button-content-text-bc,
.form-control-label-bc,
.view-title-more,
.horizontal-sl-title-bc {
  font-family: "IRANSemiBold", Roboto, Arial, Helvetica, sans-serif !important;
  font-weight: 200 !important;
}


/* =========================================================
   MULTI-COLUMN SPORTS - FIX CLIPPED TEAM NAMES
   ========================================================= */

.multi-column-content > li:first-child {
  min-height: 72px !important;
  height: auto !important;
  align-items: center !important;
}


/* =========================================================
   GREEN THEME OVERRIDES
   Target green: rgb(123, 251, 117)
   ========================================================= */


/* -----------------------------------------
   Promotions header button
   ----------------------------------------- */

.header-custom-buttons .header-icon-text.bc-i-promotions {
  background: rgb(123, 251, 117) !important;
  border-color: rgb(123, 251, 117) !important;
  color: #000000 !important;
}

.header-custom-buttons .header-icon-text.bc-i-promotions span {
  color: #000000 !important;
}


/* -----------------------------------------
   Register button
   ----------------------------------------- */
/*
button.btn.s-small.register {
  background: rgb(123, 251, 117) !important;
  border-color: rgb(123, 251, 117) !important;
  color: #000000 !important;
}

button.btn.s-small.register span {
  color: #000000 !important;
}


/* -----------------------------------------
   Other green buttons:
   - Deposit button
   - Login submit button
   - similar a-color buttons in forms
   ----------------------------------------- */

a.btn.a-color.header-icon-text.bc-i-circle-dollar,
.entrance-form-actions-holder-bc .btn.a-color,
.entrance-form-action-item-bc .btn.a-color,
button.btn.a-color[type="submit"] {
  background: rgb(123, 251, 117) !important;
  border-color: rgb(123, 251, 117) !important;
  color: #000000 !important;
}

a.btn.a-color.header-icon-text.bc-i-circle-dollar span,
.entrance-form-actions-holder-bc .btn.a-color span,
.entrance-form-action-item-bc .btn.a-color span,
button.btn.a-color[type="submit"] span {
  color: #000000 !important;
}

/* Deposit icon black */
a.btn.a-color.header-icon-text.bc-i-circle-dollar::before {
  color: #000000 !important;
}


/* =========================================================
   NAVIGATION - HOVER AND ACTIVE STATES
   ========================================================= */

/* Hover state: green top line 
.nav-menu-container.header-navigation .nav-menu-item:hover,
.nav-menu-container.header-navigation li:hover > .nav-menu-item {
  border-color: rgb(123, 251, 117) !important;
  border-top-color: rgb(123, 251, 117) !important;
  box-shadow: inset 0 3px 0 rgb(123, 251, 117) !important;
}

/* Hover / active pseudo elements 
.nav-menu-container.header-navigation li:hover > .nav-menu-item::before,
.nav-menu-container.header-navigation li:hover > .nav-menu-item::after,
.nav-menu-container.header-navigation li.active > .nav-menu-item::before,
.nav-menu-container.header-navigation li.active > .nav-menu-item::after,
.nav-menu-container.header-navigation .nav-menu-item[aria-current="page"]::before,
.nav-menu-container.header-navigation .nav-menu-item[aria-current="page"]::after,
.nav-menu-container.header-navigation .nav-menu-item.active::before,
.nav-menu-container.header-navigation .nav-menu-item.active::after {
  background: rgb(123, 251, 117) !important;
  border-color: rgb(123, 251, 117) !important;
}

/* Active item background should be dark blue, not orange 
.nav-menu-container.header-navigation .nav-menu-item.active,
.nav-menu-container.header-navigation li.active > .nav-menu-item,
.nav-menu-container.header-navigation .nav-menu-item[aria-current="page"] {
  background: rgb(2, 11, 34) !important;
  color: #ffffff !important;
  border-top-color: rgb(123, 251, 117) !important;
  box-shadow: inset 0 3px 0 rgb(123, 251, 117) !important;
}

/* Keep active nav text/icons white 
.nav-menu-container.header-navigation .nav-menu-item.active span,
.nav-menu-container.header-navigation .nav-menu-item.active i,
.nav-menu-container.header-navigation li.active > .nav-menu-item span,
.nav-menu-container.header-navigation li.active > .nav-menu-item i,
.nav-menu-container.header-navigation .nav-menu-item[aria-current="page"] span,
.nav-menu-container.header-navigation .nav-menu-item[aria-current="page"] i,
.nav-menu-container.header-navigation .nav-menu-item.active svg,
.nav-menu-container.header-navigation li.active > .nav-menu-item svg,
.nav-menu-container.header-navigation .nav-menu-item[aria-current="page"] svg {
  color: #ffffff !important;
  fill: currentColor !important;
}

/* =========================================================
   BADGES
   ========================================================= */

.nav-menu-item[data-badge]::before,
.nav-menu-item[data-badge]::after,
.badge-new::before,
.badge-new::after {
  color: #000000 !important;
}

/*CSS*/

.featuredGames .view-title-more {
    display: flex;
    justify-content: center;
    align-items: center;
}

.featuredGames .view-title-more::before,
.featuredGames .view-title-more::after {
    content: "";
    display: block;
    width: 65px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2dff5f);
    border-radius: 2px;
   }
.featuredGames  .view-title-more::before {
    margin-right: 10px;
}

.featuredGames .view-title-more::after {
    margin-left: 10px;
}

/* --- Base Styles (Adjusted for RTL compatibility) --- */
.justiceGames .view-title-more,
.games-content > .page-view-more .view-title-more {
    display: flex;
    align-items: center;
    position: relative;
    /* Use logical padding: starts on left in LTR, right in RTL */
    padding-inline-start: 30px; 
    padding-inline-end: 0;
    text-shadow: 0 0 14px rgba(45, 255, 95, .25);
    color: #d9ffd9;
}

.justiceGames .view-title-more::before,
.games-content > .page-view-more .view-title-more::before {
    content: "\2605";
    position: absolute;
    /* Use logical positioning */
    inset-inline-start: 0; 
    display: flex;
    align-items: center;
    height: 100%;
    color: #2dff5f;
    font-size: 14px;
    /* Use logical border and padding */
    border-inline-start: 3px solid #2dff5f;
    padding-inline-start: 8px;
}

/* --- Specific RTL Overrides for Farsi --- */
[dir="rtl"] .justiceGames .view-title-more,
[dir="rtl"] .games-content > .page-view-more .view-title-more {
    padding-left: 0;
    padding-right: 30px;
}

[dir="rtl"] .justiceGames .view-title-more::before,
[dir="rtl"] .games-content > .page-view-more .view-title-more::before {
    left: auto;
    right: 0;
    border-left: none;
    border-right: 3px solid #2dff5f;
    padding-left: 0;
    padding-right: 8px;
}

.games-content .games-horiz {
    margin-top: 25px!important;
}
.games-content .games-horiz-scroll {
    row-gap: 33px !important;
}

.layout-header-holder-bc {
    position: relative; /* Ensures the line stays attached to the header */
}

.layout-header-holder-bc::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;          
    background-color: #2DFF5F;
    width: 100%;
    
    /* Animation settings */
    animation: slideRightToLeft 2s ease-out forwards;
    transform-origin: left;
}

@keyframes slideRightToLeft {
    0% {
        transform: scaleX(0); /* Starts empty at the right */
    }
    100% {
        transform: scaleX(1); /* Fills to the left */
    }
}

img.hdr-logo-bc {
    animation: 3s cubic-bezier(0.22, 1, 0.36, 1) 0s 1 normal forwards running logoBallZoom, 3s ease-in-out 3s infinite normal none running logoPulse;
}


  @keyframes logoBallZoom {
    0% { transform: scale(2.5); opacity: 0; }
    60% { transform: scale(0.95); opacity: 1; }
    80% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
  }

  @keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 6px var(--primary-glow)); }
    50% { filter: drop-shadow(0 0 14px var(--primary-glow)) drop-shadow(0 0 28px var(--primary-soft)); }
  }

  @keyframes lineReveal {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
  }

  @keyframes ballRollIn {
    0% { transform: translateX(120px) rotate(0deg); opacity: 0; }
    40% { opacity: 1; }
    70% { transform: translateX(-6px) rotate(340deg); }
    85% { transform: translateX(3px) rotate(355deg); }
    100% { transform: translateX(0px) rotate(360deg); opacity: 1; }
  }



.nav-content-bc {
    background: transparent !important;
}

nav.nav-menu-container.header-navigation {
    background: transparent !important;
}

ul.nav-menu.nav-menu-hide-items {
    justify-content: center;
}
.nav-content-menu {
    height:40px
}
.nav-menu-item{
  color:#9fb3a8!important; 
}
.nav-menu>li:hover>.nav-menu-item{
  color:white !important; 
}
ul.nav-menu-sub a.nav-menu-item:hover {
    color: white !important;
}
.nav-content-bc>nav.nav-menu-container.header-navigation a.nav-menu-item.active {
    color: white !important;
}
a.nav-menu-item.active {
    color: black !important;
}
header.header-bc {
    background: linear-gradient(to bottom, var(--bg-card) 0%, var(--bg-main) 55%, #000f0a 100%) !important;
}

.layout-content-holder-bc .view-title-more.ellipsis {
    text-shadow: 0 0 14px rgba(45, 255, 95, .25);
    color: #d9ffd9;
}

/* 1. Main container setup using Grid */
.hm-row-bc.has-slider:nth-child(4) {
    display: grid !important;
    grid-template-columns: 1fr 40% 40% 1fr !important;
    justify-items: center !important;
    gap: 50px;
}

/* 2. Position the sliders */
.hm-row-bc.has-slider:nth-child(4) > div:nth-child(1) {
  grid-column: 2 !important;
  width: 100% !important;
  cursor: pointer !important;
}
.hm-row-bc.has-slider:nth-child(4) > div:nth-child(2) {
  grid-column: 3 !important; 
  width: 100% !important; 
  cursor: pointer !important;
}

/* 3. The Shadow and Item Styling */
.hm-row-bc.has-slider:nth-child(4)>div {
    border-radius: 12px;
       box-shadow: 
        0 0px 25px 5px rgb(45 255 95 / 40%), 
        0 0 15px rgba(45, 255, 95, 0.1);
}

/**/
.hm-row-bc .featuredGames .swiper-slide{
    box-shadow: 
        0 0 20px 5px rgb(45 255 95 / 20%), 
        0 0 15px rgba(45, 255, 95, 0.1)!important;
}
.hm-row-bc .featuredGames .swiper-slide .featuredGameItem {
    border:none !important; 
}
.hm-row-bc .featuredGames .carousel{
    overflow: visible !important;
    margin-bottom: 20px!important;
    margin-left: 10px!important;
    margin-right: 10px!important;
}
.hm-row-bc .featuredGames .page-view-more{
    margin-bottom: 15px !important;
}

.featuredGames {
    margin-top: 15px !important;
}

.product-banner-1 .product-banner-container-bc.col-4.product-banner-without-titles>div:nth-child(1) {
    border-radius: 12px;
    box-shadow: 
        0 0px 25px 5px rgb(106 10 87), 
        0 0 15px rgb(118 9 97);
    
}
.product-banner-1 .product-banner-container-bc.col-4.product-banner-without-titles>div:nth-child(2) {
    border-radius: 12px;
    box-shadow: 
        0 0px 25px 5px rgb(36 85 52), 
        0 0 15px rgb(62 193 103);    
}
.product-banner-1 .product-banner-container-bc.col-4.product-banner-without-titles>div:nth-child(3) {
    border-radius: 12px;
    box-shadow: 
        0 0px 25px 5px rgb(152 85 177), 
        0 0 15px rgb(36 32 39);    
}
.product-banner-1 .product-banner-container-bc.col-4.product-banner-without-titles>div:nth-child(4) {
    border-radius: 12px;
    box-shadow: 
        0 0px 25px 5px rgb(85 149 150), 
        0 0 15px rgb(89 58 31);    
}
.product-banner-1 .product-banner-container-bc.col-4.product-banner-without-titles>div:nth-child(5) {
    border-radius: 12px;
    box-shadow: 
        0 0px 25px 5px rgb(189 115 62), 
        0 0 15px rgb(89 166 162);    
}

.product-banner-1 .product-banner-container-bc.col-4.product-banner-without-titles {
    grid-gap: 50px!important;
    margin-bottom: 22px!important;
    padding:0 30px!important;
}

.footerContainer .footerLinkCols {gap: 45px;}