/* ==================== */
/* RESET & BASE STYLES */
/* ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  height: 100vh;
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* ==================== */
/* WRAPPER */
/* ==================== */
.wrapper {
   background: url(../img/mainBg.webp) no-repeat 100% 100%/ 100% 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

@media(max-width:767px){
 .wrapper  {
     background: url(../img/mainBgMobile.webp) no-repeat center/cover;
  }
}

/* ==================== */
/* LOADER */
/* ==================== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 999;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 40%, #FF6B00 70%, #FF1744 100%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader_hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__logo {
  margin-bottom: 35px;
  width: 100%;
  max-width: 400px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.loader__progress {
  width: 100%;
  height: 28px;
  max-width: 340px;
  padding: 4px;
  border-radius: 100px;
  position: relative;
  background: linear-gradient(to bottom, #FFD700, #FFA500, #FF8C00);
}

@media (max-width:374px) {
  .loader__progress{
      max-width: 280px;
  }
}

.loader__progress::before {
  position: absolute;
  content: '';
  left: 4px;
  top: 4px;
  border-radius: 100px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  background-color: #fff;
}

.loader__progress-line {
  position: relative;
  z-index: 2;
  width: 0;
  height: 100%;
  border-radius: 100px;
  transition: width 0.5s ease;
  background: linear-gradient(to bottom, #FFD700, #FF6B00, #FF1744);
}

/* ==================== */
/* BOARD */
/* ==================== */
.board {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
  padding: 20px;
  max-width: 1200px;
}

.board__logo {
  max-width: 200px;
  width: 100%;
}

.board__logo img {
  width: 100%;
  height: auto;
}

.board__column {
  width: 100%;
  max-width: 1100px;
  overflow: hidden; /* Запобігає розширенню */
}

.board__border {
  position: relative;
  padding: 20px;
  background: repeating-linear-gradient(
    -45deg,
    #d68102,
    #75490c 20px,
    #21242e 20px,
    #1c1816 40px
  );
  clip-path: polygon(
    20px 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    20px 100%,
    0 calc(100% - 20px),
    0 20px
  );
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden; /* Запобігає розширенню */
}

.board__bg {
  background: #383636;
  display: flex;
  gap: 10px;
  padding: 20px;
  position: relative;
  justify-content: center;
  overflow: hidden; /* КРИТИЧНО: запобігає розширенню при анімації */
  max-width: 100%;
  min-height: 450px; /* Фіксована мінімальна висота */
  height: auto;
}

/* Фіксована висота для колонок */
.board__reel-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 3px solid #292827;
  border-radius: 12px;
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.5);
  max-width: 200px;
  height: 450px; /* КРИТИЧНО: фіксована висота */
}

.board__reel {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

/* SLOT STYLES */
.board__slot {
  position: relative;
  width: 100%;
  height: 150px; /* КРИТИЧНО: фіксована висота кожного слота */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.board__slot:last-child {
  border-bottom: none;
}

.board__item {
  width: 90%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.board__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

/* Анімація обертання */
.board__reel.spinning {
  animation: spin var(--spin-duration) cubic-bezier(0.17, 0.67, 0.35, 0.96);
}

@keyframes spin {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(-100% * var(--spin-count)));
  }
}

/* Анімація виграшу для колонок */
.board__reel-column.winning {
  animation: winPulse 0.6s ease-in-out 3;
  box-shadow:
    0 0 30px #FFD700,
    inset 0 0 20px rgba(255, 215, 0, 0.3),
    inset 0 5px 15px rgba(0, 0, 0, 0.5);
  border-color: #FFD700;
}

@keyframes winPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ==================== */
/* CONTROLS */
/* ==================== */
.board__controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.board__btn {
  background: linear-gradient(to bottom, #FFD700, #FF6B00, #FF1744);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  padding: 20px 48px;
  color: #fff;
  border-radius: 40px;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  min-width: 200px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.board__btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 40px;
  padding: 4px;
  background: linear-gradient(to bottom, #FFD700, #FFA500, #FF8C00);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.board__btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.4);
}

.board__btn:active:not(:disabled) {
  transform: translateY(0);
}

.board__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.board__settings {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.board__settings label {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.board__settings input {
  width: 80px;
  padding: 10px;
  border: 2px solid #FFD700;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  background: #fff;
  color: #333;
}

.board__settings input:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ==================== */
/* SPIN COUNTER */
/* ==================== */
.board__spin-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 25px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.board__spin-counter span {
  color: #FFD700;
  font-size: 20px;
  font-weight: 700;
}

.board__spin-counter #currentSpin {
  color: #FF6B00;
}

.board__spin-counter.last-spin {
  background: rgba(255, 107, 0, 0.2);
  border-color: #FF6B00;
  animation: pulse-counter 1s infinite;
}

@keyframes pulse-counter {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.6);
  }
}

/* ==================== */
/* WIN MESSAGE */
/* ==================== */
.board__win {
    display: none;
    padding: 20px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.board__win-message {
    width: max-content;
  background: linear-gradient(135deg, #FFD700, #FF6B00);
  padding: 40px 60px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.board__win.show {
  opacity: 1;
    display: flex;
    z-index: 9999;
}

@keyframes celebration {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(-50%, -50%) scale(1.1) rotate(-5deg);
  }
  75% {
    transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
  }
}

.board__win-text {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  color: #fff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  text-align: center;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.board__win-subtext {
  font-size: clamp(20px, 3vw, 40px);
  font-weight: 700;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
  letter-spacing: 2px;
}

/* ==================== */
/* RESPONSIVE STYLES */
/* ==================== */
@media (max-width: 1024px) {
  .board__slot {
    height: 130px;
  }

  .board__reel-column {
    height: 390px;
  }

  .board__bg {
    min-height: 390px;
  }

  .board__border {
    padding: 15px;
  }

  .board__bg {
    padding: 15px;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .board {
    gap: 20px;
    padding: 15px;
  }

  .board__slot {
    height: 100px;
  }

  .board__reel-column {
    height: 300px;
  }

  .board__bg {
    min-height: 300px;
  }

  .board__border {
    padding: 10px;
    clip-path: polygon(
      15px 0,
      calc(100% - 15px) 0,
      100% 15px,
      100% calc(100% - 15px),
      calc(100% - 15px) 100%,
      15px 100%,
      0 calc(100% - 15px),
      0 15px
    );
  }

  .board__bg {
    padding: 10px;
    gap: 5px;
  }

  .board__reel-column {
    border-radius: 8px;
    border-width: 2px;
  }

  .board__btn {
    padding: 15px 35px;
    min-width: 180px;
  }

  .board__settings {
    flex-direction: column;
    gap: 10px;
    padding: 15px 20px;
  }

  .board__spin-counter {
    font-size: 16px;
    padding: 10px 20px;
  }

  .board__spin-counter span {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .board__slot {
    height: 80px;
  }

  .board__reel-column {
    height: 240px;
  }

  .board__bg {
    min-height: 240px;
  }

  .board__logo {
    max-width: 150px;
  }

  .board__bg {
    padding: 8px;
    gap: 4px;
  }

  .board__reel-column {
    border-radius: 6px;
    border-width: 2px;
  }

  .board__btn {
    font-size: 28px;
    padding: 12px 25px;
    min-width: 150px;
  }

  .board__settings label {
    font-size: 14px;
  }

  .board__settings input {
    width: 60px;
    font-size: 16px;
    padding: 8px;
  }

  .loader__logo {
    max-width: 250px;
  }

  .board__win-text {
    font-size: 36px;
  }

  .board__win-message {
    padding: 30px 40px;
  }

  .board__spin-counter {
    font-size: 14px;
    padding: 8px 15px;
  }

  .board__spin-counter span {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .board__slot {
    height: 65px;
  }

  .board__reel-column {
    height: 195px;
    max-width: 60px;
  }

  .board__bg {
    min-height: 195px;
    padding: 5px;
    gap: 3px;
  }
}

/* ==================== */
/* UTILITY CLASSES */
/* ==================== */
.hidden {
  display: none !important;
}

.no-select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.board__win .board__btn {
    font-size: 24px;
    line-height: 27px;
}
.board__win .alert {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    border: 2px solid #FE6604;
    border-radius: 30px;
    background: #FEA903;
    color: #fff;
    font-size: 20px;
    line-height: 24px;
    padding: 5px 12px;
}
.board__win-message {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;

}


.modal,.modal__content::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%
}

.modal {
    backdrop-filter: blur(10px);
    z-index: 99;
    min-height: 100dvh;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    font-size: calc(min(4.5px + 5.5*(100vw - 375px)/1545,10px) * 0.9) !important;
}

@media (max-width: 767px) {
    .modal {
        font-size:100%
    }
}

.modal__wrapper {
    position: relative;
    top: 5%
}

@media (max-width: 768px) {
    .modal__wrapper {
        min-width: 85%;
        position: absolute;
        top: calc(50% - 100px);
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.modal__content {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 120em;
    aspect-ratio: 9/6;
    margin: 0 auto 3em
}

@media (max-width: 767px) {
    .modal__content {
        font-size:80%
    }
}

.modal__content::before {
    z-index: 2;
    content: "";
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../img/modal-frame.webp)
}

.modal__logo,.modal__win {
    position: relative;
    z-index: 2;
    width: 75%;
    margin: -5em auto -3em;
    animation: scaleModalWin 4s ease-in-out infinite
}

.modal__logo {
    z-index: 7;
    width: 50em;
    margin: 0 auto;
    animation: scaleLogo 2s ease-in-out infinite
}

.modal__logo,.modal__logo img {
    display: block
}

.modal__title {
    position: relative;
    z-index: 2;
    padding: 0 16px;
    font-size: 6.2em;
    text-align: center;
    text-transform: uppercase;
    color: #ffc400;
    text-shadow: 0 -3px 1px #8f0000,-2px -2px 1px #8f0000,-1px -2px 1px #8f0000,0 -2px 1px #8f0000,1px -2px 1px #8f0000,2px -2px 1px #8f0000,-2px -1px 1px #8f0000,-1px -1px 1px #8f0000,0 -1px 1px #8f0000,1px -1px 1px #8f0000,2px -1px 1px #8f0000,-3px 0 1px #8f0000,-2px 0 1px #8f0000,-1px 0 1px #8f0000,0 0 1px #8f0000,1px 0 1px #8f0000,2px 0 1px #8f0000,3px 0 1px #8f0000,-2px 1px 1px #8f0000,-1px 1px 1px #8f0000,0 1px 1px #8f0000,1px 1px 1px #8f0000,2px 1px 1px #8f0000,-2px 2px 1px #8f0000,-1px 2px 1px #8f0000,0 2px 1px #8f0000,1px 2px 1px #8f0000,2px 2px 1px #8f0000,0 3px 1px #8f0000;
    -webkit-font-smoothing: antialiased
}

@media (max-width: 768px) {
    .modal__title {
        text-shadow:0 -2px 1px #8f0000,-1px -1px 1px #8f0000,0 -1px 1px #8f0000,1px -1px 1px #8f0000,-2px 0 1px #8f0000,-1px 0 1px #8f0000,0 0 1px #8f0000,1px 0 1px #8f0000,2px 0 1px #8f0000,-1px 1px 1px #8f0000,0 1px 1px #8f0000,1px 1px 1px #8f0000,0 2px 1px #8f0000;
        -webkit-font-smoothing: antialiased
    }
}

.modal__text {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    padding: 0 16px;
    font-size: 6.2em;
    text-align: center;
    text-transform: uppercase;
    color: #fe346b;
    text-shadow: 0 -3px 1px #340e0e,-2px -2px 1px #340e0e,-1px -2px 1px #340e0e,0 -2px 1px #340e0e,1px -2px 1px #340e0e,2px -2px 1px #340e0e,-2px -1px 1px #340e0e,-1px -1px 1px #340e0e,0 -1px 1px #340e0e,1px -1px 1px #340e0e,2px -1px 1px #340e0e,-3px 0 1px #340e0e,-2px 0 1px #340e0e,-1px 0 1px #340e0e,0 0 1px #340e0e,1px 0 1px #340e0e,2px 0 1px #340e0e,3px 0 1px #340e0e,-2px 1px 1px #340e0e,-1px 1px 1px #340e0e,0 1px 1px #340e0e,1px 1px 1px #340e0e,2px 1px 1px #340e0e,-2px 2px 1px #340e0e,-1px 2px 1px #340e0e,0 2px 1px #340e0e,1px 2px 1px #340e0e,2px 2px 1px #340e0e,0 3px 1px #340e0e;
    -webkit-font-smoothing: antialiased
}

@media (max-width: 768px) {
    .modal__text {
        text-shadow:0 -2px 1px #340e0e,-1px -1px 1px #340e0e,0 -1px 1px #340e0e,1px -1px 1px #340e0e,-2px 0 1px #340e0e,-1px 0 1px #340e0e,0 0 1px #340e0e,1px 0 1px #340e0e,2px 0 1px #340e0e,-1px 1px 1px #340e0e,0 1px 1px #340e0e,1px 1px 1px #340e0e,0 2px 1px #340e0e;
        -webkit-font-smoothing: antialiased;
        margin-top: 5px
    }
}

.modal.is--active {
    opacity: 1;
    visibility: visible
}

.modal.is--active .bottom__section {
    opacity: 1;
    z-index: 6;
    margin-top: 0;
    top: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.modal.is--active .bottom__section-button {
    animation: 2s pulseButton ease-in-out infinite
}

.is--modal-open .animation-images,.is--modal-open .bottom__section,.is--modal-open .left-person,.is--modal-open .logo,.is--modal-open .right-person,.is--modal-open .wheel {
    z-index: 0;
    opacity: 0
}

.effects {
    z-index: 999!important
}

#bonus-inline {
    position: fixed
}

@media (max-width: 768px) and (max-height:741px) {
    #bonus-inline {
        position:absolute;
        left: -200%;
        min-width: 350px;
        transition: left 1s ease-out
    }

    #bonus-inline img {
        transform: unset;
        top: -20px
    }
}

#bonus-inline.is--active {
    background: linear-gradient(to bottom,#ffc61c,#d80000)
}

@media (max-width: 768px) and (max-height:741px) {
    #bonus-inline.is--active {
        right:unset;
        left: 50%;
        transform: translate(-50%,0);
        bottom: 5px;
        transition: left 1s ease-out
    }
}

#bonus-inline.is--active p {
    background: linear-gradient(90deg,#e00,#e00);
    -webkit-background-clip: text
}

#bonus-inline.is--active svg path {
    stroke: #e00
}


.effect {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%
}

.effect__coins,.effect__sparkles {
    display: block;
    position: absolute;
    width: 153em;
    height: 98em;
    right: calc(50% - 76em);
    top: calc(50% - 49em);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 135%
}

.effect__coins.is--1 {
    animation: moveCoins1 5s ease-in-out infinite;
    background-image: url(../img/effect-coins-1.webp)
}


.effect__sparkles {
    width: 100em;
    height: 90em;
    right: calc(50% - 50em);
    top: calc(50% - 45em);
    mix-blend-mode: plus-lighter
}

.effect__sparkles.is--1 {
    animation: showSparkles 2s ease-in-out infinite;
    background-image: url(../img/effect-sparkles-1.webp)
}

.effect__sparkles.is--2,.effect__sparkles.is--3 {
    opacity: 0;
    background-image: url(../img/effect-sparkles-2.webp);
    animation: showSparkles 2s ease-in-out infinite;
    animation-delay: .66s
}

.effect__sparkles.is--3 {
    background-image: url(../img/effect-sparkles-3.webp);
    animation-delay: 1.33s
}



.bottom__section-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: max-content;
    min-width: 30px;
    min-height: 30px;
    outline: 0;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent
}

.bottom__section-button:after,.bottom__section-button:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20em;
    background-size: contain;
    background-repeat: no-repeat
}

.bottom__section-button:before {
    left: calc(-20em + 1px);
    background-position: right center;
    background-image: url(../img/button_left.webp)
}

.bottom__section-button:after {
    right: calc(-20em + 1px);
    background-position: left center;
    background-image: url(../img/button_right.webp)
}

.bottom__section-button span {
    display: block;
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 18px 0;
    word-break: break-word;
    /*margin-bottom: .15em;*/
    /*margin-left: -3em;*/
    /*margin-right: -3em;*/
    font-size: 25px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase
}

.bottom__section-button.pulse {
    animation: 2s pulseButton ease-in-out infinite
}

.bottom__section-button-next,.is--modal-open #slot {
    display: none
}

.bottom__section-button .button-loader span {
    padding: 0!important
}

@keyframes scaleModalWin {
    0%,to {
        transform: scale(1)
    }

    50% {
        transform: scale(1.1)
    }
}

@keyframes pulseButton {
    0%,to {
        transform: scale(.95)
    }

    50% {
        transform: scale(1.05)
    }
}


@keyframes showSparkles {
    0%,66%,to {
        opacity: 0
    }

    33% {
        opacity: 1
    }
}

@keyframes moveCoins1 {
    0%,to {
        transform: translate(-1em,-1em)
    }

    50% {
        transform: translate(1em,1em)
    }
}


@-webkit-keyframes scaleModalWin {
    0%,to {
        transform: scale(1)
    }

    50% {
        transform: scale(1.1)
    }
}

@keyframes scaleLogo {
    0%,to {
        transform: scale(.95)
    }

    50% {
        transform: scale(1.05)
    }
}

.effect__flare {
    display: block;
    position: absolute;
    left: calc(50% - 70em);
    top: calc(50% - 70em);
    width: 140em;
    height: 140em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

.effect__flare.is--1 {
    mix-blend-mode: plus-lighter;
    background-image: url(../img/effect-flare-1.webp);
    animation: moveFlare1 4s ease-in-out infinite
}

.effect__flare.is--2 {
    left: calc(50% - 72.5em);
    top: calc(50% - 72.5em);
    width: 145em;
    height: 145em;
    background-image: url(../img/effect-flare-2.webp);
    animation: moveFlare2 4s ease-in-out infinite
}

#win-button-modal {
    max-width: calc(100vw - 150px);
    background: linear-gradient(to top, #2e7d32, #66bb6a);
    padding: 0 20px;
    width: max-content;
    overflow: hidden;
    border-radius: 40px;
}
@media (max-width: 768px) {
    .bottom__section-button:before {
        content: none
    }
    .bottom__section-button:after {
        content: none
    }
    .button-install-for-animation-installing {
        font-size: 2em !important;
    }
    .bottom__section {
        width: max-content;
    }

}
