:root {
  --bg: #0a0a0a;
  --panel: #141414;
  --panel-2: #1f1f1f;
  --text: #ffffff;
  --text-soft: #d1d5db;
  --text-muted: #9ca3af;
  --accent: #f2e500;
  --accent-hover: #e8d90c;
  --border: #a8b0b3;
  --line: #2a2a2a;
  --blue: #3b82f6;
  --white-bg: #f5f5f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  background: var(--white-bg);
  color: var(--text);
}

a {
  text-decoration: none;
}

/* 顶部导航栏 */
.navbar {
  height: 76px;
  padding: 0 36px;
  background: #ffffff;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 4px solid #0a0a0a;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.brand-main {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin-bottom: 3px;
}

.brand-sub {
  font-size: 11px;
  color: #555;
  font-weight: 700;
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  gap: 34px;
}

.nav-menu a {
  color: #0a0a0a;
  font-size: 17px;
  font-weight: 800;
  padding: 25px 0;
  border-bottom: 4px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
  border-bottom-color: var(--accent);
}

/* Hero */
.hero {
  min-height: 540px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 40%, rgba(242, 229, 0, 0.22), transparent 25%),
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.18), transparent 20%),
    linear-gradient(120deg, #050505 0%, #111111 55%, #202020 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 80px;
  padding: 70px 8% 70px 14%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(45deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
}

.hero::after {
  content: "HAMMER CUP";
  position: absolute;
  right: -30px;
  bottom: 10px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.035);
  letter-spacing: 8px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  flex: 0 0 560px;
}

.hero h1 {
  margin: 0;
  font-size: 88px;
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 3px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-subtitle {
  margin-top: 24px;
  font-size: 26px;
  font-weight: 800;
}

.hero-desc {
  max-width: 620px;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 17px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 900;
  transition: 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-logo-wrap {
  position: relative;
  z-index: 2;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 80px rgba(242, 229, 0, 0.15);
}

.hero-logo {
  width: 310px;
  height: 310px;
  object-fit: contain;
}

/* 信息卡 */
.info-strip {
  max-width: 1180px;
  margin: -48px auto 36px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 5;
}

.info-card {
  background: #ffffff;
  color: #0a0a0a;
  padding: 18px 22px;
  min-height: 132px;
  border-radius: 12px;
  border: 2px solid #0a0a0a;
  box-shadow: 7px 7px 0 #0a0a0a;
}

.info-card span {
  display: block;
  color: #555;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.info-card strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
}

.info-card p {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

/* 主内容 */
.main-layout {
  max-width: 1180px;
  margin: 0 auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  color: #0a0a0a;
}

.section-heading,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-heading h2,
.panel-heading h2 {
  font-size: 34px;
  margin: 0;
  font-weight: 900;
}

.section-heading a,
.panel-heading a {
  color: #0a0a0a;
  font-weight: 900;
}

.section-heading a:hover,
.panel-heading a:hover {
  color: var(--accent);
}

.tournament-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tournament-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.card-banner {
  height: 225px;
  position: relative;
  background:
    linear-gradient(120deg, rgba(0,0,0,0.9), rgba(0,0,0,0.65)),
    radial-gradient(circle at 75% 40%, rgba(242, 229, 0, 0.35), transparent 28%),
    linear-gradient(135deg, #111111, #272727);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 5px solid var(--accent);
}

.card-banner.secondary {
  border-bottom-color: #bfc6c9;
}

.card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 229, 0, 0.16), transparent 28%),
    linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.25));
  pointer-events: none;
}

.status-tag,
.banner-text {
  z-index: 2;
}

.status-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent);
  color: #0a0a0a;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.status-tag.gray {
  background: #d1d5db;
}

.banner-text {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #ffffff;
}

.banner-text span {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 14px;
}

.cover-title-en {
  margin: 8px 0 0;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  margin: 0 0 12px;
  font-size: 23px;
  font-weight: 900;
}

.card-body p {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 18px;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #111827;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 44px;
  padding: 0 18px;
  color: #0a0a0a;
  background: var(--accent);
  border-radius: 6px;
  font-weight: 900;
  text-align: center;
  margin-top: auto;
}

.card-link:hover {
  background: #0a0a0a;
  color: #ffffff;
}

.card-link:hover {
  background: #0a0a0a;
  color: #ffffff;
}

.tournament-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #111827;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 20px;
}

.card-link {
  margin-top: auto;
}

/* 赛程面板 */
.schedule-panel {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  align-self: start;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.match-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 22px;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.match-stage {
  font-weight: 900;
  color: #111827;
  margin-bottom: 8px;
}

.match-date {
  color: #6b7280;
  font-weight: 700;
  margin-bottom: 22px;
}

.match-teams {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  gap: 14px;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 13px;
}

.team-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0a0a0a;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 3px solid var(--accent);
}

.match-time strong {
  display: block;
  font-size: 22px;
}

.match-time span {
  color: #6b7280;
  font-weight: 800;
}

.notice-box {
  margin-top: 22px;
  padding: 20px;
  background: #0a0a0a;
  color: #ffffff;
  border-radius: 12px;
  border-left: 6px solid var(--accent);
}

.notice-box h3 {
  margin-top: 0;
}

.notice-box p {
  color: var(--text-soft);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: #0a0a0a;
  color: #ffffff;
  padding: 42px 10% 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  border-top: 5px solid var(--accent);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
}

.footer p {
  margin: 0;
  color: #9ca3af;
  line-height: 1.6;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--accent);
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  text-align: left;
  min-width: 180px;
}

.footer-social a {
  color: #d1d5db;
  margin-bottom: 9px;
  font-weight: 700;
  transition: 0.18s;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 22px;
  margin-top: 10px;
  border-top: 1px solid #2a2a2a;
  text-align: center;
}

/* 手机适配 */
@media (max-width: 980px) {
  .navbar {
    height: auto;
    padding: 18px 24px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 22px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 70px 24px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo-wrap {
    margin-top: 50px;
    width: 280px;
    height: 280px;
  }

  .hero-logo {
    width: 240px;
    height: 240px;
  }

  .info-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
  }

  .main-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 24px 22px;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }
}

/* ========== 子页面通用样式 ========== */

.page-hero {
  min-height: 320px;
  padding: 90px 24px;
  text-align: center;
  color: #ffffff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.9)),
    radial-gradient(circle at 70% 30%, rgba(242, 229, 0, 0.2), transparent 28%),
    linear-gradient(135deg, #111111, #1f1f1f);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.25;
}

.page-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 2px;
}

.page-hero p {
  position: relative;
  z-index: 2;
  margin: 18px auto 0;
  max-width: 720px;
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.8;
}

.page-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px 90px;
  color: #0a0a0a;
}

.page-tag {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0a;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
}

/* ========== 赛程页 ========== */

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.schedule-row {
  background: #ffffff;
  border: 2px solid #0a0a0a;
  box-shadow: 6px 6px 0 #0a0a0a;
  border-radius: 14px;
  padding: 22px;
  display: grid;
  grid-template-columns: 150px 1fr 90px;
  align-items: center;
  gap: 24px;
}

.schedule-date {
  border-right: 1px solid #e5e7eb;
  padding-right: 20px;
}

.schedule-date strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
}

.schedule-date span {
  color: #6b7280;
  font-weight: 800;
}

.schedule-info h3 {
  margin: 10px 0 6px;
  font-size: 24px;
  font-weight: 900;
}

.schedule-info p {
  margin: 0;
  color: #6b7280;
  font-weight: 700;
}

.status-tag.small {
  position: static;
  display: inline-block;
  font-size: 12px;
  padding: 6px 10px;
}

.mini-btn {
  background: #0a0a0a;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
  text-align: center;
  font-weight: 900;
}

.mini-btn:hover {
  background: var(--accent);
  color: #0a0a0a;
}

/* ========== 队伍页 ========== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  background: #ffffff;
  border-radius: 14px;
  border: 2px solid #0a0a0a;
  box-shadow: 6px 6px 0 #0a0a0a;
  padding: 28px;
  text-align: center;
}

.team-badge {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #0a0a0a;
  color: var(--accent);
  border: 4px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
}

.team-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 900;
}

.team-card p {
  color: #6b7280;
}

.team-card span {
  font-weight: 900;
}

/* ========== 规则页 ========== */

.rules-layout {
  max-width: 920px;
}

.rule-block {
  background: #ffffff;
  border-radius: 14px;
  border-left: 8px solid var(--accent);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.rule-block h2 {
  margin-top: 0;
  font-size: 26px;
  font-weight: 900;
}

.rule-block p {
  color: #4b5563;
  line-height: 1.9;
  font-size: 16px;
}

/* ========== 报名页 ========== */

.register-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0,0,0,0.92)),
    radial-gradient(circle at 50% 30%, rgba(242, 229, 0, 0.28), transparent 30%),
    linear-gradient(135deg, #050505, #1f1f1f);
}

.register-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
}

.register-card {
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid #0a0a0a;
  box-shadow: 8px 8px 0 #0a0a0a;
  padding: 36px;
}

.register-card h2 {
  margin: 22px 0 14px;
  font-size: 34px;
  font-weight: 900;
}

.register-card p {
  color: #4b5563;
  line-height: 1.8;
}

.register-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.register-info div {
  background: #f3f4f6;
  border-radius: 12px;
  padding: 18px;
}

.register-info span {
  display: block;
  color: #6b7280;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}

.register-info strong {
  font-size: 20px;
  font-weight: 900;
}

.register-btn {
  width: fit-content;
}

.register-side {
  background: #0a0a0a;
  color: #ffffff;
  border-radius: 16px;
  padding: 28px;
  align-self: start;
  border-top: 8px solid var(--accent);
}

.register-side h3 {
  margin-top: 0;
  font-size: 24px;
}

.register-side ul {
  padding-left: 20px;
  color: #d1d5db;
  line-height: 2;
}

/* ========== 公告页 ========== */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.news-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 14px;
  border: 2px solid #0a0a0a;
  box-shadow: 6px 6px 0 #0a0a0a;
}

.news-date {
  display: inline-block;
  color: #0a0a0a;
  background: var(--accent);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
}

.news-card h2 {
  font-size: 28px;
  margin: 18px 0 12px;
  font-weight: 900;
}

.news-card p {
  color: #4b5563;
  line-height: 1.8;
}

.news-card a {
  color: #0a0a0a;
  font-weight: 900;
  border-bottom: 3px solid var(--accent);
}

/* ========== 子页面手机适配 ========== */

@media (max-width: 980px) {
  .schedule-row {
    grid-template-columns: 1fr;
  }

  .schedule-date {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding-right: 0;
    padding-bottom: 14px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .register-layout {
    grid-template-columns: 1fr;
  }

  .register-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero h1 {
    font-size: 42px;
  }

  .page-container {
    padding: 42px 18px 70px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .schedule-row {
    box-shadow: 4px 4px 0 #0a0a0a;
  }

  .news-card h2 {
    font-size: 23px;
  }
}

/* ========== 赛事平台页面 ========== */

.event-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.filter-pill {
  display: inline-block;
  background: #ffffff;
  border: 2px solid #0a0a0a;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 900;
  color: #0a0a0a;
}

.filter-pill.active {
  background: var(--accent);
}

.platform-event-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.platform-event-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  background: #ffffff;
  border: 2px solid #0a0a0a;
  box-shadow: 6px 6px 0 #0a0a0a;
  border-radius: 16px;
  overflow: hidden;
}

.platform-event-cover {
  min-height: 300px;
  padding: 26px;
  color: #ffffff;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.platform-event-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(242,229,0,0.12), transparent 24%),
    linear-gradient(to bottom, rgba(0,0,0,0.04), rgba(0,0,0,0.34));
  pointer-events: none;
}

.platform-event-cover > * {
  position: relative;
  z-index: 2;
}

.platform-event-cover.preparing,
.platform-event-cover.finished,
.platform-event-cover.open {
  background-position: center;
}

.event-status-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255,255,255,0.92);
  color: #0a0a0a;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.event-status-tag.gray {
  background: rgba(229,231,235,0.95);
}

.event-status-tag.dark {
  background: rgba(17,24,39,0.92);
  color: #ffffff;
}

.platform-event-cover h2 {
  margin: 10px 0 0;
  font-size: 36px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0.4px;
  max-width: 92%;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.event-kicker {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.platform-event-body {
  padding: 34px;
  color: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.platform-event-body h3 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 900;
}

.platform-event-body p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 22px;
}

.event-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.event-meta-grid div {
  background: #f3f4f6;
  padding: 16px;
  border-radius: 12px;
}

.event-meta-grid span {
  display: block;
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.event-meta-grid strong {
  font-size: 16px;
  font-weight: 900;
}

.muted-link {
  background: #d1d5db;
}

/* ========== 单赛事详情页 ========== */

.event-detail-hero {
  min-height: 520px;
  padding: 80px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:
    radial-gradient(circle at 75% 40%, rgba(242, 229, 0, 0.25), transparent 25%),
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.16), transparent 20%),
    linear-gradient(120deg, #050505 0%, #111111 55%, #202020 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.event-detail-hero::after {
  content: "EVENT DETAIL";
  position: absolute;
  right: -20px;
  bottom: 20px;
  font-size: 110px;
  font-weight: 900;
  color: rgba(255,255,255,0.035);
  letter-spacing: 6px;
}

.event-detail-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.event-detail-content h1 {
  font-size: 70px;
  line-height: 1;
  margin: 24px 0;
  font-weight: 900;
}

.event-detail-content p {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.8;
}

.event-detail-logo {
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 80px rgba(242,229,0,0.15);
  position: relative;
  z-index: 2;
}

.event-detail-logo img {
  width: 285px;
  height: 285px;
  object-fit: contain;
}

.event-detail-info {
  max-width: 1180px;
  margin: -48px auto 54px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 3;
}

.event-detail-info div {
  background: #ffffff;
  color: #0a0a0a;
  padding: 24px;
  border-radius: 12px;
  border: 2px solid #0a0a0a;
  box-shadow: 8px 8px 0 #0a0a0a;
}

.event-detail-info span {
  display: block;
  color: #555;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.event-detail-info strong {
  font-size: 22px;
  font-weight: 900;
}

.event-detail-layout {
  max-width: 1180px;
  margin: 0 auto 90px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  color: #0a0a0a;
}

.event-sidebar {
  background: #ffffff;
  border: 2px solid #0a0a0a;
  box-shadow: 6px 6px 0 #0a0a0a;
  border-radius: 14px;
  padding: 18px;
  align-self: start;
  position: sticky;
  top: 100px;
}

.event-sidebar a {
  display: block;
  color: #0a0a0a;
  font-weight: 900;
  padding: 13px 12px;
  border-radius: 8px;
}

.event-sidebar a:hover {
  background: var(--accent);
}

.event-detail-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.event-section {
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid #0a0a0a;
  box-shadow: 6px 6px 0 #0a0a0a;
  padding: 32px;
}

.event-section h2 {
  margin-top: 0;
  font-size: 34px;
  font-weight: 900;
}

.event-section p {
  color: #4b5563;
  line-height: 1.9;
}

.schedule-list.compact .schedule-row {
  box-shadow: none;
  border: 1px solid #e5e7eb;
}

.mini-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mini-team-card {
  background: #f3f4f6;
  border-radius: 14px;
  padding: 22px;
  text-align: center;
}

.mini-team-card .team-badge {
  width: 58px;
  height: 58px;
  font-size: 20px;
}

.mini-team-card h3 {
  margin: 10px 0 4px;
}

.compact-news {
  box-shadow: none;
  border: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

.compact-news h3 {
  margin: 16px 0 8px;
  font-size: 22px;
}

.register-event-section {
  background:
    linear-gradient(135deg, #ffffff, #f8fafc);
  border-left: 10px solid var(--accent);
}

/* 响应式 */
@media (max-width: 980px) {
  .platform-event-card {
    grid-template-columns: 1fr;
  }

  .event-detail-hero {
    flex-direction: column;
    text-align: center;
    padding: 70px 24px;
  }

  .event-detail-content h1 {
    font-size: 50px;
  }

  .event-detail-logo {
    margin-top: 40px;
    width: 260px;
    height: 260px;
  }

  .event-detail-logo img {
    width: 220px;
    height: 220px;
  }

  .event-detail-info {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
  }

  .event-detail-layout {
    grid-template-columns: 1fr;
  }

  .event-sidebar {
    position: static;
  }

  .mini-team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .event-meta-grid {
    grid-template-columns: 1fr;
  }

  .event-detail-info {
    grid-template-columns: 1fr;
  }

  .platform-event-cover h2 {
    font-size: 28px;
  }

  .event-section {
    padding: 24px;
  }

  .event-section h2 {
    font-size: 28px;
  }
}

/* ========== 平台首页入口卡片 ========== */

.platform-cards {
  align-items: stretch;
}

.platform-card {
  display: block;
  min-height: 132px;
  transition: 0.18s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  background: var(--accent);
}

.platform-card:hover span,
.platform-card:hover strong,
.platform-card:hover p {
  color: #0a0a0a;
}