:root {
  --blue: #071158;
  --orange: #ff5b1a;
  --green: #16855b;
  --ink: #10233f;
  --muted: #52657d;
  --line: #dbe4ee;
  --soft: #f5f8fc;
  --warm: #fff8f1;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 17, 88, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fbfcff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 176px; max-height: 58px; object-fit: contain; display: block; }
.nav { display: flex; align-items: center; gap: 22px; color: var(--blue); font-weight: 800; }
.nav a:hover { color: var(--orange); }

.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7,17,88,.92), rgba(7,17,88,.74), rgba(7,17,88,.28)),
    url("assets/community_enus.webp") center right / cover no-repeat;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) 380px; gap: 42px; align-items: center; }
.kicker { margin: 0 0 12px; color: var(--orange); font-weight: 900; text-transform: uppercase; letter-spacing: 0; font-size: 14px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; color: var(--blue); font-size: clamp(44px, 6vw, 78px); line-height: .96; letter-spacing: 0; margin-bottom: 24px; }
h2 { color: var(--blue); font-size: 38px; line-height: 1.1; margin-bottom: 16px; }
h3 { color: var(--blue); font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.hero h1 { color: var(--white); }
.hero .kicker { color: #ffcf9f; }
.hero-text { max-width: 680px; color: rgba(255,255,255,.9); font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 900;
  border: 2px solid transparent;
}
.button.primary, .button.small { background: var(--orange); color: var(--white); }
.button.secondary { background: var(--white); color: var(--blue); border-color: var(--white); }
.button.small { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.button.try { background: var(--blue); color: var(--white); border-color: var(--blue); }
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(7, 17, 88, .16); }

.hero-summary {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .2);
}
.summary-label { color: var(--orange); font-size: 13px; font-weight: 900; margin-bottom: 14px; text-transform: uppercase; }
.hero-summary ul { display: grid; gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; }
.hero-summary li { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.hero-summary li:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-summary strong { display: block; color: var(--blue); font-size: 16px; line-height: 1.3; }
.hero-summary span { display: block; color: var(--muted); margin-top: 3px; }
.summary-link { color: var(--orange); font-weight: 900; }

.section { padding: 86px 0; }
.muted { background: var(--soft); border-block: 1px solid var(--line); }
.section-title { max-width: 760px; margin-bottom: 34px; }
.section-title p, .split p { color: var(--muted); font-size: 18px; }
.table-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 14px 34px rgba(7, 17, 88, .08); background: var(--white); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: var(--blue); color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 0; }
tbody tr:hover { background: #fffaf6; }
tr:last-child td { border-bottom: 0; }
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 13px;
}
.status.active { color: var(--green); background: #e8f7f0; }
.status.old { color: #8a5a00; background: #fff2d9; }
.notice { margin: 20px 0 0; color: var(--muted); }
.news-section { padding-top: 0; }
.news-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--warm);
}
.news-box p { color: var(--muted); margin-bottom: 0; max-width: 760px; }
.news-box .button { flex: 0 0 auto; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 48px; align-items: center; }
.steps { display: grid; gap: 12px; }
.steps article {
  display: flex;
  align-items: center;
  gap: 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 0;
}
.step-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--orange);
  background: #fff1e9;
}
.step-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.steps span { color: var(--blue); font-weight: 900; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards article { border: 1px solid var(--line); border-radius: 8px; padding: 26px; background: var(--white); box-shadow: 0 10px 26px rgba(7, 17, 88, .06); }
.cards article::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  border-radius: 8px;
  background: var(--orange);
  margin-bottom: 18px;
}
.cards p { color: var(--muted); margin-bottom: 0; }
.article-content { max-width: 920px; }
.article-content article {
  border-left: 4px solid var(--orange);
  padding: 4px 0 4px 24px;
  margin-top: 28px;
}
.article-content article p { color: var(--muted); margin-bottom: 12px; }
.article-content article p:last-child { margin-bottom: 0; }
.official-links { padding-top: 0; }
.official-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.official-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: var(--white);
  font-weight: 900;
}
.official-grid a:hover { border-color: var(--orange); color: var(--orange); }
.social-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.social-icon.facebook { background: #1877f2; font-family: Arial, Helvetica, sans-serif; font-size: 24px; }
.social-icon.x { background: #111111; }
.social-icon.instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); font-size: 22px; }
.social-icon.discord { background: #5865f2; }
.social-icon.tiktok { background: #000000; font-size: 22px; }
.faq { max-width: 860px; }
details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  margin-top: 12px;
}
summary { color: var(--blue); cursor: pointer; font-weight: 900; }
details p { color: var(--muted); margin: 12px 0 0; }
.legal-page {
  min-height: calc(100vh - 76px);
  background: var(--soft);
}
.legal-box {
  max-width: 860px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 14px 34px rgba(7, 17, 88, .08);
}
.legal-box h1 { font-size: clamp(38px, 5vw, 58px); }
.legal-box p { color: var(--muted); }
.site-footer {
  background: #120f35;
  color: var(--white);
  padding: 44px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 34px;
  align-items: start;
}
.footer-brand strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.footer-brand p,
.footer-bottom p {
  color: rgba(255,255,255,.72);
  margin-bottom: 0;
}
.site-footer nav {
  display: grid;
  gap: 8px;
}
.site-footer nav span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.site-footer a {
  color: rgba(255,255,255,.86);
  text-decoration: none;
  font-weight: 700;
}
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: 14px;
}

@media (max-width: 820px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .nav { flex-wrap: wrap; gap: 14px; }
  .hero { min-height: auto; padding: 76px 0; }
  .hero-grid, .cards, .split, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .news-box { align-items: flex-start; flex-direction: column; }
  .official-grid { grid-template-columns: 1fr; }
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  th, td { padding: 14px 12px; font-size: 14px; }
  table { min-width: 720px; }
  .table-card { overflow-x: auto; }
}
