/* VIP UI — match bb98.cn zhifufm_group (plugin video/template/css/style.css) */
:root {
  --vip-1: #FF6666;
  --vip-2: #D9D919;
  --vip-3: #9966FF;
  --vip-4: #fd4374;
  --primary-orange: #ff8c00;
  --text-gray: #aaaaaa;
  --vip-bg: #121212;
}

/* Title bar — glossy black like official sprite / template */
.content.buygroup-page > .title {
  background-color: #000 !important;
  background-image: linear-gradient(
    to bottom,
    #3a3a3a 0%,
    #2a2a2a 48%,
    #0a0a0a 52%,
    #000 100%
  ) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.content.buygroup-page > .title h1.bg,
.content.buygroup-page > .title .bg {
  background-image: none !important;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

/* 充值页标题较长：去掉右侧 heading 遮罩图，避免「开通在线播放」被盖住 */
.join-pad .title h1.bg,
.pure-u-2-5 .title h1.bg,
.pure-u-1-2 > .title h1.bg {
  background-image: none !important;
  overflow: visible !important;
  white-space: nowrap;
}
.join-pad .title .pure-u-5-6 {
  width: 100% !important;
}
.content.buygroup-page > .title a.btn-view {
  background: linear-gradient(to bottom, #f5f5f5, #cfcfcf) !important;
  color: #111 !important;
  border: 1px solid #aaa !important;
  border-radius: 4px !important;
  text-shadow: none !important;
  box-shadow: inset 0 1px 0 #fff;
}

/* Continuous dark panel under title — crown/bokeh bg like bb98 hdbg.jpg */
.content.buygroup-page {
  background: transparent;
}
.content.buygroup-page > .pure-u-1 {
  background: #111;
}

.zhifu-vip {
  /* 与 bb98.cn body 背景一致：深色底 + 右侧皇冠光斑图 */
  background: #111 url(images/zhifufm/hdbg.jpg) no-repeat !important;
  background-position: 50% 0 !important;
  background-size: auto 600px !important;
  margin: 0;
  padding: 48px 12px 36px;
  border-radius: 0;
  color: #fff;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
}

.zhifu-vip .vip-hero {
  text-align: center;
  padding: 8px 12px 18px;
}
.zhifu-vip .vip-hero h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 700;
  color: #ff8c00;
  background: linear-gradient(90deg, #ff8c00 0%, #ffcf4a 55%, #ff8c00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 12px rgba(255, 140, 0, 0.35));
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}
.zhifu-vip .vip-hero h2::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 4px;
  background: #ff8c00;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}
.zhifu-vip .vip-hero p {
  margin: 22px auto 0;
  max-width: 820px;
  color: #8b8b8b;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
  padding: 0 8px;
  box-sizing: border-box;
}
.zhifu-vip .vip-status {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 6px;
  width: fit-content !important;
  max-width: calc(100% - 24px);
  margin: 16px auto 0 !important;
  padding: 8px 14px !important;
  background: rgba(255, 140, 0, 0.08);
  border: 1px solid rgba(255, 140, 0, 0.35);
  color: #ffcf9d;
  font-size: 13px;
  text-align: center;
  border-radius: 6px;
  box-sizing: border-box;
  white-space: nowrap;
  line-height: 1.5;
}
.zhifu-vip .vip-status strong {
  color: #fff;
}
@media (max-width: 640px) {
  .zhifu-vip .vip-status {
    white-space: normal;
  }
}

.zhifu-vip .section-title {
  text-align: center;
  margin: 18px 0 8px;
  font-size: 18px;
  color: #cecece;
  font-weight: 600;
}
.zhifu-vip .section-title span {
  display: inline-block;
  padding: 0 12px;
}

.cards-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 28px;
  padding: 16px 12px 8px;
  box-sizing: border-box;
}

.zhifu-vip .vip-card {
  box-sizing: border-box;
  color: #fff;
  /* 与 bb98 一致：默认半透明偏暗，悬停变亮 */
  opacity: 0.7;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 20px;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: 340px;
  padding: 36px 18px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s, opacity 0.3s;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.zhifu-vip .vip-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 119, 0, 0.5) 40%,
    rgba(255, 200, 0, 1) 50%,
    rgba(255, 119, 0, 0.5) 60%,
    transparent 100%
  );
  box-shadow: 0 0 10px rgba(255, 119, 0, 0.7);
  z-index: 2;
}
.zhifu-vip .vip-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--primary-orange) 0%, transparent 70%);
  z-index: -1;
  opacity: 0.1;
  pointer-events: none;
  transition: opacity 0.4s;
}
.zhifu-vip .vip-card.vip-1::after {
  background: radial-gradient(circle at center, var(--vip-1) 0%, transparent 70%);
}
.zhifu-vip .vip-card.vip-2::after {
  background: radial-gradient(circle at center, var(--vip-2) 0%, transparent 70%);
}
.zhifu-vip .vip-card.vip-3::after {
  background: radial-gradient(circle at center, var(--vip-3) 0%, transparent 70%);
}
.zhifu-vip .vip-card.vip-4::after {
  background: radial-gradient(circle at center, var(--vip-4) 0%, transparent 70%);
}
.zhifu-vip .vip-card:hover {
  opacity: 1;
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}
.zhifu-vip .vip-card:hover::after {
  opacity: 0.2;
}
.zhifu-vip .vip-card .tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary-orange);
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 10px;
  z-index: 2;
}

.vcard-header {
  text-align: center;
  margin-bottom: 18px;
  position: relative;
}

.vip-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
}
.vip-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vip-1 .vip-icon {
  background: linear-gradient(135deg, var(--vip-1), #b34747);
}
.vip-2 .vip-icon {
  background: linear-gradient(135deg, var(--vip-2), #b3b347);
}
.vip-3 .vip-icon {
  background: linear-gradient(135deg, var(--vip-3), #7047b3);
}
.vip-4 .vip-icon {
  background: none;
  overflow: visible;
  box-shadow: none;
}
.vip-4 .vip-icon img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 120px;
  max-width: none;
}

.vip-name {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
}
.vip-duration {
  color: var(--text-gray);
  font-size: 14px;
  margin: 8px 0 0;
}

.zhifu-vip .price {
  text-align: center;
  margin: 12px 0 18px;
}
.price-amount {
  color: #ffcf9d;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}
.price-amount span {
  font-size: 36px;
  margin-left: 4px;
}
.price-origin {
  display: inline-block;
  margin-left: 8px;
  font-size: 14px;
  color: #888;
  font-weight: 400;
  text-decoration: line-through;
}

.zhifu-vip .features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0 8px;
  flex: 0 0 auto;
  height: auto;
  font-size: 14px;
}
.zhifu-vip .features li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  color: #ddd;
  line-height: 1.45;
}
.zhifu-vip .features li:last-child {
  border-bottom: none;
}
.zhifu-vip .features li i,
.zhifu-vip .features li .chk {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 10px 0 0;
  border-radius: 50%;
  background: var(--primary-orange);
  color: #111;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.buy-button,
.zhifu-vip .btn-buy {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 30px;
  border: none;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 1px;
  text-align: center;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
}
.vip-1 .buy-button,
.vip-1 .btn-buy {
  background: linear-gradient(to right, var(--vip-1), #cc5555);
  box-shadow: 0 5px 15px rgba(255, 102, 102, 0.4);
}
.vip-2 .buy-button,
.vip-2 .btn-buy {
  background: linear-gradient(to right, var(--vip-2), #c4c417);
  color: #333;
  box-shadow: 0 5px 15px rgba(217, 217, 25, 0.4);
}
.vip-3 .buy-button,
.vip-3 .btn-buy {
  background: linear-gradient(to right, var(--vip-3), #8844ff);
  box-shadow: 0 5px 15px rgba(153, 102, 255, 0.4);
}
.vip-4 .buy-button,
.vip-4 .btn-buy {
  background: linear-gradient(to right, var(--vip-4), #e03360);
  box-shadow: 0 5px 15px rgba(253, 67, 116, 0.4);
}
.buy-button:hover,
.zhifu-vip .btn-buy:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}
.buy-button::before,
.zhifu-vip .btn-buy::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}
.buy-button:hover::before,
.zhifu-vip .btn-buy:hover::before {
  left: 100%;
}

/* Points cards — keep compact under dark wrap */
.pts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 8px 8px 8px;
}
.pts-card {
  width: 200px;
  max-width: 100%;
  background: rgba(40, 40, 40, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  box-sizing: border-box;
  color: #eee;
}
.pts-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #fff;
}
.pts-card .price {
  color: #ffcf9d;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
}
.pts-card .desc {
  color: #aaa;
  font-size: 13px;
  margin-bottom: 12px;
}
.pts-card .btn-buy {
  display: inline-block;
  min-width: 120px;
  padding: 8px 14px;
  background: linear-gradient(180deg, #ff9a3c, #ff8c00);
  color: #111 !important;
  border-radius: 20px;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.zhifu-vip .member-box {
  max-width: 640px;
  margin: 20px auto 0;
  background: rgba(30, 30, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ddd;
}
.zhifu-vip .member-box h3 {
  color: #ffcf9d;
}
.zhifu-vip .member-box .inputText {
  background: #111;
  border: 1px solid #555;
  color: #eee;
}
.zhifu-vip .member-box a {
  color: #ff8c00;
}
.zhifu-vip .demo-hint,
.zhifu-vip .hint {
  color: #888;
}

/* Pay modal — official payment logos */
.pay-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9998;
}
.pay-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  max-width: 92vw;
  background: #191818;
  border-radius: 10px;
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  color: #eee;
  border: 1px solid rgba(255, 140, 0, 0.25);
}
.pay-modal .hd {
  padding: 14px 16px;
  border-bottom: 1px solid #333;
  font-size: 16px;
  font-weight: 700;
  position: relative;
  color: #fff;
}
.pay-modal .hd .close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: #888;
  line-height: 1;
}
.pay-modal .bd {
  padding: 16px;
}
.pay-modal .pkg-line {
  margin-bottom: 12px;
  font-size: 14px;
  color: #ccc;
}
.pay-modal .pkg-line strong {
  color: #ffcf9d;
  font-size: 20px;
}
.pay-ways {
  display: flex;
  gap: 10px;
  margin: 12px 0 18px;
}
.pay-ways label {
  flex: 1;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  font-size: 12px;
  background: #222;
  color: #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.pay-ways label img {
  width: 88px;
  height: 31px;
  object-fit: contain;
  display: block;
}
.pay-ways label.active,
.pay-ways label:has(input:checked) {
  border-color: #ff8c00;
  background: rgba(255, 140, 0, 0.12);
  color: #ffcf9d;
}
.pay-ways input {
  display: none;
}
.pay-modal .pay-go {
  display: block;
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(to right, #ff6666, #cc5555);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.pay-modal .demo-hint {
  color: #888;
}

@media (max-width: 1100px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    max-width: 520px;
  }
  .zhifu-vip .vip-card {
    width: 100%;
    max-width: 420px;
    flex: none;
  }
}
@media (max-width: 640px) {
  .zhifu-vip {
    margin: 0;
    padding: 28px 8px 24px;
    background-size: auto 420px !important;
    background-position: 70% 0 !important;
  }
  .zhifu-vip .vip-hero h2 {
    font-size: 24px;
  }
  .zhifu-vip .vip-status {
    display: inline-flex !important;
    width: fit-content !important;
    white-space: normal;
    text-align: left;
    padding: 8px 12px !important;
  }
  .zhifu-vip .vip-card {
    width: 100%;
    max-width: 100%;
    padding: 24px 14px 18px;
  }
  .vip-4 .vip-icon img {
    height: 96px;
  }
  .pts-card {
    width: 100%;
  }
}

/* a.joinOpt 跟原版 label.joinOpt 同一套样式，不再抬 z-index、不点穿右侧人像 */
a.joinOpt {
  display: block;
  height: 47px;
  font: normal 18px/18px Tahoma, Geneva, sans-serif;
  text-align: left;
  color: #000;
  cursor: pointer;
  background: #f3f3f3;
  border: 1px solid #d2d2d2;
  margin-bottom: 1px;
  position: relative;
  padding: 15px 0 0 15px;
  text-decoration: none;
}
a.joinOpt:hover,
a.joinOpt:active {
  background: #ff6262;
  color: #fff;
  text-decoration: none;
}
a.joinOpt span {
  display: block;
  font-size: 0.7em;
}
a.joinOpt .price {
  text-align: center;
  background: #373737;
  display: block;
  width: 115px;
  padding-top: 16px;
  font-size: 24px;
  color: #fff;
  height: 46px;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
}
a.joinOpt .price strong {
  font-size: 10px;
  font-weight: normal;
}
@media (max-width: 767px) {
  a.joinOpt {
    font: normal 16px/16px Tahoma, Geneva, sans-serif;
    padding: 15px 0 0 10px;
  }
  a.joinOpt .price {
    width: 90px;
  }
}

.join-redeem {
  margin: 8px 0 18px;
  background: #fff;
}
.join-redeem .title h1.bg {
  background-image: none !important;
  overflow: visible !important;
  white-space: nowrap;
}
.join-redeem form {
  padding: 14px 16px 18px;
  background: #f7f7f7;
  border: 1px solid #d2d2d2;
  border-top: 0;
}
.join-redeem-hint {
  margin: 0 0 10px;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}
.join-redeem-hint a {
  color: #c00;
}
.join-redeem-ok {
  margin: 0 0 10px;
  color: #0a7a2f;
  font-size: 14px;
}
.join-redeem-err {
  margin: 0 0 10px;
  color: #c00;
  font-size: 14px;
}
.join-redeem-row {
  display: flex;
  gap: 8px;
  max-width: 640px;
}
.join-redeem-row input[name="code"] {
  flex: 1;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #bbb;
  font-size: 16px;
  box-sizing: border-box;
}
.join-redeem-row button {
  height: 42px;
  padding: 0 22px;
  border: 0;
  background: #373737;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.join-redeem-row button:hover {
  background: #ff6262;
}
@media (max-width: 767px) {
  .join-redeem-row {
    flex-direction: column;
  }
}

