* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #111;
  background: #f0f5ff;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 32px;
}

.page__bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(5, 123, 250, 0.18), transparent 42%),
    radial-gradient(circle at 80% 0%, rgba(5, 123, 250, 0.12), transparent 36%),
    linear-gradient(180deg, #e8f3ff 0%, #f7f8fa 55%, #ffffff 100%);
}

.page__header {
  text-align: center;
  max-width: 720px;
}

.page__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #057bfa;
  line-height: 1.35;
}

.page__subtitle {
  margin-top: 12px;
  font-size: 16px;
  color: #666;
}

.portal {
  width: min(920px, 100%);
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.portal-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e8eef5;
  box-shadow: 0 12px 32px rgba(5, 123, 250, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: #057bfa;
  box-shadow: 0 16px 40px rgba(5, 123, 250, 0.16);
}

.portal-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #e8f3ff;
  color: #057bfa;
}

.portal-card__name {
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

.portal-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  flex: 1;
}

.portal-card__action {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 44px;
  padding: 0 20px;
  border-radius: 22px;
  background: #057bfa;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.page__footer {
  margin-top: auto;
  padding-top: 40px;
  text-align: center;
  max-width: 640px;
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .portal {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .page {
    padding-top: 32px;
  }
}
