:root {
  --page-max: 480px;
  --edge: 10px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(42, 95, 159, 0.15);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  color: #12345c;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(220, 236, 248, 0.72)),
    url("./assets/2e7fed_750x3605.jpg") top center / 100% auto no-repeat;
}

a {
  display: inline-flex;
  -webkit-tap-highlight-color: transparent;
}

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;
}

.page-shell {
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding: 8px var(--edge) calc(16px + env(safe-area-inset-bottom));
}

.hero {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero img {
  width: 100%;
}

.platform-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.platform-card {
  min-width: 0;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(233, 244, 255, 0.86));
  box-shadow: 0 8px 22px rgba(42, 95, 159, 0.14);
}

.platform-logo {
  width: 100%;
  border-radius: 8px;
}

.platform-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 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 a {
  min-width: 0;
  animation: ctaPulse 1.9s ease-in-out infinite;
}

.platform-actions a:nth-child(2) {
  animation-delay: 0.18s;
}

.content-strip {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.content-strip img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-strip img:first-child {
  border-radius: 8px;
}

@keyframes ctaPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.055);
    filter: brightness(1.08);
  }
}

@media (max-width: 360px) {
  :root {
    --edge: 7px;
  }

  .platform-section {
    gap: 5px;
  }

  .platform-card {
    padding: 4px;
  }
}
