@font-face {
  font-family: "LemiBobo";
  src:
    url("/assets/fonts/lemi-bobo-subset.woff2") format("woff2"),
    url("/assets/fonts/lemi-bobo-subset.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "LemiBobo", "ZCOOL KuaiLe", "YouYuan", "Microsoft YaHei", sans-serif;
  color: #1f2b3d;
  background: #edf6ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 0% 92%, rgba(171, 205, 255, 0.42) 0 8.5vw, transparent 8.6vw),
    radial-gradient(circle at 98% 0%, rgba(170, 210, 255, 0.42) 0 9vw, transparent 9.1vw),
    radial-gradient(circle at 86% 13%, rgba(199, 225, 248, 0.76) 0 38px, transparent 39px),
    radial-gradient(circle at 12% 72%, rgba(207, 194, 255, 0.28) 0 38px, transparent 39px),
    linear-gradient(113deg, #f6f1ff 0%, #f6fbff 43%, #e8f7ff 100%);
}

.shell {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(44px, 8vh, 78px);
  padding: clamp(40px, 9.2vh, 90px) 24px 44px;
}

.shell::before,
.shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 138px;
  height: 138px;
  pointer-events: none;
  opacity: 0.62;
  background-image: radial-gradient(circle, rgba(127, 118, 255, 0.38) 0 2px, transparent 2.4px);
  background-size: 24px 24px;
}

.shell::before {
  top: 146px;
  left: 96px;
}

.shell::after {
  right: 106px;
  bottom: 98px;
}

.contact-strip {
  width: min(690px, calc(100vw - 48px));
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 1px auto minmax(0, 1fr);
  align-items: center;
  padding: 0 30px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow:
    0 18px 44px rgba(88, 126, 187, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.wechat-icon {
  position: relative;
  width: 46px;
  height: 34px;
  margin-right: 12px;
}

.wechat-bubble {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, #20d45a, #06a82e);
  box-shadow: 0 8px 14px rgba(15, 183, 69, 0.2);
}

.wechat-bubble::before,
.wechat-bubble::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.wechat-bubble-main {
  left: 0;
  top: 0;
  width: 28px;
  height: 25px;
}

.wechat-bubble-main::before {
  left: 8px;
  top: 8px;
}

.wechat-bubble-main::after {
  left: 17px;
  top: 8px;
}

.wechat-bubble-small {
  right: 3px;
  bottom: 1px;
  width: 25px;
  height: 22px;
  background: linear-gradient(135deg, #19c94e, #069f2d);
}

.wechat-bubble-small::before {
  left: 7px;
  top: 7px;
}

.wechat-bubble-small::after {
  left: 15px;
  top: 7px;
}

.contact-copy {
  min-width: 0;
  color: #3d485a;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.contact-copy strong {
  color: #2f6be9;
  font-weight: 800;
  letter-spacing: 0;
}

.strip-divider {
  width: 1px;
  height: 52px;
  margin: 0 32px;
  background: linear-gradient(180deg, transparent, rgba(157, 169, 192, 0.42), transparent);
}

.gift-icon {
  width: 34px;
  height: 34px;
  margin-right: 16px;
  color: #8456e8;
  filter: drop-shadow(0 8px 12px rgba(132, 86, 232, 0.18));
}

.gift-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.panel {
  width: min(858px, calc(100vw - 48px));
  height: 560px;
  padding: 42px 52px 36px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 28px 90px rgba(88, 126, 187, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(20px);
}

.panel-header {
  text-align: center;
}

h1 {
  margin: 0;
  color: #1d2938;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.panel-header p {
  margin: 18px 0 0;
  color: #7b8798;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 500;
}

.activation-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  column-gap: 42px;
  align-items: start;
  margin-top: 34px;
}

.security-visual {
  position: relative;
  align-self: start;
  width: 230px;
  height: 230px;
  display: grid;
  place-items: start center;
}

.shield-orb {
  width: 154px;
  height: 154px;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.75), transparent 38%),
    linear-gradient(145deg, rgba(103, 174, 255, 0.34), rgba(140, 100, 245, 0.22));
  box-shadow:
    0 24px 46px rgba(111, 134, 235, 0.17),
    inset 0 2px 10px rgba(255, 255, 255, 0.66);
}

.shield-icon {
  width: 82px;
  height: auto;
  aspect-ratio: 80 / 92;
  filter: drop-shadow(0 14px 18px rgba(91, 111, 222, 0.26));
}

.spark {
  position: absolute;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 8px 14px rgba(89, 123, 205, 0.18);
}

.spark-blue {
  top: -14px;
  left: 40px;
  color: #74a9ff;
  font-size: 20px;
}

.spark-cyan {
  top: -10px;
  right: 36px;
  color: #27d5c4;
  font-size: 16px;
}

.spark-orange {
  left: 23px;
  top: 146px;
  color: #ff915d;
  font-size: 18px;
}

.spark-purple {
  right: 27px;
  top: 146px;
  color: #8d8af5;
  font-size: 20px;
}

.form {
  display: grid;
  gap: 24px;
}

.field-card {
  width: 100%;
  min-height: 86px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(229, 236, 247, 0.86);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(87, 108, 146, 0.09);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.field-card:focus-within {
  border-color: rgba(89, 142, 255, 0.46);
  box-shadow:
    0 14px 34px rgba(87, 108, 146, 0.13),
    0 0 0 4px rgba(75, 151, 255, 0.11);
  transform: translateY(-1px);
}

.field-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
}

.field-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.field-icon-folder {
  color: #7e5cf4;
  background: linear-gradient(145deg, #efe9ff, #dcd3ff);
}

.field-icon-lock {
  color: #12bbb0;
  background: linear-gradient(145deg, #e5fbf6, #cef5ee);
}

.field-body {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.field-title {
  color: #2c3648;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}

input {
  width: 100%;
  min-width: 0;
  height: 24px;
  border: 0;
  padding: 0;
  color: #6d7789;
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  outline: none;
}

input::placeholder {
  color: #aeb7c7;
  opacity: 1;
}

.activate-button {
  width: 100%;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(105deg, #279dff 0%, #665df3 54%, #a43fe6 100%);
  box-shadow: 0 14px 25px rgba(105, 81, 232, 0.27);
  font: inherit;
  font-size: 21px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.activate-button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.activate-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 17px 30px rgba(105, 81, 232, 0.32);
}

.activate-button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.secure-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 24px;
  margin: 10px 0 0;
  color: #748196;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.secure-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: #72a8ff;
}

.message {
  min-height: 22px;
  margin: -8px 0 0;
  color: #d0443a;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.message.ok {
  color: #087a54;
}

@media (max-width: 840px) {
  .shell {
    gap: 28px;
    padding: 22px 16px 28px;
  }

  .contact-strip {
    min-height: auto;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 10px;
    padding: 14px 18px;
    border-radius: 18px;
  }

  .strip-divider {
    display: none;
  }

  .gift-icon {
    margin-right: 6px;
  }

  .contact-copy {
    font-size: 15px;
  }

  .panel {
    width: min(100%, 520px);
    min-height: auto;
    padding: 28px 18px 24px;
    border-radius: 20px;
  }

  h1 {
    font-size: 28px;
  }

  .panel-header p {
    margin-top: 12px;
    font-size: 15px;
  }

  .activation-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 22px;
  }

  .security-visual {
    width: 100%;
    height: 150px;
  }

  .shield-orb {
    width: 118px;
    height: 118px;
  }

  .shield-icon {
    width: 64px;
    height: 72px;
  }

  .form {
    gap: 16px;
  }

  .field-card {
    min-height: 78px;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .field-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .activate-button {
    height: 56px;
    margin-top: 8px;
    font-size: 18px;
  }

  .secure-note {
    font-size: 13px;
  }
}
