@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url('../assets/fonts/montserrat.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../assets/fonts/robotoflex.woff2') format('woff2');
}

:root {
  --bg: #313131;
  --header-bg: #424242;
  --panel-bg: #424242;
  --input-bg: #545454;
  --green: #3dc55b;
  --gold: #fdcf4b;
  --live: #a7b1e6;
  --font-ui: 'Roboto Flex', Roboto, Inter, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Montserrat', sans-serif;
  --header-h: 49px;
  --header-margin: -1px;
}

html { background: var(--bg); }
html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
body { display: block; user-select: none; -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { border: 0; outline: 0; }
#root, #app { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.AppBackground-bYjHVH, .ViXqv {
  width: 100%; height: 100%; display: flex; flex-direction: column; background-color: var(--bg);
}
.ViXqv > header { flex: 0 0 auto; }
.ViXqv > .UIRootDiv-bHWLcl { flex: 1 1 auto; min-height: 0; }
header.HeaderContainer-hdAPM { position: relative; z-index: 20; }
.HeaderLogo-hirFpA img { display: block; }
.HeaderMenuWrapper-bxtuFr { position: relative; }
.HeaderMenuWrapperIcon-koJoiw { display: block; height: 28.4px; width: 24px; line-height: normal; }
.MenuHowToPlay-lctBY { display: none; }
.MenuContainer-gmbydA {
  opacity: 0; z-index: -1; pointer-events: none; transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
.MenuContainer-gmbydA.open { opacity: 1; z-index: 30; pointer-events: auto; transform: none; }
.MenuContainer-gmbydA img { pointer-events: none; }
.MenuHeaderUserAvatar-hXBAao img { height: 100%; width: 100%; object-fit: cover; border-radius: 4px; }
.MenuItem-fJkmCu { white-space: nowrap; }
.MenuItem-fJkmCu.hover { cursor: pointer; }
.PoweredText-gymeab { white-space: nowrap; }
.SwitchContainer-hgfKpR { cursor: pointer; flex: 0 0 auto; }
.SwitchContainer-hgfKpR .Slider-hdRZuN { cursor: pointer; }
.MenuContent-cPwJYG { border: 0; }

.WrapperStyled-eUvHDo, .fmNAlC {
  position: fixed; inset: 0; z-index: 4; pointer-events: none; height: 0;
}
.LiveWinsContainer-ligziG { pointer-events: none; }
.TitleLine-jgBFsu { border-top-right-radius: 0; }
.OnlineCount-eQvIfk { color: rgb(83, 243, 94); }
.UserLine-eJBrdr {
  transition: opacity .28s ease, transform .32s cubic-bezier(.22,1,.36,1);
  will-change: transform, opacity;
}
.UserLine-eJBrdr.swap { opacity: 0; transform: translateY(9px); }
.UserAvatar-jLsbUA { border-radius: 3px; background: #333; }
.FlagImage-fxGNHL { background: #222; }
@keyframes pulsation {
  0%, 100% { transform: scale(.72); opacity: .24; }
  50% { transform: scale(1.3); opacity: 1; }
}

.UIRootDiv-bHWLcl { position: relative; }
.GameUIRoot-hGuWyV { position: relative; }
.GameBlockContainer-bKXLGs { flex: 1 1 auto; min-height: 0; }
.GameViewport-kVcfEW { min-height: 0; }
.StageContainer-eDvSCX { width: 100%; height: 100%; position: relative; z-index: 1; }
.StageContainer-eDvSCX canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; }

.ResizableBlockOverflow-bvTeyQ, .resizable-overflow {
  box-sizing: content-box;
  overflow: visible;
  position: relative;
  flex: 0 0 auto;
  pointer-events: auto;
}
.ResizableBlockContainer-hUKgjD, .resizable-container {
  transform-origin: top left;
  position: relative;
  box-sizing: border-box;
}
.BetBarWrapper-bKdJMR {
  width: 100%; height: 100%;
  display: flex; border-radius: 16px;
  border: 2px solid rgba(255,255,255,.1);
  background: #424242; padding: 16px; gap: 20px;
  box-sizing: border-box;
}
.BetInputWrapper-kSNMCe {
  flex: 0 0 276px;
  width: 276px;
  min-width: 0;
}
.FreebetWrapper-gFfrbY {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  display: flex;
  gap: 20px;
}
.ButtonWrapper-jSlUli {
  flex: 0 0 320px;
  width: 320px;
  min-height: 59px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-shrink: 0;
}
.ButtonWrapper-jSlUli .gKUrUv { flex: 1 1 0%; min-width: 0; }
.ButtonWrapper-jSlUli.is-active .Button-dgWeAp { width: 150px; }

.Container-kktbhR, .iVOtM { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.state-active .InputWrapper-jkVYEV { opacity: .5; pointer-events: none; }
.InputAndControls-evjnVV, .bBICj {
  display: flex; flex-direction: column; justify-content: space-between;
  align-items: center; height: 100%; width: 100%;
}
.InputWrapper-jkVYEV {
  display: flex; align-items: center; justify-content: space-between;
  background: #545454; border-radius: 6px; width: 100%;
  border: 1px solid #545454; padding: 8px; gap: 0;
  box-shadow: rgba(0,0,0,.25) 0 2.99px 3.987px 0;
  box-sizing: border-box;
}
.InputButton-UrBNM {
  border: 0; padding: 0; display: flex; align-items: center; justify-content: center;
  cursor: pointer; user-select: none; background: #545454; color: #fff;
  font-weight: 600; line-height: 150%; letter-spacing: -.3px; border-radius: 4px;
  text-transform: uppercase; gap: 5px; white-space: nowrap;
}
.InputButton-UrBNM.klOukd { background: #656565; font-size: 14px; padding: 4px 8px; }
.InputButton-UrBNM.diTphQ { background: #545454; font-size: 14px; padding: 8px; border-radius: 8px; }
.InputButton-UrBNM:disabled { opacity: .5; pointer-events: none; }
.Input-bWmjCu {
  width: 100%; min-width: 0; background: #545454; color: #fff; text-align: center;
  font-weight: 600; font-size: 14px; line-height: 150%; border: 0; outline: 0;
  padding: 0; margin: 0;
}
.InputControls-gDUGTC {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  width: 100%; margin-top: 12px;
}
.InputControls-gDUGTC .InputButton-UrBNM.diTphQ {
  box-shadow: rgba(0,0,0,.25) 0 2.99px 3.987px 0;
  border: 1px solid #545454;
}
.InputControls-gDUGTC .InputButton-UrBNM.diTphQ:hover:not(:disabled) { border-color: rgba(255,255,255,.1); }

.Container-NkO, .jIOgMj {
  flex: 1 1 0%; display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; min-width: 0;
}
.SecondaryTextBlock-fIvSm { display: flex; justify-content: space-between; width: 100%; }
.InfoText-feqCKb { margin-right: 5px; color: #fff; opacity: .6; }
.RiskSliderBlock-pGbBH {
  display: flex; justify-content: space-between; align-items: center;
  border-radius: 8px; height: 38px; background: #545454;
  box-shadow: 0 3px 4px 0 rgba(0,0,0,.25);
  width: 100%; position: relative; font-family: var(--font-display);
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.6);
  cursor: pointer; user-select: none; overflow: hidden;
}
.RiskSliderBlock-pGbBH::after {
  content: ''; position: absolute; border-radius: 8px; top: 4px;
  left: calc(var(--active-left, 50%) + 4px);
  width: calc(25% - 8px); height: calc(100% - 8px);
  background: #656565; transition: left .2s ease-in-out;
}
.RiskSliderBlock-pGbBH.is-disabled { opacity: .6; pointer-events: none; }
.LevelTitle-khkxEm {
  width: calc(25% - 8px); height: calc(100% - 8px); z-index: 1;
  color: rgba(255,255,255,.6); transition: color .3s ease;
  display: flex; align-items: center; justify-content: center; white-space: nowrap;
}
.LevelTitle-khkxEm:first-child { margin-left: 4px; }
.LevelTitle-khkxEm:last-child { margin-right: 4px; }
.LevelTitle-khkxEm.is-active { color: #fff; }
.LevelTitle-khkxEm:hover { background: #656565; color: #fff; border-radius: 8px; }

.MobileDifficulty { display: none; width: 100%; position: relative; }
.DifficultySelect {
  width: 100%; height: 46px; background: #545454; border: 2px solid #545454;
  border-radius: 6px; color: #fff; font-family: var(--font-display);
  font-weight: 600; font-size: 14px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 12px; cursor: pointer;
  box-shadow: 0 3px 4px rgba(0,0,0,.25);
}
.DifficultySelect .chevron { transition: transform .2s ease; opacity: .9; }
.DifficultySelect.open .chevron { transform: rotate(180deg); }
.DifficultySelect:disabled { opacity: .6; pointer-events: none; }
.DifficultyMenu {
  position: absolute; bottom: calc(100% + 6px); left: 0; right: 0;
  background: #545454; border: 2px solid #545454; border-radius: 6px;
  padding: 8px 12px; box-shadow: 0 4px 16px rgba(0,0,0,.2);
  display: none; z-index: 12;
}
.DifficultyMenu.open { display: block; }
.DifficultyMenu button {
  width: 100%; background: transparent; color: #fff; text-align: left;
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  padding: 10px 6px; border-radius: 4px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
}
.DifficultyMenu button:hover { background: #656565; }
.DifficultyMenu button.is-active { color: #fdcf4b; }
.DifficultyMenu button.is-active::after { content: '✓'; color: #fdcf4b; }

.Button-dgWeAp, .gKUrUv {
  border: 0; flex: 1 1 0%; font-family: var(--font-display); font-weight: 700;
  color: #fff; background: var(--green); border-radius: 12px;
  font-size: 30px; cursor: pointer;
  box-shadow: rgba(0,0,0,.25) 0 2.99px 3.987px 0;
  transition: background .15s ease, opacity .15s ease;
  height: 100%;
}
.Button-dgWeAp:disabled { opacity: .6 !important; pointer-events: none; }
.Button-dgWeAp:active { opacity: .85; }
.Button-dgWeAp:focus { outline: none; }
@media (hover:hover) {
  .Button-dgWeAp:hover:not(:disabled) { background: #359c4c; }
}
.Button-dgWeAp.CashOutButton-cEwdit, .Button-dgWeAp.cashout-btn {
  background: var(--gold); color: #1d1f21; font-size: 20px; line-height: 23px;
  text-transform: uppercase; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0;
}
@media (hover:hover) {
  .Button-dgWeAp.CashOutButton-cEwdit:hover:not(:disabled),
  .Button-dgWeAp.cashout-btn:hover:not(:disabled) { background: #c5981c; }
}
.Button-dgWeAp.GoButton-iabuOC, .Button-dgWeAp.go-btn {
  background: var(--green); color: #fff; font-size: 24px; line-height: 27.6px;
  text-transform: uppercase;
}

.win-wrap {
  position: absolute; inset: 0 0 auto 0; z-index: 3; display: flex;
  justify-content: center; align-items: flex-start; pointer-events: none;
}
.WinLabelContent-cijEbj, .win-label {
  width: 298px; height: 127px;
  background-image: url('../assets/img/win-banner.png');
  background-repeat: no-repeat; background-size: 100% 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  font-family: var(--font-display); position: relative; z-index: 3;
  animation: win-notification 1.5s ease-out both;
}
.YouWinningTitle-hKZfch, .win-title {
  text-transform: uppercase; color: #342d24; font-size: 20px; font-weight: 900;
  line-height: 150%; position: relative; top: 25px;
}
.WinAmountValue-fXkQav, .win-amount {
  display: flex; gap: 4px; align-items: center; color: #fff;
  text-shadow: 0 1.5px 0 #141b15; font-size: 30px; font-weight: 900;
  line-height: 150%; position: relative; top: -21px;
}
.WinAmountValue-fXkQav svg, .win-amount svg { width: 22px; height: 22px; display: block; }
@keyframes win-notification {
  0% { transform: scale(.8); opacity: 0; filter: brightness(1); }
  20% { transform: scale(1.1); opacity: 1; filter: brightness(1.1); }
  40% { transform: scale(1); filter: brightness(1.3); }
  60% { transform: scale(1.05); filter: brightness(1.2); }
  80% { transform: scale(1); filter: brightness(1.05); }
  100% { transform: scale(1); opacity: 1; filter: brightness(1); }
}

.boot-screen {
  position: fixed; inset: 0; z-index: 999; background: var(--bg);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 22px; transition: opacity .28s ease;
}
.boot-screen.hidden { opacity: 0; pointer-events: none; }
.boot-screen img { width: 46%; max-width: 360px; filter: drop-shadow(0 0 30px rgba(255,255,255,.25)); }
.boot-spinner {
  width: 28px; height: 28px; border: 3px solid #e9e8e8;
  border-bottom-color: transparent; border-radius: 50%;
  animation: boot-spin 1s linear infinite;
}
@keyframes boot-spin { to { transform: rotate(360deg); } }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px);
  background: #545454; color: #fff; padding: 10px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 600; z-index: 500; opacity: 0;
  pointer-events: none; transition: .2s ease; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.info-modal {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 300;
  background: rgba(26,26,26,.8); backdrop-filter: blur(5px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.info-modal.open { display: flex; }
.info-card {
  width: min(560px, 100%); max-height: 80vh; overflow: auto; background: #545454;
  color: #fff; border: 2px solid #545454; border-radius: 12px; padding: 20px;
  font-size: 14px; line-height: 1.6;
}
.info-card h2 { font-family: var(--font-display); font-size: 20px; margin: 0 0 12px; }
.info-card p { margin: 0 0 10px; color: rgba(255,255,255,.8); }
.info-card .close-info {
  margin-top: 14px; width: 100%; height: 46px; border-radius: 8px;
  background: var(--green); color: #fff; font-weight: 700; font-family: var(--font-display);
  cursor: pointer;
}

@media (min-aspect-ratio: 110/100) {
  .ResizableBlockOverflow-bvTeyQ { margin: 0 auto; }
  .MobileDifficulty { display: none !important; }
}
@media (max-height: 700px) and (min-aspect-ratio: 110/100) {
  .FreebetWrapper-gFfrbY .SecondaryTextBlock-fIvSm { font-size: 14px; }
}

@media (max-aspect-ratio: 110/100) {
  header.HeaderContainer-hdAPM { height: 45px; padding: 8px 12px; margin-bottom: -1px; }
  .HeaderLogo-hirFpA { height: 27px; gap: 6px; }
  .HeaderLogo-hirFpA img { height: 27px; width: 146px; object-fit: scale-down; }
  .WrapperHowToPlay-koJtxI.dhZizF, .WrapperFullscreen-blopHk.ilQVZS { display: none !important; }
  .HeaderContent-wIgcm.iozbnl { gap: 8px; }
  .HeaderMenuWrapperIcon-koJoiw { width: 24px; }
  .MenuHowToPlay-lctBY { display: flex; }
  .MenuContainer-gmbydA { top: 53px; right: 0; width: min(270px, calc(100vw - 24px)); }

  .LiveWinsContainer-ligziG.cayoXH { top: 44px; }
  .TitleLine-jgBFsu.fnLFrf { color: rgba(255,255,255,.7); background: linear-gradient(90deg, #424242 0%, rgba(66,66,66,0) 100%); }
  .UserLine-eJBrdr.hRdVlM { background: linear-gradient(90deg, #555454 0%, rgba(85,84,84,0) 100%); }

  .BetBarWrapper-bKdJMR {
    flex-direction: column; border-radius: 12px; padding: 16px 12px;
    height: 266px; justify-content: space-between; gap: 12px;
  }
  .BetInputWrapper-kSNMCe { flex: 0 0 auto; width: 100%; }
  .FreebetWrapper-gFfrbY {
    flex-direction: column-reverse; align-items: center; gap: 12px;
    width: 100%; flex: 0 0 auto;
  }
  .FreebetWrapper-gFfrbY > * { width: 100%; }
  .FreebetWrapper-gFfrbY .DesktopDifficulty { display: none; }
  .MobileDifficulty { display: block; }
  .Container-NkO.jIOgMj { display: none; }
  .ButtonWrapper-jSlUli { width: 100%; flex: 0 0 59px; gap: 12px; margin-top: auto; height: 59px; }
  .ButtonWrapper-jSlUli.is-active { height: 102px; flex: 0 0 102px; }
  .ButtonWrapper-jSlUli.is-active .Button-dgWeAp { width: auto; }
  .ButtonWrapper-jSlUli .Button-dgWeAp { font-size: 30px; }
  .ButtonWrapper-jSlUli.is-active .cashout-btn { font-size: 20px; }
  .ButtonWrapper-jSlUli.is-active .go-btn { font-size: 24px; }
  .InputControls-gDUGTC { display: grid !important; gap: 12px; margin-top: 12px; }
  .InputControls-gDUGTC .InputButton-UrBNM.diTphQ { padding: 11px 1px; }
  .InputWrapper-jkVYEV { padding: 6px; }

  .win-label, .WinLabelContent-cijEbj {
    width: 260px; height: 98px; margin: 10px;
    background-image: url('../assets/img/win-banner-mobile.png');
  }
  .win-title, .YouWinningTitle-hKZfch { font-size: 12px; top: 25px; }
  .win-amount, .WinAmountValue-fXkQav { font-size: 18px; top: -20px; }
  .win-amount svg, .WinAmountValue-fXkQav svg { width: 14px; height: 14px; }

  .info-modal { inset: 45px 0 0 0; }
  .info-card { font-size: 13px; }
}

@media (max-height: 400px) {
  .MenuContainer-gmbydA { top: 20px; right: -25px; scale: .8; }
}

.hidden { display: none !important; }
.HeaderMenuWrapperIcon-koJoiw { background: transparent; border: 0; padding: 0; color: #fff; }
.cashout-value { display: flex; align-items: center; justify-content: center; gap: 4px; }
.cashout-value svg { flex: 0 0 auto; }
@media (max-aspect-ratio: 110/100) {
  body.state-active .FreebetWrapper-gFfrbY { display: none !important; }
  body.state-active .MobileDifficulty { display: none !important; }
}

@media (max-aspect-ratio: 110/100) { .BetInputWrapper-kSNMCe { flex: 0 0 104px; } }

@media (max-aspect-ratio: 110/100) { .menu-space-row { display: none !important; } }
