/* SK LIGHTING 首页：深空 + 星光 + LOGO + 标语 + 认证弹窗 */
:root {
  --gold: #ffc14a;
  --cyan: #00d4ff;
  --space: #05060a;
  --glass: rgba(12, 16, 28, 0.72);
  --border: rgba(120, 160, 255, 0.25);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.sk-home {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: radial-gradient(circle at 50% 0%, #0e1326 0%, #070912 40%, #05060a 100%);
  color: #e8f0ff;
  overflow-x: hidden;
}

#starCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.sk-center {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 20px 80px;
  text-align: center;
}

.sk-logo-wrap {
  margin-bottom: 18px;
  opacity: 0;
  transform: scale(0.86) translateY(22px);
  filter: blur(12px);
  animation: skLogoIn 1.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
@keyframes skLogoIn {
  0% { opacity: 0; transform: scale(0.86) translateY(22px); filter: blur(12px); }
  65% { opacity: 1; transform: scale(1.02) translateY(0); filter: blur(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}
.sk-logo-img {
  max-width: min(49vw, 210px);
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: normal;
  filter:
    contrast(1.08)
    brightness(1.06)
    drop-shadow(0 0 34px rgba(0, 200, 255, 0.3))
    drop-shadow(0 0 44px rgba(255, 180, 60, 0.18));
}

.sk-slogan {
  margin: 0 0 34px;
  font-size: clamp(1.9rem, 5.6vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #fff;
  text-indent: 0.24em;
  text-shadow:
    0 0 12px rgba(255,255,255,0.6),
    0 0 26px rgba(255,255,255,0.28),
    0 0 40px rgba(0,200,255,0.22);
  /* 仅让光芒强弱变化，文字本体不位移、不缩放，避免“颤抖” */
  animation: skSloganGlow 2.2s ease-in-out infinite;
}
@keyframes skSloganGlow {
  0%, 100% {
    text-shadow:
      0 0 12px rgba(255,255,255,0.55),
      0 0 26px rgba(255,255,255,0.26),
      0 0 40px rgba(0,200,255,0.18);
  }
  50% {
    text-shadow:
      0 0 18px rgba(255,255,255,0.78),
      0 0 38px rgba(255,255,255,0.34),
      0 0 60px rgba(0,200,255,0.28);
  }
}

.sk-start-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 16px 48px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;
  color: #0a0c12;
  background: linear-gradient(135deg, var(--gold), #ffd78a 45%, var(--cyan));
  background-size: 200% 200%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 40px rgba(0, 180, 255, 0.25), 0 8px 28px rgba(255, 160, 60, 0.2);
  animation: skBtnPulse 2.8s ease-in-out infinite;
  transition: transform 0.2s, filter 0.2s;
}
.sk-start-btn:hover { transform: translateY(-3px) scale(1.02); filter: brightness(1.08); }
@keyframes skBtnPulse {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.sk-footer-hint {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(200, 210, 255, 0.45);
}

/* 认证弹窗 */
.sk-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 6, 14, 0.72);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sk-modal-overlay.show { display: flex; }
.sk-modal {
  position: relative;
  width: min(100%, 400px);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--glass);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  padding: 22px 22px 20px;
}
.sk-modal h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  text-align: center;
  font-weight: 800;
  background: linear-gradient(90deg, var(--gold), #fff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sk-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.sk-tab {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(8, 12, 24, 0.6);
  color: #b8c8f0;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.sk-tab.active {
  background: linear-gradient(135deg, rgba(255, 180, 60, 0.2), rgba(0, 200, 255, 0.18));
  color: #fff;
  border-color: rgba(0, 200, 255, 0.35);
}
.sk-field { margin-bottom: 12px; text-align: left; }
.sk-field label { display: block; font-size: 0.82rem; color: #9aaee8; margin-bottom: 6px; }
.sk-field input[type="tel"],
.sk-field input[type="text"],
.sk-field input[type="number"] {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(6, 10, 22, 0.85);
  color: #fff;
  font-size: 1rem;
}
.sk-row { display: flex; gap: 8px; }
.sk-row input { flex: 1; }
.sk-send-code {
  flex-shrink: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 200, 255, 0.35);
  background: rgba(0, 120, 200, 0.25);
  color: #b8f0ff;
  cursor: pointer;
  font-size: 0.85rem;
  white-space: nowrap;
}
.sk-send-code:disabled { opacity: 0.45; cursor: not-allowed; }
.sk-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: #a8b8e8;
  line-height: 1.5;
  margin-bottom: 10px;
}
.sk-check-single a { display: inline-block; margin: 0 2px; }
.sk-check input { margin-top: 3px; }
.sk-check a { color: var(--cyan); }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.sk-submit {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: #0a0c12;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}
.sk-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.sk-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}
.sk-modal-wrap { position: relative; }
.sk-err { font-size: 0.82rem; color: #ff8a8a; margin-bottom: 10px; min-height: 1.2em; }
.sk-captcha-line { font-size: 0.95rem; color: #7dd8ff; margin-bottom: 6px; }
