body {
  background: url(../img/bg.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

header {
  width: 100%;
  text-align: center;
}

header .logo {
  padding-top: 20px;
  width: 270px;
  height: 108px;
  margin: 0 auto;
}

header .logo img {
  width: 100%;
}

header .game-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  max-width: 640px;
  margin: 16px auto 0;
  padding: 0 16px;
}

header .game-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

header .game-tag em {
  font-style: normal;
  font-size: 16px;
  line-height: 1;
}

header .line-title {
  padding-bottom: 28px;
  margin: 0 auto;
  width: 680px;
  max-width: 94%;
  color: #b1987f;
  padding-top: 22px;
  justify-content: center;
  align-items: center;
}

header .line-title-text {
  text-align: center;
}

header .line-title-text .slogan-main {
  font-size: 17px;
  color: #d0a187;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 6px;
}

header .line-title-text .slogan-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

header .line-title img {
  width: 126px;
  height: 12px;
}

header .line-title img:nth-of-type(2) {
  transform: rotate(180deg);
}

.desc {
  color: #b1987f;
  text-align: center;
  line-height: 1.5;
}

.desc .brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
}

.desc .brand-logos img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
}

.pc-btns {
  display: flex;
  padding-top: 20px;
  width: 100%;
  max-width: 1200px;
  flex-wrap: wrap;
}

.inner-cont {
  width: 960px;
  margin: 0 auto 50px auto;
}

.inner-cont .top-btn {
  background: #3f455f;
  display: block;
  border-radius: 8px;
  color: #fff;
  margin-bottom: 20px;
}

.inner-cont .type-1 a:nth-of-type(1) {
  background: linear-gradient(#d0a187, #ad7964);
}

.inner-cont .type-1 .b1 {
  width: 460px;
  height: 162px;
  padding: 40px;
  box-sizing: border-box;
}

.inner-cont .type-1 .b1 img {
  width: 85px;
  height: 85px;
}

.inner-cont .type-1 .b1 .i-box {
  border-left: 3px #fff solid;
  padding-left: 20px;
}

.inner-cont .type-1 .b1 .i-box h3 {
  font-size: 30px;
}

.inner-cont .type-1 .b1 .i-box p {
  font-size: 14px;
}

.inner-cont .type-2 .b2 {
  width: 300px;
  height: 126px;
  padding: 40px 20px;
  box-sizing: border-box;
}

.inner-cont .type-2 .b2 img {
  width: 45px;
  height: 45px;
}

.inner-cont .type-2 .b2 .i-box {
  border-left: 3px #fff solid;
  padding-left: 20px;
}

.inner-cont .type-2 .b2 .i-box h3 {
  font-size: 20px;
}

.inner-cont .type-2 .b2 .i-box p {
  font-size: 14px;
}

.inner-cont .lianxi {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 0px;
}

.inner-cont .lianxi .btn {
  width: 100%;
  text-align: center;
  color: #b29881;
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner-cont .lianxi .btn h4 {
  padding: 0 15px;
}

.inner-cont .lianxi .btn i {
  width: 160px;
  height: 1px;
  background-color: #b29881;
}

.custom-btn {
  box-sizing: border-box;
  font-size: 16px;
  padding: 5px;
  min-width: 150px;
}

.custom-btn a{
  height: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0;
  background: #3f455f;
  border-radius: 5px;
  padding: 0 10px;
}
.custom-btn a:hover{
  margin-top: -5px;
}

.custom-btn img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

footer {
  height: 100px;
  background-color: #1c1b21;
  text-align: center;
  color: #737680;
}

footer p {
  padding-top: 20px;
  font-size: 14px;
}

.huodong img {
  width: 98%;
  margin: 1%;
}

@media only screen and (max-width: 760px) {
  #pc {
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
  }

  #pc>a {
    width: 50%;
  }

  .inner-cont .lianxi {
    padding-top: 30px;
    padding-bottom: 10px;
  }

  .desc .brand-logos {
    gap: 10px;
  }

  .desc .brand-logos img {
    width: 56px;
    height: 56px;
  }

  header .logo {
    padding-top: 20px;
    width: 130px;
    height: 50px;
    margin: 0 auto;
  }

  header .logo img {
    width: 100%;
  }

  header .game-categories {
    gap: 8px;
    margin-top: 12px;
    padding: 0 8px;
  }

  header .game-tag {
    padding: 6px 12px;
    font-size: 13px;
  }

  header .game-tag em {
    font-size: 14px;
  }

  header .line-title {
    padding-bottom: 15px;
    width: 100%;
    padding-top: 14px;
  }

  header .line-title-text .slogan-main {
    font-size: 14px;
  }

  header .line-title-text .slogan-sub {
    font-size: 12px;
  }

  header .line-title img {
    width: 70px;
    height: 7px;
  }

  .inner-cont {
    width: 94%;
    padding: 3%;
    margin: 0 auto 20px auto;
  }

  .inner-cont .top-btn {
    width: 48%;
    height: 55px;
    margin-bottom: 20px;
  }

  .inner-cont .type-1 .b1,
  .inner-cont .type-2 .b1,
  .inner-cont .type-1 .b2,
  .inner-cont .type-2 .b2 {
    width: 100%;
    height: 100%;
    padding: 10px 5px;
    box-sizing: border-box;
  }

  .inner-cont .type-1 .b1 img,
  .inner-cont .type-2 .b1 img,
  .inner-cont .type-1 .b2 img,
  .inner-cont .type-2 .b2 img {
    width: 25px;
    height: 25px;
    margin-right: 5px;
  }

  .inner-cont .type-1 .b1 .i-box,
  .inner-cont .type-2 .b1 .i-box,
  .inner-cont .type-1 .b2 .i-box,
  .inner-cont .type-2 .b2 .i-box {
    border-left: 1px #fff solid;
    padding-left: 5px;
  }

  .inner-cont .type-1 .b1 .i-box h3,
  .inner-cont .type-2 .b1 .i-box h3,
  .inner-cont .type-1 .b2 .i-box h3,
  .inner-cont .type-2 .b2 .i-box h3 {
    font-size: 14px;
  }

  .inner-cont .type-1 .b1 .i-box p,
  .inner-cont .type-2 .b1 .i-box p,
  .inner-cont .type-1 .b2 .i-box p,
  .inner-cont .type-2 .b2 .i-box p {
    font-size: 10px;
  }

  footer {
    height: auto;
    padding: 10px !important;
  }

  footer p {
    font-size: 12px;
    line-height: 20px;
    padding-top: 5px;
  }

  .huodong img {
    width: 98%;
    margin: 1%;
  }

  .policy-quick {
    flex-direction: column;
  }

  .policy-card {
    padding: 18px 16px;
  }

  .policy-card-title {
    font-size: 16px;
  }

  .policy-list li,
  .policy-steps li p {
    font-size: 14px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .policy-back .btn a {
    font-size: 14px;
    padding: 10px 28px;
  }

  .policy-benefits li {
    font-size: 13px;
    padding: 8px 12px;
  }

  .policy-defs p {
    font-size: 12px;
  }
}

/* 代理政策页 */
.policy-page .policy-cont {
  margin-bottom: 30px;
}

.policy-quick {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.policy-quick-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #d0a187, #ad7964);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.policy-quick-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.policy-quick-label {
  font-size: 14px;
  opacity: 0.9;
}

.policy-quick-value {
  font-size: 18px;
  font-weight: bold;
  word-break: break-all;
}

.policy-card {
  background: rgba(28, 27, 33, 0.85);
  border: 1px solid rgba(178, 152, 127, 0.35);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 20px;
  color: #e8dfd4;
}

.policy-card-title {
  font-size: 18px;
  color: #d0a187;
  margin-bottom: 18px;
  line-height: 1.5;
  font-weight: bold;
}

.policy-list {
  list-style: none;
}

.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(178, 152, 127, 0.15);
  font-size: 15px;
  line-height: 1.6;
}

.policy-list li:last-child {
  border-bottom: none;
}

.policy-tag {
  flex-shrink: 0;
  padding: 2px 10px;
  background: rgba(208, 161, 135, 0.25);
  color: #d0a187;
  border-radius: 4px;
  font-size: 12px;
}

.policy-highlight {
  background: rgba(208, 161, 135, 0.12);
  margin: 0 -12px;
  padding: 12px !important;
  border-radius: 8px;
  border-bottom: none !important;
}

.policy-highlight strong {
  color: #f0c9a8;
  font-size: 20px;
  letter-spacing: 2px;
}

.policy-list a,
.policy-steps a {
  color: #7eb8ff;
  text-decoration: none;
}

.policy-list a:hover,
.policy-steps a:hover {
  text-decoration: underline;
}

.policy-steps {
  list-style: none;
  counter-reset: none;
}

.policy-steps li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(178, 152, 127, 0.15);
}

.policy-steps li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.policy-steps .step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: linear-gradient(#d0a187, #ad7964);
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 16px;
}

.policy-steps li p {
  flex: 1;
  font-size: 15px;
  line-height: 1.7;
  color: #e8dfd4;
}

.policy-steps strong {
  color: #f0c9a8;
}

.policy-tip {
  font-size: 13px;
  color: #b1987f;
  margin: -8px 0 16px;
  text-align: center;
}

.activity-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 36px;
}

.carousel-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  cursor: zoom-in;
}

.carousel-slide img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.carousel-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(208, 161, 135, 0.9);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: #ad7964;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.is-active {
  background: #d0a187;
  transform: scale(1.25);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 20px;
  box-sizing: border-box;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.policy-back {
  padding-top: 10px;
  padding-bottom: 20px;
}

.policy-back .btn a {
  display: inline-block;
  padding: 12px 36px;
  background: #3f455f;
  color: #d0a187;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.policy-back .btn a:hover {
  background: linear-gradient(#d0a187, #ad7964);
  color: #fff;
}

.policy-plan .policy-card-title {
  text-align: center;
}

.policy-chart {
  position: relative;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(178, 152, 127, 0.3);
  background: #fff;
}

.policy-chart img {
  width: 100%;
  display: block;
}

.policy-chart-tip {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 4px;
  pointer-events: none;
}

.policy-benefits {
  list-style: none;
  margin-bottom: 16px;
}

.policy-benefits li {
  padding: 10px 14px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #f0e6dc;
  background: rgba(208, 161, 135, 0.1);
  border-left: 3px solid #d0a187;
  border-radius: 0 8px 8px 0;
}

.policy-benefits li:last-child {
  margin-bottom: 0;
}

.policy-defs {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  border: 1px dashed rgba(178, 152, 127, 0.35);
}

.policy-defs p {
  font-size: 13px;
  line-height: 1.7;
  color: #c4b8a8;
  margin-bottom: 10px;
}

.policy-defs p:last-child {
  margin-bottom: 0;
}

.policy-defs strong {
  color: #d0a187;
}

.activity-block {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(178, 152, 127, 0.2);
}

.activity-block-last {
  border-bottom: none;
  margin-bottom: 8px;
}

.activity-title {
  font-size: 16px;
  color: #f0c9a8;
  margin-bottom: 12px;
  font-weight: bold;
}

.activity-detail {
  list-style: none;
}

.activity-detail li {
  padding: 8px 14px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #e8dfd4;
  background: rgba(208, 161, 135, 0.08);
  border-radius: 6px;
}

.activity-detail li:last-child {
  margin-bottom: 0;
}

.policy-notice {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #f0c9a8;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: rgba(208, 161, 135, 0.15);
  border-radius: 8px;
  border: 1px solid rgba(208, 161, 135, 0.35);
}

.policy-browser {
  text-align: center;
  font-size: 14px;
  color: #e8dfd4;
  margin-bottom: 20px;
  line-height: 1.6;
}

.register-steps li {
  align-items: flex-start;
}

.register-steps .step-sub {
  list-style: none;
  margin-top: 8px;
  padding-left: 4px;
}

.register-steps .step-sub li {
  font-size: 13px;
  color: #c4b8a8;
  padding: 4px 0;
  line-height: 1.6;
}

.policy-warmtip {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(208, 161, 135, 0.12);
  border-radius: 8px;
  border-left: 3px solid #d0a187;
}

.policy-warmtip p {
  font-size: 13px;
  line-height: 1.7;
  color: #e8dfd4;
}