/* ============================================
   黑白简约 · 半透明玻璃质感 · 高级动态
   授权更换 (zzgh.css)
   ============================================ */

:root {
  --bg-base: transparent;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-strong: rgba(255, 255, 255, 0.22);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.62);
  --text-muted: rgba(255, 255, 255, 0.38);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --blur: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', Consolas, Monaco, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, html {
  height: 100%;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

::-webkit-scrollbar { display: none; }
html { scrollbar-width: none; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* 动态背景光斑 */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

body::before {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  top: -110px;
  right: -100px;
  animation: zzghOrb1 22s ease-in-out infinite;
}

body::after {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  bottom: -90px;
  left: -90px;
  animation: zzghOrb2 26s ease-in-out infinite;
}

@keyframes zzghOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-90px, 110px) scale(1.15); }
}

@keyframes zzghOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, -90px) scale(0.9); }
}

/* ===== 内容容器 ===== */
.fullscreen-content {
  width: 100%;
  max-width: 600px;
  padding: 24px;
  position: relative;
  z-index: 2;
}

/* ===== 头部 ===== */
header {
  text-align: center;
  margin-bottom: 40px;
  animation: headerFadeIn 0.8s var(--ease) both;
}

@keyframes headerFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.title {
  font-size: 2.6rem;
  font-weight: 200;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title i {
  font-size: 2.4rem;
  -webkit-text-fill-color: var(--text-primary);
  background: none;
  opacity: 0.85;
}

.tagline {
  font-size: 0.98rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  font-weight: 300;
}

/* ===== 表单 ===== */
form {
  width: 100%;
  animation: formSlideIn 0.8s var(--ease) 0.15s both;
}

@keyframes formSlideIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-group {
  margin-bottom: 22px;
  width: 100%;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  height: 58px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.35s var(--ease);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.form-control::placeholder {
  color: var(--text-muted);
  font-family: var(--font-display);
}

.form-control:focus {
  border-color: var(--glass-border-strong);
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ===== 按钮 ===== */
.btn {
  width: 100%;
  height: 58px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-strong);
  color: var(--text-primary);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.35s var(--ease);
  margin: 20px 0 30px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s var(--ease);
}

.btn:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.12) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.btn:hover:not(:disabled)::before { left: 100%; }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--glass-border);
  color: var(--text-muted);
  cursor: not-allowed;
}

/* ===== 结果展示 ===== */
.result-container {
  margin-bottom: 30px;
  animation: resultFadeIn 0.6s var(--ease);
}

@keyframes resultFadeIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== 提示框 ===== */
.alert {
  padding: 20px 24px;
  border-radius: var(--radius);
  font-size: 1rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.alert::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.alert-success {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
}

.alert-danger {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border-strong);
  color: var(--text-secondary);
}

.alert i {
  font-size: 1.4rem;
  color: var(--text-primary);
}

/* ===== 说明区块 ===== */
.instructions {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  padding: 26px 28px;
  border-radius: var(--radius);
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  animation: formSlideIn 0.8s var(--ease) 0.3s both;
}

.instructions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0.6;
}

.instructions h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.instructions h3 i {
  color: var(--text-primary);
  opacity: 0.85;
}

.instructions ul {
  padding-left: 20px;
}

.instructions li {
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .title { font-size: 2.2rem; }
  .title i { font-size: 2rem; }
  .btn, .form-control { height: 54px; font-size: 0.95rem; }
  .fullscreen-content { padding: 20px 18px; }
}

@media (max-width: 480px) {
  .title { font-size: 1.8rem; }
  .title i { font-size: 1.7rem; }
  .tagline { font-size: 0.9rem; }
  .btn, .form-control { height: 50px; font-size: 0.9rem; }
  header { margin-bottom: 30px; }
  .instructions { padding: 22px 20px; }
  .instructions li { font-size: 0.88rem; }
}
