/* PUBG陪玩网 1:1 复刻 - Begin 主题风格 */
:root {
  --primary: #4d8cb8;
  --primary-dark: #3a6d94;
  --accent: #c40000;
  --accent-orange: #fa9f7e;
  --gold: #f5c518;
  --bg-body: #eff0f2;
  --bg-white: #fff;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --border: #ececec;
  --shadow: 0 3px 30px rgba(0, 0, 0, 0.056);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  font: 14px/1.8 "Microsoft YaHei", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-body);
  overflow-x: hidden;
  min-height: 100vh;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

a { color: var(--text); text-decoration: none; transition: color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { width: var(--max-width); max-width: 98%; margin: 0 auto; }

/* ========== 入场动画 ========== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 顶部栏 ========== */
.top-bar {
  background: var(--bg-body);
  height: 30px;
  line-height: 30px;
  font-size: 12px;
}
.top-bar .container { display: flex; justify-content: flex-end; }
.top-links a { color: #333; margin-left: 12px; font-size: 12px; }
.top-links a:hover { color: var(--primary); }

/* ========== 导航 ========== */
.header-main {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.header-main.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 81px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.logo-area::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 500%; margin-left: -250%;
  height: 100%;
  background: linear-gradient(to right, transparent 46%, rgba(255,255,255,0.65) 50%, transparent 54%) 50% 50%;
  animation: logoShine 2.5s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes logoShine {
  0% { transform: translate3d(-30%, 0, 0); }
  100% { transform: translate3d(30%, 0, 0); }
}

.logo-area img { height: 55px; width: auto; position: relative; z-index: 2; }
.logo-text { position: relative; z-index: 2; line-height: 1.2; }
.logo-text h1 { font-size: 2.4rem; font-weight: 700; color: #444; }
.logo-text p { font-size: 1.2rem; color: var(--text-light); }

.main-nav { display: flex; }
.header-nav-group {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 0 14px;
  line-height: 81px;
  font-size: 15px;
  color: var(--text);
  position: relative;
  font-weight: 500;
}
.main-nav a::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s ease-in-out;
}
.main-nav a:hover::before,
.main-nav a.active::before { width: 30px; }
.main-nav a:hover,
.main-nav a.active { color: var(--primary); }

.nav-right { display: flex; align-items: center; gap: 6px; }
.nav-search {
  font-size: 16px;
  color: #777;
  cursor: pointer;
  padding: 5px 10px;
  margin-left: 6px;
  border: none;
  background: transparent;
  line-height: 1;
  transition: color 0.3s, transform 0.3s;
}
.nav-search:hover { color: var(--primary); transform: scale(1.1); }
.nav-search i { font-size: 18px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 2px;
  border: none;
  background: transparent;
  color: #666;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.3s, background 0.3s;
}
.nav-toggle:hover { color: var(--primary); background: rgba(77, 140, 184, 0.08); }
.nav-toggle i { font-size: 20px; }

/* ========== 手机端滑出导航 ========== */
body.mobile-nav-open { overflow: hidden; }

.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
  visibility: hidden;
}
.mobile-nav-drawer.open {
  pointer-events: auto;
  visibility: visible;
}
.mobile-nav-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav-drawer.open .mobile-nav-mask { opacity: 1; }
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(280px, 86vw);
  height: 100%;
  background: var(--bg-white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.mobile-nav-drawer.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.mobile-nav-close {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #888;
  cursor: pointer;
  border-radius: 6px;
  font-size: 20px;
  line-height: 1;
}
.mobile-nav-close:hover { color: var(--primary); background: rgba(77, 140, 184, 0.08); }
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 8px 0 24px;
  overflow-y: auto;
}
.mobile-nav-links a {
  display: block;
  padding: 14px 22px;
  font-size: 15px;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--primary);
  background: rgba(77, 140, 184, 0.08);
}

.btn-login .fa { margin-right: 4px; font-size: 13px; }

.btn-login {
  padding: 4px 15px;
  border-radius: 5px;
  font-size: 13px;
  border: 1px solid rgba(0,0,0,0.073);
  background: var(--bg-white);
  color: #444;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.073) inset;
}
.btn-login:hover { background: var(--primary); color: #fff !important; border-color: var(--primary); }
.btn-reg {
  padding: 4px 15px;
  border-radius: 5px;
  font-size: 13px;
  background: #999;
  color: #fff !important;
}
.btn-reg:hover { background: var(--primary); }

/* ========== 搜索弹窗 ========== */
body.search-open { overflow: hidden; }

#search-main {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(5) blur(20px);
  -webkit-backdrop-filter: saturate(5) blur(20px);
  cursor: pointer;
}
#search-main.open { display: block; }

.search-box {
  position: relative;
  cursor: auto;
  animation: searchFadeInDown 0.45s ease;
}
@keyframes searchFadeInDown {
  from { opacity: 0; transform: translate3d(0, -100%, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.off-search-a {
  background: var(--bg-white);
  min-height: 15vh;
}

.search-area {
  background: var(--bg-white);
  width: 100%;
}

.search-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 40px 36px;
  cursor: auto;
}

.searchbar { margin: 10px 0; }

.search-input {
  display: flex;
  align-items: stretch;
}
.search-input input {
  flex: 1;
  width: 90%;
  height: 37px;
  line-height: 37px;
  padding: 4px 15px;
  font-size: 14px;
  background: #f1f1f1;
  border: 1px solid transparent;
  border-radius: 5px 0 0 5px;
  outline: none;
  font-family: inherit;
}
.search-input input:focus {
  background: #fff;
  border-color: #999;
}
.search-input .sbtu {
  width: 10%;
  min-width: 48px;
  height: 37px;
  background: #999;
  border: none;
  border-radius: 0 5px 5px 0;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.search-input .sbtu:hover { background: #777; }

.off-search {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: #b0b0b0;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.45s, transform 0.45s;
}
.off-search:hover {
  background: #666;
  transform: translateX(-50%) rotate(-180deg);
}

@media (max-width: 640px) {
  .search-wrap { padding: 16px 20px 28px; }
}

/* ========== 轮播 ========== */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #111;
  --hero-h: clamp(380px, 48vh, 560px);
  min-height: var(--hero-h);
}
.slider-wrap { display: flex; transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); height: 100%; }
.slide { min-width: 100%; position: relative; height: var(--hero-h); }
.slide > img {
  width: 100%;
  height: 100%;
  min-height: var(--hero-h);
  object-fit: cover;
  animation: kenBurns 8s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}
.slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, transparent 65%);
}
.slide-overlay h2 {
  font-size: 3.2rem;
  color: #fff;
  font-weight: 700;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  animation: slideTextIn 0.8s ease;
}
.slide-overlay p { font-size: 2rem; color: var(--accent-orange); margin-top: 8px; animation: slideTextIn 0.8s ease 0.15s both; }
.slide-overlay .sub { font-size: 1.5rem; color: rgba(255,255,255,0.85); animation: slideTextIn 0.8s ease 0.3s both; }
@keyframes slideTextIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
.btn-hero {
  margin-top: 18px;
  display: inline-block;
  padding: 10px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  width: fit-content;
  animation: pulseBtn 2s ease infinite;
}
@keyframes pulseBtn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 0, 0, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(196, 0, 0, 0); }
}
.btn-hero:hover { background: #a00000; color: #fff; animation: none; transform: scale(1.05); }

.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.slider-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dots span.active { background: var(--accent-orange); width: 24px; border-radius: 5px; }

/* ========== 特色服务标签 ========== */
.features-bar { background: var(--bg-body); padding: 24px 0; }
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.feature-tag {
  padding: 10px 22px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.35s, box-shadow 0.35s, color 0.35s, border-color 0.35s;
  white-space: nowrap;
}
.feature-tag i {
  margin-right: 6px;
  color: var(--primary);
  transition: transform 0.35s;
}
.feature-tag:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(77, 140, 184, 0.28);
  color: var(--primary);
  border-color: rgba(77, 140, 184, 0.35);
}
.feature-tag:hover i { transform: scale(1.15) rotate(8deg); }

.features-animate .feature-tag {
  opacity: 0;
  animation: featurePop 0.55s ease forwards;
}
.features-animate .feature-tag:nth-child(1) { animation-delay: 0.05s; }
.features-animate .feature-tag:nth-child(2) { animation-delay: 0.1s; }
.features-animate .feature-tag:nth-child(3) { animation-delay: 0.15s; }
.features-animate .feature-tag:nth-child(4) { animation-delay: 0.2s; }
.features-animate .feature-tag:nth-child(5) { animation-delay: 0.25s; }
.features-animate .feature-tag:nth-child(6) { animation-delay: 0.3s; }
.features-animate .feature-tag:nth-child(7) { animation-delay: 0.35s; }
.features-animate .feature-tag:nth-child(8) { animation-delay: 0.4s; }
@keyframes featurePop {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== 通用标题 ========== */
.section { padding: 35px 0; }
.section-white { background: var(--bg-white); }
.section-grey { background: var(--bg-body); }

.show-area .group-title h2,
.section-title h2 {
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  color: var(--text);
}
.show-area .group-title h2::before,
.section-title h2::before {
  content: "";
  width: 60px; height: 1px;
  background: linear-gradient(to right, transparent, #666);
  margin-right: 12px;
}
.show-area .group-title h2::after,
.section-title h2::after {
  content: "";
  width: 60px; height: 1px;
  background: linear-gradient(to right, #666, transparent);
  margin-left: 12px;
}

/* ========== 俱乐部 - 悬浮拉开手风琴 ========== */
.show-area { padding: 30px 0; background: var(--bg-body); }

.club-accordion {
  display: flex;
  gap: 0;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.club-accordion .club-banner-item {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  height: 100%;
  overflow: hidden;
  display: block;
  color: #fff;
  transition: flex 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.club-accordion:hover .club-banner-item:not(:hover) {
  flex: 0.88 1 0;
}
.club-accordion .club-banner-item:hover {
  flex: 1.35 1 0;
}
.club-banner-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
  transition: background 0.4s;
  z-index: 1;
}
.club-banner-item:hover::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 100%);
}
.club-banner-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.club-banner-item:hover > img { transform: scale(1.04); }

.club-banner-content {
  position: absolute;
  top: 0; left: 0;
  padding: 20px 18px;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.club-banner-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  margin-bottom: 8px;
  transition: transform 0.3s;
}
.club-banner-item:hover .club-banner-title { transform: translateX(5px); }
.club-banner-desc {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  line-height: 1.8;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ========== 明星陪玩师 - 横向展示 ========== */
.players-showcase-wrap { overflow: hidden; padding: 0 0 10px; }
.players-showcase {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 4px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.players-showcase::-webkit-scrollbar {
  display: none;
}
.players-showcase-more {
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
}
.players-showcase-more a {
  color: var(--primary);
}
.players-showcase-more a:hover {
  color: var(--primary-dark);
}

/* ========== 全部陪玩师列表页 ========== */
.players-page {
  flex: 1;
  padding: 20px 0 50px;
  background: var(--bg-body);
}
.players-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.players-grid .player-showcase-item {
  flex: none;
  min-width: 0;
  width: 100%;
}
.players-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  background: var(--bg-white);
  border: 1px solid var(--border);
}

/* ========== 俱乐部团队详情页 ========== */
.club-detail-page {
  flex: 1;
  padding: 0 0 50px;
  background: var(--bg-body);
}
.club-detail-breadcrumb {
  padding-top: 20px;
}.club-detail-hero {
  --hero-h: clamp(320px, 42vh, 480px);
  margin-bottom: 28px;
  background: var(--bg-body);
}
.club-detail-hero .slider-wrap {
  transform: none !important;
}
.club-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--bg-body) 0%, transparent 140px),
    linear-gradient(to top, var(--bg-body) 0%, transparent 140px),
    linear-gradient(to right, var(--bg-body) 0%, transparent 140px),
    linear-gradient(to left, var(--bg-body) 0%, transparent 140px);
}
.club-detail-hero .slide-overlay {
  z-index: 3;
  background: none;
}
.club-detail-overlay h2,
.club-detail-overlay p,
.club-detail-overlay .sub {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 0, 0, 0.45);
}
.club-detail-overlay p,
.club-detail-overlay .sub {
  font-weight: 700;
}
.club-detail-overlay .sub {
  display: block;
  margin-top: 8px;
}
.club-detail-members {
  margin-top: 8px;
}
.club-detail-members .players-empty {
  background: none;
  border: none;
  padding: 24px 20px 8px;
}

.player-showcase-item {
  flex: 0 0 calc(20% - 10px);
  min-width: 180px;
  background: var(--bg-white);
  border-radius: 8px;
  padding: 15px 12px 18px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  transition: transform 0.35s, box-shadow 0.35s;
  position: relative;
  display: block;
  color: inherit;
}
.player-showcase-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.player-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  min-height: 20px;
}
.player-label.top-badge {
  color: var(--accent);
  position: relative;
}
.player-label.top-badge::before {
  content: "";
  display: inline-block;
  width: 4px; height: 14px;
  background: var(--accent);
  margin-right: 6px;
  vertical-align: middle;
  border-radius: 2px;
}

.player-photo-ring {
  width: 130px;
  height: 130px;
  margin: 0 auto 12px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--primary), var(--accent-orange));
  transition: transform 0.4s;
}
.player-showcase-item:hover .player-photo-ring { transform: scale(1.06); }
.player-photo-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
}

.player-showcase-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.player-showcase-item .player-type { font-size: 13px; color: var(--primary); margin-bottom: 3px; }
.player-showcase-item .player-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ========== 欢迎区 - 全屏背景 + 波浪动画 ========== */
.welcome-outlook {
  position: relative;
  overflow: hidden;
}
.welcome-outlook-rgb {
  position: relative;
  overflow: hidden;
  background: url('../images/2024010907182896.jpg') no-repeat center / cover;
  backdrop-filter: saturate(100%) blur(2px);
}
.welcome-outlook-dec {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}
.welcome-outlook-rgb .container {
  position: relative;
  z-index: 1;
}
.welcome-outlook-box {
  padding: 70px 20px 90px;
  text-align: center;
}
.welcome-outlook-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.welcome-outlook-content {
  width: 80%;
  max-width: 900px;
  margin: 0 auto 30px;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 2;
  text-indent: 2em;
}
.welcome-outlook-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.btn-outlook-primary,
.btn-outlook-secondary {
  padding: 10px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff !important;
}
.btn-outlook-primary:hover,
.btn-outlook-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* 波浪动画 - 同原站 Begin 主题 */
.water {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  display: flex;
  pointer-events: none;
}
.waves {
  position: relative;
  width: 100%;
  height: 80px;
  margin-bottom: -25px;
  min-height: 80px;
  max-height: 80px;
}
.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }
@keyframes move-forever {
  0% { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}

/* ========== 公告区 - 波浪下方左图右文 ========== */
.group-notice {
  background: var(--bg-white);
  padding: 10px 0 30px;
  margin-top: -1px;
}
.group-notice-wrap {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}
.group-notice-img {
  position: absolute;
  right: 50%;
  top: 0;
  bottom: 0;
  width: 49%;
  margin: 24px 1% 15px 0;
  border-radius: 8px;
  overflow: hidden;
}
.group-notice-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}
.group-notice-inf {
  float: right;
  width: 49%;
  padding: 30px 20px;
  line-height: 2.2;
}
.group-notice-inf h2 {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, #2ca2b4, #5598de 24%, #7f87ff 45%, #f65aad 76%, #ec3d43);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.group-notice-inf h3 { font-size: 2.4rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.group-notice-inf h4 { font-size: 1.9rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.group-notice-inf h5 { font-size: 1.5rem; color: var(--text-light); margin-bottom: 4px; }
.group-notice-inf h6 { font-size: 1.3rem; font-weight: 400; color: var(--text-muted); line-height: 1.8; }

@media (max-width: 768px) {
  .waves { height: 50px; min-height: 50px; max-height: 50px; }
  .welcome-outlook-title { font-size: 2.2rem; }
  .welcome-outlook-content { width: 94%; font-size: 1.4rem; }
  .welcome-outlook-box { padding: 50px 10px 70px; }
  .group-notice-img { position: static; width: 100%; margin: 20px 0 0; height: 220px; }
  .group-notice-inf { float: none; width: 100%; padding: 10px 0 20px; }
  .group-notice-wrap { min-height: auto; }
}
.btn-primary {
  padding: 10px 25px;
  background: var(--primary);
  color: #fff;
  border-radius: 5px;
  font-size: 14px;
  transition: all 0.3s;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline {
  padding: 10px 25px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 5px;
  font-size: 14px;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ========== 陪玩流程 - 旋转圆环动画 ========== */
.group-process-section {
  background: var(--bg-white);
  padding: 40px 0 50px;
}
.group-process-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.process-main {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 10px;
  border-radius: 50%;
  background: var(--bg-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.process-main:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.group-process {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.process-round {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 154px;
  height: 154px;
  border-radius: 50%;
  border: 5px solid var(--border);
  border-left-width: 5px;
  pointer-events: none;
  z-index: 1;
  animation: processRoundSpin 18s linear infinite;
}
.process-round.round-1 { animation-duration: 18s; }
.process-round.round-2 { animation-duration: 16s; }
.process-round.round-3 { animation-duration: 14s; }
.process-round.round-4 { animation-duration: 16s; }
.process-round.round-5 { animation-duration: 18s; }
.process-round.round-6 { animation-duration: 14s; }
@keyframes processRoundSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.group-process-order {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #bbb;
  text-align: center;
  line-height: 30px;
  z-index: 2;
}
.group-process-ico {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.group-process-ico i {
  font-size: 28px;
  color: #888;
  transition: color 0.3s, transform 0.3s;
}
.process-main:hover .group-process-ico i {
  color: var(--primary);
  transform: scale(1.1);
}
.group-process-title {
  position: absolute;
  top: 62px;
  left: 0;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  padding: 0 8px;
  line-height: 1.3;
  z-index: 2;
}

/* ========== FAQ ========== */
.help-section { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.help-left h3 { font-size: 18px; font-weight: 700; margin-bottom: 15px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  padding: 14px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--primary); }
.faq-q::after { content: "+"; font-size: 18px; color: var(--primary); transition: transform 0.3s; }
.faq-item.open .faq-q::after { content: "−"; transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 14px; }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.support-item {
  background: var(--bg-white);
  padding: 22px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.support-item:hover { transform: translateY(-3px); }
.support-item h4 { font-size: 15px; font-weight: 700; color: var(--primary); }

.about-box {
  background: var(--bg-white);
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  line-height: 2;
  color: var(--text-light);
  font-size: 14px;
}

.guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guarantee-item {
  background: var(--bg-white);
  padding: 28px 18px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.35s, box-shadow 0.35s;
}
.guarantee-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.guarantee-icon {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  transition: transform 0.4s;
}
.guarantee-item:hover .guarantee-icon { transform: rotateY(360deg); }
.guarantee-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.guarantee-item p { font-size: 12px; color: var(--text-muted); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  justify-items: center;
}
a.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  background: none;
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.partner-item {
  transition: transform 0.3s;
}
.partner-item:hover {
  transform: scale(1.05);
  box-shadow: none;
}
.partner-item img {
  display: block;
  max-height: 72px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.articles-tabs { display: flex; gap: 8px; margin-bottom: 18px; justify-content: center; }
.articles-tabs span,
.articles-tabs a {
  padding: 5px 18px;
  cursor: pointer;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-light);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.articles-tabs a { display: inline-block; }
.articles-tabs span.active,
.articles-tabs span:hover,
.articles-tabs a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.article-list { display: grid; gap: 12px; }
.article-item {
  display: flex;
  gap: 18px;
  background: var(--bg-white);
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.article-item:hover { transform: translateX(5px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); color: var(--text); }
.article-item img { width: 150px; height: 95px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.article-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; transition: color 0.3s; }
.article-item:hover h3 { color: var(--primary); }
.article-meta { font-size: 12px; color: var(--text-muted); }
.article-meta span { margin-right: 12px; }

.footer {
  background: #2a3139;
  color: rgba(255,255,255,0.7);
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
  margin-top: auto;
}
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: #fff; }

/* ========== 右侧工具条 ========== */
.scroll-tools {
  position: fixed;
  right: 16px;
  bottom: 24px;
  top: auto;
  transform: none;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tool-btn {
  width: 36px; height: 36px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  cursor: pointer;
  color: #777;
  transition: all 0.3s;
  border: none;
  font-size: 14px;
}
.tool-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}
.tool-btn .fa { font-size: 16px !important; }

/* ========== 右侧联系栏 - 悬停向左展开二维码 ========== */
.contact-float-bar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 997;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-float-item {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
}
.contact-float-trigger {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg-white);
  color: #777;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.08);
  transition: background 0.3s, color 0.3s;
  flex-shrink: 0;
}
.contact-float-trigger.red { color: var(--accent); }
.contact-float-trigger.blue { color: var(--primary); }
.contact-float-trigger.green { color: #07c160; }
.contact-float-trigger:hover,
.contact-float-item:hover .contact-float-trigger {
  background: var(--primary);
  color: #fff;
}
/* 二维码弹层（仅展开内容，不改变侧边按钮外观） */
.contact-qr-popover {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 0;
  width: 0;
  max-width: 0;
  padding: 0;
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: max-width 0.38s ease, opacity 0.28s ease, visibility 0.28s ease;
  z-index: 1;
  white-space: nowrap;
}
.contact-qr-popover-inner {
  width: 160px;
  padding: 12px 14px;
  white-space: normal;
}
.contact-float-item:hover .contact-qr-popover {
  width: auto;
  max-width: 200px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.contact-qr-popover img {
  display: block;
  width: 132px;
  height: auto;
  margin: 0 auto;
}
.contact-qr-popover p {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
}
.contact-qr-empty {
  margin: 0;
  padding: 12px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

/* ========== 底部浮动按钮 ========== */
.float-action-btns {
  position: fixed;
  bottom: 30px;
  right: 100px;
  z-index: 996;
  display: flex;
  gap: 10px;
}
.float-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 25px;
  font-size: 13px;
  box-shadow: 0 4px 15px rgba(77,140,184,0.45);
  transition: all 0.3s;
  animation: floatBounce 3s ease-in-out infinite;
}
.float-action-btn:nth-child(2) { animation-delay: 0.5s; }
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.float-action-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  animation: none;
  box-shadow: 0 6px 20px rgba(77,140,184,0.6);
}
.float-action-btn .fa { font-size: 18px !important; }

/* ========== 价格表 ========== */
.prices-page {
  flex: 1;
  padding: 20px 0 50px;
  background: var(--bg-body);
}
.prices-panel {
  background: var(--bg-white);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.price-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}
.price-tabs-games {
  border-bottom: 1px solid var(--border);
}
.price-tabs-categories {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.price-tab {
  flex: 1 1 auto;
  min-width: clamp(72px, 22vw, 180px);
  max-width: 100%;
  border: none;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  line-height: 1.35;
  box-sizing: border-box;
}
.price-tab:last-child {
  border-right: none;
}
.price-tab:hover {
  color: var(--accent);
}
.price-tab.active {
  background: var(--accent);
  color: #fff;
}
.price-table-wrap {
  padding: 0;
  overflow-x: auto;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.price-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  color: var(--text-light);
  background: #f7f8f9;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.price-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  line-height: 1.6;
  vertical-align: top;
}
.price-table tbody tr:hover {
  background: #fafbfc;
}
.price-table tbody tr:last-child td {
  border-bottom: none;
}
.price-table .price-col {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}
.price-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
@media (max-width: 992px) {
  .price-tab {
    min-width: clamp(64px, 30%, 160px);
    padding: 12px 10px;
    font-size: 14px;
  }
}
@media (max-width: 640px) {
  .price-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .price-tab {
    flex: 0 0 auto;
    min-width: auto;
    max-width: none;
    white-space: nowrap;
    word-break: normal;
    padding: 12px 18px;
    border-bottom: none;
    margin-bottom: 0;
  }
  .price-table thead { display: none; }
  .price-table tbody tr {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
  }
  .price-table tbody td {
    display: block;
    padding: 4px 0;
    border: none;
  }
  .price-table tbody td::before {
    content: attr(data-label) '：';
    font-weight: 600;
    color: var(--text-light);
    margin-right: 6px;
  }
}

/* ========== 新闻攻略列表页 ========== */
.news-page {
  flex: 1;
  padding: 20px 0 50px;
  background: var(--bg-body);
}
.news-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding: 10px 0;
}
.news-breadcrumb a {
  color: var(--text-light);
}
.news-breadcrumb a i {
  margin-right: 4px;
  color: var(--primary);
}
.news-breadcrumb a:hover { color: var(--primary); }
.news-breadcrumb span { margin: 0 8px; color: #ccc; }
.news-breadcrumb .current { color: var(--text); }

.news-layout {
  max-width: 100%;
}

.news-list { display: grid; gap: 16px; }
.news-card {
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.news-card-link {
  display: flex;
  gap: 18px;
  padding: 18px;
  color: inherit;
}
.news-card-thumb {
  flex: 0 0 200px;
  width: 200px;
  height: 130px;
  border-radius: 6px;
  overflow: hidden;
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .news-card-thumb img { transform: scale(1.05); }
.news-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.news-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.news-card:hover .news-card-title { color: var(--primary); }
.news-card-excerpt {
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
}
.news-card-meta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.news-card-time {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
}
.news-card-time i {
  margin-right: 4px;
}
.news-card-comments i,
.news-card-views i {
  margin-right: 4px;
  color: var(--text-muted);
}
.news-card-views { color: var(--text-muted); }

/* ========== 文章详情页 ========== */
.article-page {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 24px 0 50px;
  background: var(--bg-body);
  overflow-x: clip;
}
.article-page .container,
.article-page .container.article-layout {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.article-layout {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}
#articleMain {
  width: 100%;
  min-width: 0;
}
.article-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.article-breadcrumb a { color: var(--text-light); }
.article-breadcrumb a:hover { color: var(--primary); }
.article-breadcrumb span { margin: 0 8px; }
.article-breadcrumb .current { color: var(--text); }
.article-detail {
  background: var(--bg-white);
  border-radius: 10px;
  padding: 28px 32px 32px;
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}
.article-title {
  font-size: clamp(1.35rem, 4.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.article-meta-bar i { margin-right: 4px; color: var(--text-muted); }
.article-featured-img { margin-bottom: 22px; border-radius: 8px; overflow: hidden; }
.article-featured-img img { width: 100%; display: block; }
.article-content {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-light);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}
.article-content p,
.article-content li,
.article-content h2,
.article-content h3,
.article-content div,
.article-content span {
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  max-width: 100%;
}
.article-content p { margin-bottom: 16px; }
.article-content h2 { font-size: 20px; font-weight: 700; color: var(--text); margin: 24px 0 12px; }
.article-content h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 22px 0 10px; }
.article-content ul, .article-content ol { margin: 0 0 16px 1.4em; }
.article-content li { margin-bottom: 6px; }
.article-content img { max-width: 100% !important; height: auto; border-radius: 6px; margin: 12px 0; }
.article-content iframe,
.article-content video { max-width: 100%; }
.article-content blockquote { margin: 16px 0; padding: 12px 16px; border-left: 4px solid var(--primary, #2d6ca2); background: #f7fafc; color: var(--text); }
.article-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.article-content table td, .article-content table th { border: 1px solid #e5e7eb; padding: 8px 10px; }
.article-not-found { text-align: center; padding: 60px 20px; }

/* ========== 陪玩师详情页（移动优先） ========== */
.page-player-detail .player-detail-section {
  flex: 1;
  padding: 0 0 32px;
  background: var(--bg-body);
}
.page-player-detail .player-detail-container {
  padding-top: 12px;
  padding-bottom: 16px;
}
.player-breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-breadcrumb a { color: var(--text-light); }
.player-breadcrumb a:hover { color: var(--primary); }
.player-breadcrumb .current { color: var(--text); font-weight: 600; }
.player-breadcrumb span { margin: 0 6px; opacity: 0.6; }

.player-page {
  width: 100%;
  margin: 0 auto;
  animation: fadeInUp 0.45s ease;
}
.player-detail-root {
  width: 100%;
}

/* 微信式资料头：左头像右信息 */
.player-profile {
  --player-avatar-size: 100px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 18px 0 20px;
  border-bottom: 1px solid #eef2f6;
  margin-bottom: 4px;
}
.player-profile-avatar {
  flex-shrink: 0;
  width: var(--player-avatar-size);
  height: var(--player-avatar-size);
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f6;
  position: relative;
}
.player-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.player-profile-avatar--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 28px;
}
.player-profile-avatar--multi {
  padding-bottom: 14px;
}
.player-profile-avatar-slider {
  display: flex;
  width: var(--player-avatar-size);
  height: var(--player-avatar-size);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 10px;
}
.player-profile-avatar-slider::-webkit-scrollbar { display: none; }
.player-profile-avatar-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  width: var(--player-avatar-size);
  height: var(--player-avatar-size);
}
.player-profile-avatar-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.player-profile-avatar-dot {
  width: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.player-profile-avatar-dot.active {
  width: 12px;
  border-radius: 3px;
  background: var(--primary);
}
.player-profile-info {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.player-profile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.player-profile-main {
  flex: 1;
  min-width: 0;
}
.player-profile-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.player-profile-name {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.player-profile-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  line-height: 1.5;
  box-shadow: none;
}
.player-profile-badge--top {
  background: #e74c3c;
}
.player-profile-type {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}
.player-profile-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.55;
}
.player-profile-meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  text-align: right;
  padding-top: 2px;
}
.player-profile-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 600;
  color: #f39c12;
}
.player-profile-score i { font-size: 14px; }
.player-profile-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* 主体内容 */
.player-page-body {
  background: var(--bg-white);
  position: relative;
  z-index: 1;
  padding: 16px 18px 24px;
}

.player-block { margin-bottom: 22px; }
.player-block:last-child { margin-bottom: 0; }
.player-block-title {
  position: relative;
  margin: 0 0 16px;
  padding-left: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.player-block-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--primary);
}

/* 信息行（无卡片） */
.player-stats-grid {
  display: flex;
  flex-direction: column;
}
.player-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  background: none;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #f0f2f5;
  text-align: left;
}
.player-stat-card:last-child { border-bottom: 0; }
.player-stat-card--wide {
  flex-direction: row;
  align-items: flex-start;
}
.player-stat-label {
  flex-shrink: 0;
  width: 76px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}
.player-stat-value {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
  word-break: break-word;
}

/* 语音试听 - 波形动态播放器 */
.player-voice-block { 
  margin-top: 2px; 
  display: flex;
  align-items: center;
  gap: 16px;
}
.player-voice-block .player-block-title {
  flex-shrink: 0;
  margin: 0;
  padding-bottom: 0;
}
.player-voice-block .player-block-title::after {
  display: none;
}
.player-voice-player {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  min-height: 34px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.player-voice-btn {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: 0 2px 6px rgba(52, 120, 246, 0.2);
  transition: transform .15s, opacity .15s;
}
.player-voice-btn:hover { opacity: .92; transform: scale(1.05); }
.player-voice-icon-pause { display: none; }
.player-voice-player.is-playing .player-voice-icon-play { display: none; }
.player-voice-player.is-playing .player-voice-icon-pause { display: inline; }
.player-voice-wave {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 22px;
  min-width: 0;
  padding: 0 2px;
  cursor: pointer;
  outline: none;
}
.player-voice-wave:focus-visible {
  box-shadow: 0 0 0 2px rgba(52, 120, 246, 0.25);
  border-radius: 4px;
}
.player-voice-bar {
  width: 2px;
  height: 20px;
  border-radius: 999px;
  background: #6b7280;
  transform-origin: center bottom;
  transform: scaleY(var(--bar-scale, 0.5));
  transition: background .2s, transform .2s;
}
.player-voice-player.is-playing .player-voice-bar {
  background: var(--primary);
  animation: playerVoiceBarPulse 0.72s ease-in-out infinite alternate;
}
.player-voice-bar:nth-child(1) { animation-duration: 0.52s; animation-delay: 0s; }
.player-voice-bar:nth-child(2) { animation-duration: 0.58s; animation-delay: 0.05s; }
.player-voice-bar:nth-child(3) { animation-duration: 0.64s; animation-delay: 0.1s; }
.player-voice-bar:nth-child(4) { animation-duration: 0.7s; animation-delay: 0.04s; }
.player-voice-bar:nth-child(5) { animation-duration: 0.76s; animation-delay: 0.08s; }
.player-voice-bar:nth-child(6) { animation-duration: 0.68s; animation-delay: 0.12s; }
.player-voice-bar:nth-child(7) { animation-duration: 0.62s; animation-delay: 0.06s; }
.player-voice-bar:nth-child(8) { animation-duration: 0.56s; animation-delay: 0.14s; }
.player-voice-bar:nth-child(9) { animation-duration: 0.5s; animation-delay: 0.02s; }
@keyframes playerVoiceBarPulse {
  0% { transform: scaleY(calc(var(--bar-scale, 0.5) * 0.42)); opacity: 0.72; }
  100% { transform: scaleY(calc(var(--bar-scale, 0.5) * 1.08)); opacity: 1; }
}
.player-voice-time {
  flex-shrink: 0;
  min-width: 50px;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: #9ca3af;
  text-align: right;
  white-space: nowrap;
}
.player-voice-audio { display: none; }

@media (max-width: 480px) {
  .player-voice-player {
    gap: 6px;
    padding: 5px 10px;
  }
  .player-voice-btn {
    width: 24px;
    height: 24px;
    font-size: 9px;
  }
  .player-voice-wave { gap: 2px; height: 20px; }
  .player-voice-bar { width: 2px; height: 18px; }
  .player-voice-time { min-width: 44px; font-size: 9px; }
}

.player-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.player-skill-chip {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  border-radius: 4px;
  white-space: nowrap;
  border: none;
  box-shadow: none;
}
.player-skill-chip:nth-child(4n+1) {
  background: var(--primary);
}
.player-skill-chip:nth-child(4n+2) {
  background: #e74c3c;
}
.player-skill-chip:nth-child(4n+3) {
  background: #d68910;
}
.player-skill-chip:nth-child(4n) {
  background: #5d6d7e;
}

.player-intro-text {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}
.player-intro-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-light);
}

.player-shots-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 0;
}
.player-shot-card {
  display: block;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  background: none;
  box-shadow: none;
  line-height: 0;
}
.player-shot-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  vertical-align: top;
}

/* 陪玩师详情页结束 */

.player-not-found {
  margin: 16px;
  text-align: center;
  padding: 48px 20px;
  background: var(--bg-white);
  border-radius: 12px;
}
.player-not-found h2 { margin-bottom: 12px; }

@media (min-width: 769px) {
  .page-player-detail .player-detail-container {
    padding-top: 20px;
    padding-bottom: 24px;
  }
  .player-breadcrumb {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .player-page {
    background: var(--bg-white);
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
  }
  .player-page-body {
    padding: 20px 28px 28px;
  }
  .player-profile {
    --player-avatar-size: 120px;
    gap: 22px;
    padding: 22px 0 24px;
  }
  .player-profile-name { font-size: 2rem; }
  .player-profile-price { font-size: 1.35rem; }
  .player-profile-score { font-size: 16px; }
  .player-stat-label { width: 88px; }
  .player-stat-value { font-size: 15px; }
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }
  .article-detail { padding: 20px 16px; }
  .article-title { font-size: 1.45rem; }
  .feature-tag { font-size: 12px; padding: 8px 12px; }
  .club-accordion { height: 320px; }
  .player-showcase-item { flex: 0 0 calc(33.33% - 10px); }
  .players-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .group-process-wrap { gap: 6px; }
  .process-main { width: 130px; height: 130px; margin: 8px; }
  .process-round { width: 134px; height: 134px; }
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .help-section { grid-template-columns: 1fr; }
  .group-notice-wrap { min-height: auto; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-nav-group { gap: 0; }
  .nav-inner { height: 64px; }
  .logo-area img { height: 44px; }
  .logo-text h1 { font-size: 1.6rem; }
  .logo-text p { font-size: 1rem; }
  .contact-float-bar { display: none; }
  .scroll-tools {
    right: 12px;
    bottom: 16px;
  }
}
@media (max-width: 640px) {
  .article-page { padding: 12px 0 32px; }
  .article-page .container { padding: 0 12px; }
  .article-detail {
    padding: 16px 14px 22px;
    border-radius: 8px;
  }
  .article-title {
    font-size: 1.4rem;
    line-height: 1.45;
    word-break: break-word;
  }
  .article-meta-bar {
    gap: 10px;
    font-size: 12px;
    padding-bottom: 14px;
    margin-bottom: 16px;
  }
  .article-content {
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
  }
  .article-content h2 { font-size: 17px; margin: 20px 0 10px; }
  .article-content h3 { font-size: 15px; }
  .article-content img { max-width: 100%; height: auto; }
  .article-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .news-card-link { flex-direction: column; }
  .news-card-thumb { flex: none; width: 100%; height: 180px; }
  .features-grid { gap: 8px; }
  .feature-tag { padding: 8px 14px; font-size: 13px; }
  .club-accordion { flex-direction: column; height: auto; }
  .club-accordion .club-banner-item { height: 260px; flex: none !important; }
  .player-showcase-item { flex: 0 0 calc(50% - 10px); min-width: 150px; }
  .players-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group-process-wrap { gap: 4px; }
  .process-main { width: 120px; height: 120px; margin: 6px; }
  .process-round { width: 124px; height: 124px; }
  .group-process-ico i { font-size: 22px; }
  .group-process-title { font-size: 12px; top: 54px; }
  .group-process-order { font-size: 1.4rem; bottom: 10px; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .partner-item img { max-height: 56px; }
  .float-action-btns { right: 10px; bottom: 15px; flex-direction: column; }
  .club-detail-hero { --hero-h: clamp(260px, 36vh, 380px); }
  .club-detail-overlay h2 { font-size: 2rem; }
  .club-detail-overlay p { font-size: 1.35rem; }
  .club-detail-overlay .sub { font-size: 1.1rem; }
}
