/* ============================================
   星象彩运占星馆 - 主样式表
   CSS前缀: astr-
   设计风格: 星空占星塔罗风 (Celestial Astrology)
   ============================================ */

/* --- Google Fonts 本地化替代 --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

/* --- CSS变量 --- */
:root {
  --astr-primary: #0B0033;
  --astr-accent: #FFD700;
  --astr-white: #FFFFFF;
  --astr-bg: #0B0033;
  --astr-text-main: #FFD700;
  --astr-text-sub: #BFB8FF;
  --astr-font-title: 'Cinzel Decorative', 'Noto Serif SC', serif;
  --astr-font-body: 'Noto Serif SC', 'Georgia', serif;
  --astr-radius: 6px;
  --astr-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  --astr-shadow-soft: 0 0 10px rgba(255, 215, 0, 0.3);
  --astr-gradient-gold: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
  --astr-gradient-purple: linear-gradient(180deg, #0B0033, #1a0055, #0B0033);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--astr-font-body);
  background-color: var(--astr-bg);
  color: var(--astr-text-sub);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--astr-accent);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #FFF;
  text-shadow: var(--astr-shadow);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--astr-font-title);
  color: var(--astr-text-main);
  line-height: 1.4;
}

/* --- 容器 --- */
.astr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.astr-container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   头部导航
   ============================================ */
.astr-header {
  background: rgba(11, 0, 51, 0.95);
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  padding: 12px 0;
  z-index: 1000;
  position: relative;
}

.astr-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.astr-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.astr-header-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.astr-header-logo span {
  font-family: var(--astr-font-title);
  font-size: 1.1rem;
  color: var(--astr-accent);
  font-weight: 700;
  white-space: nowrap;
}

.astr-nav-main {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.astr-nav-main li a {
  font-size: 0.95rem;
  color: var(--astr-accent);
  padding: 8px 4px;
  position: relative;
  white-space: nowrap;
}

.astr-nav-main li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--astr-accent);
  transition: width 0.3s ease;
}

.astr-nav-main li a:hover::after,
.astr-nav-main li a.astr-active::after {
  width: 100%;
}

.astr-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.astr-btn-primary {
  display: inline-block;
  background: var(--astr-accent);
  color: var(--astr-primary);
  padding: 10px 24px;
  border-radius: var(--astr-radius);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.astr-btn-primary:hover {
  box-shadow: var(--astr-shadow);
  transform: translateY(-2px);
  color: var(--astr-primary);
}

.astr-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--astr-accent);
  padding: 10px 24px;
  border-radius: var(--astr-radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--astr-accent);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.astr-btn-outline:hover {
  background: rgba(255, 215, 0, 0.1);
  box-shadow: var(--astr-shadow-soft);
  color: var(--astr-accent);
}

/* 汉堡菜单 */
.astr-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.astr-hamburger span {
  width: 28px;
  height: 2px;
  background: var(--astr-accent);
  transition: all 0.3s ease;
}

.astr-mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 0, 51, 0.98);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.astr-mobile-nav.astr-active {
  display: flex;
}

.astr-mobile-nav a {
  font-size: 1.3rem;
  color: var(--astr-accent);
  font-family: var(--astr-font-title);
}

.astr-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--astr-accent);
  cursor: pointer;
  background: none;
  border: none;
}

/* ============================================
   首页 Hero 模块
   ============================================ */
.astr-module-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--astr-primary);
}

.astr-module-hero .astr-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.astr-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

.astr-hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  text-shadow: var(--astr-shadow);
}

.astr-hero-content p {
  font-size: 1.2rem;
  color: var(--astr-text-sub);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.astr-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 星空粒子画布 */
#astr-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ============================================
   通用模块样式
   ============================================ */
.astr-section {
  padding: 60px 0;
  position: relative;
}

.astr-section-title {
  text-align: center;
  margin-bottom: 40px;
}

.astr-section-title h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.astr-section-title p {
  color: var(--astr-text-sub);
  font-size: 1rem;
}

.astr-divider {
  width: 80px;
  height: 2px;
  background: var(--astr-gradient-gold);
  margin: 16px auto;
}

/* ============================================
   星座卡片网格
   ============================================ */
.astr-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.astr-card-zodiac {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--astr-radius);
  padding: 24px;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
}

.astr-card-zodiac:hover {
  border-color: var(--astr-accent);
  box-shadow: var(--astr-shadow);
  transform: translateY(-6px);
}

.astr-card-zodiac .astr-zodiac-symbol {
  font-size: 2.5rem;
  margin-bottom: 8px;
  display: block;
}

.astr-card-zodiac h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.astr-card-zodiac .astr-luck-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
}

.astr-card-zodiac .astr-luck-fill {
  height: 100%;
  background: var(--astr-gradient-gold);
  border-radius: 3px;
  transition: width 1s ease;
}

/* ============================================
   塔罗牌翻转
   ============================================ */
.astr-module-tarot {
  text-align: center;
  padding: 60px 0;
}

.astr-tarot-container {
  perspective: 1000px;
  display: inline-block;
  margin: 30px auto;
}

.astr-tarot-flipper {
  width: 240px;
  height: 360px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
  cursor: pointer;
}

.astr-tarot-flipper.astr-flipped {
  transform: rotateY(180deg);
}

.astr-tarot-front,
.astr-tarot-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--astr-radius);
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.5);
  box-shadow: var(--astr-shadow-soft);
}

.astr-tarot-front img,
.astr-tarot-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.astr-tarot-back {
  transform: rotateY(180deg);
  background: var(--astr-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.astr-tarot-back h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.astr-tarot-back p {
  font-size: 0.9rem;
  color: var(--astr-text-sub);
}

/* ============================================
   星盘选号表单
   ============================================ */
.astr-form-selector {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--astr-radius);
  padding: 40px;
}

.astr-form-group {
  margin-bottom: 20px;
}

.astr-form-group label {
  display: block;
  color: var(--astr-accent);
  margin-bottom: 8px;
  font-weight: 600;
}

.astr-form-input,
.astr-form-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(11, 0, 51, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--astr-radius);
  color: var(--astr-text-sub);
  font-size: 1rem;
  font-family: var(--astr-font-body);
  transition: border-color 0.3s ease;
}

.astr-form-input:focus,
.astr-form-select:focus {
  outline: none;
  border-color: var(--astr-accent);
  box-shadow: var(--astr-shadow-soft);
}

.astr-form-select option {
  background: var(--astr-primary);
  color: var(--astr-text-sub);
}

/* ============================================
   时间轴
   ============================================ */
.astr-timeline {
  position: relative;
  padding: 20px 0;
}

.astr-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 215, 0, 0.3);
  transform: translateX(-50%);
}

.astr-timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
  position: relative;
  margin-bottom: 40px;
}

.astr-timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}

.astr-timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--astr-accent);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: var(--astr-shadow);
}

.astr-timeline-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--astr-radius);
  padding: 20px;
  max-width: 400px;
}

.astr-timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.astr-timeline-content .astr-date {
  color: var(--astr-accent);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

/* ============================================
   环形图 / 彩运指数
   ============================================ */
.astr-chart-ring {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  position: relative;
}

/* ============================================
   视频模块
   ============================================ */
.astr-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--astr-radius);
  overflow: hidden;
  box-shadow: var(--astr-shadow-soft);
}

.astr-video-player {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  background: #000;
}

.astr-video-caption {
  text-align: center;
  padding: 12px;
  color: var(--astr-text-sub);
  font-size: 0.9rem;
  background: rgba(11, 0, 51, 0.8);
}

/* ============================================
   占星师卡片
   ============================================ */
.astr-card-astrologer {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--astr-radius);
  padding: 30px 20px;
  transition: all 0.4s ease;
}

.astr-card-astrologer:hover {
  border-color: var(--astr-accent);
  box-shadow: var(--astr-shadow);
}

.astr-img-astrologer {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--astr-accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.astr-card-astrologer h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.astr-card-astrologer .astr-title-sub {
  color: var(--astr-accent);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* ============================================
   手风琴
   ============================================ */
.astr-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.astr-accordion-item {
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--astr-radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.astr-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.3s ease;
}

.astr-accordion-header:hover {
  background: rgba(255, 215, 0, 0.05);
}

.astr-accordion-header h3 {
  font-size: 1rem;
  font-family: var(--astr-font-body);
}

.astr-accordion-icon {
  color: var(--astr-accent);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.astr-accordion-item.astr-open .astr-accordion-icon {
  transform: rotate(45deg);
}

.astr-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.astr-accordion-item.astr-open .astr-accordion-body {
  max-height: 500px;
  padding: 0 20px 20px;
}

/* ============================================
   社区星语墙
   ============================================ */
.astr-wall-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--astr-accent) transparent;
}

.astr-wall-card {
  min-width: 280px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--astr-radius);
  padding: 20px;
  flex-shrink: 0;
}

.astr-wall-card .astr-user {
  color: var(--astr-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.astr-wall-card .astr-like-btn {
  margin-top: 10px;
  background: none;
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--astr-accent);
  padding: 4px 12px;
  border-radius: var(--astr-radius);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.astr-wall-card .astr-like-btn:hover {
  background: rgba(255, 215, 0, 0.1);
}

/* ============================================
   文章列表卡片
   ============================================ */
.astr-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.astr-card-article {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--astr-radius);
  overflow: hidden;
  transition: all 0.4s ease;
}

.astr-card-article:hover {
  border-color: var(--astr-accent);
  box-shadow: var(--astr-shadow-soft);
  transform: translateY(-4px);
}

.astr-card-article .astr-thumb {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.astr-card-article .astr-card-body {
  padding: 20px;
}

.astr-card-article h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: var(--astr-font-body);
  font-weight: 700;
}

.astr-card-article .astr-meta {
  font-size: 0.8rem;
  color: rgba(191, 184, 255, 0.6);
  margin-bottom: 10px;
}

.astr-card-article .astr-excerpt {
  font-size: 0.9rem;
  color: var(--astr-text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   侧边栏
   ============================================ */
.astr-layout-main {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}

.astr-sidebar-widgets {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.astr-sidebar-widget {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--astr-radius);
  padding: 20px;
}

.astr-sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  font-family: var(--astr-font-body);
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.astr-sidebar-widget ul {
  list-style: none;
}

.astr-sidebar-widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.astr-sidebar-widget ul li:last-child {
  border-bottom: none;
}

.astr-sidebar-widget ul li a {
  font-size: 0.9rem;
  color: var(--astr-text-sub);
}

.astr-sidebar-widget ul li a:hover {
  color: var(--astr-accent);
}

/* ============================================
   分页
   ============================================ */
.astr-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.astr-pagination a,
.astr-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--astr-radius);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--astr-accent);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.astr-pagination a:hover,
.astr-pagination .astr-page-active {
  background: var(--astr-accent);
  color: var(--astr-primary);
}

/* ============================================
   面包屑
   ============================================ */
.astr-breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
}

.astr-breadcrumb a {
  color: var(--astr-text-sub);
}

.astr-breadcrumb a:hover {
  color: var(--astr-accent);
}

.astr-breadcrumb span {
  color: rgba(191, 184, 255, 0.5);
  margin: 0 8px;
}

/* ============================================
   栏目Banner
   ============================================ */
.astr-category-banner {
  background: var(--astr-gradient-purple);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.astr-category-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
}

.astr-category-banner h1 {
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
  text-shadow: var(--astr-shadow);
}

.astr-category-banner p {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: var(--astr-text-sub);
}

/* ============================================
   文章内页
   ============================================ */
.astr-article-content {
  max-width: 800px;
}

.astr-article-content h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.astr-article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(191, 184, 255, 0.6);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.astr-article-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.astr-article-body {
  font-size: 1.05rem;
  line-height: 2;
}

.astr-article-body h2 {
  font-size: 1.5rem;
  margin: 30px 0 16px;
  font-family: var(--astr-font-body);
  font-weight: 700;
}

.astr-article-body h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
  font-family: var(--astr-font-body);
  font-weight: 600;
}

.astr-article-body p {
  margin-bottom: 16px;
}

.astr-article-body img {
  border-radius: var(--astr-radius);
  margin: 20px 0;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.astr-article-body blockquote {
  border-left: 3px solid var(--astr-accent);
  padding: 16px 20px;
  margin: 20px 0;
  background: rgba(255, 215, 0, 0.05);
  border-radius: 0 var(--astr-radius) var(--astr-radius) 0;
  font-style: italic;
}

/* 相关推荐 */
.astr-related-articles {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.astr-related-articles h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  font-family: var(--astr-font-body);
}

.astr-related-articles ul {
  list-style: none;
}

.astr-related-articles ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.astr-related-articles ul li a {
  color: var(--astr-text-sub);
  font-size: 0.95rem;
}

.astr-related-articles ul li a:hover {
  color: var(--astr-accent);
}

/* ============================================
   页脚
   ============================================ */
.astr-footer {
  background: rgba(5, 0, 20, 0.95);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  padding: 50px 0 0;
  margin-top: 60px;
}

.astr-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.astr-footer-col h4 {
  font-size: 1rem;
  color: var(--astr-accent);
  margin-bottom: 16px;
  font-family: var(--astr-font-body);
  font-weight: 700;
}

.astr-footer-col ul {
  list-style: none;
}

.astr-footer-col ul li {
  margin-bottom: 8px;
}

.astr-footer-col ul li a {
  color: var(--astr-text-sub);
  font-size: 0.9rem;
}

.astr-footer-col ul li a:hover {
  color: var(--astr-accent);
}

.astr-footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--astr-text-sub);
}

.astr-footer-bottom {
  border-top: 1px solid rgba(255, 215, 0, 0.15);
  padding: 20px 0;
  text-align: center;
}

.astr-footer-bottom p {
  font-size: 0.8rem;
  color: rgba(191, 184, 255, 0.5);
  margin-bottom: 4px;
}

.astr-footer-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.astr-footer-badges img {
  height: 50px;
  width: auto;
  opacity: 0.8;
}

.astr-footer-seo {
  max-width: 800px;
  margin: 16px auto 0;
  font-size: 0.75rem;
  color: rgba(191, 184, 255, 0.35);
  text-align: center;
  line-height: 1.6;
}

/* ============================================
   功能页 - 星盘选号器
   ============================================ */
.astr-result-box {
  background: rgba(255, 215, 0, 0.05);
  border: 2px solid var(--astr-accent);
  border-radius: var(--astr-radius);
  padding: 30px;
  text-align: center;
  margin-top: 30px;
  display: none;
}

.astr-result-box.astr-show {
  display: block;
  animation: astr-fadeIn 0.5s ease;
}

.astr-lucky-numbers {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.astr-lucky-ball {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--astr-gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--astr-primary);
  box-shadow: var(--astr-shadow);
  animation: astr-pulse 2s infinite;
}

/* ============================================
   关于我们
   ============================================ */
.astr-about-story {
  background: rgba(255, 215, 0, 0.03);
  border-left: 3px solid var(--astr-accent);
  padding: 24px 30px;
  border-radius: 0 var(--astr-radius) var(--astr-radius) 0;
  margin: 20px 0;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 2;
}

.astr-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.astr-milestone-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============================================
   合规页面
   ============================================ */
.astr-legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.astr-legal-content h1 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.astr-legal-content h2 {
  font-size: 1.3rem;
  margin: 24px 0 12px;
  font-family: var(--astr-font-body);
}

.astr-legal-content p {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

/* ============================================
   动画
   ============================================ */
@keyframes astr-fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes astr-pulse {
  0%, 100% { box-shadow: var(--astr-shadow); }
  50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.8); }
}

@keyframes astr-twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes astr-shooting-star {
  0% { transform: translateX(0) translateY(0); opacity: 1; }
  100% { transform: translateX(-300px) translateY(300px); opacity: 0; }
}

.astr-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.astr-fade-in.astr-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   响应式设计
   ============================================ */

/* 平板 (768px - 991px) */
@media (max-width: 991px) {
  .astr-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .astr-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .astr-layout-main {
    grid-template-columns: 1fr;
  }

  .astr-sidebar-widgets {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .astr-sidebar-widget {
    flex: 1 1 calc(50% - 12px);
  }

  .astr-nav-main {
    gap: 16px;
  }

  .astr-nav-main li a {
    font-size: 0.85rem;
  }

  .astr-timeline::before {
    left: 20px;
  }

  .astr-timeline-item,
  .astr-timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .astr-timeline-dot {
    left: 20px;
  }
}

/* 大屏手机 (480px - 767px) */
@media (max-width: 767px) {
  .astr-nav-main {
    display: none;
  }

  .astr-hamburger {
    display: flex;
  }

  .astr-header-actions .astr-btn-primary {
    display: none;
  }

  .astr-hero-content h1 {
    font-size: 1.8rem;
  }

  .astr-hero-content p {
    font-size: 1rem;
  }

  .astr-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .astr-section {
    padding: 40px 0;
  }

  .astr-section-title h2 {
    font-size: 1.5rem;
  }

  .astr-footer-grid {
    grid-template-columns: 1fr;
  }

  .astr-article-grid {
    grid-template-columns: 1fr;
  }

  .astr-category-banner {
    padding: 50px 0 40px;
  }

  .astr-category-banner h1 {
    font-size: 1.6rem;
  }

  .astr-sidebar-widget {
    flex: 1 1 100%;
  }
}

/* 小屏手机 (< 480px) */
@media (max-width: 479px) {
  .astr-card-grid {
    grid-template-columns: 1fr;
  }

  .astr-hero-content h1 {
    font-size: 1.5rem;
  }

  .astr-hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .astr-module-hero {
    min-height: 450px;
  }

  .astr-form-selector {
    padding: 20px;
  }

  .astr-lucky-ball {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .astr-tarot-flipper {
    width: 180px;
    height: 270px;
  }
}
