/* premium-hero.css — FINAL desktop layout (banner + live panel) */
/* Mobile NOT touched */

@media (min-width: 821px){

  /* ===== PAGE WIDTH ===== */
  .wrapper .page{
    padding-left: 80px !important;
    padding-right: 0 !important;
  }

  .wrapper .main-content{
    max-width: 1550px !important;
    margin: 0 auto !important;
    padding-top: 120px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    box-sizing: border-box !important;
  }

  /* ===== HEADER ===== */
  .wrapper .header{
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  .wrapper .header .header-inner{
    max-width: 1550px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    box-sizing: border-box !important;
  }

  .header .top-nav-wrapper > .top-nav,
  .header nav .top-nav{
    display: none !important;
  }

  /* ===== SIDEBAR + CHEVRON ===== */
  .left-sidebar{
    width: 80px !important;
    z-index: 3000 !important;
    overflow: visible !important;
  }

  .left-sidebar.is-open{
    width: 240px !important;
    box-shadow: 24px 0 50px rgba(0,0,0,0.45);
  }

  .left-sidebar .sidebar-toggle span{
    display: none !important;
  }

  .left-sidebar .sidebar-toggle{
    position: absolute !important;
    top: 50% !important;
    right: -18px !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 64px !important;
    background: rgba(8,14,28,0.95) !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 3200 !important;
  }

  .left-sidebar .sidebar-toggle::before{
    content: "›";
    font-size: 26px;
    line-height: 1;
    color: rgba(236,235,239,0.9);
  }

  .left-sidebar.is-open .sidebar-toggle::before{
    content: "‹";
  }

  /* ===== HERO: BANNER + LIVE ===== */
  .section_Section__14IWw.landing_LandingGameSection__JPR73{
    display: flex !important;
    align-items: stretch !important;
    gap: 30px !important;
  }

  /* Banner fixed width */
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .promotion-banner{
    flex: 0 0 1080px !important;
    width: 1080px !important;
    max-width: 1080px !important;
    margin: 0 !important;
  }

  /* Right panel */
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h{
    flex: 0 0 420px !important;
    width: 420px !important;
    max-width: 420px !important;
    background: rgba(15,22,40,0.85);
    border-radius: 18px;
    padding: 18px;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
  }

  .top-events-24h .top-events-title{
    font-size: 18px;
    font-weight: 700;
    margin: 4px 0 14px;
  }

  /* Live inside panel */

  /* Show only 5 desktop events */
  .top-events-24h .live .live_el:nth-of-type(n+6){
    display: none !important;
  }

}

@media (min-width: 821px){

  /* Ограничиваем live до 5 строк событий */
  .top-events-24h .live a:nth-of-type(n+6){
    display: none !important;
  }

  /* Убираем любую фиксированную высоту */

}


@media (min-width: 821px){

  /* Make live normal inside right panel (override main.css fixed rail) */

}


@media (min-width: 821px){

  /* ===== HERO: banner narrower + live fits within content ===== */
  .section_Section__14IWw.landing_LandingGameSection__JPR73{
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    gap: 30px !important;
    align-items: stretch !important;
  }

  /* Right panel fixed width that always fits */
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h{
    flex: 0 0 420px !important;
    width: 420px !important;
    max-width: 420px !important;
    box-sizing: border-box !important;
  }

  /* Banner takes remaining space (so it becomes narrower automatically) */
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .promotion-banner{
    flex: 1 1 auto !important;
    width: calc(100% - 450px) !important;   /* 420 + 30 gap */
    max-width: 1100px !important;          /* extra “narrow” cap */
    margin: 0 !important;
    box-sizing: border-box !important;
  }

}


@media (min-width: 821px){

  /* ===== Top wins: show only 5 items ===== */
  .top-events-24h .live .item.slot:nth-child(n+6){
    display: none !important;
  }

  /* ===== Live container reset (already made static, but keep hard) ===== */

  /* ===== Item card layout ===== */
  .top-events-24h .live .item.slot{

    display: grid !important;
    grid-template-columns: 40px 1fr !important;
    align-items: center !important;
    column-gap: 10px !important;

    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }

  .top-events-24h .live .item.slot:hover{
    background: rgba(10,16,32,0.92) !important;
  }

  /* image */
  .top-events-24h .live .item.slot .image{
    width: 54px !important;
    height: 54px !important;
    border-radius: 12px !important;
    flex: none !important;
  }
  .top-events-24h .live .item.slot .image img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* info typography */
  .top-events-24h .live .item.slot .info .slot{
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }
  .top-events-24h .live .item.slot .info .amount.win{
      align-self: start !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
  }
  .top-events-24h .live .item.slot .info .username{
      font-size: 12px !important;
      opacity: 0.7 !important;
    font-size: 12px !important;
    opacity: 0.8 !important;
    line-height: 1.1 !important;
  }

  /* hover overlay -> convert to small inline button */

  .top-events-24h .live .item.slot:hover .hover{
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .top-events-24h .live .item.slot .hover .btn{
    padding: 8px 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

}


@media (min-width: 821px){

  /* ===== Top wins panel: remove vertical divider + outer highlight ===== */

  /* 1) Убираем “вертикальную линию” (часто это border-left у контейнера) */
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h{
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  /* на всякий случай — если линия нарисована псевдоэлементом */
  /* 2) Убираем обводку/подложку именно у списка (если она есть) */

  /* 3) Заголовок “Топ выигрышей за 24 часа” — по центру */
  .top-events-24h h3,
  .top-events-24h .title,
  .top-events-24h .top-events-title{
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
  }

  /* если заголовок — просто текстовый блок без класса (перестраховка) */
  .top-events-24h > *:first-child{
    text-align: center !important;
  }

}


@media (min-width: 821px){

  /* ===== Align title top level with banner ===== */
  .section_Section__14IWw.landing_LandingGameSection__JPR73{
    align-items: flex-start !important;
  }


  .top-events-24h .top-events-title{
    margin-top: 0 !important;
    margin-bottom: 14px !important;
  }

  /* ===== Reduce internal spacing of event cards (2x smaller) ===== */



  .top-events-24h .live .item.slot .image{
    width: 46px !important;
    height: 46px !important;
  }


}


@media (min-width: 821px){

  /* ===== Correct centered divider between banner and live ===== */

  .section_Section__14IWw.landing_LandingGameSection__JPR73{
    position: relative !important;
  }

  /* удаляем предыдущую линию */
  /* создаём линию у live-блока */

}


@media (min-width: 821px){

  /* =========================
     TOP WINS (right panel) — clean strict UI
     ========================= */

  /* Title: one line, centered, strict */
  .top-events-24h h3,
  .top-events-24h .title,
  .top-events-24h .top-events-title{
    text-align: center !important;
    white-space: nowrap !important;
    margin: 0 0 14px 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    opacity: 0.95 !important;
  }

  /* Panel: remove any “boxed highlight” / inner borders if present */

  /* Live list container: clean column with spacing */

  /* Each event row (the site uses: .live > .item.slot) */

  .top-events-24h .live .item.slot:hover{
    background: rgba(255,255,255,0.055) !important;
    border-color: rgba(255,255,255,0.09) !important;
  }

  /* Hide old hover overlay/button inside items (we’ll add click behavior later if needed) */

  /* Icon/image */
  .top-events-24h .live .item.slot .image{
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    border-radius: 12px !important;
    background: rgba(0,0,0,0.25) !important;
  }

  .top-events-24h .live .item.slot .image img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Info layout: name + user left, amount right */

  /* Left column (title + username) */
  .top-events-24h .live .item.slot .info .slot{
    display: block !important;

  .top-events-24h .live .item.slot .info .username{
      font-size: 12px !important;
      opacity: 0.7 !important;
    display: block !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    color: rgba(255,255,255,0.55) !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    max-width: 220px !important;
  }

  /* Amount: strict, right-aligned */
  .top-events-24h .live .item.slot .info .amount.win{
      align-self: start !important;
    margin-left: auto !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
    color: #2fd17b !important;
    white-space: nowrap !important;
    text-align: right !important;
  }

  /* If amount currently breaks into extra lines anywhere */
  .top-events-24h .live .item.slot .info .amount,
  .top-events-24h .live .item.slot .info .win{
    white-space: nowrap !important;
  }

}


@media (min-width: 821px){

  /* ===== NO SCROLL for live panel ===== */

  /* показываем только 5 событий (если где-то слетело ранее) */
  .top-events-24h .live .item.slot:nth-child(n+6){
    display: none !important;
  }

  /* чтобы высота панели держалась ровно как баннер */
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h{
  }
}


@media (min-width: 821px){

  /* ===== NO SCROLL for live panel ===== */

  /* показываем только 5 событий (если где-то слетело ранее) */
  .top-events-24h .live .item.slot:nth-child(n+6){
    display: none !important;
  }

  /* чтобы высота панели держалась ровно как баннер */
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h{
  }
}


/* ===== VJUH STRICT LIVE (DESKTOP ONLY) — final override (no rounded, one-line, equal hero height) ===== */
@media (min-width: 821px){

  /* --- Single source of truth for hero height --- */
  .section_Section__14IWw.landing_LandingGameSection__JPR73{
    align-items: stretch !important;
  }

  /* Set a strict hero height (banner + live одинаково) */
  .section_Section__14IWw.landing_LandingGameSection__JPR73{
    --heroH: 420px;
  }

  .section_Section__14IWw.landing_LandingGameSection__JPR73 .promotion-banner,
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h{
    height: var(--heroH) !important;
    min-height: var(--heroH) !important;
    max-height: var(--heroH) !important;
  }

  /* Try to force banner internals to respect height (safe overrides) */
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .promotion-banner img{
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* --- Right panel: strict UI (no blur, no rounded, no glow) --- */
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h{
    background: rgba(12,18,34,0.98) !important;
    border-radius: 16px !important;
    backdrop-filter: none !important;
    padding: 14px 14px 12px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
  }

  .top-events-24h .top-events-title{
    margin: 0 0 10px !important;
    padding: 0 0 8px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    line-height: 18px !important;
    height: 18px !important; /* фиксируем, чтобы расчёты по высоте были стабильнее */
  }

  /* --- Live container: NO SCROLL, ровно 5 строк --- */
  .top-events-24h .live{
    border-left: 0 !important;
    box-shadow: none !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    display: block !important;
  }

  /* Hide anything beyond 5 (на всякий) */
  .top-events-24h .live .live_el:nth-of-type(n+6),
  .top-events-24h .live a:nth-of-type(n+6){
    display: none !important;
  }

  /* --- Row height: 5 rows exactly --- */
  .top-events-24h{
    --rowH: calc((var(--heroH) - 14px - 12px - 18px - 10px - 8px - 35px) / 5);
  }


  /* --- Item row: tabular strict --- */

    border-bottom: 0 !important;
  }

  /* No hover cosmetics */
    background: transparent !important;
  }

  /* Remove old hover overlay/button completely */
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
    display: none !important;
  }

  /* --- Icon --- */
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 16px !important;
    background: transparent !important;
  }
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }


    
    min-width: 0 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    color: rgba(255,255,255,0.92) !important;
    margin: 0 !important;
    display: block !important;
  }

    flex: 0 0 auto !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    color: rgba(255,255,255,0.55) !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    max-width: none !important;
    text-overflow: ellipsis !important;
  }
    content: "·" !important;
    margin-right: 8px !important;
    color: rgba(255,255,255,0.35) !important;
  }

    flex: 0 0 auto !important;
    margin-left: auto !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    text-align: right !important;
    color: rgba(255,255,255,0.92) !important; /* строгий, без “зелёного успеха” */
  }

  /* Ensure no line breaks anywhere */
    white-space: nowrap !important;
  }

  /* --- VJUH: row layout fix (prevents text over image) --- */
    display: grid !important;
    grid-template-columns: 56px 1fr auto !important;
    column-gap: 12px !important;
    align-items: center !important;
  }

    grid-column: 1 !important;
  }

    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "slot amount"
      "username amount" !important;
    column-gap: 12px !important;
    row-gap: 1px !important;
    width: 100% !important;
    min-width: 0 !important;
    align-items: start !important;
  }

    justify-self: end !important;
    align-self: center !important;
    margin-left: 0 !important;
  }


  /* --- VJUH: final typography + alignment fixes for grid info --- */
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    justify-self: start !important;
  }
      font-size: 12px !important;
      opacity: 0.7 !important;
    display: block !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    justify-self: start !important;
  }
    content: "" !important;
    margin-right: 0 !important;
  }
    margin-left: 0 !important;
    line-height: 1 !important;
    justify-self: end !important;
    align-self: center !important;
  }


  /* --- VJUH: FINAL LIVE ROW LAYOUT (fix text missing) --- */

    display: grid !important;
    grid-template-columns: 56px 1fr !important;
    column-gap: 12px !important;
    align-items: center !important;

    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }

    width: 40px !important;
    height: 40px !important;
    justify-self: start !important;
  }

    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "slot amount"
      "username amount" !important;
    column-gap: 12px !important;
    row-gap: 2px !important;
    align-items: center !important;
    min-width: 0 !important;
  }

    grid-area: slot !important;
  }
    grid-area: username !important;
    display: block !important;
    opacity: 0.7 !important;
  }
    grid-area: amount !important;
    justify-self: end !important;
    align-self: center !important;
    margin-left: 0 !important;
  }


  /* --- VJUH: FORCE TEXT VISIBILITY (fix only-avatars bug) --- */
  .top-events-24h .live,
  .top-events-24h .live *{
    visibility: visible !important;
    opacity: 1 !important;
  }

  .top-events-24h .live{
    border-left: 0 !important;
    box-shadow: none !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    display: block !important;
  }

    display: grid !important;
    position: relative !important;
    z-index: 2 !important;
    min-width: 0 !important;
    color: rgba(255,255,255,0.92) !important;
  }

    display: block !important;
    color: inherit !important;
  }

    opacity: 0.7 !important;
  }

  /* --- VJUH: FIX grid placement (text back + aligned) --- */
    display: grid !important;
    grid-template-columns: 56px 1fr !important;
    column-gap: 12px !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }

    grid-column: 1 !important;
    width: 40px !important;
    height: 40px !important;
  }

    grid-column: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    grid-template-areas: "slot amount" "username amount" !important;
    column-gap: 12px !important;
    row-gap: 2px !important;
    align-items: center !important;
    min-width: 0 !important;
  }

    grid-area: slot !important;
    margin: 0 !important;
    line-height: 1.1 !important;
  }

    grid-area: username !important;
    margin: 0 !important;
    display: block !important;
    opacity: 0.7 !important;
    line-height: 1.05 !important;
  }

    grid-area: amount !important;
    justify-self: end !important;
    margin-left: 0 !important;
    line-height: 1 !important;
  }

    content: "" !important;
    margin-right: 0 !important;
  }



  /* --- VJUH: LIVE FINAL FIX (stable text + layout) --- */
    display: grid !important;
    grid-template-columns: 56px 1fr !important;
    column-gap: 12px !important;
    align-items: center !important;
    padding: 8px 0 !important;
  }

    grid-column: 1 !important;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
  }

    grid-column: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "slot amount"
      "username amount" !important;
    column-gap: 12px !important;
    row-gap: 2px !important;
    min-width: 0 !important;
    align-items: center !important;
  }

    grid-area: slot !important;
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

    grid-area: username !important;
    display: block !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    opacity: 0.7 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

    content: "" !important;
    margin-right: 0 !important;
  }

    grid-area: amount !important;
    justify-self: end !important;
    align-self: center !important;
    display: block !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

}



/* --- VJUH: LIVE ONLINE INDICATOR (inside panel, bottom-center) --- */
@media (min-width: 821px){
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h{
    position: relative !important;
  }

  /* give room so footer doesn't overlap last row */
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h .live{
    padding-bottom: 44px !important;
  }

  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h .live-online-footer{
    position: absolute !important;
    left: 50% !important;
    bottom: 10px !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 28px) !important;
    display: flex !important;
    justify-content: center !important;
    pointer-events: auto !important;
    z-index: 5 !important;
  }

  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h a.online.online-in-live{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 10px !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    text-decoration: none !important;
    color: rgba(255,255,255,0.88) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  /* green dot */
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h a.online.online-in-live::before{
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #27d3a2 !important;
    box-shadow: 0 0 10px rgba(39,211,162,0.35) !important;
    display: inline-block !important;
  }

  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h a.online.online-in-live .online-label{
    opacity: 0.85 !important;
  }

  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h a.online.online-in-live .count{
    font-weight: 800 !important;
    opacity: 1 !important;
  }
}

/* ===== FINAL Banner Nav (clean, minimal, hover only) ===== */
@media (min-width: 821px){

  .promotion-banner{
    position: relative !important;
  }

  /* Arrows */
  .promotion-banner .slider__control{
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

  .promotion-banner .slider__control{
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 32px !important;
    height: 32px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: rgba(0,0,0,0.16) !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25) !important;

    border: 0 !important;
    outline: 0 !important;

    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .18s ease, transform .18s ease !important;
  }

  .promotion-banner .slider__control[data-slide="prev"]{
    left: 14px !important;
  }

  .promotion-banner .slider__control[data-slide="next"]{
    right: 14px !important;
  }

  .promotion-banner .slider__control::before{
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    border-right: 2px solid rgba(255,255,255,0.85) !important;
    border-bottom: 2px solid rgba(255,255,255,0.85) !important;
    display: block !important;
  }

  .promotion-banner .slider__control[data-slide="prev"]::before{
    transform: rotate(135deg);
  }

  .promotion-banner .slider__control[data-slide="next"]::before{
    transform: rotate(-45deg);
  }

  .promotion-banner:hover .slider__control{
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Indicators as dots */

  .promotion-banner .slider__indicators li{
    border: 0 !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.35) !important;
  }

  .promotion-banner .slider__indicators li.active{
    background: rgba(255,255,255,0.85) !important;
  }

  .promotion-banner:hover .slider__indicators{
    opacity: 1 !important;
    pointer-events: auto !important;
  }


}

/* ===== FIX: remove ChiefSlider default SVG icon inside arrows (leave only our custom) ===== */
@media (min-width: 821px){
  .promotion-banner .slider__control::before{
    /* kill default svg background from chief-slider.min.css */
    background: none !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: auto !important;

    /* keep our arrow */
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    border-right: 2px solid rgba(255,255,255,0.85) !important;
    border-bottom: 2px solid rgba(255,255,255,0.85) !important;
    display: block !important;
  }
}

/* ===== Dots always visible (no hover dependency) ===== */
@media (min-width: 821px){
}



/* ===== Adjust dots 2px lower again ===== */
@media (min-width: 821px){
  .promotion-banner .slider__indicators{
    bottom: 4px !important;
  }
}


  /* 3) показываем ровно 5 slot-событий */
  .section_Section__14IWw.landing_LandingGameSection__JPR73 .top-events-24h .live .item.slot:nth-child(n+6){
    display: none !important;
  }
}



}


/* ===== DEBUG: show LIVE text no matter what ===== */
@media (min-width: 821px){
  .top-events-24h .live .info,
  .top-events-24h .live .info *{
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #fff !important;
    font-size: 14px !important;
    position: relative !important;
    z-index: 9999 !important;
  }
}

@media (min-width: 821px){

  /* ===== CLEAN LIVE LAYOUT ===== */

  .top-events-24h .live{
    display: flex !important;
    flex-direction: column !important;
  }

  .top-events-24h .live .item.slot{
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }

  .top-events-24h .live .item.slot .image{
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
  }

  .top-events-24h .live .item.slot .info{
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 !important;
  }

  .top-events-24h .live .item.slot .info .slot{
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .top-events-24h .live .item.slot .info .username{
    font-size: 12px !important;
    opacity: 0.7 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .top-events-24h .live .item.slot .info .amount.win{
    position: absolute !important;
    right: 0 !important;
  }

}

@media (min-width: 821px){

  /* 🎰 Slot icon */
  .top-events-24h .live .item.slot .info .slot::before{
    content: "🎰";
    margin-right: 6px;
    font-size: 13px;
    opacity: 0.9;
  }

  /* 👤 User icon */
  .top-events-24h .live .item.slot .info .username::before{
    content: "👤";
    margin-right: 6px;
    font-size: 12px;
    opacity: 0.6;
  }

}

/* ===== VJUH: Online users badge inside .top-events-24h ===== */
@media (min-width: 821px){

  /* сам индикатор (у тебя это <a class="online">) */
  .top-events-24h a.online{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    margin: -20px auto 0 !important;
    padding: 8px 12px !important;

    width: fit-content !important;
    max-width: 100% !important;

    border-radius: 12px !important;
    border: none !important;
    background: transparent !important;

    text-decoration: none !important;
  }

  /* подпись */
  .top-events-24h a.online::before{
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    color: rgba(255,255,255,0.70) !important;
    white-space: nowrap !important;
  }

  /* зелёная точка */
  .top-events-24h a.online .dot{
    width: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: #38d9a9 !important;
    box-shadow: 0 0 0 3px rgba(56,217,169,0.18) !important;
    flex: 0 0 8px !important;
  }

  /* число */
  .top-events-24h a.online .count{
    font-size: 13px !important;
    font-weight: 700 !important;
    color: rgba(255,255,255,0.92) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}


/* LOAD MORE GAMES BUTTON */
.slots-button{
    width:100%;
    display:flex;
    justify-content:center;
    margin:40px 0 10px;
}

.slots-button button{
    display:flex;
    align-items:center;
    gap:16px;
    padding:14px 26px;
    font-size:15px;
    font-weight:600;
    border-radius:10px;
    border:none;
    background:linear-gradient(135deg,#6a5cff,#8f7bff);
    color:#fff;
    cursor:pointer;
    transition:all .25s ease;
    box-shadow:0 8px 20px rgba(106,92,255,.35);
}

.slots-button button:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(106,92,255,.55);
}

.slots-button button img{
    width:14px;
    opacity:.8;
}


/* PREMIUM LOAD MORE BUTTON */

.slots-button button{
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,#6a5cff,#8f7bff);
}

/* glow */
.slots-button button::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:10px;
    background:linear-gradient(120deg,transparent,rgba(255,255,255,.25),transparent);
    opacity:0;
    transition:opacity .35s ease;
}

.slots-button button:hover::before{
    opacity:1;
}

/* arrow animation */
.slots-button button img{
    transition:transform .25s ease, opacity .25s ease;
}

.slots-button button:hover img{
    transform:translateY(3px);
    opacity:1;
}

/* subtle breathing animation */
@keyframes premiumBtnPulse{
    0%{box-shadow:0 8px 20px rgba(106,92,255,.35);}
    50%{box-shadow:0 10px 28px rgba(106,92,255,.55);}
    100%{box-shadow:0 8px 20px rgba(106,92,255,.35);}
}

.slots-button button{
    animation:premiumBtnPulse 3s infinite;
}


/* PROVIDER RESULTS — use same card geometry/style as main shelves */
#slots-search-results .game-item{ width:160px !important; }
#slots-search-results .game-item a{
  display:block !important;
  border-radius:0 !important;
  overflow:visible !important;
  background:none !important;
  box-shadow:none !important;
  transform:none !important;
  filter:none !important;
}
#slots-search-results .game-item a::before{ content:none !important; display:none !important; }

#slots-search-results .slot-card{
  position:relative !important;
  width:160px !important;
  height:194px !important;
  border-radius:14px !important;
  overflow:hidden !important;
  background:rgba(12,13,16,0.55) !important;
  box-shadow:inset 0 -24px 44px rgba(0,0,0,0.18) !important;
}

#slots-search-results .slot-card .slot-bg{
  position:absolute !important;
  inset:-10px !important;
  background-size:cover !important;
  background-position:center !important;
  filter:blur(4px) saturate(1.05) !important;
  transform:none !important;
  opacity:0.66 !important;
  z-index:0 !important;
}

#slots-search-results .slot-card::before{
  content:"" !important;
  position:absolute !important;
  inset:-6px !important;
  border-radius:14px !important;
  pointer-events:none !important;
  z-index:4 !important;
  background:
    linear-gradient(to bottom,
      rgba(120,170,255,0.22) 0%,
      rgba(120,170,255,0.10) 18%,
      rgba(0,0,0,0.00) 42%),
    linear-gradient(to top,
      rgba(0,0,0,0.00) 58%,
      rgba(0,0,0,0.26) 80%,
      rgba(0,0,0,0.46) 100%);
  opacity:0.95 !important;
  filter:blur(8px) !important;
}

#slots-search-results .slot-card::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  border-radius:14px !important;
  pointer-events:none !important;
  z-index:3 !important;
  background:
    radial-gradient(120% 95% at 50% 42%,
      rgba(12,13,16,0.00) 50%,
      rgba(12,13,16,0.58) 100%),
    radial-gradient(120% 120% at 50% 50%,
      rgba(0,0,0,0.00) 55%,
      rgba(0,0,0,0.45) 100%);
  opacity:0.52 !important;
}

#slots-search-results .slot-card img{
  position:absolute !important;
  left:0 !important;
  top:50% !important;
  width:100% !important;
  height:auto !important;
  max-height:100% !important;
  z-index:4 !important;
  opacity:0.98 !important;
  filter:contrast(1.01) saturate(1.02) blur(0.35px) !important;
  transform:translate3d(0,-50%,0) !important;
}

@media (min-width: 821px){
  #slots-search-results .game-item a .slot-card::after,
  #slots-search-results .game-item a .slot-card .slot-bg,
  #slots-search-results .game-item a .slot-card img{
    transition:opacity 220ms ease, filter 220ms ease, transform 220ms ease !important;
  }

  #slots-search-results .game-item a:hover .slot-card::after{
    opacity:0.60 !important;
  }

  #slots-search-results .game-item a:hover .slot-card .slot-bg{
    filter:blur(3.4px) saturate(1.08) !important;
    opacity:0.72 !important;
  }

  #slots-search-results .game-item a:hover .slot-card img{
    filter:contrast(1.05) saturate(1.06) !important;
    transform:translate3d(0,-48%,0) scale(1.035) !important;
  }

  #slots-search-results .game-item a:hover .slot-card{
    box-shadow:
      inset 0 -24px 44px rgba(0,0,0,0.18),
      0 0 18px rgba(70,120,255,0.28),
      0 0 34px rgba(70,120,255,0.18) !important;
  }
}

/* FULL SHELF PAGE — same card style as home showcases */
.shelf-grid .game-item{ width:160px !important; }
.shelf-grid .game-item a{
  display:block !important;
  border-radius:0 !important;
  overflow:visible !important;
  background:none !important;
  box-shadow:none !important;
  transform:none !important;
  filter:none !important;
}
.shelf-grid .game-item a::before{ content:none !important; display:none !important; }

.shelf-grid .slot-card{
  position:relative !important;
  width:160px !important;
  height:194px !important;
  border-radius:14px !important;
  overflow:hidden !important;
  background:rgba(12,13,16,0.55) !important;
  box-shadow:inset 0 -24px 44px rgba(0,0,0,0.18) !important;
}

.shelf-grid .slot-card .slot-bg{
  position:absolute !important;
  inset:-10px !important;
  background-size:cover !important;
  background-position:center !important;
  filter:blur(4px) saturate(1.05) !important;
  transform:none !important;
  opacity:0.66 !important;
  z-index:0 !important;
}

.shelf-grid .slot-card::before{
  content:"" !important;
  position:absolute !important;
  inset:-6px !important;
  border-radius:14px !important;
  pointer-events:none !important;
  z-index:4 !important;
  background:
    linear-gradient(to bottom,
      rgba(120,170,255,0.22) 0%,
      rgba(120,170,255,0.10) 18%,
      rgba(0,0,0,0.00) 42%),
    linear-gradient(to top,
      rgba(0,0,0,0.00) 58%,
      rgba(0,0,0,0.26) 80%,
      rgba(0,0,0,0.46) 100%);
  opacity:0.95 !important;
  filter:blur(8px) !important;
}

.shelf-grid .slot-card::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  border-radius:14px !important;
  pointer-events:none !important;
  z-index:3 !important;
  background:
    radial-gradient(120% 95% at 50% 42%,
      rgba(12,13,16,0.00) 50%,
      rgba(12,13,16,0.58) 100%),
    radial-gradient(120% 120% at 50% 50%,
      rgba(0,0,0,0.00) 55%,
      rgba(0,0,0,0.45) 100%);
  opacity:0.52 !important;
}

.shelf-grid .slot-card img{
  position:absolute !important;
  left:0 !important;
  top:50% !important;
  width:100% !important;
  height:auto !important;
  max-height:100% !important;
  z-index:4 !important;
  opacity:0.98 !important;
  filter:contrast(1.01) saturate(1.02) blur(0.35px) !important;
  transform:translate3d(0,-50%,0) !important;
}

@media (min-width: 821px){
  .shelf-grid .game-item a .slot-card::after,
  .shelf-grid .game-item a .slot-card .slot-bg,
  .shelf-grid .game-item a .slot-card img{
    transition:opacity 220ms ease, filter 220ms ease, transform 220ms ease !important;
  }

  .shelf-grid .game-item a:hover .slot-card::after{
    opacity:0.60 !important;
  }

  .shelf-grid .game-item a:hover .slot-card .slot-bg{
    filter:blur(3.4px) saturate(1.08) !important;
    opacity:0.72 !important;
  }

  .shelf-grid .game-item a:hover .slot-card img{
    filter:contrast(1.05) saturate(1.06) !important;
    transform:translate3d(0,-48%,0) scale(1.035) !important;
  }

  .shelf-grid .game-item a:hover .slot-card{
    box-shadow:
      inset 0 -24px 44px rgba(0,0,0,0.18),
      0 0 18px rgba(70,120,255,0.28),
      0 0 34px rgba(70,120,255,0.18) !important;
  }
}

/* SIDEBAR LOGO SWITCH */

.left-sidebar .logo{
  position: relative;
}

.left-sidebar .logo img{
  transition: opacity .25s ease, transform .25s ease;
}

/* compact logo visible by default */
.left-sidebar .logo-compact{
  width: 40px;
  opacity: 1;
}

/* full logo hidden */
.left-sidebar .logo-full{
  position: absolute;
  width: 120px;
  opacity: 0;
  transform: scale(.95);
}

/* when sidebar opened */
.left-sidebar.is-open .logo-compact{
  opacity: 0;
  transform: scale(.85);
}

.left-sidebar.is-open .logo-full{
  opacity: 1;
  transform: scale(1);
}


/* center expanded logo */
.left-sidebar.is-open .logo-full{
  opacity:1;
  transform:translate(-50%,-50%) scale(1);
}

.left-sidebar .logo-compact{
  width:48px !important;
}


/* FIX SIDEBAR LOGO POSITION */
.left-sidebar .logo{
  position: relative !important;
  overflow: hidden !important;
}

.left-sidebar .logo-full{
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  display:block !important;
  opacity:0 !important;
  transform:translate(-50%, -50%) scale(.95) !important;
  transform-origin:center center !important;
}

.left-sidebar.is-open .logo-full{
  opacity:1 !important;
  transform:translate(-50%, calc(-50% + 15px)) scale(1.3) !important;
}

.left-sidebar.is-open .logo-compact{
  opacity: 0 !important;
  transform: scale(.85) !important;
}

.left-sidebar .logo-compact{
  width: 48px !important;
  opacity: 1 !important;
  transition: opacity .25s ease, transform .25s ease !important;
}


/* FIX COMPACT LOGO SIZE */

.left-sidebar .logo{
  width:100%;
  height:100px;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.left-sidebar .logo-compact{
  width:auto !important;
  height:129px !important;
  max-width:78px !important;
  object-fit:contain !important;
  position:relative !important;
  top:0 !important;
  transform:scaleY(1.27) !important;
  transform-origin:center center !important;
}

.left-sidebar.is-open .logo-compact{
  opacity:0 !important;
}


/* ===== GLOBAL BACKGROUND ===== */

body{
  background:
    radial-gradient(1200px 700px at 80% -200px, rgba(80,120,255,0.18), transparent 70%),
    radial-gradient(900px 500px at 10% 20%, rgba(140,60,255,0.15), transparent 70%),
    radial-gradient(800px 600px at 70% 80%, rgba(0,160,255,0.12), transparent 70%),
    linear-gradient(180deg,#060b18 0%,#0a1020 100%);
  background-attachment: fixed;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(120,70,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70,160,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.03), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.02), transparent 45%);
  background-size: 120px 120px, 120px 120px, auto, auto;
  background-position: 0 0, 0 0, 0 0, 0 0;
  opacity: .55;
  filter: drop-shadow(0 0 6px rgba(120,70,255,0.25));
  z-index:-1;
}


/* ===== BACKGROUND AMBIENT LIGHT ===== */

body::after{
  content:none;
  position:fixed;
  inset:-15%;
  pointer-events:none;
  z-index:-1;

  background:
    radial-gradient(700px 400px at 20% 25%, rgba(86,120,255,0.10), transparent 70%),
    radial-gradient(800px 450px at 75% 30%, rgba(160,70,255,0.10), transparent 70%),
    radial-gradient(750px 420px at 60% 80%, rgba(0,180,255,0.08), transparent 70%);

  filter: blur(28px);
  opacity:0 !important;

  animation:none;
}

@keyframes ambientDrift{

  0%{
    transform: translate3d(0,0,0) scale(1);
  }

  50%{
    transform: translate3d(-2%, 1.5%, 0) scale(1.05);
  }

  100%{
    transform: translate3d(2%, -1.5%, 0) scale(1.08);
  }

}


/* ===== SIDEBAR MENU ALIGN FIX ===== */

.left-sidebar.is-open .side-nav li a{
  justify-content:flex-start !important;
  padding-left:18px !important;
  gap:14px !important;
}

.left-sidebar.is-open .side-nav li a svg{
  flex-shrink:0;
}

.left-sidebar.is-open .side-nav-tooltip{
  position:static !important;
  display:block !important;
  opacity:1 !important;
  background:none !important;
  padding:0 !important;
  margin-left:4px !important;
}

.left-sidebar.is-open .side-nav li:hover .side-nav-tooltip{
  display:block !important;
}


/* ===== SIDEBAR ICON ALIGN FIX ===== */

.left-sidebar.is-open .side-nav .nav-top li a{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:14px !important;
  padding-left:20px !important;
}

.left-sidebar.is-open .side-nav .nav-top li a .icon{
  width:22px !important;
  min-width:22px !important;
  margin-left:0 !important;
}

.left-sidebar.is-open .side-nav .nav-top li a .side-nav-tooltip{
  position:static !important;
  display:block !important;
  opacity:1 !important;
  background:none !important;
  padding:0 !important;
  margin-left:2px !important;
}

/* язык оставляем на месте */

.left-sidebar.is-open .nav-bottom{
  align-items:flex-start !important;
}

.left-sidebar .lang-switcher .lang-btn{
  border:none !important;
  box-shadow:none !important;
}


/* ===== FIX SIDEBAR ALIGNMENT ROOT ===== */

.left-sidebar.is-open .side-nav{
  align-items:stretch !important;
}

.left-sidebar.is-open .side-nav .nav-top{
  width:100% !important;
}

.left-sidebar.is-open .side-nav .nav-top li{
  width:100% !important;
}

.left-sidebar.is-open .side-nav .nav-top li a{
  width:100% !important;
}


/* ===== REMOVE LEFT ARROWS ===== */

.left-sidebar.is-open .side-nav li a::before{
  display:none !important;
}

.left-sidebar.is-open .side-nav li a svg{
  margin-left:0 !important;
}


/* ===== FIX LANGUAGE SWITCH POSITION ===== */

.left-sidebar .nav-bottom{
  width:100% !important;
  position:absolute !important;
  bottom:20px !important;
  left:0 !important;
  display:flex !important;
  justify-content:center !important;
}


/* ===== REMOVE LANGUAGE BUTTON FRAME ===== */

.left-sidebar .lang-switcher .lang-btn{
  border:none !important;
  background:none !important;
  box-shadow:none !important;
}


/* ===== REMOVE TOOLTIP ARROWS IN OPEN SIDEBAR ===== */
.left-sidebar.is-open .side-nav .side-nav-tooltip:before{
  content:none !important;
  display:none !important;
  border:0 !important;
}


/* ===== OPEN SIDEBAR: LEFT ALIGN + NEW HOVER ===== */

.left-sidebar.is-open .side-nav{
  width:100% !important;
}

.left-sidebar.is-open .side-nav .nav-top{
  width:100% !important;
  padding:0 12px 0 8px !important;
  box-sizing:border-box !important;
}

.left-sidebar.is-open .side-nav .nav-top li{
  width:100% !important;
  margin-bottom:14px !important;
}

.left-sidebar.is-open .side-nav .nav-top li a{
  width:100% !important;
  height:36px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  padding:0 14px !important;
  gap:14px !important;
  border-radius:12px !important;
  background:transparent !important;
  position:relative !important;
  line-height:1 !important;
  transition:background .22s ease, box-shadow .22s ease, transform .22s ease !important;
}

.left-sidebar.is-open .side-nav .nav-top li a .icon{
  width:20px !important;
  min-width:20px !important;
  height:20px !important;
  font-size:20px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
}

.left-sidebar.is-open .side-nav .nav-top li a .side-nav-tooltip{
  position:static !important;
  display:block !important;
  opacity:1 !important;
  margin:0 !important;
  padding:0 !important;
  background:none !important;
  color:#e9edf8 !important;
  font-size:15px !important;
  line-height:1 !important;
  font-weight:500 !important;
  white-space:nowrap !important;
  display:flex !important;
  align-items:center !important;
}

.left-sidebar.is-open .side-nav .nav-top li a::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  top:8px !important;
  bottom:8px !important;
  width:3px !important;
  border-radius:3px !important;
  background:linear-gradient(180deg,#4da3ff 0%, #7a5cff 100%) !important;
  opacity:0 !important;
  transform:scaleY(.5) !important;
  transition:opacity .22s ease, transform .22s ease !important;
}

.left-sidebar.is-open .side-nav .nav-top li a:hover,
.left-sidebar.is-open .side-nav .nav-top li a.active{
  background:rgba(255,255,255,0.05) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.04), 0 4px 12px rgba(0,0,0,0.16) !important;
  transform:translateX(2px) !important;
}

.left-sidebar.is-open .side-nav .nav-top li a:hover::after,
.left-sidebar.is-open .side-nav .nav-top li a.active::after{
  opacity:1 !important;
  transform:scaleY(1) !important;
}

.left-sidebar.is-open .side-nav .nav-top li a:hover .icon,
.left-sidebar.is-open .side-nav .nav-top li a.active .icon{
  color:#ffffff !important;
}

.left-sidebar.is-open .side-nav .nav-top li a:hover .side-nav-tooltip,
.left-sidebar.is-open .side-nav .nav-top li a.active .side-nav-tooltip{
  color:#ffffff !important;
}


/* FIX icon/text baseline alignment */
.left-sidebar.is-open .side-nav .nav-top li a .icon{
  position:relative !important;
  top:0 !important;
}

/* ===== MOBILE RESET FOR SIDEBAR / LOGOS ===== */
@media (max-width: 820px){

  .left-sidebar,
  .left-sidebar.is-open{
    width:80px !important;
    box-shadow:none !important;
  }

  .left-sidebar .logo{
    position:relative !important;
    width:100% !important;
    height:100px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
  }

  .left-sidebar .logo-full{
    display:none !important;
    opacity:0 !important;
    position:absolute !important;
    width:auto !important;
    max-width:none !important;
    transform:none !important;
  }

  .left-sidebar.is-open .logo-full{
    display:none !important;
    opacity:0 !important;
    transform:none !important;
  }

  .left-sidebar .logo-compact,
  .left-sidebar.is-open .logo-compact{
    display:block !important;
    opacity:1 !important;
    width:auto !important;
    height:86px !important;
    max-width:78px !important;
    object-fit:contain !important;
    position:relative !important;
    top:0 !important;
    transform:scaleY(1.27) !important;
    transform-origin:center center !important;
  }

  .left-sidebar .side-nav .side-nav-tooltip{
    display:none !important;
  }
}

/* FIX mobile menu logo size */
.mobile_menu_head-logo img{
  width:120px !important;
  max-width:120px !important;
  height:auto !important;
  object-fit:contain !important;
  transform:none !important;
}


/* HIDE logo in mobile menu */
.mobile_menu_head-logo{
display:none !important;
}


/* MOBILE HEADER LOGO SCALE */
@media (max-width: 768px){
header img[src="/img/prelogo.png"]{
transform:scale(1.3) !important;
transform-origin:left center !important;
}
}


/* ===== HIDE PAGE UNTIL PRELOADER FINISHES ===== */
body:not(.loaded) .wrapper{
  opacity:0 !important;
  visibility:hidden !important;
}

body.loaded .wrapper, body.loaded_hiding .wrapper, body.loaded_hiding .wrapper{
  opacity:1 !important;
  visibility:visible !important;
}

/* ===== ENERGY GRID BACKGROUND ===== */
.site-bg-ambient{
  position:fixed !important;
  inset:0 !important;
  pointer-events:none !important;
  z-index:-1 !important;
  opacity:.22 !important;
  background-image:
    linear-gradient(rgba(140,70,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,180,255,0.08) 1px, transparent 1px);
  background-size: 140px 140px, 140px 140px !important;
  background-position: 0 0, 0 0 !important;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0) 80%);
  filter: drop-shadow(0 0 10px rgba(120,70,255,0.18));
  animation: energyGridDrift 24s linear infinite;
}

@keyframes energyGridDrift{
  0%{ transform: translate3d(0,0,0); }
  100%{ transform: translate3d(-70px,-35px,0); }
}

/* PERF TEST: soften animated ambient background */
.site-bg-ambient{
  animation: none !important;
  filter: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  opacity: .10 !important;
}

body::before{
  filter: none !important;
}

/* ===== DISABLE AMBIENT BACKGROUND (performance) ===== */
.site-bg-ambient,
body::before,
body::after{
  display:none !important;
  animation:none !important;
  filter:none !important;
  mask:none !important;
}


/* PERF TUNE: gpu-friendly interactive layers */
.slot-card,
.side-nav li a,
.promotion-banner,
.top-events-24h{
  transform: translateZ(0);
  will-change: transform;
}
