@font-face {
  font-family: "DrukCyr";
  src: url("./assets/fonts/DrukCyr-BoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  min-height: 100vh;
  font-family: "Prompt", sans-serif;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

#container {
  width: 100%;
  max-width: 1400px;
  overflow: hidden;
}

.top-content {
  text-align: center;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  gap: 40px;
  position: relative;
}

.top-content h2 {
  color: #fff;
  font-style: italic;
  font-size: 47px;
  line-height: 1;
}

.top-content h1 {
  color: #f1ea03;
  font-family: "DrukCyr", sans-serif;
  font-size: 172px;
  line-height: 0.85;
  font-style: italic;
}

.flag-icon {
  width: 362px;
  height: 362px;
  font-size: 180px;
  position: absolute;
}

.flag-icon:first-child {
  left: 0;
}

.flag-icon:last-child {
  right: 0;
}

#games {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.column {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.game-item {
  background: rgba(0, 45, 22, 0.112);
  border-radius: 35px;
  display: flex;
  align-items: center;
  padding: 20px 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.game-item:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 120, 0, 0.5);
  box-shadow: 0 12px 40px rgba(255, 120, 0, 0.5);
}

.game-icon {
  border-radius: 18px;
  margin-right: 25px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-icon img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.game-info h3 {
  font-family: "DrukCyr", sans-serif;
  color: #fff;
  text-align: left;
  text-transform: uppercase;
  line-height: 1;
  font-style: italic;
}

.game-info p {
  text-align: left;
  color: #b8c1d1;
  margin-top: 4px;
  text-transform: lowercase;
}

.column-1 .game-item {
  width: 460px;
  height: 120px;
}

.column-1 .game-icon {
  width: 89px;
  height: 89px;
}

.column-1 .game-info h3 {
  font-size: 63px;
}

.column-1 .game-info p {
  font-size: 23px;
}

.column-2 .game-item {
  width: 380px;
  height: 100px;
}

.column-2 .game-icon {
  width: 72px;
  height: 72px;
}

.column-2 .game-info h3 {
  font-size: 48px;
}

.column-2 .game-info p {
  font-size: 18px;
}

.column-3 .game-item {
  width: 290px;
  height: 82px;
}

.column-3 .game-icon {
  width: 55px;
  height: 55px;
}

.column-3 .game-info h3 {
  font-size: 30px;
}

.column-3 .game-info p {
  font-size: 14px;
}

.column-4 .game-item {
  width: 240px;
  height: 69px;
}

.column-4 .game-icon {
  width: 48px;
  height: 48px;
}

.column-4 .game-info h3 {
  font-size: 20px;
}

.column-4 .game-info p {
  font-size: 12px;
}

#decors {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

#decors img {
  position: absolute;
}

#decors .flag-1 {
  width: 118px;
  height: 118px;
  right: -20px;
  top: 130px;
}

#decors .flag-2 {
  width: 118px;
  height: 118px;
  left: -36px;
  top: 350px;
}

#decors .decor1 {
  width: 570px;
  height: 678px;
  left: -20px;
  top: -300px;
}

#decors .decor2 {
  width: 524px;
  height: 299px;
  right: -50px;
  top: -100px;
}

#decors .decor3 {
  width: 357px;
  height: 400px;
  right: -50px;
  top: 500px;
}

#decors .fire1 {
    width: 479px;
    left: -100px;
    bottom: -100px;
}

#decors .fire2 {
    width: 203px;
    right: 0;
    top: 250px;
}

@media (max-width: 1023px) {
  .top-content h1 {
    font-size: 80px;
  }

  .top-content h2 {
    font-size: 24px;
  }
  .flag-icon {
    display: none;
  }

  .game-item {
    width: 100% !important;
    height: 95px !important;
    max-width: 400px;
  }

  .game-item img {
    width: 64px !important;
    height: 64px !important;
  }
}

/*@media (min-width: 768px) {
  #decors {
    visibility: hidden;
  }
}*/

@media (max-width: 390px) {
  #games {
    padding: 0 13px;
  }
}

@media (min-width: 320px) {
  #decors .fire1, .fire2 {
      visibility: hidden;
  }
    
  .game-info h3 {
    font-size: 25px !important;
  }
  .top-content h2 {
    font-size: 20px;
  }
  .game-info p {
    font-size: 14px !important;
  }
  .top-content h1 {
    font-size: 60px;
  }

  #decors {
      z-index: 1;
  }

  #decors .decor1 {
    width: 352px;
    height: 377px;
    left: -160px;
    top: 666px;
    transform: rotate(-30deg);
  }

  #decors .decor2 {
    width: 196px;
    height: 112px;
    left: -68px;
    top: 120px;
    transform: rotate(-20deg);
  }

  #decors .decor3 {
    width: 224px;
    height: 221px;
    right: -120px;
    top: 232px;
  }
}

@media (min-width: 390px) {
  .game-info h3 {
    font-size: 43px !important;
  }

  .game-info p {
    font-size: 17px !important;
  }
}

@media (min-width: 480px) {
  .top-content h1 {
    font-size: 80px;
  }

  .top-content h2 {
    font-size: 24px;
  }
}

@media (min-width: 1024px) {
    #decors {
        z-index: -1;
    }

    #decors .fire1, .fire2 {
        visibility: visible;
    }
    
    #decors .decor1 {
      width: 570px;
      height: 678px;
      left: -100px;
      transform: none;
      top: -400px;
    }

    #decors .decor2 {
      width: 524px;
      height: 299px;
      left: auto;
      transform: none;
      right: -250px;
      top: -150px;
    }

    #decors .decor3 {
      width: 357px;
      height: 400px;
      right: -150px;
      top: 500px;
    }

  .top-content h1 {
    font-size: 120px;
  }

  .top-content h2 {
    font-size: 40px;
  }

  .column-1 .game-item {
    width: 460px !important;
    height: 120px !important;
  }

  .column-1 .game-icon {
    width: 89px !important;
    height: 89px !important;
  }

  .column-1 .game-info h3 {
    font-size: 63px !important;
  }

  .column-1 .game-info p {
    font-size: 23px !important;
  }

  .column-2 .game-item {
    width: 380px !important;
    height: 100px !important;
  }

  .column-2 .game-icon {
    width: 72px !important;
    height: 72px !important;
  }

  .column-2 .game-info h3 {
    font-size: 48px !important;
  }

  .column-2 .game-info p {
    font-size: 18px !important;
  }

  .column-3 .game-item {
    width: 290px !important;
    height: 82px !important;
  }

  .column-3 .game-icon {
    width: 55px !important;
    height: 55px !important;
  }

  .column-3 .game-info h3 {
    font-size: 30px !important;
  }

  .column-3 .game-info p {
    font-size: 14px !important;
  }

  .column-4 .game-item {
    width: 240px !important;
    height: 69px !important;
  }

  .column-4 .game-icon {
    width: 48px !important;
    height: 48px !important;
  }

  .column-4 .game-info h3 {
    font-size: 20px !important;
  }

  .column-4 .game-info p {
    font-size: 12px !important;
  }

  .game-icon img {
    width: 100% !important;
    height: 100% !important;
  }

  .flag-icon {
    width: 252px;
    height: 252px;
  }

  .flag-icon:first-child {
    left: -50px;
  }

  .flag-icon:last-child {
    right: -30px;
    top: -30px;
  }
}

@media (min-width: 1440px) {
  .top-content h1 {
    font-size: 152px;
  }

  .top-content h2 {
    font-size: 37px;
  }

  .flag-icon {
    width: 362px;
    height: 362px;
  }

  .flag-icon:first-child {
    left: 0;
    top: -50px;
  }

  .flag-icon:last-child {
    right: 0;
    top: -60px;
  }
}
