/* 门户首页 — 体育赛事管理台风格 */
:root {
  --pitch: #0d2818;
  --pitch-mid: #1a4d2e;
  --line: rgba(255, 255, 255, 0.22);
  --accent: #00c853;
  --accent-dim: #69f0ae;
  --gold: #ffc107;
  --text: #e8f5e9;
  --muted: #a5d6a7;
  --card: rgba(255, 255, 255, 0.06);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--pitch);
  background-image:
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(var(--line) 1px, transparent 1px),
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--pitch-mid), var(--pitch));
  background-size: 48px 48px, 48px 48px, 100% 100%;
}

.portal-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.portal-hero {
  text-align: center;
  margin-bottom: 2.75rem;
}

.portal-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pitch);
  background: linear-gradient(135deg, var(--accent-dim), var(--accent));
  font-weight: 700;
  margin-bottom: 1rem;
}

.portal-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 200, 83, 0.25);
}

.portal-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.portal-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.portal-card {
  display: block;
  padding: 1.5rem 1.35rem;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.portal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  opacity: 0.85;
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 83, 0.45);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.portal-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.portal-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.portal-card .portal-go {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dim);
}

.portal-foot {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.portal-foot code {
  background: rgba(0, 0, 0, 0.25);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.78rem;
}
