/* ==========================================
   策策命理分析 - 新首页样式
   东方神秘风：深蓝 + 金色 + 星图元素
   ========================================== */

/* === Design Tokens === */
:root {
  --hw-bg-deep: #0a0a1a;
  --hw-bg-mid: #12122a;
  --hw-bg-card: rgba(18, 18, 42, 0.75);
  --hw-gold: #d4a574;
  --hw-gold-light: #e0c090;
  --hw-gold-dim: rgba(212, 165, 116, 0.25);
  --hw-text: #e0d8cc;
  --hw-text-dim: #9a9490;
  --hw-card-border: rgba(212, 165, 116, 0.12);
  --hw-card-hover-border: rgba(212, 165, 116, 0.4);
  --hw-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --hw-radius: 16px;
}

/* === Base === */
.hw-body {
  margin: 0;
  background: var(--hw-bg-deep);
  color: var(--hw-text);
  font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

.hw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Section Title === */
.hw-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.hw-section-label {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--hw-gold);
  border: 1px solid var(--hw-gold-dim);
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hw-section-title {
  font-family: 'Noto Serif SC', 'STSong', 'SimSun', serif;
  font-size: 2.2rem;
  color: var(--hw-gold-light);
  margin: 0 0 12px;
  letter-spacing: 2px;
}
.hw-section-desc {
  font-size: 1rem;
  color: var(--hw-text-dim);
  max-width: 600px;
  margin: 0 auto;
}

/* === Top Navigation === */
.hw-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.hw-nav.scrolled {
  background: rgba(10, 10, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(212, 165, 116, 0.1);
}
.hw-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hw-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--hw-gold-light);
  font-family: 'Noto Serif SC', serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
}
.hw-nav-logo img {
  height: 32px;
  margin-right: 10px;
}
.hw-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hw-nav-links a {
  color: var(--hw-text);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: color 0.2s;
  position: relative;
}
.hw-nav-links a:hover {
  color: var(--hw-gold-light);
}
.hw-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--hw-gold);
  transition: all 0.25s;
  transform: translateX(-50%);
}
.hw-nav-links a:hover::after {
  width: 100%;
}
.hw-nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hw-nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--hw-text);
  transition: all 0.3s;
}
.hw-nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hw-nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hw-nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* === Hero Section === */
.hw-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 35%, #1a2040 0%, #0a0a1a 70%);
}
.hw-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--hw-bg-deep), transparent);
  z-index: 2;
  pointer-events: none;
}

/* Stars */
.hw-stars-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hw-star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.3); }
}

/* Constellation SVG */
.hw-constellation {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
}

/* Hero Content */
.hw-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hw-hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: var(--hw-gold);
  border: 1px solid var(--hw-gold-dim);
  padding: 8px 24px;
  border-radius: 24px;
  margin-bottom: 32px;
  animation: fadeInUp 1s ease-out 0.2s both;
}
.hw-hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--hw-gold-light);
  margin: 0 0 24px;
  letter-spacing: 8px;
  line-height: 1.3;
  animation: fadeInUp 1s ease-out 0.4s both;
}
.hw-hero-title .hw-char {
  display: inline-block;
  transition: transform 0.3s;
}
.hw-hero-title .hw-char:hover {
  transform: translateY(-4px);
  color: #fff;
}
.hw-hero-title .hw-dot {
  color: var(--hw-gold);
  margin: 0 4px;
}
.hw-hero-subtitle {
  font-size: 1.15rem;
  color: var(--hw-text-dim);
  margin: 0 auto 40px;
  max-width: 600px;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.6s both;
}
.hw-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.8s both;
}

/* Buttons */
.hw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--hw-transition);
  border: none;
}
.hw-btn-primary {
  background: linear-gradient(135deg, var(--hw-gold), #b8895a);
  color: #0a0a1a;
  box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
}
.hw-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 165, 116, 0.45);
  color: #0a0a1a;
}
.hw-btn-ghost {
  background: transparent;
  color: var(--hw-gold-light);
  border: 1px solid var(--hw-gold-dim);
}
.hw-btn-ghost:hover {
  background: rgba(212, 165, 116, 0.08);
  border-color: var(--hw-gold);
  color: var(--hw-gold-light);
}

/* Scroll Indicator */
.hw-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bounce 2s infinite;
}
.hw-scroll-indicator span {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--hw-gold);
  border-bottom: 1.5px solid var(--hw-gold);
  transform: rotate(45deg);
  opacity: 0.5;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* === Sections === */
.hw-section {
  padding: 100px 0;
}
.hw-section-alt {
  background: var(--hw-bg-mid);
}

/* === Card Grid === */
.hw-cards-grid {
  display: grid;
  gap: 24px;
}
.hw-cards-4 {
  grid-template-columns: repeat(4, 1fr);
}
.hw-cards-6 {
  grid-template-columns: repeat(3, 1fr);
}
.hw-cards-8 {
  grid-template-columns: repeat(4, 1fr);
}

/* === Card Base === */
.hw-card {
  display: flex;
  flex-direction: column;
  background: var(--hw-bg-card);
  border: 1px solid var(--hw-card-border);
  border-radius: var(--hw-radius);
  padding: 32px 24px;
  text-decoration: none;
  color: var(--hw-text);
  transition: var(--hw-transition);
  position: relative;
  overflow: hidden;
}
.hw-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hw-gold-dim), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.hw-card:hover {
  border-color: var(--hw-card-hover-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 165, 116, 0.1);
  color: var(--hw-text);
}
.hw-card:hover::before {
  opacity: 1;
}
.hw-card-icon {
  font-size: 2rem;
  color: var(--hw-gold);
  margin-bottom: 16px;
  transition: var(--hw-transition);
}
.hw-card:hover .hw-card-icon {
  transform: scale(1.1);
}
.hw-card-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.1rem;
  color: var(--hw-gold-light);
  margin: 0 0 8px;
  letter-spacing: 1px;
}
.hw-card-desc {
  font-size: 0.88rem;
  color: var(--hw-text-dim);
  margin: 0 0 16px;
  line-height: 1.6;
  flex: 1;
}
.hw-card-arrow {
  font-size: 0.85rem;
  color: var(--hw-gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--hw-transition);
}
.hw-card:hover .hw-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* === Feature Card (variant: larger) === */
.hw-feature-card {
  padding: 40px 28px;
  text-align: center;
}
.hw-feature-card .hw-card-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

/* === Analysis Card (variant: compact) === */
.hw-analysis-card {
  padding: 28px 20px;
  text-align: center;
}
.hw-analysis-card .hw-card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

/* === Article Card === */
.hw-article-card {
  padding: 24px;
}
.hw-article-date {
  font-size: 0.8rem;
  color: var(--hw-text-dim);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.hw-article-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1rem;
  color: var(--hw-gold-light);
  margin: 0 0 8px;
  line-height: 1.5;
}
.hw-article-desc {
  font-size: 0.85rem;
  color: var(--hw-text-dim);
  margin: 0 0 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hw-article-link {
  font-size: 0.85rem;
  color: var(--hw-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* === About Section === */
.hw-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.hw-about-block {
  padding: 36px 28px;
  background: var(--hw-bg-card);
  border: 1px solid var(--hw-card-border);
  border-radius: var(--hw-radius);
  position: relative;
  transition: var(--hw-transition);
}
.hw-about-block:hover {
  border-color: var(--hw-card-hover-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.hw-about-number {
  font-family: 'Noto Serif SC', serif;
  font-size: 2.8rem;
  color: var(--hw-gold-dim);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0;
}
.hw-about-block h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.2rem;
  color: var(--hw-gold-light);
  margin: 0 0 20px;
  letter-spacing: 1px;
}
.hw-about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hw-about-list li {
  padding: 10px 0;
  color: var(--hw-text-dim);
  font-size: 0.93rem;
  line-height: 1.7;
  border-bottom: 1px solid rgba(212, 165, 116, 0.05);
}
.hw-about-list li:last-child {
  border-bottom: none;
}
.hw-about-list li em {
  font-style: normal;
  color: var(--hw-gold);
  font-weight: 500;
}
.hw-about-philosophy {
  background: var(--hw-bg-card);
  border: 1px solid var(--hw-card-border);
  border-radius: var(--hw-radius);
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin: 48px auto 0;
}
.hw-about-philosophy p {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.05rem;
  color: var(--hw-text);
  line-height: 2;
  margin: 0;
  letter-spacing: 0.5px;
}
.hw-about-philosophy::before {
  content: '"';
  display: block;
  font-size: 3rem;
  color: var(--hw-gold);
  line-height: 1;
  margin-bottom: 16px;
  font-family: 'Noto Serif SC', serif;
}

/* === FAQ / Accordion === */
.hw-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.hw-faq-item {
  background: var(--hw-bg-card);
  border: 1px solid var(--hw-card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--hw-transition);
}
.hw-faq-item:hover {
  border-color: var(--hw-card-hover-border);
}
.hw-faq-question {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  font-family: 'Noto Serif SC', serif;
  font-size: 0.95rem;
  color: var(--hw-gold-light);
  cursor: pointer;
  letter-spacing: 0.5px;
  user-select: none;
  transition: color 0.2s;
}
.hw-faq-question::-webkit-details-marker {
  display: none;
}
.hw-faq-question::marker {
  display: none;
  content: none;
}
.hw-faq-question::before {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  font-size: 1.1rem;
  color: var(--hw-gold);
  border: 1px solid var(--hw-gold-dim);
  border-radius: 50%;
  transition: all 0.3s;
}
details[open] .hw-faq-question::before {
  content: '−';
  background: rgba(212, 165, 116, 0.12);
}
.hw-faq-answer {
  padding: 0 24px 20px 60px;
  font-size: 0.9rem;
  color: var(--hw-text-dim);
  line-height: 1.8;
}
.hw-faq-answer p {
  margin: 0 0 8px;
}
.hw-faq-answer p:last-child {
  margin-bottom: 0;
}
.hw-faq-answer ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}
.hw-faq-answer ul li {
  padding: 4px 0;
  border-bottom: 1px solid rgba(212, 165, 116, 0.04);
}
.hw-faq-answer ul li:last-child {
  border-bottom: none;
}
.hw-faq-answer li em,
.hw-faq-answer em {
  font-style: normal;
  color: var(--hw-gold);
  font-weight: 500;
}

/* === Footer === */
.hw-footer {
  background: var(--hw-bg-mid);
  border-top: 1px solid rgba(212, 165, 116, 0.08);
  padding: 48px 0 32px;
  text-align: center;
}
.hw-footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}
.hw-footer-links a {
  color: var(--hw-text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.hw-footer-links a:hover {
  color: var(--hw-gold-light);
}
.hw-footer-copy {
  font-size: 0.85rem;
  color: var(--hw-text-dim);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hw-cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hw-cards-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hw-cards-8 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hw-about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hw-section {
    padding: 72px 0;
  }
}

@media (max-width: 768px) {
  .hw-nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.35s ease;
  }
  .hw-nav-links.active {
    right: 0;
  }
  .hw-nav-hamburger {
    display: flex;
    z-index: 1001;
  }
  .hw-section-title {
    font-size: 1.7rem;
  }
  .hw-hero-title {
    letter-spacing: 4px;
  }
  .hw-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hw-cards-4,
  .hw-cards-6,
  .hw-cards-8 {
    grid-template-columns: 1fr;
  }
  .hw-hero-title {
    font-size: 2.4rem;
  }
  .hw-hero-subtitle {
    font-size: 1rem;
  }
  .hw-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hw-section {
    padding: 56px 0;
  }
  .hw-section-title {
    font-size: 1.5rem;
  }
  .hw-about-philosophy {
    padding: 24px;
  }
  .hw-nav-logo {
    font-size: 1.1rem;
  }
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  .hw-star,
  .hw-scroll-indicator {
    animation: none;
  }
  .hw-hero-content,
  .hw-hero-badge,
  .hw-hero-title,
  .hw-hero-subtitle,
  .hw-hero-buttons {
    animation: none;
  }
}

/* === 在线计算表单 === */
.hw-calc-section {
  padding: 80px 0;
}
.hw-calc-box {
  background: var(--hw-bg-card) !important;
  border: 1px solid var(--hw-card-border) !important;
  border-radius: var(--hw-radius) !important;
  box-shadow: none !important;
}
.hw-calc-box .label {
  color: var(--hw-gold-light) !important;
  font-weight: 400;
}
.hw-calc-box .input {
  background: rgba(10, 10, 26, 0.6) !important;
  border-color: rgba(212, 165, 116, 0.2) !important;
  color: var(--hw-text) !important;
}
.hw-calc-box .input:focus {
  border-color: var(--hw-gold) !important;
  box-shadow: 0 0 0 1px rgba(212, 165, 116, 0.25) !important;
}
.hw-calc-box .input::placeholder {
  color: var(--hw-text-dim) !important;
}
.hw-btn-calc {
  background: linear-gradient(135deg, var(--hw-gold), #b8895a) !important;
  color: #0a0a1a !important;
  border: none !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  padding: 12px 40px !important;
  transition: var(--hw-transition) !important;
}
.hw-btn-calc:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 165, 116, 0.45) !important;
}
.hw-calc-tip {
  font-size: 0.9rem;
  color: var(--hw-text-dim);
  margin-top: 10px;
  text-align: center;
}

/* === Solar System Loading Mask === */
#custom-loading-mask {
  background: rgba(10, 10, 26, 0.92) !important;
}

/* Solar System Animation (from Uiverse.io) */
.solar-system {
  position: relative;
  width: 20rem;
  height: 20rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sun {
  position: absolute;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #f59e0b, #ea580c, #dc2626);
  animation: solar-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(255, 165, 0, 0.5);
  z-index: 4;
}

.sun::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 236, 153, 0.2),
    rgba(220, 38, 38, 0.2)
  );
  animation: solar-spin 3s linear infinite;
}

.corona {
  position: absolute;
  inset: -1rem;
  border-radius: 50%;
  background: linear-gradient(
    to bottom right,
    rgba(245, 158, 11, 0.2),
    rgba(220, 38, 38, 0.2)
  );
  filter: blur(8px);
  animation: solar-pulse 2s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.mercury-orbit {
  width: 8rem;
  height: 8rem;
}

.venus-orbit {
  width: 11rem;
  height: 11rem;
}

.earth-orbit {
  width: 14rem;
  height: 14rem;
  z-index: 2;
}

.mars-orbit {
  width: 18rem;
  height: 18rem;
}

.planet {
  position: absolute;
  border-radius: 50%;
  z-index: 3;
}

.mercury {
  width: 0.75rem;
  height: 0.75rem;
  background: linear-gradient(to bottom right, #d1d5db, #9ca3af);
  box-shadow: 0 0 15px rgba(156, 163, 175, 0.5);
  --orbit-width: 8rem;
  animation: solar-orbit 4s linear infinite;
}

.venus {
  width: 1rem;
  height: 1rem;
  background: linear-gradient(to bottom right, #fef3c7, #fcd34d);
  box-shadow: 0 0 15px rgba(252, 211, 77, 0.5);
  --orbit-width: 11rem;
  animation: solar-orbit 6s linear infinite;
}

.earth {
  width: 1.25rem;
  height: 1.25rem;
  background: linear-gradient(to bottom right, #60a5fa, #34d399);
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.5);
  --orbit-width: 14rem;
  animation: solar-orbit 8s linear infinite;
}

.moon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #d1d5db;
  box-shadow: inset 0 0 4px rgba(156, 163, 175, 0.5);
  animation: solar-orbit 2s linear infinite;
}

.mars {
  width: 1rem;
  height: 1rem;
  background: linear-gradient(to bottom right, #f87171, #dc2626);
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
  --orbit-width: 18rem;
  animation: solar-orbit 10s linear infinite;
}

.iss {
  position: absolute;
  width: 0.6rem;
  height: 0.3rem;
  background: #e5e7eb;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  z-index: 3;
  --iss-orbit: 7.5rem;
  animation: iss-orbit-ani 5s linear infinite;
}

.iss-panels {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.2rem;
  height: 0.15rem;
  background: linear-gradient(to right, #60a5fa, #93c5fd);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px rgba(96, 165, 250, 0.5);
}

.iss::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: white;
  border-radius: 2px;
  opacity: 0;
  animation: iss-flare 1.5s linear infinite;
}

.stars {
  position: absolute;
  inset: -2.5rem;
  z-index: 1;
}

.star {
  position: absolute;
  width: 0.25rem;
  height: 0.25rem;
  background: white;
  border-radius: 50%;
}

.star-1 {
  top: 25%;
  left: 25%;
  animation: solar-ping 2s ease-in-out infinite;
}
.star-2 {
  top: 75%;
  left: 33%;
  animation: solar-ping 3s ease-in-out infinite 0.5s;
}
.star-3 {
  top: 33%;
  right: 25%;
  animation: solar-ping 2.5s ease-in-out infinite 0.7s;
}
.star-4 {
  bottom: 25%;
  right: 33%;
  animation: solar-ping 2.7s ease-in-out infinite 0.3s;
}
.star-5 {
  top: 50%;
  right: 50%;
  animation: solar-ping 2.3s ease-in-out infinite 0.8s;
}

#loading-tips {
  color: #fff;
  margin-top: 48px;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  min-height: 2.5em;
  text-align: center;
  transition: opacity 0.4s;
  font-weight: bold;
  text-shadow: 0 2px 8px #000, 0 0 2px #18d3af;
  line-height: 2.2em;
}

@keyframes solar-orbit {
  from {
    transform: rotate(0deg) translateX(calc(var(--orbit-width) / 2))
      rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(calc(var(--orbit-width) / 2))
      rotate(-360deg);
  }
}

@keyframes iss-orbit-ani {
  from {
    transform: rotate(0deg) translateX(var(--iss-orbit)) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(var(--iss-orbit)) rotate(-360deg);
  }
}

@keyframes solar-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes solar-pulse {
  50% {
    opacity: 0.8;
  }
}

@keyframes solar-ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes iss-flare {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
}

/* Result area dark theme */
.hw-result-area {
  background: var(--hw-bg-card) !important;
  border: 1px solid var(--hw-card-border) !important;
  border-radius: var(--hw-radius) !important;
}
.hw-result-area .title {
  color: var(--hw-gold-light) !important;
}
.hw-result-area .notification.is-danger {
  background: rgba(220, 38, 38, 0.15) !important;
  color: #f87171 !important;
  border: 1px solid rgba(220, 38, 38, 0.3) !important;
}
