:root {
  --ink: #e6e8ee;
  --muted: #9da8bc;
  --cyan: #38bdf8;
  --cyan-2: #7dd3fc;
  --ice: #a5e8ff;
  --deep: #04101d;
  --card: rgba(10, 26, 42, 0.94);
  --line: rgba(56, 189, 248, 0.32);
  --phone: 430px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #071422;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

button, img { font: inherit; }

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.phone {
  position: relative;
  width: min(var(--phone), 100%);
  min-height: 100vh;
  margin: 0 auto;
  background:
    radial-gradient(circle at 50% 0, #0a2a4a 0%, #071829 42%, var(--deep) 100%);
  overflow: hidden;
}

.topbar {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand img {
  width: 32px;
  height: 32px;
  padding: 3px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan-2), #0870a8);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);
  object-fit: contain;
}

.brand strong {
  color: var(--ice);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.season {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  background: radial-gradient(circle, #0f4c81 0%, #083152 70%);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
}

.season b { font-size: 13px; }
.season i {
  margin-top: 2px;
  color: var(--cyan);
  font-size: 6.5px;
  font-style: normal;
  letter-spacing: 0.4px;
}

.hero {
  margin: 0;
  background: #071a2e;
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card {
  position: relative;
  z-index: 1;
  margin: 0 12px 10px;
  padding: 14px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(12, 28, 46, 0.98), rgba(9, 24, 40, 0.97));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.register {
  margin-top: -16%;
  text-align: center;
  border-color: rgba(125, 211, 252, 0.52);
  background:
    linear-gradient(180deg, rgba(8, 22, 38, 0.94), rgba(9, 24, 40, 0.97));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.mark {
  width: 58px;
  height: 58px;
  padding: 5px;
  border-radius: 16px;
  object-fit: contain;
  background: linear-gradient(135deg, #7dd3fc, #38bdf8 40%, #0870a8);
  box-shadow: 0 8px 22px rgba(56, 189, 248, 0.45);
}

.register h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 8px 0 4px;
  font-size: 18px;
}

.verify {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  color: #0a1b2e;
  font-size: 11px;
  line-height: 18px;
}

.register > p {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.4px;
}

.feats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.feats li {
  padding: 5px 9px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--ice);
  font-size: 11px;
  font-weight: 700;
}

.feats li::before { content: "✓ "; }

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(330px, 88%);
  margin: 0 auto;
  padding: 13px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #7dd3fc, #38bdf8 50%, #0870a8);
  color: #0a1626;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 2px;
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.55);
  animation: glow 2.2s ease-in-out infinite;
}

.cta span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0a1626;
  color: var(--cyan);
  font-size: 13px;
  line-height: 22px;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-22deg);
  animation: shine 3s linear infinite;
}

.linkish, .more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.more {
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  color: var(--cyan);
  font-weight: 700;
}

.card-title {
  position: relative;
  margin: 0 0 10px;
  text-align: center;
  color: var(--ice);
  font-size: 13px;
  letter-spacing: 2px;
}

.card-title::before,
.card-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.card-title::before { left: 18px; transform: scaleX(-1); }
.card-title::after { right: 18px; }

.bonus {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.bonus th {
  padding: 8px 4px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--ice);
  font-size: 11px;
}

.bonus td {
  padding: 8px 4px;
  text-align: center;
  border-bottom: 1px dashed rgba(56, 189, 248, 0.12);
  font-weight: 600;
}

.bonus .win { color: #4fc3f7; font-weight: 800; }
.bonus tr:last-child td { border-bottom: 0; }
.bonus tbody tr { cursor: pointer; }
.bonus tbody tr.is-on td { background: rgba(56, 189, 248, 0.12); }

.activities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.activities button {
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
}

.activities img {
  display: block;
  width: 100%;
  height: auto;
}

.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partners img {
  display: block;
  width: 100%;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px 22px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.6px;
}

.foot span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2bb673;
  color: #fff;
  font-size: 9px;
  line-height: 14px;
  text-align: center;
}

.sheet[hidden] { display: none; }

.sheet {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.sheet-panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(var(--phone), 100%);
  padding: 22px 18px 28px;
  transform: translateX(-50%);
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #12304c, #071422);
  border: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  animation: rise 0.28s ease-out;
}

.sheet-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 18px;
}

.sheet-kicker {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 1px;
}

.sheet-panel h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.sheet-panel p:last-of-type {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.sheet-panel .cta { width: 100%; }

button:active, .partners img:active { transform: scale(0.98); }

.is-pressed { filter: brightness(1.15); }

@keyframes glow {
  50% { box-shadow: 0 10px 36px rgba(56, 189, 248, 0.9); }
}

@keyframes shine {
  to { left: 130%; }
}

@keyframes rise {
  from { transform: translate(-50%, 24px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cta, .cta::after, .sheet-panel { animation: none; }
}
