/* 皇冠体育资讯站基础样式 */
:root {
  --bg: #0b1220;
  --card: #111a2e;
  --primary: #38bdf8;
  --accent: #f59e0b;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --border: #1f2a44;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1100px, 92%); margin: 0 auto; }

.site-header { position: sticky; top: 0; background: rgba(11, 18, 32, 0.95); border-bottom: 1px solid var(--border); z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 16px; }
.logo { font-weight: 700; font-size: 20px; letter-spacing: 1px; }
.main-nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.main-nav a { color: var(--muted); }
.main-nav a:hover { color: var(--text); }
.cta { background: var(--primary); color: #081018; padding: 10px 16px; border-radius: 999px; font-weight: 600; }

.hero { padding: 48px 0 36px; background: radial-gradient(circle at top, #1e2a4a 0%, #0b1220 55%); }
.hero-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: center; }
.hero h1 { font-size: 40px; margin: 0 0 12px; }
.hero p { color: var(--muted); margin: 0 0 20px; }
.hero .hero-card { background: var(--card); padding: 18px; border: 1px solid var(--border); border-radius: 16px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); font-weight: 600; }

.section { padding: 28px 0; }
.section h2 { margin: 0 0 16px; font-size: 26px; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.card img { border-radius: 12px; width: 100%; height: 160px; object-fit: cover; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.highlight { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.highlight .stat { background: #0f172a; border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.stat span { display: block; color: var(--muted); font-size: 12px; }
.stat strong { font-size: 20px; }

.section img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border); margin-bottom: 14px; }
.hero-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); margin-bottom: 10px; }

.table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.table th, .table td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.table th { color: var(--muted); font-weight: 600; }

.tag { display: inline-block; padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; font-size: 12px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); padding: 36px 0 20px; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-grid h4 { margin: 0 0 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 6px 0; }
.footer-grid a { color: var(--muted); }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; margin-top: 18px; }

.page-hero { padding: 40px 0 20px; }
.page-hero h1 { margin: 0 0 10px; }
.page-hero p { margin: 0; color: var(--muted); }

.listing { display: grid; gap: 16px; }
.list-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.list-item img { border-radius: 10px; width: 100%; height: 200px; object-fit: cover; border: 1px solid var(--border); }
.list-item span { color: var(--muted); font-size: 12px; }
.list-item a { color: var(--primary); font-weight: 600; }

.form { display: grid; gap: 12px; max-width: 520px; }
.form input, .form textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: #0f172a; color: var(--text); }
.form button { background: var(--accent); color: #0b1220; border: none; padding: 10px 14px; border-radius: 10px; font-weight: 600; }

.notice-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #7c2d12;
  border-top: 1px solid var(--border);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 80;
  box-shadow: 0 -14px 32px rgba(0, 0, 0, 0.45);
}
.notice-bar a {
  color: #fff7ed;
  font-size: 18px;
  font-weight: 700;
}
.notice-bar .notice-btn {
  background: #fde68a;
  color: #7c2d12;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 10px 20px rgba(253, 230, 138, 0.45);
}
.notice-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(2px);
  z-index: 85;
}
.notice-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, 94%);
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  text-align: center;
  z-index: 90;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.notice-popup h3 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: 1px;
}
.notice-popup p {
  margin: 0 0 16px;
  color: #e2e8f0;
  font-size: 18px;
}
.notice-popup .btns {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.notice-popup button {
  border: none;
  border-radius: 10px;
  padding: 14px 26px;
  cursor: pointer;
  font-weight: 800;
  font-size: 17px;
}
.notice-popup .primary {
  background: #facc15;
  color: #1f2937;
  box-shadow: 0 10px 22px rgba(250, 204, 21, 0.45);
}
.notice-popup .ghost {
  background: #374151;
  color: var(--text);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .main-nav { display: none; }
}
