:root {
  --navy: #13294b;
  --navy-2: #1c3a66;
  --red: #c8102e;
  --ice: #eef4f9;
  --line: #dde3ea;
  --text: #1d2433;
  --muted: #5b6475;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
a { color: var(--navy-2); }
img { max-width: 100%; display: block; }

/* header */
.topbar { background: var(--navy); color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: .3px; }
.brand svg { width: 40px; height: 40px; }
.menu { display: flex; gap: 6px; flex-wrap: wrap; }
.menu a { color: #d6e0ee; text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 10px; border-radius: 6px; }
.menu a:hover, .menu a.active { background: rgba(255,255,255,.12); color: #fff; }

.wrap { max-width: 960px; margin: 0 auto; }

/* hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #29518a 100%);
  color: #fff; padding: 72px 16px 64px; text-align: center; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 120px;
  background: #fff; border-radius: 50% 50% 0 0;
}
.hero h1 { margin: 0 0 12px; font-size: clamp(30px, 5vw, 46px); line-height: 1.15; }
.hero p { margin: 0 auto 28px; max-width: 560px; color: #d6e0ee; font-size: 18px; }
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 8px; }
.btn.ghost { background: transparent; border: 2px solid rgba(255,255,255,.5); margin-left: 8px; }
.btn:hover { filter: brightness(1.08); }

main { padding: 24px 16px 56px; }
.page-head { background: var(--ice); padding: 40px 16px 32px; }
.page-head h1 { margin: 0 0 6px; color: var(--navy); font-size: clamp(26px, 4vw, 36px); }
.page-head p { margin: 0; color: var(--muted); }

h2 { color: var(--navy); font-size: 26px; margin: 44px 0 14px; }
h2::after { content: ""; display: block; width: 48px; height: 4px; background: var(--red); border-radius: 2px; margin-top: 8px; }
h3 { color: var(--navy); margin: 0 0 6px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card .num { font-size: 34px; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); }

.news-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.news-item:last-child { border-bottom: 0; }
.news-item time { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.news-item h3 { margin: 4px 0 6px; font-size: 19px; }
.news-item p { margin: 0; }
.tag { display: inline-block; background: var(--ice); color: var(--navy-2); font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; margin-left: 6px; vertical-align: middle; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 14px; background: var(--ice); }
td.win { color: #1d7a3a; font-weight: 700; }
td.loss { color: var(--red); font-weight: 700; }

.roster { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.player { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.player .no { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.player b { display: block; }
.player span { color: var(--muted); font-size: 14px; }

.callout { background: var(--ice); border-left: 4px solid var(--red); border-radius: 8px; padding: 16px 18px; margin: 20px 0; }

form.contact { display: grid; gap: 12px; max-width: 520px; }
form.contact label { font-weight: 600; font-size: 14px; }
form.contact input, form.contact textarea, form.contact select {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
form.contact button { justify-self: start; border: 0; cursor: pointer; font: inherit; }

footer { background: var(--navy); color: #b9c6da; padding: 32px 16px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: #d6e0ee; text-decoration: none; }

@media (max-width: 640px) {
  .topbar .wrap { flex-direction: column; align-items: flex-start; }
  .btn.ghost { margin: 10px 0 0; }
}
