.d-flex {
  display: flex;
}
.jc-center {
  justify-content: center;
}
.jc-space-between {
  justify-content: space-between;
}
.ai-center {
  align-items: center;
}
.w-100 {
  width: 100%;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-82 {
  margin-bottom: 82px;
}
.check-wallet-btn {
  background: rgba(83, 121, 220, 1);
}
.wallet-content {
  max-width: none;
}
.collection-grid {
  max-width: none;
}
.info-grid {
  max-width: none;
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.verification-content {
  max-width: none;
}
body {
  background-image: url("../image/backgroundPattern.png");
  background-attachment: scroll;
  background-size: 100% auto;
}
.verification-content {
  grid-template-columns: 1fr 1fr;
}
.verification-mascot {
  justify-content: left;
}
.verification-header,
.supported-wallets:nth-child(2) {
  text-align: end;
}
.info-card {
  background: transparent;
  color: #fff;
  max-width: 467px;
  min-height: 458px;
}
.info-card h3 {
  color: #fff;
}
.verification-section {
  background: none;
}
.collection-item {
  background: none;
  border: rgba(28, 28, 28, 1);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  background: rgba(28, 28, 28, 1);
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Фиксированно 3 колонки */
  gap: clamp(20px, 4vw, 32px);
}
.header-cards {
  padding-bottom: 260px;
}
.roulette-section {
  padding-top: 0;
  padding-bottom: 0px;
}
.roulette-bg {
  margin-bottom: 0;
}
.arrow-line {
  padding-top: 20px;
  position: relative;
}
.arrow-line::before {
  content: "";
  position: absolute;
  background-image: url(../image/line.png);
  width: 2px;
  height: 249px;
  left: 50%;
  top: -249px;
  transform: translateX(-50%);
}
.roulette-pointer {
  display: none;
}
.roulette-content {
  padding-top: 3px;
  padding-bottom: 100px;
}
.roulette-bg {
  box-shadow: 0px 4px 4px -2px rgba(0, 0, 0, 0.25) inset;
  border: none;
}
.roulette-bg::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}
.header {
  background: none;
}
.header-card {
  background: none;
}
.wallet-text {
}
.arrow-line::after {
  content: "";
  position: absolute;
  background-image: url("/image/line.png");
}
.roulette-item.selected {
  transform: scale(1.05);
}
.roulette-item.selected > .item-img {
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}
.roulette-item.selected {
  box-shadow: none;
}
.ton-icon-img {
  width: 19px;
  height: 19px;
}
.item-value {
  font-family: Inter;
  font-weight: 600 !important;
  font-size: 20px !important;
}
.roulette-bg {
  height: clamp(120px, 25vw, 211px);
}
.winning-popup {
  background: rgba(217, 217, 217, 0.1) !important;
  backdrop-filter: blur(13.800000190734863px);

  /* background: none !important; */
}
.nft-details {
  justify-content: start !important;
}
.modal-content {
  backdrop-filter: blur(10px);
  padding: 65px 96px 47px 96px !important;
}
.wrapper-right-modal {
  width: 100%;
  padding-left: 119px;
  padding-top: 14px;
}
.mini-before-ton-img {
  padding-top: 7px;
}
.ton-mini-img {
  padding-top: 5px;
}
.span-won-bottom {
  line-height: 18px;
}
.congratulations {
  line-height: 0px;
}
.y-won:nth-child(1) {
  line-height: 26px;
}
.verify-btn {
  background: rgba(83, 121, 220, 1);
  width: auto;
  padding: 24px 158px 24px 158px;
  font-family: Inter;
  font-weight: 800;
  font-size: 24px;
  margin-top: 98px;
  margin-bottom: 31px;
}
.verification-content {
  grid-template-columns: 456px 1fr;
}
.wallet-content {
  padding-top: 230px;
  padding-bottom: 92px;
}
.collection-item {
  min-width: 303px;
  margin: 0 auto;
  margin-bottom: 115px;
}
.collection-item-title {
  font-family: Inter;
  font-weight: 900;
  font-size: 24px;
  margin: 0;
  padding-bottom: 47px;
}
.collection-item-icon {
  height: 100%;
  padding-bottom: 61px;
}
.collection-item-price {
  background: rgba(83, 121, 220, 1);
  border-radius: 17px;
  color: #fff;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 0px 33px;
  align-items: center;
  font-family: Inter;
  font-weight: 700;
  font-size: 24px;
}
.verify-btn {
  border-radius: 17px !important;
}

.silver {
}
.roulette-item .item-img {
  border-radius: 17px;
  margin-bottom: 0 !important;
}
.roulette-item > img:nth-child(1) {
  padding: 3px;
  width: 157px;
  height: 157px;
}
.gold,
.silver {
  top: -3px;
}
.roulette-item {
  position: relative;
  padding: 18px;
}
.copper {
  display: none;
}
.roulette-item.selected-gold {
  transform: scale(1.05);
}
.roulette-item.selected-gold > .item-img {
  box-shadow: 0 0 20px rgba(234, 232, 102, 0.5);
}
.roulette-item.selected-gold {
  box-shadow: none;
}
.roulette-bg {
  height: auto !important;
}
.spin-btn {
}
@media screen and (max-width: 393px) {
  .winner-message::after {
    content: "";
  }
  .roulette-item {
    width: 66px !important;
    height: 64px !important;
    margin-right: 4px;
  }
  .spin-btn {
    min-width: 205px;
    font-family: Inter;
    font-weight: 900;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 19%;
    border-radius: 50px;
  }
  .roulette-item .item-img {
    width: 70px !important;
    height: 70px !important;
  }
  .roulette-item .item-value {
    position: absolute;
    padding: 2px 4px;
    display: flex;
    position: absolute;
    bottom: -30px;
    z-index: 1000;
    font-family: Inter;
    font-weight: 600;
    font-size: 11px !important;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(164, 164, 164, 1);
  }
  .gold,
  .silver {
    display: none;
  }
  .item-img {
    padding: 10px;
  }
  .roulette-bg {
    height: clamp(150px, 25vw, 211px) !important;
  }
  .mb-82 > img {
    max-width: 204px;
  }
  .verification-section {
    display: none;
  }
  .info-card:nth-child(2) {
    display: none;
  }
  .info-card:nth-child(3) {
    display: none;
  }
  .info-grid {
    display: inline;
  }
  .roulette-item {
    overflow: initial;
  }
  .header-cards {
    padding-bottom: 55px;
  }
  .roulette-content {
    padding-bottom: 80px;
  }
  .wallet-mascot {
    display: none !important;
  }
  .verify-btn {
    padding: 10px 20px !important;
    margin-top: 60px !important;
  }
  .wallet-content {
    padding-top: 0 !important;
  }
  .collection-section {
    padding-bottom: 0 !important;
  }
  .nft-details {
    flex-direction: column;
  }
  .modal-content {
    padding: 10px !important;
  }
  .wrapper-right-modal {
    padding-left: 0px;
  }
  .left-section {
    width: auto;
    padding-bottom: 20px !important;
  }
  .nft-icon-container {
    display: flex;
    justify-content: start;
  }
  .card-image > img {
    max-width: 109px;
  }
  .cards-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .card-bottom-title {
    display: none;
  }
  .card-image {
    flex: none;
  }
  .card-content {
    height: auto;
  }
  .header-card {
    min-height: 110px;
  }
  .header-card:last-child {
    display: none;
  }
  .item-value > img {
    width: 10px;
    height: 10px;
  }
  .collection-item-price {
    font-family: Inter;
    font-weight: 900;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 0 10px;
  }
  .collection-item {
    margin-bottom: 0;
  }
  .collection-grid {
    grid-template-columns: 1fr 1fr;
  }
  .collection-item {
    min-width: auto;
  }
  .collection-item-icon > img {
    max-width: 77px !important;
  }
  .collection-item-title,
  .collection-item-icon {
    padding: 0;
  }
  .collection-item-title {
    font-family: Inter;
    font-weight: 900;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 8%;
  }
  .wallet-text > h2 {
    padding-top: 89px;
  }
  .info-card > h3 {
    font-family: Inter;
    font-weight: 900;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
  }
  .info-card > p {
    font-family: Inter;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
  }
  .info-card {
    min-height: 229px;
  }
  .roulette-item {
    position: relative;
    padding: 0;
  }
  .close-modal {
    z-index: 100000;
  }
  .nft-details {
    display: grid;
    grid-template-columns: 77px 184px;
    gap: 32px;
    padding: 24px 27px;
  }
  .congratulations {
    font-family: Inter;
    font-weight: 900;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
  }
  .green-text {
    font-family: Inter;
    font-weight: 900;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
  }
  .y-won .y-won-two {
    font-family: Inter;
    font-weight: 300;
    font-size: 8px;
    line-height: 100%;
    letter-spacing: 0%;
  }
  .wallet-text {
    padding: 0 16px;
  }
  .info-cards {
    padding: clamp(40px, 8vh, 64px) 16px;
  }
  .roulette-bg {
    overflow: hidden !important;
  }
}

/* --- Мобильная адаптивность --- */
@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .logo-img {
    width: 36px;
    height: 36px;
  }
  .logo-text {
    font-size: 16px;
  }
  .connect-wallet-btn {
    width: 100%;
    font-size: 14px;
    padding: 10px 0;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .header-card {
    min-height: 90px;
  }
  .card-img {
    max-width: 100px;
  }
  .roulette-bg {
    width: 100vw;
    min-width: 0;
    border-radius: 10px;
  }
  .roulette-tape {
    gap: 8px;
  }
  .roulette-item .item-img {
    width: 50px !important;
    height: 50px !important;
  }
  .spin-btn {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }
  .collection-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .collection-item {
    min-width: 0;
    margin-bottom: 24px;
  }
  .collection-item-title {
    font-size: 14px;
  }
  .collection-item-icon img {
    max-width: 60px;
  }
  .collection-item-price {
    font-size: 14px;
  }
  .wallet-content {
    flex-direction: column;
    padding: 24px 0;
  }
  .wallet-mascot {
    display: none;
  }
  .info-grid {
    flex-direction: column;
  }
  .info-card {
    min-height: 0;
    font-size: 13px;
  }
  .verification-content {
    flex-direction: column;
  }
  .verify-btn,
  .check-wallet-btn {
    width: 100%;
    font-size: 16px;
    padding: 12px 0;
  }
  .modal-content,
  .modal-content-micro {
    padding: 16px !important;
    max-width: 95vw;
  }
  .arrow-line {
  }
  .winning-popup,
  .nft-modal {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  html,
  body {
    overflow-x: hidden;
  }
  .container {
    padding: 0 4px;
  }
  .main {
    padding-top: 60px;
  }
  .header-content {
    gap: 4px;
    padding: 4px 0;
  }
  .logo-img {
    width: 28px;
    height: 28px;
  }
  .logo-text {
    font-size: 13px;
  }
  .connect-wallet-btn,
  .spin-btn,
  .buy-btn,
  .check-wallet-btn,
  .verify-btn {
    width: 100%;
    font-size: 13px;
    padding: 8px 0;
    border-radius: 10px;
    min-width: 0;
    min-height: 36px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .header-card {
    min-height: 60px;
    padding: 8px;
  }
  .card-img {
    max-width: 60px;
  }
  .roulette-bg {
    width: 100vw;
    min-width: 0;
    border-radius: 8px;
  }
  .roulette-tape {
    gap: 4px;
    min-width: max-content;
    width: auto;
  }
  .roulette-item {
    padding: 4px;
  }
  .roulette-item .item-img {
    width: 32px !important;
    height: 32px !important;
  }
  .item-value {
    font-size: 10px !important;
  }
  .collection-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .collection-item {
    min-width: 0;
    margin-bottom: 12px;
    padding: 8px;
  }
  .collection-item-title {
    font-size: 11px;
  }
  .collection-item-icon img {
    max-width: 36px;
  }
  .collection-item-price {
    font-size: 11px;
  }
  .modal-content,
  .modal-content-micro,
  .nft-modal {
    padding: 8px !important;
    max-width: 98vw;
    min-width: unset;
    border-radius: 10px;
  }
  .buy-btn {
    font-size: 13px;
    min-height: 32px;
  }
}

@media (max-width: 375px) {
  .logo-text {
    display: none;
  }
  .spin-btn {
    font-size: 11px;
  }
  .collection-item-title {
    font-size: 11px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 2px;
  }
  .main {
    padding-top: 48px;
  }
  .header-content {
    gap: 2px;
    padding: 2px 0;
  }
  .logo-img {
    width: 20px;
    height: 20px;
  }
  .logo-text {
    font-size: 10px;
  }
  .connect-wallet-btn,
  .spin-btn,
  .buy-btn,
  .check-wallet-btn,
  .verify-btn {
    width: 100%;
    font-size: 11px;
    padding: 6px 0;
    border-radius: 8px;
    min-width: 0;
    min-height: 24px;
  }
  .cards-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
  }
  .button-check {
    font-size: 13px !important;
    padding: 0 10px;
  }
  body {
    background-image: url("../images/pattern-iphone.png");
  }
  .ton-balance {
    display: none;
  }
  .font-card-bottom {
    font-size: 12px !important;
  }
  .button-check {
    margin: 10px 0 !important;
  }
  .wallet-text h2 {
    margin-bottom: 0;
  }
  .header-card {
    min-height: 40px;
    padding: 4px;
  }
  .card-img {
    max-width: 32px;
  }
  .roulette-bg {
    width: 100vw;
    min-width: 0;
    border-radius: 8px;
    overflow-x: auto;
    margin: 0 auto 8px auto;
  }
  .roulette-tape {
    gap: 2px;
    min-width: max-content;
    width: auto;
    margin: 0 2vw;
  }
  .roulette-item {
    padding: 2px;
    min-width: 40px;
  }
  .roulette-item .item-img {
    width: 24px !important;
    height: 24px !important;
  }
  .item-value {
    font-size: 9px !important;
    padding: 0 2px;
  }
  .collection-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .collection-item {
    min-width: 0;
    margin-bottom: 8px;
    padding: 6px;
  }
  .collection-item-title {
    font-size: 10px;
  }
  .collection-item-icon img {
    max-width: 28px;
  }
  .collection-item-price {
    font-size: 10px;
  }
  .modal-content,
  .modal-content-micro,
  .nft-modal {
    padding: 8px 4px !important;
    max-width: 95vw;
    min-width: unset;
    width: 100%;
    border-radius: 10px;
  }
  .nft-icon,
  .nft-icon-container-img {
  }
  .buy-btn {
    font-size: 12px;
    min-height: 28px;
    width: 100%;
  }
  .close-modal {
    font-size: 20px;
    right: 8px;
    top: 8px;
  }
  .nft-details > .nft-icon {
    width: auto !important;
    height: auto !important;
  }
  .roulette-item .item-img {
    width: 70px !important;
    height: 70px !important;
  }
  .roulette-bg {
    padding-bottom: 50px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: none !important;
  }
  .rlt,
  .rlb,
  .rrt {
    display: none;
  }
  .wrapper-roulette {
    overflow: hidden;
  }
  .arrow-line::before {
    content: "";
    position: absolute;
    background-image: url(../image/line.png);
    width: 2px;
    height: 143px;
    left: 50%;
    top: -147px;
    transform: translateX(-50%);
  }
  .arrow-line__image {
    width: 23px !important;
    height: 33px !important;
  }
  #spinsLeft {
    display: none;
  }
  .nft-details {
    flex-direction: row;
    padding-bottom: 60px;
    overflow: hidden;
  }
  .wrapper-right-button {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .y-won {
    font-family: Inter;
    font-weight: 900;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
  }

  .span-won-bottom {
    font-family: Inter;
    font-weight: 300;
    font-size: 8px;
    line-height: 100%;
    letter-spacing: 0%;
  }
  .mini-before-ton-img {
    display: none;
  }
  .model-bottom-price {
    display: none;
  }
  .display-none-mobile {
    display: none !important;
  }
  .left-section {
    padding-top: 14px;
  }
  .wrapper-right-button {
    gap: 9px;
    display: flex;
    flex-direction: column-reverse;
    padding: 0 25px 24px 25px;
  }
  .buy-btn {
    margin-top: 0 !important;
  }
  .left-section {
    padding-bottom: 50px !important;
  }
  .wrapper-right-modal {
    justify-content: start;
    padding-right: 35px;
  }
  .ton-mini-img {
    font-family: Inter;
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 0 !important;
  }
  .header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .spin-btn {
    min-height: 33px !important;
    max-width: 205px;
    border-radius: 17px;
    font-family: Inter;
    font-weight: 900;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 19%;
  }
  .selected-gold-box-shadow {
    box-shadow: 0 0 10px 1px rgba(220, 193, 83, 0.6) !important;
  }
  .selected-silver-box-shadow {
    box-shadow: 0 0 10px 1px rgba(83, 121, 220, 0.6) !important; /* X Y blur spread color */
  }
  .gold,
  .silver {
    height: 86px;
  }
  .collection-item {
    min-width: 0;
    margin-bottom: 8px;
    padding: 6px;
    max-width: 154px;
    width: 100%;
  }
  .font-card-bottom {
    font-family: Inter;
    font-weight: 900;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
  }
  .collection-item-price > img {
    width: 14px !important;
    height: 14px !important;
  }
  .collection-item-price {
    max-width: 121px;
  }
  .collection-item {
    padding-bottom: 28px;
    padding-top: 13px;
  }
  .button-check {
    max-width: 280px;
    height: 35px;
    font-family: Inter;
    font-weight: 800;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
    border-radius: 17px !important;
  }
  .button-check > img {
    width: 16px !important;
    height: 16px !important;
  }
}
.rlt,
.rlb,
.rrt {
  position: absolute;
  z-index: -100;
}
.rlt {
  width: 1734.66992218px;
  height: 799.363647681px;
  top: 595.48px;
  left: 0;
  angle: -0.22 deg;
}
.rlb {
  width: 1234.66992218;
  height: 899.363647681;
  top: 2620.5px;
  left: 0;
  angle: -0.22 deg;
}
.rrt {
  width: 625.669922px;
  height: 799.363647681px;
  top: 610.48px;
  right: 0;
  angle: -0.22 deg;
}
.roulette-item .item-value {
  margin-top: 5px;
  align-items: center;
}
.text-alight-bottom {
  line-height: normal;
}
.roulette-item {
}
.roulette-bg {
  padding-top: 20px;
}
.roulette-bg::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -100000;
  opacity: 0.1;
}
.wrapper-roulette {
  display: flex;
  position: relative;
}

.roulette-bg {
  box-shadow: 0 0 20px 20px rgba(255, 255, 255, 0.03); /* X Y blur spread color */
}
.roulette-content {
  padding-bottom: 0;
}
#spinsLeft {
  position: absolute;
  right: 0;
  top: 30px;
  font-family: Inter;
  font-weight: 600;
  font-size: 16px;
  color: rgba(255, 255, 255, 1) !important;
}
#close-modal {
  position: absolute;
  right: 23px;
  top: 19px;
  cursor: pointer;
}
