/* 广州骏帝文化传播有限公司官网样式 */
:root {
  --primary: #1a4f8b;
  --primary-dark: #123a68;
  --accent: #e8a23a;
  --text: #2b2b2b;
  --text-light: #666;
  --bg: #ffffff;
  --bg-gray: #f5f7fa;
  --border: #e5e8ec;
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 22px; font-weight: 700;
  border-radius: 8px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-text strong { font-size: 17px; color: var(--text); }
.logo-text small { font-size: 11px; color: var(--text-light); letter-spacing: .5px; }

.nav { display: flex; gap: 8px; min-width: 0; flex: 1 1 auto; justify-content: flex-end; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  padding: 8px 16px;
  font-size: 15px;
  color: var(--text);
  border-radius: 6px;
  transition: all .2s;
  white-space: nowrap;
  flex: 0 0 auto;
}
.nav a:hover { background: var(--bg-gray); color: var(--primary); }
.nav a.active { background: var(--primary); color: #fff; }

/* 顶栏账号按钮 */
.nav-auth {
  flex: 0 0 auto;
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  transition: background .2s;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-auth:hover { background: var(--primary-dark); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 96px 0;
  text-align: center;
}
.hero h1 { font-size: 42px; font-weight: 700; letter-spacing: 2px; margin-bottom: 16px; }
.hero-sub { font-size: 18px; opacity: .9; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; }

.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
}
.btn-primary { background: var(--accent); color: #fff; font-weight: 600; }
.btn-primary:hover { background: #d8942c; }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { font-size: 34px; font-weight: 700; letter-spacing: 2px; }

/* Sections */
.section { padding: 72px 0; }
.section-gray { background: var(--bg-gray); }
.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
}
.section-desc {
  text-align: center;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 16px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: all .25s;
}
.feature-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-4px); }
.feature-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-light); }

/* Business tags */
.business-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.business-tags span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 15px;
  color: var(--text);
}

/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.contact-item {
  background: var(--bg-gray);
  border-radius: 10px;
  padding: 20px 24px;
}
.contact-item label {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 6px;
}
.contact-item span { font-size: 16px; color: var(--text); font-weight: 500; }
.cta { text-align: center; }

/* Content card */
.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}
.content-card p { margin-bottom: 16px; color: var(--text); }
.sub-title { font-size: 20px; font-weight: 700; margin: 32px 0 16px; color: var(--primary); }

/* Info table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.info-table th, .info-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
}
.info-table th {
  background: var(--bg-gray);
  width: 180px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* Biz list */
.biz-list { display: flex; flex-direction: column; gap: 28px; margin-top: 8px; }
.biz-item h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.biz-item ul { list-style: none; padding-left: 4px; }
.biz-item li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
}
.biz-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.notice {
  margin-top: 32px;
  padding: 20px;
  background: var(--bg-gray);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  font-size: 15px;
}

/* Footer */
.footer {
  background: #1b2733;
  color: rgba(255,255,255,.8);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-info p { font-size: 14px; margin-bottom: 6px; }
.footer-copy { text-align: right; }
.footer-copy p { font-size: 13px; margin-bottom: 6px; }
.footer-copy .icp a { color: rgba(255,255,255,.7); }
.footer-copy .icp a:hover { color: #fff; text-decoration: underline; }
.footer-links { font-size: 13px; }
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* Link list (服务保障链接) */
.link-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.link-list a {
  display: inline-block;
  padding: 14px 20px;
  background: var(--bg-gray);
  border-radius: 8px;
  color: var(--primary);
  font-size: 15px;
  transition: all .2s;
}
.link-list a:hover { background: #e8eef5; }

/* Process list (监护流程) */
.process-list { margin: 16px 0; padding-left: 24px; }
.process-list li { margin-bottom: 14px; font-size: 15px; line-height: 1.8; }

/* FAQ list */
.faq-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.faq-item {
  background: var(--bg-gray);
  border-radius: 10px;
  padding: 18px 22px;
}
.faq-item h4 { font-size: 16px; color: var(--primary); margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--text-light); margin-bottom: 6px; }
.faq-item p:last-child { margin-bottom: 0; }

.content-card h4 { font-size: 16px; color: var(--text); margin: 16px 0 8px; }

/* Game product cards */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}
.game-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.game-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(26,79,139,.14); }
.game-cover {
  position: relative;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cover-diamond { background: linear-gradient(135deg, #2b1f5c, #5b32c9); }
.cover-cards { background: linear-gradient(135deg, #123a68, #1a6fb5); }
.cover-star { background: linear-gradient(135deg, #4a1d5c, #b03a86); }
.cover-art {
  font-size: 74px;
  line-height: 1;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.4));
  transition: transform .35s;
}
.game-card:hover .cover-art { transform: scale(1.12) rotate(-6deg); }
.game-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(0,0,0,.34);
  color: #ffe9b0;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.28);
}
.game-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.game-body h3 { font-size: 19px; margin-bottom: 8px; }
.game-intro { font-size: 14px; color: var(--text-light); line-height: 1.75; margin-bottom: 14px; }
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.game-tags span {
  font-size: 12px; color: var(--primary);
  background: #eef3fa; border-radius: 20px; padding: 3px 12px;
}
.game-actions { display: flex; gap: 10px; margin-top: auto; }
.gbtn {
  flex: 1;
  text-align: center;
  padding: 11px 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
}
.gbtn-play { background: var(--primary); color: #fff; }
.gbtn-play:hover { background: var(--primary-dark); }
.gbtn-pay { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.gbtn-pay:hover { background: #eef3fa; }
.gbtn-gold { flex: 0 0 auto; background: var(--accent); color: #fff; padding: 12px 30px; border-radius: 8px; }
.gbtn-gold:hover { background: #d8942c; }

/* Recharge banner */
.recharge-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 22px 26px;
}
.rb-left { display: flex; align-items: center; gap: 16px; }
.rb-icon {
  width: 50px; height: 50px; flex: 0 0 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #f6c453;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.recharge-bar strong { font-size: 17px; display: block; margin-bottom: 3px; }
.recharge-bar p { font-size: 13px; color: var(--text-light); }

/* Auth (登录 / 注册) */
.auth-wrap { max-width: 440px; margin: 0 auto; }
.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 32px 28px;
}
.auth-tabs {
  display: flex; gap: 6px;
  background: var(--bg-gray);
  padding: 5px; border-radius: 10px; margin-bottom: 24px;
}
.auth-tabs button {
  flex: 1; border: none; background: transparent;
  padding: 10px; border-radius: 7px;
  font-size: 15px; font-weight: 600; color: var(--text-light);
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.auth-tabs button.on {
  background: #fff; color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 13px; color: var(--text-light); margin-bottom: 6px;
}
.field input {
  width: 100%; padding: 12px 14px;
  font-size: 15px; font-family: inherit;
  border: 1px solid var(--border); border-radius: 8px;
  outline: none; transition: all .2s; color: var(--text);
}
.field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,79,139,.1);
}
.auth-btn {
  display: block; width: 100%;
  padding: 13px; border: none; border-radius: 8px;
  background: var(--primary); color: #fff;
  font-size: 16px; font-weight: 600; font-family: inherit;
  text-align: center; text-decoration: none;
  cursor: pointer; transition: all .2s;
}
.auth-btn:hover { background: var(--primary-dark); }
.auth-btn.ghost {
  background: #fff; color: var(--primary);
  border: 1px solid var(--primary);
  margin-top: 10px; font-size: 15px;
}
.auth-btn.ghost:hover { background: #eef3fa; }
.auth-msg {
  font-size: 13px; margin-top: 12px; min-height: 18px;
  color: #d9534f; text-align: center;
}
.auth-msg.ok { color: #2e9e5b; }
.auth-tip {
  margin-top: 22px; padding: 14px 16px;
  background: var(--bg-gray); border-radius: 8px;
  font-size: 12px; color: var(--text-light); line-height: 1.85;
}
.auth-user { text-align: center; padding: 4px 0 22px; }
.auth-user .avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.auth-user h3 { font-size: 19px; margin-bottom: 6px; }
.auth-user p { font-size: 13px; color: var(--text-light); line-height: 1.9; }

/* Responsive */
section[id] { scroll-margin-top: 88px; }
@media (max-width: 1024px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .nav-auth { padding: 7px 14px; font-size: 13px; max-width: 120px; }
  .logo-text strong { font-size: 15px; }
  .logo-text small { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-copy { text-align: left; }
  .game-grid { grid-template-columns: 1fr; gap: 22px; }
  .game-cover { height: 170px; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .content-card { padding: 24px; }
  .logo-text { display: none; }
  .header-inner { gap: 8px; }
  .nav a { padding: 7px 9px; font-size: 13px; }
  .nav-auth { padding: 6px 10px; font-size: 12px; max-width: 86px; }
  .game-cover { height: 150px; }
  .cover-art { font-size: 60px; }
  .game-actions .gbtn { font-size: 13px; padding: 10px 0; }
  .recharge-bar { padding: 18px 18px; gap: 14px; }
  .gbtn-gold { flex: 1 1 100%; }
}
