/* PG模拟器站群公共样式 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #7b2ff7;
  --primary-dark: #5a1abf;
  --accent: #f0b429;
  --accent2: #00d4aa;
  --bg: #f5f3ff;
  --white: #fff;
  --text: #1a1a2e;
  --text-light: #5a5a7a;
  --border: #e2dcf8;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(123,47,247,.10);
  --shadow-hover: 0 10px 36px rgba(123,47,247,.20);
}

body {
  font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--primary-dark); }
img { max-width: 100%; }

/* ===== HEADER ===== */
header {
  background: linear-gradient(135deg, #2d006b 0%, #5a1abf 50%, #7b2ff7 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(90,26,191,.30);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 24px;
}
.logo {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo .logo-pg { color: var(--accent); }
.logo .logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900; color: #2d006b;
}
nav a {
  color: rgba(255,255,255,.88);
  margin-left: 22px;
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}
nav a:hover { color: var(--accent); text-decoration: none; }

/* ===== NOTICE BAR ===== */
.notice-bar {
  background: linear-gradient(90deg, #2d006b, #7b2ff7, #2d006b);
  background-size: 200% 100%;
  animation: noticeScroll 6s linear infinite;
  color: #fff;
  padding: 9px 24px;
  text-align: center;
  font-size: .93rem;
  letter-spacing: .3px;
}
.notice-bar strong { color: var(--accent); }
@keyframes noticeScroll {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #2d006b 0%, #5a1abf 45%, #7b2ff7 80%, #a855f7 100%);
  color: #fff;
  padding: 80px 24px 68px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: rgba(240,180,41,.06);
  border-radius: 50%;
}
.hero h1 {
  font-size: 2.7rem;
  font-weight: 900;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
  position: relative; z-index: 1;
}
.hero h1 .highlight { color: var(--accent); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  max-width: 680px;
  margin: 0 auto 34px;
  position: relative; z-index: 1;
}
.hero-btns { position: relative; z-index: 1; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  border: none;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #2d006b;
  box-shadow: 0 6px 22px rgba(240,180,41,.45);
}
.btn-primary:hover { background: #e0a010; box-shadow: 0 8px 28px rgba(240,180,41,.55); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.65);
  margin-left: 12px;
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-purple {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 22px rgba(123,47,247,.35);
}
.btn-purple:hover { background: var(--primary-dark); }

/* ===== SECTION ===== */
section { padding: 64px 24px; }
.section-title {
  text-align: center;
  font-size: 1.95rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--primary-dark);
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 44px;
  font-size: 1.04rem;
}
.section-white { background: var(--white); }

/* ===== CARDS ===== */
.cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 26px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 26px;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.card-icon { font-size: 2.5rem; margin-bottom: 14px; }
.card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 10px; color: var(--primary-dark); }
.card p { color: var(--text-light); font-size: .96rem; }

/* ===== GAME CARDS ===== */
.game-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.game-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.game-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.game-card-thumb {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
}
.game-card-info { padding: 14px 16px; }
.game-card-info h4 { font-size: .98rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 5px; }
.game-card-info .rtp { font-size: .83rem; color: #52c41a; font-weight: 700; }
.game-card-info .provider { font-size: .8rem; color: var(--text-light); }

/* ===== STEPS ===== */
.steps { max-width: 860px; margin: 0 auto; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.step-num {
  min-width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.2rem; flex-shrink: 0;
}
.step h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; color: var(--primary-dark); }
.step p { color: var(--text-light); font-size: .95rem; }

/* ===== TABLE ===== */
.tbl-wrap { max-width: 960px; margin: 0 auto; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th { background: linear-gradient(90deg, var(--primary-dark), var(--primary)); color: #fff; padding: 14px 20px; font-size: .96rem; text-align: left; }
td { padding: 13px 20px; border-bottom: 1px solid var(--border); font-size: .95rem; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f5f3ff; }

/* ===== FAQ ===== */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 14px; box-shadow: var(--shadow); }
.faq-q { padding: 18px 24px; font-weight: 700; font-size: 1rem; color: var(--primary-dark); display: flex; justify-content: space-between; }
.faq-a { padding: 0 24px 18px; color: var(--text-light); font-size: .96rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 14px 24px 0; font-size: .9rem; color: var(--text-light); }
.breadcrumb a { color: var(--primary); }

/* ===== BADGE ===== */
.badge { display: inline-block; padding: 3px 11px; border-radius: 20px; font-size: .8rem; font-weight: 700; background: var(--primary); color: #fff; margin-left: 7px; vertical-align: middle; }
.badge-gold { background: var(--accent); color: #2d006b; }
.badge-green { background: #10b981; }
.badge-red { background: #ef4444; }

/* ===== INFO BOX ===== */
.info-box { max-width: 860px; margin: 28px auto 0; border-radius: var(--radius); padding: 22px 28px; }
.info-box-purple { background: #f5f3ff; border: 1px solid #c4b5fd; }
.info-box-green { background: #f0fdf4; border: 1px solid #86efac; }
.info-box-yellow { background: #fffbeb; border: 1px solid #fde68a; }
.info-box strong { color: var(--primary-dark); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: linear-gradient(135deg, #2d006b, #7b2ff7);
  padding: 36px 24px;
}
.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item .stat-num { font-size: 2.2rem; font-weight: 900; color: var(--accent); }
.stat-item .stat-label { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ===== FOOTER ===== */
footer { background: #1a0038; color: rgba(255,255,255,.6); padding: 50px 24px 28px; margin-top: 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; margin-bottom: 32px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.55); font-size: .92rem; margin-bottom: 8px; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .87rem; text-align: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.9rem; }
  nav { display: none; }
  .btn-outline { display: none; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
