/*body, banner*/
html, body {
  display: flex;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  justify-content: center;
  flex-direction: column;
}
body{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-content: center;
}
.body-container{
  display: flex;
  margin-top: 30px;
  margin-left: 4%;
  margin-right: 8%;
  margin-bottom: 20px;
  flex-direction: column;
  justify-content: center;
}
.banner{
  background-color: #0E1015;
  border-radius: 20px;
  width:100%;
  height: 270px;
  position: relative;
  padding: 32px;
  z-index: -2;
  overflow: hidden;
  margin-bottom: 30px;
}
.banner-img{
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: -1;
}
.banner-info{
  display: flex;
  flex-direction: column;
  margin-left:5%;
  margin-top:1.5%;
  width:360px;
  height:200px;
  justify-content: space-between;
}
.banner-p{
  color:#495262;
}
.banner-button{
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width:40%;
  padding: 12px 24px;
  color: white;
  font-weight: bold;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  background:
  linear-gradient(#FFC935,#BA6917) padding-box,
  linear-gradient(#fee5a2,#BA6917) border-box;
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  box-sizing: border-box;
}
/*body, cases*/
.cases-container{
  background-color: #0E1015;
  border-radius: 20px;
  width:100%;
  height: auto;
  position: relative;
  padding: 32px;
  overflow: hidden;
  margin-bottom: 30px;
}
.cases-loading-info{
  display: flex;
  justify-content: center;
}
.cases-loading-info-text{
  font-size: 25px;
  color: #39404c;
}
.case-cell{
  display:flex;
  flex-direction: column;
  background-color: #0B0C10;
  border-radius: 15px;
  padding: 10px;
  width: 158px;
  height: auto;
  justify-content: center;
  align-items: center;
}
.case-text-1,.case-text-2{
  font-weight:700;
}
.case-container-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}
.case-cell-img{
  width:130px;
  height:130px;
}
.case-cell-h3{
  height: 8px;
  font-weight: 400;
  font-size: 14px;
}
.case-cell-price{
  color: white;
  font-weight: 600;
  font-size: 14px;
}
.price-container{
  display:flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap:5px;
  background-color:#0E1015;
  width: 85%;
  height: 12%;
  border-radius: 50px;
  margin-bottom:10px;
}
.case-icoin{
  width: 16.2px;
}
.case-open-button{
  display: flex;
  align-items: center;
  justify-content: center;
  width:85%;
  padding: 12px 24px;
  color: white;
  font-weight: 600;
  border-radius: 50px;
  font-size: 10px;
  cursor: pointer;
  background:
  linear-gradient(#FFC935,#BA6917) padding-box,
  linear-gradient(#fee5a2,#BA6917) border-box;
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  box-sizing: border-box;
}
@media (pointer: coarse){
html, body {
  display: flex;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  justify-content: center;
  flex-direction: column;
}
body{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-content: center;
}
.body-container{
  display: flex;
  margin-top: 16px;
  margin-left: 4%;
  margin-right: 8%;
  margin-bottom: 20px;
  flex-direction: column;
  justify-content: center;
}
.banner{
  border-radius: 20px;
  width:96%;
  height: 320px;
  position: relative;
  padding: 16px;
  z-index: -2;
  overflow: hidden;
  margin-bottom: 30px;
}
.banner-img{
  position: absolute;
  bottom: 0;
  right: 0;
  height: 30%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: -1;
}
.banner-info{
  display: flex;
  flex-direction: column;
  margin-left:5%;
  margin-top:1.5%;
  width:80%;
  height:35%;
  justify-content: flex-start;
  align-items: start;
}
.banner-text{
  font-size: 75%;
  margin: 0;
}
.banner-p{
  color:#495262;
  margin: 0;
}
.banner-button{
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width:40%;
  padding: 12px 24px;
  color: white;
  font-weight: bold;
  border-radius: 50px;
  font-size: 14px;
}
 .cases-container{
  background-color: #0E1015;
  border-radius: 20px;
  width:96%;
  height: auto;
  position: relative;
  padding: 16px;
  overflow: hidden;
  margin-bottom: 5px;
}
.case-container-group {
  display: flex;
  flex-wrap: wrap;
  gap: 3%;
  justify-content: flex-start;
}
.case-cell{
  display:flex;
  flex-direction: column;
  background-color: #0B0C10;
  border-radius: 15px;
  padding: 4px;
  margin-bottom: 3%;
  width: 46%;
  height: auto;
  justify-content: center;
  align-items: center;
}
}
@media (max-width: 400px){
  .case-cell{
  display:flex;
  flex-direction: column;
  background-color: #0B0C10;
  border-radius: 15px;
  padding: 4px;
  margin-bottom: 3%;
  width: 45%;
  height: auto;
  justify-content: center;
  align-items: center;
}
.case-open-button{
  display: flex;
  align-items: center;
  justify-content: center;
  width:95%;
  padding: 12px 14px;
  color: white;
  font-weight: 600;
  border-radius: 50px;
  font-size: 10px;
  cursor: pointer;
  background:
  linear-gradient(#FFC935,#BA6917) padding-box,
  linear-gradient(#fee5a2,#BA6917) border-box;
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  box-sizing: border-box;
}
}

/* Phone home screen polish based on the mobile mockups. */
@media (max-width: 900px), (pointer: coarse) {
  .navbar-container {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 18px 14px 10px !important;
    background: rgba(11, 12, 16, 0.98) !important;
  }

  .navbar-row,
  .navbar-upper {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }

  .mobile-navbar-group-row {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .ilogo {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
  }

  .navbar_logo {
    display: block !important;
    max-width: 126px !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .telegram-sign-button,
  .navbar-down,
  .settings,
  .iuser,
  .user_nickname {
    display: none !important;
  }

  .user-data-container {
    display: flex !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    gap: 0 !important;
  }

  .user-data-balance {
    width: 146px !important;
    height: 46px !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding-left: 14px !important;
    overflow: visible !important;
    border-radius: 999px !important;
    background: #101217 !important;
  }

  .balance-plus-button {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    margin-left: auto !important;
  }

  .body-container {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 16px 28px;
  }

  .banner {
    width: 100%;
    height: 244px;
    box-sizing: border-box;
    margin: 10px 0 14px;
    padding: 22px 18px;
    border-radius: 14px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
      #0E1015;
  }

  .banner-info {
    width: 70%;
    height: auto;
    margin: 0;
    gap: 8px;
  }

  .banner-info h1 {
    margin: 0;
    line-height: 1.05;
  }

  .banner-text {
    font-size: 18px;
    line-height: 1.05;
    letter-spacing: 0;
  }

  .banner-p {
    width: 170px;
    margin: 0;
    font-size: 10px;
    line-height: 1.25;
  }

  .banner-button {
    width: 88px;
    height: 28px;
    margin-top: 4px;
    padding: 0;
    font-size: 10px;
    border-radius: 999px;
  }

  .banner-img {
    right: -20px;
    bottom: -18px;
    height: 52%;
  }

  .cases-container {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 14px;
    padding: 16px 14px;
    border-radius: 14px;
    background-color: #0E1015;
  }

  .case-text-1,
  .case-text-2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
  }

  .case-container-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-bottom: 18px;
  }

  .case-cell {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px 8px 12px;
    border-radius: 10px;
    background-color: #0B0C10;
  }

  .case-cell-img {
    width: 100%;
    max-width: 118px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
  }

  .case-cell-h3 {
    height: auto;
    margin: 6px 0 8px;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
  }

  .price-container {
    width: auto;
    min-width: 58px;
    height: 20px;
    margin: 0 0 8px;
    padding: 0 8px;
  }

  .case-icoin {
    width: 13px;
  }

  .case-cell-price {
    font-size: 11px;
  }

  .case-open-button {
    width: 100%;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 9px;
  }
}

@media (max-width: 340px) {
  .body-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .banner,
  .cases-container {
    border-radius: 14px !important;
  }

  .banner {
    min-height: 242px !important;
    padding: 28px 18px 16px !important;
  }

  .banner-info {
    width: 68% !important;
    margin-left: 0 !important;
  }

  .banner-text {
    font-size: 19px !important;
    line-height: 1.72 !important;
  }

  .banner-p {
    width: 150px !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
  }

  .banner-button {
    width: 90px !important;
    height: 30px !important;
    padding: 0 !important;
    font-size: 10px !important;
  }

  .banner-img {
    height: 46% !important;
    right: -28px !important;
  }

  .cases-container {
    padding: 14px !important;
  }

  .case-container-group {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 10px !important;
  }

  .case-cell {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 8px 6px 10px !important;
    border-radius: 10px !important;
  }

  .case-cell-img {
    width: min(96px, 34vw) !important;
    height: min(96px, 34vw) !important;
  }

  .case-cell-h3 {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 11px !important;
  }

  .price-container,
  .case-open-button {
    width: 100% !important;
  }
}
