:root {
  color-scheme: dark;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  color: #d9e9f8;
  background: #071c31;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0 0 24px;
  background:
    linear-gradient(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 50% 0%, rgba(39, 112, 188, 0.22), rgba(39, 112, 188, 0) 42%),
    url("./assets/2e7fed_750x3605.jpg") center top / 441px 2047px no-repeat;
}

img {
  display: block;
}

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

.visual-only {
  cursor: default;
}

a[data-active-link="true"] {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-top {
  width: 100%;
  height: 54px;
  background: linear-gradient(rgba(12, 40, 68, 0.98) 0%, rgba(8, 29, 51, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(145, 183, 219, 0.13);
}

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

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

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

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

.main-nav a {
  display: flex;
  width: 86px;
  height: 54px;
  flex: 0 0 86px;
  align-items: center;
  justify-content: center;
  color: #d8ebff;
  border-left: 1px solid rgba(145, 183, 219, 0.13);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav a:last-child {
  border-right: 1px solid rgba(145, 183, 219, 0.13);
}

.member-actions {
  display: flex;
  width: 123px;
  height: 30px;
  margin-left: -11px;
  align-items: center;
  justify-content: space-between;
}

.member-button {
  display: flex;
  width: 58px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: #9b5a00;
  border: 1px solid #e2b128;
  border-radius: 14px;
  background: linear-gradient(#ffd84c, #eda91a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  font-size: 14px;
  font-weight: 800;
}

.page {
  width: calc(100% - 24px);
  margin: 8px 12px 0;
}

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

.platform-list {
  display: grid;
  width: 470px;
  grid-template-columns: repeat(2, 230px);
  gap: 10px;
}

.platform-card {
  display: grid;
  width: 230px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(96, 140, 186, 0.2);
  border-radius: 10px;
  background: linear-gradient(rgba(255, 255, 255, 0.96), rgba(233, 244, 255, 0.9));
  grid-template-columns: 1fr;
  gap: 5px;
}

.platform-logo {
  width: 218px;
  height: auto;
  border-radius: 8px;
}

.card-actions {
  display: flex;
  width: 218px;
  height: 30px;
  align-items: center;
  gap: 4px;
}

.card-actions a,
.card-actions img {
  width: 107px;
  height: 30px;
}

.card-actions--live {
  justify-content: center;
}

.card-actions--live a,
.card-actions--live img {
  width: 157px;
  height: 30px;
}

.hero-panel,
.hero-panel img {
  width: 100%;
}

.hero-panel img {
  aspect-ratio: 9 / 5;
  object-fit: cover;
}

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

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

.portal-grid {
  display: grid;
  width: 100%;
  margin-top: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.portal-item {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(96, 140, 186, 0.2);
  border-radius: 3px;
}

.portal-item img {
  width: 100%;
  aspect-ratio: 9 / 5;
  object-fit: cover;
}

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

.sports-only a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(96, 140, 186, 0.2);
  border-radius: 3px;
}

.sports-only img {
  width: 100%;
  aspect-ratio: 9 / 5;
  object-fit: cover;
}

@media (max-width: 720px) {
  .top-inner {
    grid-template-columns: 112px minmax(0, 1fr) 112px;
  }

  .main-nav a {
    display: none;
  }

  .main-nav a:nth-child(4),
  .main-nav a:nth-child(5) {
    display: flex;
    width: 71px;
    flex-basis: 71px;
    font-size: 14px;
  }

  .member-actions {
    width: 105px;
    margin-left: 7px;
    gap: 4px;
  }

  .member-button {
    width: 51px;
    flex: 0 0 51px;
    font-size: 13px;
  }

  .first-screen {
    display: block;
  }

  .platform-list {
    width: 420px;
    grid-template-columns: repeat(2, 205px);
    gap: 10px;
  }

  .platform-card {
    width: 205px;
  }

  .platform-logo {
    width: 193px;
  }

  .card-actions {
    width: 193px;
    gap: 5px;
  }

  .card-actions a,
  .card-actions img {
    width: 94px;
    height: 30px;
  }

  .card-actions--live a,
  .card-actions--live img {
    width: 139px;
    height: 30px;
  }

  .hero-panel {
    display: none;
  }
}
