:root {
  --page-width: 1280px;
  --blue: #208bf1;
  --deep-blue: #0864bd;
  --line: #e2ebf5;
  --soft-line: #eef3f9;
  --red: #d92222;
  --gold: #f1bd21;
  --text: #29445f;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #071c31;
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0 0 24px;
  color: #d9e9f8;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(180deg, rgba(6, 24, 44, 0.97) 0, rgba(10, 36, 63, 0.98) 360px, rgba(7, 27, 47, 0.98) 100%),
    radial-gradient(circle at top center, rgba(39, 112, 188, 0.22), rgba(39, 112, 188, 0) 42%),
    url("./assets/2e7fed_750x3605.jpg") top center / 441px auto repeat-y;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-top {
  height: 54px;
  border-bottom: 1px solid rgba(86, 134, 184, 0.36);
  background: linear-gradient(180deg, rgba(12, 40, 68, 0.98) 0%, rgba(8, 29, 51, 0.98) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

.top-inner {
  width: min(calc(100% - 24px), var(--page-width));
  height: 54px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 146px 1fr 112px;
  align-items: center;
}

.logo {
  width: 112px;
  display: flex;
  align-items: center;
}

.logo img {
  width: 92px;
  height: auto;
}

.main-nav {
  height: 54px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.main-nav a {
  min-width: 86px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(93, 140, 188, 0.22);
  color: #d8ebff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.main-nav a:last-child {
  border-right: 1px solid rgba(93, 140, 188, 0.22);
}

.main-nav a:hover {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(25, 108, 190, 0.82), rgba(13, 72, 136, 0.86));
}

.member-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.member-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 30px;
  border: 1px solid rgba(103, 144, 187, 0.44);
  border-radius: 14px;
  background: rgba(10, 38, 67, 0.82);
  color: #cce3fb;
  font-size: 14px;
  font-weight: 800;
}

.member-actions .signin,
.member-actions .join {
  border-color: #e2b128;
  background: linear-gradient(180deg, #ffd84c, #eda91a);
  color: #9b5a00;
}

.page {
  width: min(calc(100% - 24px), var(--page-width));
  margin: 8px auto 0;
}

.first-screen {
  min-height: 0;
  display: grid;
  grid-template-columns: 470px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
  grid-auto-rows: max-content;
}

.platform-card {
  min-width: 0;
  padding: 5px;
  display: grid;
  align-items: start;
  border: 1px solid rgba(96, 140, 186, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(233, 244, 255, 0.9));
  box-shadow: 0 8px 22px rgba(42, 95, 159, 0.14);
}

.platform-logo {
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
}

.platform-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  align-items: center;
  padding-top: 5px;
}

.platform-actions.single {
  grid-template-columns: 1fr;
  justify-items: center;
}

.platform-actions.single a {
  width: 72%;
}

.platform-actions img {
  width: 100%;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(130, 28, 20, 0.2));
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: #102d4b;
  box-shadow: inset 0 0 0 1px rgba(82, 126, 171, 0.22);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.sports-strip {
  height: 120px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: #0a2f57;
}

.sports-strip img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.portal-grid {
  margin-top: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

.module,
.sports-module {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(84, 124, 165, 0.34);
  border-radius: 4px;
  background: rgba(10, 33, 57, 0.88);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.module img {
  width: 100%;
  height: auto;
}

.sports-module {
  width: 50%;
  margin-top: 6px;
}

.sports-module img {
  width: 100%;
  height: auto;
}

@media (max-width: 1180px) {
  .top-inner {
    grid-template-columns: 118px 1fr 104px;
  }

  .main-nav a {
    min-width: 72px;
    font-size: 14px;
  }

  .first-screen {
    min-height: 0;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 8px;
  }
}
