.banner-wrapper {
    width: 100%;
    /* padding: 0 3%; */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banner-wrapper .long-banner {
    width: 100%;
    height: 400px;
    position: relative;
}

.banner-wrapper .long-banner::before {
    content: '';
    position: absolute;
    background: #000;
    opacity: 0.2;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.banner-wrapper .long-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-wrapper .long-banner .long-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-wrapper .long-banner .long-banner-content .long-banner-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    z-index: 2;
}

.banner-wrapper .one-banner{
  padding: 0 5%;
  width: 100%;
  height: 300px;
  position: relative;
}

.banner-wrapper .one-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-wrapper .two-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 5%;
}

.banner-wrapper .two-banner .two-banner-item {
    width: 50%;
    height: 100%;
}

.banner-wrapper .two-banner .two-banner-item a {
    display: inline-block;
    overflow: hidden;
    width: 100%;
}

.banner-wrapper .two-banner .two-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease-in-out;
}

.banner-wrapper .two-banner .two-banner-item a:hover img {
    transform: scale(1.05);
}


/* 會員積分 */
.join-background{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url('/static/picture/dollars-pic-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 550px;
}

.join-background h2{
  font-size: 40px;
  font-weight: 600;
  text-transform: unset;
  margin: 10px 0;
  color: #162d56;
}
.join-background p{
  font-size: 20px;
  font-weight: 400;
  padding-right: 0 !important;
  margin-bottom: 20px !important;
}
.join-btn-box{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.join-btn-box .pro-btn .qodef-html--link{
  padding: 8px 40px 8px 50px;
}



.petdollars-usage {
  text-align: center;
  margin: 40px 0 0 0;
}
.usage-title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-top: 150px;
  color: #162d56;
  margin-bottom: 30px;
  text-transform: unset;
}
.usage-desc {
  font-size: 18px;
  color: #162d56;
  margin-bottom: 18px;
  margin: 0 auto 20px;
  max-width: 510px;
}
.usage-tip {
  font-size: 18px;
  color: #162d56;
  font-weight: 600;
  border-bottom: 2px solid #abccd8;
  border-top: 2px solid #abccd8;
  padding: 14px 0;
  margin: 0 auto 30px auto;
  max-width: 320px;
}
.usage-list {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
  margin-top: 40px;
}
.usage-item {
  min-width: 250px;
}
.usage-item .amount {
  font-size: 26px;
  font-weight: bold;
  color: #162d56;
  margin-bottom: 8px;
}
.usage-item .points {
  font-size: 18px;
  color: #162d56;
}
.usage-btn {
  background: #7a4a0a;
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 12px 40px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}
.usage-btn:hover {
  background: #a86c1a;
}
@media (max-width: 768px) {
  .usage-list {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}
.refer-bg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 150px;
  background-image: url('/static/picture/refer-bg-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  padding: 20px;
}
.refer-box {
  background: #fff;
  max-width: 600px;
  width: 100%;
  padding: 48px 40px 48px 40px;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  z-index: 2;
  position: relative;
  text-align: center;
}
.refer-title-small {
  font-size: 18px;
  color: #000;
  margin-bottom: 50px;
  font-weight: 600;
}
.refer-title-big {
  font-size: 36px;
  font-weight: 600;
  color: #162d56;
  margin-bottom: 20px;
}
.refer-desc {
  font-size: 18px;
  color: rgba(55, 51, 48);
  margin-bottom: 32px;
}
.refer-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.refer-form input {
  padding: 12px 16px;
  font-size: 15px;
  border-bottom: 1px solid #ccc;
  border-radius: 2px;
  outline: none;
}
@media (max-width: 900px) {
  .refer-box {
    max-width: 95vw;
    padding: 32px 10px;
  }
}

.points-container{
  padding: 100px 5%;
}








/* 積分系統 */
.pet-dollars-system {
  padding: 80px 20px;
  background: #f9f9f9;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #162d56;
  margin-bottom: 60px;
  position: relative;
  text-transform: unset;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #abccd8;
  margin: 20px auto 0;
}

.steps-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  width: 280px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: #abccd8;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.5rem;
  color: #162d56;
  margin-bottom: 15px;
}

.step-description {
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
    align-items: center;
  }
}

/* 賺取方法 */
.earn-points-section {
  padding: 80px 20px;
  background: white;
}

.earn-cards-container {
  display: flex;
  justify-content: center;
  /* flex-wrap: wrap; */
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.earn-card {
  width: 33%;
  height: auto;
  aspect-ratio: 1/1;
  background: #f5f9fc;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.earn-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #162d56 0%, #abccd8 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.earn-card:hover::before {
  opacity: 1;
}

.earn-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  z-index: 2;
  transition: all 0.3s ease;
}

.earn-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #162d56;
  margin-bottom: 10px;
  z-index: 2;
  transition: all 0.3s ease;
}

.earn-method {
  color: #666;
  z-index: 2;
  transition: all 0.3s ease;
}

.earn-hover-content {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}

.earn-hover-content a{
  color: #fff;
}
.earn-hover-content button {
  background: #fff;
  color: #162d56;
  border: none;
  padding: 8px 32px;
  font-size: 15px;
  border-radius: 2px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.earn-hover-content span {
  color: #fff;
  font-size: 15px;
}

.earn-card:hover .earn-icon,
.earn-card:hover .earn-amount,
.earn-card:hover .earn-method {
  opacity: 0;
  transform: translateY(-20px);
}

.earn-card:hover .earn-hover-content {
  opacity: 1;
  transform: translateY(0);
}

.promo-card {
  position: relative;
  padding: 25px 30px;
  background: linear-gradient(135deg, #f5f9ff 0%, #e1f0ff 100%);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(22, 45, 86, 0.1);
  width: 71%;
  margin: 0 24%;
  border: 1px solid rgba(22, 45, 86, 0.1);
  overflow: hidden;
  margin-top: 20px;
}

.promo-card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 516 516" fill="%23162d56" opacity="0.08"><path d="M256 224c-79.41 0-192 122.72-192 200.25 0 34.9 26.81 55.75 71.74 55.75 48.84 0 81.09-25.08 120.26-25.08 39.51 0 71.85 25.08 120.26 25.08 44.93 0 71.74-20.85 71.74-55.75C448 346.72 335.41 224 256 224zm-147.28-12.61c-10.4-34.65-42.44-57.09-71.56-50.13-29.12 6.96-44.29 40.69-33.89 75.34 10.4 34.65 42.44 57.09 71.56 50.13 29.12-6.96 44.29-40.69 33.89-75.34zm84.72-20.78c30.94-8.14 46.42-49.94 34.58-93.28s-46.52-72.01-77.46-63.87-46.42 49.94-34.58 93.28 46.52 72.01 77.46 63.87zm281.39-29.34c-29.12-6.96-61.15 15.48-71.56 50.13-10.4 34.65 4.77 68.38 33.89 75.34 29.12 6.96 61.15-15.48 71.56-50.13 10.4-34.65-4.77-68.38-33.89-75.34zm-156.27 29.34c30.94 8.14 77.46-21.4 77.46-63.87s-15.65-85.13-46.59-93.27-77.46 21.4-77.46 63.87 15.64 85.14 46.59 93.27z"/></svg>') no-repeat; 
  background-size: contain;
  opacity: 0.8;
}

.promo-code {
  display: inline-block;
  background: #162d56;
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 700;
  margin-left: 5px;
  font-size: 16px;
  cursor: pointer;
}


#qodef-page-inner{
  padding: 0 !important;
}
@media screen and (max-width:768px) {

  .promo-card{
    width: 90%;
    padding: 15px 30px;
    margin: 0 auto;
  }

  #qodef-page-outer{
      margin-top: 110px;
  }
  .banner-wrapper .long-banner{
    height: 220px;
  }
  .banner-wrapper .long-banner .long-banner-content .long-banner-title{
    font-size: 18px;
    width: 95%;
    text-align: center;
  }

  .points-container{
    padding: 50px 3%;
  }

  .join-background{
    background-image: url('/static/image/landing-row-12-img-01.jpeg');
    /* background-image: none; */
    background-color: #abccd8;
    min-height: 280px;
    margin-bottom: 10px;
  }
  .join-background h2{
    font-size: 28px;
  }
  .join-background p{
    font-size: 15px;
  }

  .pet-dollars-system{
    padding: 30px 20px;
  }
  .section-title{
    font-size: 28px;
    margin-bottom: 30px;
  }
  .step-card{
    width: 100%;
  }

  .earn-points-section{
    padding: 30px 0;
  }
  .earn-cards-container{
    flex-direction: column;
    gap: 10px;
  }
  .earn-card{
    width: 100%;
    height: 350px;
  }

  .usage-title{
    margin-top: 0;
    font-size: 28px;
  }
  .usage-desc{
    font-size: 15px;
  }
  .usage-tip{
    font-size: 17px;
    padding: 10px 0;
    margin-bottom: 20px;
  }

  .refer-bg{
    margin-top: 50px;
    height: 450px;
  }
  .refer-box{
    padding: 20px;
  }
  .refer-title-small{
    font-size: 18px;
    margin-bottom: 10px;
  }
  .refer-title-big{
    font-size: 26px;
    margin-bottom: 10px;
  }
  .refer-desc{
    font-size: 15px;
    margin-bottom: 20px;
  }
  .refer-form input{
    margin-bottom: 10px;
  }
}