/* ========================================
   游戏展示网站 - 简洁现代风
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  background: #fafafa;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Navigation --- */
.nav {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2563eb;
}

/* --- Main Content --- */
.main {
  flex: 1;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  padding: 60px 0 40px;
}

.hero-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.1rem;
  color: #666;
  max-width: 500px;
  margin: 0 auto 32px;
}

.hero-badge {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* --- Info Cards --- */
.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}

.card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.card p {
  color: #555;
  font-size: 0.95rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.info-item {
  text-align: center;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
}

.info-item .label {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 4px;
}

.info-item .value {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* --- Privacy Policy Content --- */
.policy-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.policy-content .update-date {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.policy-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: #1a1a1a;
}

.policy-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 20px 0 8px;
  color: #333;
}

.policy-content p,
.policy-content li {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.policy-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.policy-content a {
  color: #2563eb;
  text-decoration: none;
}

.policy-content a:hover {
  text-decoration: underline;
}

.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
}

.policy-content th,
.policy-content td {
  border: 1px solid #e5e7eb;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.policy-content th {
  background: #f9fafb;
  font-weight: 600;
}

.policy-content .section-divider {
  border: none;
  border-top: 2px solid #e5e7eb;
  margin: 28px 0;
}

.policy-content .update-date {
  text-align: center;
  color: #999;
  margin-bottom: 32px;
  font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid #e5e7eb;
  padding: 24px 20px;
  text-align: center;
  color: #999;
  font-size: 0.85rem;
  background: #ffffff;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-outline {
  background: #fff;
  color: #2563eb;
  border: 1.5px solid #2563eb;
}

.btn-outline:hover {
  background: #eff6ff;
}

/* --- Back to Top --- */
.back-link {
  display: inline-block;
  color: #2563eb;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.back-link:hover {
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .card {
    padding: 20px;
  }

  .main {
    padding: 40px 16px 60px;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}
