:root {
  --primary-color: #e0c080; /* 金色文字 */
  --secondary-color: #d4af37; /* 更深的金色 */
  --tertiary-color: #ffd700; /* 亮金色 */
  --accent-color: #ffd700; /* 星星的金色 */
  --dark-color: #0d2b3e; /* 深蓝色背景 */
  --retrograde-color: #e0a55c; /* 暖金色 */
  --non-retrograde-color: #ffd700; /* 黄金色 - 与图片一致 */
  --background-start: #0a1e2c; /* 顶部渐变色 - 更深的蓝色 */
  --background-middle: #0d2b3e; /* 中部渐变色 - 深蓝色 */
  --background-end: #14394f; /* 底部渐变色 - 较浅的蓝色 */
  --border-color: rgba(224, 192, 128, 0.3); /* 半透明金色边框 */
}

@font-face {
  font-family: "AstraLura";
  src: url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--primary-color);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: radial-gradient(
    circle,
    var(--background-middle) 0%,
    var(--background-start) 40%,
    var(--background-end) 70%,
    var(--background-start) 100%
  );
  background-attachment: fixed;
}

/* 云朵效果 */
.clouds {
  display: none;
}

/* 太阳效果 */
.sun {
  display: none;
}

/* 星星效果 */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.star {
  position: absolute;
  background-image: url("/images/star.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 15px;
  height: 15px;
  opacity: 0.8;
  animation: twinkle 3s infinite alternate;
}

.star-1,
.star-2,
.star-3,
.star-4,
.star-5,
.star-6,
.star-7,
.star-8,
.star-9,
.star-10,
.star-11,
.star-12,
.star-13,
.star-14,
.star-15,
.star-16,
.star-17,
.star-18,
.star-19,
.star-20,
.star-21,
.star-22 {
  background-color: transparent;
}

.star-1 {
  width: 1px;
  height: 1px;
  top: 5%;
  right: 10%;
}

.star-2 {
  width: 1px;
  height: 1px;
  top: 15%;
  right: 25%;
}

.star-3 {
  width: 1px;
  height: 1px;
  top: 8%;
  right: 40%;
}

.star-4 {
  width: 1px;
  height: 1px;
  top: 12%;
  left: 15%;
}

.star-5 {
  width: 1px;
  height: 1px;
  top: 7%;
  left: 30%;
}

.star-6 {
  width: 1px;
  height: 1px;
  top: 20%;
  right: 15%;
}

.star-7 {
  width: 1px;
  height: 1px;
  top: 25%;
  left: 20%;
}

.star-8 {
  width: 1px;
  height: 1px;
  top: 18%;
  right: 35%;
}

.star-9 {
  width: 1px;
  height: 1px;
  top: 30%;
  left: 10%;
}

.star-10 {
  width: 1px;
  height: 1px;
  top: 35%;
  right: 20%;
}

.star-11 {
  width: 1px;
  height: 1px;
  top: 40%;
  left: 25%;
}

.star-12 {
  width: 1px;
  height: 1px;
  top: 45%;
  right: 30%;
}

/* 添加更多星星 */
.star-13 {
  width: 1px;
  height: 1px;
  top: 50%;
  left: 15%;
  animation-delay: 0.2s;
}

.star-14 {
  width: 1px;
  height: 1px;
  top: 55%;
  right: 25%;
  animation-delay: 0.7s;
}

.star-15 {
  width: 1px;
  height: 1px;
  top: 60%;
  left: 35%;
  animation-delay: 1.2s;
}

.star-16 {
  width: 1px;
  height: 1px;
  top: 65%;
  right: 10%;
  animation-delay: 0.3s;
}

.star-17 {
  width: 1px;
  height: 1px;
  top: 70%;
  left: 40%;
  animation-delay: 0.8s;
}

.star-18 {
  width: 1px;
  height: 1px;
  top: 75%;
  right: 20%;
  animation-delay: 1.3s;
}

.star-19 {
  width: 1px;
  height: 1px;
  top: 80%;
  left: 10%;
  animation-delay: 0.4s;
}

.star-20 {
  width: 1px;
  height: 1px;
  top: 85%;
  right: 30%;
  animation-delay: 0.9s;
}

.star-21 {
  width: 1px;
  height: 1px;
  top: 90%;
  left: 20%;
  animation-delay: 1.4s;
}

.star-22 {
  width: 1px;
  height: 1px;
  top: 95%;
  right: 15%;
  animation-delay: 0.5s;
}

/* 添加占星轮盘背景 */
.zodiac-wheel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vw;
  max-width: none;
  max-height: none;
  background-image: url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20250402171930.png-zMyjwDr50tIeMdOisvIGtdz8U4blyE.jpeg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

/* 更新头部样式 */
header {
  padding: 1rem 0;
  background-color: rgba(13, 43, 62, 0.7);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--primary-color);
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(224, 192, 128, 0.3);
}

.navbar-brand i {
  margin-right: 0.5rem;
}

.nav-link {
  color: var(--primary-color);
  margin: 0 0.5rem;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--accent-color);
}

/* Main Content Styles */
main {
  padding: 2rem 0;
}

.status-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

/* 更新状态容器样式 */
.status-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(13, 43, 62, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 100px rgba(224, 192, 128, 0.1);
  transition: all 0.5s ease;
  border: 1px solid var(--border-color);
  position: relative;
}

.status-text {
  font-family: "Playfair Display", serif;
  font-size: 8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: color 0.5s ease, transform 0.5s ease;
  text-shadow: 0 0 15px rgba(224, 192, 128, 0.3);
}

.status-text.yes {
  color: var(--retrograde-color);
  animation: pulseYes 2s infinite alternate;
}

.status-text.no {
  color: var(--non-retrograde-color);
}

@keyframes pulseYes {
  from {
    text-shadow: 0 0 10px rgba(255, 92, 141, 0.5);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 92, 141, 0.8), 0 0 30px rgba(255, 92, 141, 0.6);
  }
}

.date-display {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.status-description {
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* 添加按钮样式 */
.action-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: rgba(13, 43, 62, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-outline-primary:hover {
  background-color: rgba(224, 192, 128, 0.2);
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* 更新各部分背景 */
.meaning-section,
.tips-section,
.about-section,
.calendar-section,
.effects-section,
.faq-section {
  padding: 4rem 0;
  background: rgba(13, 43, 62, 0.5);
  margin: 2rem 0;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  backdrop-filter: blur(5px);
}

.section-title-container {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}

h2 {
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 1px;
  display: inline-block;
  position: relative;
  text-shadow: 0 0 10px rgba(224, 192, 128, 0.3);
}

h2::before,
h2::after {
  content: "✦";
  color: var(--accent-color);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

h2::before {
  left: -30px;
}

h2::after {
  right: -30px;
}

h3 {
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* 更新卡片样式 */
.meaning-card,
.tip-card,
.effect-card,
.date-card,
.zodiac-effect-card,
.faq-item {
  background: rgba(13, 43, 62, 0.7);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(5px);
}

.meaning-card:hover,
.tip-card:hover,
.effect-card:hover,
.date-card:hover,
.zodiac-effect-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(224, 192, 128, 0.1);
}

.meaning-card i,
.tip-card i,
.effect-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.meaning-card img,
.tip-card img,
.effect-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  display: block;
}

.meaning-card h3,
.tip-card h3,
.effect-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
}

/* FAQ Section */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--accent-color);
}

/* Calendar Section */
.retrograde-dates {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.date-card {
  background: rgba(13, 43, 62, 0.7);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  min-width: 250px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
}

.date-range {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-family: "Playfair Display", serif;
}

.zodiac-sign {
  color: var(--accent-color);
}

/* 更新页脚样式 */
footer {
  background-color: rgba(13, 43, 62, 0.7);
  backdrop-filter: blur(10px);
  padding: 3rem 0 1rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
}

footer h3 {
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-links a {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-bottom a {
  margin-left: 1rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--accent-color);
}

/* 表单元素样式 */
.form-control {
  background-color: rgba(13, 43, 62, 0.7);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
}

.form-control:focus {
  background-color: rgba(13, 43, 62, 0.9);
  border-color: var(--accent-color);
  color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(224, 192, 128, 0.25);
}

.btn-outline-light {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-light:hover {
  background-color: rgba(224, 192, 128, 0.2);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .status-text {
    font-size: 5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom .footer-links {
    margin-top: 1rem;
  }

  .footer-bottom a {
    margin: 0 0.5rem;
  }

  .sun {
    width: 150px;
    height: 150px;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-outline-primary {
    width: 100%;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .status-text {
    font-size: 4rem;
  }

  h2::before,
  h2::after {
    display: none;
  }

  .sun {
    width: 100px;
    height: 100px;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

