.page_bg {
  background-image: url(../images/reg_bg.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.navbar-collapse.show {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 220px;
}

.content_wrapper {
  padding-top: 93px;
  font-family: 'Poppins', sans-serif;
}

.baseNftSection {
  /* padding: 100px 0 150px; */
  padding: 30px 0 50px;
}

.sectionHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
}

.sectionTitle {
  color: #FFF;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
}

.sectionDec {
  color: #FFF;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.nftCard {
  border-radius: 33px;
  border: 2px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(196deg, #505279 0.97%, #393175 0.98%, #464578 0.99%, #1E1560 22.68%, #030104 97.04%);
  padding: 10px;
  margin: 15px auto;
}

.nftCard:has(+.nftCard) {
  margin-bottom: 30px;
}

.flex-part-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cardInfo {
  padding: 24px 15px;
}

.cardTitle {
  color: #FFF;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  margin: 0;
}

.cardType {
  color: #FFF;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.count,
.price {
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.count {
  text-align: right;
}

.cardImgOuter {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  overflow: hidden;
  padding: 67px 105px;
}

/* .imgInner{
     width: 100%;
     height: 100%;
     border-radius: 18px;
     overflow: hidden;
   }
   .imgInner img{
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center;
   } */
.cardImgOuter:has(>img) {
  padding: 0;
}

.cardImgOuter>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nftCrdFooter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

a {
  transition: all 0.3s ease-in-out;
  text-decoration: none !important;
}

.btnWhiteOutline {
  color: #FFF;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  padding: 13px 30px;
  border: 2px solid #FFF;
  border-radius: 22px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.btnWhiteOutline:hover {
  color: #000;
  background-color: #FFF;
}

.primaryBtn {
  color: #FFF;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  padding: 15px 30px;
  text-align: center;
  border-radius: 22px;
  background-color: #240091;
  /* background: linear-gradient(90deg, #070C48 0%, #00358C 100%); */
  /* box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25); */
  display: inline-block;
}

.primaryBtn:hover {
  /* background: linear-gradient(90deg, #00358C 0%, #070C48 100%); */
  background-color: #1AA2E7;
}

.baseNftSlider {
  /* padding-top: 50px !important; */
  margin-top: 50px;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  width: 42px !important;
  height: 42px !important;
  padding: 13px;
  border-radius: 50px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url('/images/banner/slider_arrow_right.svg');
  transition: all 0.3s ease-in-out;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  margin: 0 !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.swiper-button-prev {
  right: 52px !important;
  background-image: url('/images/banner/slider_arrow_left.svg');
}

.swiper-button-next:hover {
  background-image: url('/images/banner/slider_arrow_hover_right.svg');
}

.swiper-button-prev:hover {
  background-image: url('/images/banner/slider_arrow_hover_left.svg');
}

.articalCard {
  border-radius: 32px;
  background-color: #12161E;
  overflow: hidden;
}

.artical_img {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.artical_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.artical_info {
  padding: 21px;
  background-color: #97989C;
}

.artical_info h3,
.artical_title {
  color: #FFF;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.artical_info p,
.artical_dec {
  color: #FFF;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

.articalSection .baseNftSlider {
  padding-top: 90px !important;
}


.main-h1.wallet_base_title {
  color: #FFF;
  font-family: 'Segoe UI', Poppins, Geneva, Verdana, sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-size: 76px;
  letter-spacing: 15px;
  line-height: normal;
}

.main-h1.wallet_base_title span {
  display: block;
  font-weight: 600;
}

.das_bonus {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 10%;
}

.mt-10 {
  margin-top: 90px;
}

.summary-widget {
  /* border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 13, 94, 0.24); */
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);

  padding: 25px;
}
.dark-gr {
  border: 2px solid #292738 !important;
    background: linear-gradient(214deg, #4A4D76 0%, #0B0730 49.04%, #000 100%);
}
.crd-label,
.crd-value {
  color: #FFF;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.summary-widget.ref-levels {
  margin-top: 30px;
}

.summary-widget.ref-levels .nft-placeholder-h1 {
  text-align: center;
}

.dasboard_sec .direct_data .direct_box {
  padding: 30px 0px;
  border-radius: 22px !important;
  /* border: 2px solid #1a1c42;
  background: linear-gradient(194deg, #4A4D76 0%, #0B0730 49.04%, #000 100%) !important; */

    border: 2px solid rgba(255, 255, 255, 0.09);
    background: #020828 !important;
}

.direct_data th {
  font-size: 14px;
}

.flex-card-data {
  gap: 15px;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.09);
  background: #020920;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  color: #fff;
}

.shadow-block {
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 35px;
}
.number-fs {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
}

.number-fs.upline-value {
  font-weight: 600;
  word-break: break-all;
  text-align: center;
}

.dashboard-label {
  opacity: 1;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  display: block;
  text-align: center;
}

.dashboard-label[style*="marginBottom: 0"] {
  margin-bottom: 0 !important;
}

.dashboard-button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
  margin-top: auto;
}
@media (max-width: 1200px) {
  .main-h1.wallet_base_title {
    font-size: 63px;
  }

  .summary-widget.ref-levels {
    margin-bottom: 40px;
  }

  .summary-widget {
    padding: 20px;
  }

  .flex-card-data {
    padding: 17px;
  }

  .crd-label,
  .crd-value {
    font-size: 17px;
  }

  .das_bonus {
    padding: 20px;
  }
}

@media (min-width: 768px) {
  .content_wrapper {
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (min-width: 1200px) {
  .content_wrapper {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (max-width: 991.98px) {
  .number-fs {
      font-size: 19px;
    }
  
  /* Ensure all dashboard values are consistent */
  .shadow-block .summary-widget .number-fs {
    font-size: 19px;
  }
  .shadow-block {
      padding: 15px;
    }
  
  /* Make boxes in the same row have equal heights on mobile */
  .row > [class*="col-"] {
    display: flex;
  }
  
  .row > [class*="col-"] > .summary-widget {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }
  .sectionTitle {
    font-size: 24px;
  }

  .sectionDec {
    font-weight: 400;
  }

  .cardInfo {
    padding: 16px 10px;
  }

  .cardTitle {
    font-size: 20px;
  }

  .cardImgOuter {
    aspect-ratio: 8 / 9;
  }

  .btnWhiteOutline,
  .primaryBtn {
    font-size: 14px;
    font-weight: 500;
  }

  .btnWhiteOutline {
    padding: 12px 24px;
    border: 1px solid #FFF;
    border-radius: 18px;
  }

  .primaryBtn {
    padding: 13px 24px;
  }

  /* .baseNftSection {
        padding: 80px 0 100px;
    } */
  /* .baseNftSlider {
        padding-top: 100px !important;
    } */
  .swiper-button-next,
  .swiper-button-prev {
    width: 36px !important;
    height: 36px !important;
  }
}

@media (max-width: 767.98px) {
  .content_wrapper {
    padding-top: 84px;
  }
  
  /* Ensure all boxes in the same row have equal heights on mobile */
  .shadow-block .row > [class*="col-"] {
    display: flex;
    margin-bottom: 1rem;
  }
  
  .shadow-block .row > [class*="col-"] > .summary-widget {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
  }
  
  /* Remove fixed heights on mobile to allow equal height */
  .shadow-block .summary-widget[style*="height"] {
    height: 100% !important;
  }
  
  /* Ensure boxes without explicit height also have minimum height */
  .shadow-block .summary-widget {
    min-height: 200px;
  }

  /* Recent Transactions table: Enable horizontal scrolling on mobile */
  .dasboard_sec .direct_data {
    overflow: visible !important;
    width: 100%;
  }

  .dasboard_sec .direct_data .direct_box.table-responsive {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    width: 100%;
    display: block !important;
    padding: 30px 0px !important;
  }

  .dasboard_sec .direct_data .direct_box.table-responsive table {
    min-width: 600px;
    width: auto;
    margin-bottom: 0;
    white-space: nowrap;
  }

  .dasboard_sec .direct_data .direct_box.table-responsive table th,
  .dasboard_sec .direct_data .direct_box.table-responsive table td {
    white-space: nowrap;
  }

  /* Make label font sizes smaller on mobile for dashboard boxes */
  .dashboard-label {
    font-size: 0.55rem;
  }

  /* Make all value font sizes consistent on mobile */
  .number-fs {
    font-size: 0.7rem;
  }

  /* Decrease font size for How It Works section on mobile */
  .shadow-block .wallet_base_title {
    font-size: 1.2rem !important;
  }

  .shadow-block .subText .fs-5 {
    font-size: 0.9rem !important;
  }

  .shadow-block .subText .fs-6 {
    font-size: 0.8rem !important;
  }

  /* How It Works: Keep icon and title side by side, description below on mobile */
  .shadow-block .subText .col-lg-6 {
    display: flex;
    flex-direction: column;
  }

  .shadow-block .subText .d-flex.flex-row,
  .shadow-block .subText .d-flex:not(.flex-column) {
    flex-direction: row !important;
    align-items: flex-start !important;
    margin-bottom: 0.5rem !important;
  }

  .shadow-block .subText .d-flex.flex-row > div,
  .shadow-block .subText .d-flex:not(.flex-column) > div {
    margin-bottom: 0 !important;
    margin-right: 0.5rem !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
  }

  .shadow-block .subText .d-flex.flex-row > p.fs-5,
  .shadow-block .subText .d-flex:not(.flex-column) > p.fs-5 {
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    flex: 1;
  }

  .shadow-block .subText .col-lg-6 > p.fs-6 {
    margin-top: 0.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .sectionTitle {
    font-size: 20px;
  }

  .cardInfo {
    padding: 0 0 12px;
  }

  .cardTitle {
    font-size: 18px;
  }

  .cardImgOuter {
    aspect-ratio: 15 / 16;
  }

  .swiper-button-next,
  .swiper-button-prev {
    top: auto !important;
    bottom: 0 !important;
  }

  .swiper-button-next {
    right: 0 !important;
    left: auto !important;
  }

  .swiper-button-prev {
    right: auto !important;
    left: 0 !important;
  }

  .baseNftSlider {
    padding: 30px 0 0 !important;
    margin: 0;
  }

  .baseNftSection {
    padding: 40px 0;
  }

  .articalSection .baseNftSlider {
    padding-top: 40px !important;
  }

  .artical_info {
    padding: 16px;
  }

  .artical_info h3,
  .artical_title {
    font-size: 20px;
  }

  .main-h1.wallet_base_title {
    font-size: 45px;
  }

}