﻿:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #101010;
  --cream: #fff7d7;
  --muted: #aaa697;
  --gold: #f7df74;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #101010; }
body { display: flex; justify-content: center; }
.page-shell {
  position: relative;
  width: min(100%, 750px);
  min-height: 100vh;
  overflow: hidden;
  padding-bottom: 54px;
  background: #111 url("images/beauty_bg-bdnud7eh.png") top center / 100% auto no-repeat;
}
.hero { display: block; width: 100%; height: auto; }
.verify-panel { width: calc(100% - 24px); margin: -1px auto 0; padding: 29px 10px 21px; border: 1px solid rgba(145,145,145,.42); border-radius: 10px; background: rgba(29,29,29,.94); box-shadow: 0 0 12px rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.26); text-align: center; }
.verify-panel h1 {
  margin: 0;
  font-size: clamp(32px, 7vw, 50px);
  line-height: 1.3;
  letter-spacing: 1px;
  color: #f7f1d6;
  background: linear-gradient(90deg, #fffef4 0%, #fff8db 34%, #f1df82 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(255, 244, 201, 0.08);
}
.panel-caption {
  margin: 12px 0 72px;
  font-size: clamp(14px, 3.5vw, 20px);
  color: #f5edd0;
  background: linear-gradient(90deg, #fffdf1 0%, #fbf2cb 52%, #eedb84 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.verify-form { display: flex; gap: 12px; width: 100%; max-width: 600px; margin: 0 auto; }
.code-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; flex: 1; }
.code-slot-wrap { position: relative; display: flex; min-width: 0; height: 54px; align-items: flex-end; justify-content: center; }
.code-slot-wrap::before {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(37,37,37,.96) 0%, rgba(30,30,30,.94) 100%);
  box-shadow:
    0 0 24px rgba(255,255,255,.12),
    0 0 46px rgba(255,255,255,.07);
  content: "";
  opacity: 0;
  pointer-events: none;
}
.code-slot-wrap:focus-within::before { opacity: 1; }
.code-slot {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0;
  border: 0;
  border-bottom: 3px solid #8a8a8a;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--cream);
  text-align: center;
  font-size: 30px;
  font-weight: 700;
}
.code-slot:focus {
  border-bottom-color: #d5d5d5;
  background: transparent;
  box-shadow: none;
}
.verify-form button { display: none; }
.verify-form button:active { transform: translateY(1px); }
.form-message { min-height: 20px; margin: 8px 0 0; color: #e6d891; font-size: 13px; }
.tips { padding: 23px 0 13px; }
.tips img { display: block; width: calc(100% - 24px); height: auto; margin: 0 auto; }
.failure-modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.64); }
.failure-modal[hidden] { display: none; }
.failure-dialog { width: min(100%, 600px); padding: 28px 34px 24px; border-radius: 13px; background: #fff; color: #555; box-shadow: 0 15px 45px rgba(0,0,0,.35); }
.failure-dialog h2 { margin: 0 0 22px; color: #333; text-align: center; font-size: 30px; }
.failure-dialog p { margin: 0; font-size: 17px; line-height: 1.8; }
.failure-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.failure-actions button { height: 52px; border-radius: 28px; font-size: 17px; font-weight: 600; cursor: pointer; }
.contact-button { border: 1px solid #d8d8d8; background: #fff; color: #666; }
.dismiss-button { border: 0; background: #ffd400; color: #3a3200; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; padding: 32px 24px 0; }
.benefit { display: flex; min-width: 0; flex-direction: column; justify-content: center; align-items: center; gap: 7px; color: #d4d1bb; }
.benefit img { width: 40px; height: 40px; object-fit: contain; }
.benefit span {
  font-size: 13px;
  color: #e9dfba;
  background: linear-gradient(90deg, #fffceb 0%, #f8efc8 36%, #e2ca73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px rgba(255, 244, 201, 0.08);
}
.result { display: flex; gap: 14px; align-items: center; width: calc(100% - 64px); margin: 10px auto 0; padding: 16px 18px; border: 1px solid rgba(247,223,116,.35); border-radius: 8px; background: rgba(35,35,34,.9); }
.result-icon { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #d9bd4b; color: #1a1914; font-size: 22px; font-weight: 700; }
.result h2 { margin: 0 0 4px; color: var(--cream); font-size: 17px; }
.result p, .result small { margin: 0; color: #b0aa99; font-size: 13px; line-height: 1.7; }
.result small b { color: #ead87b; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 460px) {
  .verify-panel { padding: 27px 4px 19px; }
  .panel-caption { margin-bottom: 58px; }
  .verify-form { gap: 8px; }
  .code-slot-wrap, .code-slot, .verify-form button { height: 48px; font-size: 24px; }
  .code-slots { gap: 7px; }
  .tips { padding-top: 23px; }
  .benefits { padding: 31px 10px 0; gap: 3px; }
  .benefit { gap: 5px; }
  .benefit img { width: 32px; height: 32px; }
  .benefit span { font-size: 12px; }
  .failure-dialog { padding: 24px 22px 20px; }
  .failure-dialog h2 { margin-bottom: 17px; font-size: 25px; }
  .failure-dialog p { font-size: 15px; line-height: 1.65; }
  .failure-actions { gap: 12px; margin-top: 19px; }
  .failure-actions button { height: 46px; font-size: 16px; }
}
