/* ============================================
   魔幻学院 - 哥特式彩窗布局主样式表
   Gothic Stained Glass Layout - Magic Academy
   ============================================ */

/* --- 自定义字体 --- */
@font-face {
  font-family: 'Lumos';
  src: local('Georgia');
  font-display: swap;
}

/* --- CSS变量 --- */
:root {
  --magic-purple: #8A2BE2;
  --parchment-yellow: #FFF8DC;
  --gem-blue: #4169E1;
  --castle-gray: #2F4F4F;
  --dark-bg: #1a1a2e;
  --gold: #FFD700;
  --deep-purple: #4B0082;
  --blood-red: #8B0000;
  --emerald: #2E8B57;
  --bronze: #CD7F32;
  --silver: #C0C0C0;
  --shadow-dark: rgba(0,0,0,0.6);
  --glow-purple: rgba(138,43,226,0.4);
  --glow-blue: rgba(65,105,225,0.3);
  --glow-gold: rgba(255,215,0,0.3);
}

/* --- 全局重置 --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
  background-color: var(--castle-gray);
  color: var(--parchment-yellow);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- 魔法背景纹理 --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, var(--glow-purple) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, var(--glow-blue) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, var(--glow-gold) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* --- 干扰标签 --- */
.jammer-block {
  display: none !important;
  visibility: hidden;
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
}

/* --- 容器 --- */
.magic-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* --- 导航栏 (非Sticky) --- */
.magic-nav {
  background: linear-gradient(180deg, #1a0a2e 0%, var(--castle-gray) 100%);
  border-bottom: 2px solid var(--magic-purple);
  padding: 15px 0;
  position: relative;
  z-index: 100;
}

.magic-nav .magic-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--gold);
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-logo-text {
  font-family: 'Lumos', 'Georgia', serif;
  font-size: 1.4rem;
  color: var(--gold);
  text-shadow: 0 0 10px var(--glow-gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links li a {
  color: var(--parchment-yellow);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold);
  border-color: var(--magic-purple);
  background: rgba(138,43,226,0.15);
  text-shadow: 0 0 8px var(--glow-purple);
}

/* 移动端汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- 哥特式彩窗模块 --- */
.gothic-section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.gothic-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--magic-purple), var(--gold), var(--magic-purple), transparent);
}

.gothic-section:first-of-type::before {
  display: none;
}

/* --- 彩窗卡片 --- */
.stained-glass-card {
  background: linear-gradient(135deg, rgba(26,10,46,0.9) 0%, rgba(47,79,79,0.8) 100%);
  border: 1px solid rgba(138,43,226,0.3);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.stained-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--magic-purple), var(--gem-blue), var(--gold), var(--magic-purple));
}

.stained-glass-card:hover {
  border-color: var(--magic-purple);
  box-shadow: 0 0 30px var(--glow-purple), 0 0 60px rgba(138,43,226,0.1);
  transform: translateY(-3px);
}

/* --- 标题样式 --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lumos', 'Georgia', serif;
  color: var(--gold);
  text-shadow: 0 0 10px var(--glow-gold);
  line-height: 1.4;
}

h1 { font-size: 2.2rem; margin-bottom: 20px; }
h2 { font-size: 1.8rem; margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 15px; }
h4 { font-size: 1.3rem; margin-bottom: 12px; }
h5 { font-size: 1.1rem; margin-bottom: 10px; }

p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--parchment-yellow);
  opacity: 0.95;
}

a {
  color: var(--gem-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold);
  text-shadow: 0 0 8px var(--glow-gold);
}

/* --- 英雄区域 --- */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  background: linear-gradient(180deg, #0d0221 0%, var(--castle-gray) 100%);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  animation: glowPulse 3s ease-in-out infinite;
}

.hero-slogan {
  font-size: 1.3rem;
  color: var(--parchment-yellow);
  margin-bottom: 30px;
  font-style: italic;
  opacity: 0.9;
}

/* --- 魔法书动画 --- */
.magic-book-container {
  perspective: 1000px;
  margin: 40px auto;
  max-width: 500px;
}

.magic-book {
  width: 300px;
  height: 200px;
  margin: 0 auto;
  position: relative;
  animation: bookFloat 4s ease-in-out infinite;
}

.book-page {
  background: linear-gradient(135deg, #f5e6c8 0%, #e8d5a3 100%);
  border-radius: 5px;
  padding: 30px;
  color: var(--castle-gray);
  font-style: italic;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.book-page::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 28px,
    rgba(139,69,19,0.1) 28px,
    rgba(139,69,19,0.1) 29px
  );
  pointer-events: none;
}

/* --- 分院卡片网格 --- */
.house-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.house-card {
  background: linear-gradient(135deg, rgba(26,10,46,0.95) 0%, rgba(47,79,79,0.85) 100%);
  border: 2px solid;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.house-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.house-card:hover::after {
  opacity: 1;
}

.house-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.house-gryffindor { border-color: #8B0000; }
.house-gryffindor:hover { box-shadow: 0 15px 40px rgba(139,0,0,0.3); }
.house-slytherin { border-color: #2E8B57; }
.house-slytherin:hover { box-shadow: 0 15px 40px rgba(46,139,87,0.3); }
.house-ravenclaw { border-color: var(--gem-blue); }
.house-ravenclaw:hover { box-shadow: 0 15px 40px rgba(65,105,225,0.3); }
.house-hufflepuff { border-color: var(--gold); }
.house-hufflepuff:hover { box-shadow: 0 15px 40px rgba(255,215,0,0.3); }

.house-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.house-card h3 {
  margin-bottom: 10px;
}

.house-card p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* --- CTA按钮 --- */
.magic-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--magic-purple) 0%, var(--deep-purple) 100%);
  color: var(--parchment-yellow);
  border: 2px solid var(--gold);
  border-radius: 8px;
  font-family: 'Lumos', 'Georgia', serif;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.magic-btn:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--bronze) 100%);
  color: var(--dark-bg);
  box-shadow: 0 0 20px var(--glow-gold);
  transform: translateY(-2px);
}

.magic-btn-secondary {
  background: transparent;
  border: 2px solid var(--magic-purple);
}

.magic-btn-secondary:hover {
  background: var(--magic-purple);
  color: white;
}

/* --- 新闻/文章卡片 --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.news-card {
  background: rgba(26,10,46,0.8);
  border: 1px solid rgba(138,43,226,0.2);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-card:hover {
  border-color: var(--magic-purple);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body {
  padding: 20px;
}

.news-card-body h4 {
  margin-bottom: 10px;
}

.news-card-body p {
  font-size: 0.95rem;
  opacity: 0.8;
}

.news-date {
  font-size: 0.85rem;
  color: var(--gem-blue);
  margin-bottom: 8px;
}

/* --- FAQ手风琴 --- */
.faq-item {
  background: rgba(26,10,46,0.7);
  border: 1px solid rgba(138,43,226,0.2);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Lumos', 'Georgia', serif;
  font-size: 1.1rem;
  color: var(--gold);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(138,43,226,0.1);
}

.faq-question::after {
  content: '✦';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--magic-purple);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 18px;
}

/* --- 图片画廊 --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(138,43,226,0.2);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  border-color: var(--gold);
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* --- 下载页面 --- */
.letter-container {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f5e6c8 0%, #e8d5a3 100%);
  color: var(--castle-gray);
  border-radius: 15px;
  padding: 50px 40px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.letter-container::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #8B0000 0%, #4B0000 100%);
  border-radius: 50%;
  border: 3px solid var(--gold);
}

.letter-container h2,
.letter-container h3,
.letter-container h4 {
  color: var(--castle-gray);
  text-shadow: none;
}

.letter-container p {
  color: #333;
}

.download-qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
  text-align: center;
}

.qr-card {
  padding: 20px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  background: rgba(255,255,255,0.5);
}

.qr-card img {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
}

/* --- 步骤指南 --- */
.step-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
}

.step-item {
  counter-increment: step-counter;
  padding: 20px 20px 20px 70px;
  position: relative;
  margin-bottom: 15px;
  border-left: 2px solid var(--magic-purple);
}

.step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: -18px;
  top: 18px;
  width: 36px;
  height: 36px;
  background: var(--magic-purple);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

/* --- 页脚 --- */
.magic-footer {
  background: linear-gradient(180deg, var(--castle-gray) 0%, #0d0221 100%);
  border-top: 2px solid var(--magic-purple);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(138,43,226,0.3);
  padding-bottom: 8px;
}

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

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

.footer-col ul li a {
  color: var(--parchment-yellow);
  opacity: 0.8;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--gold);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--magic-purple);
  border-radius: 50%;
  color: var(--parchment-yellow);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--magic-purple);
  color: white;
  box-shadow: 0 0 15px var(--glow-purple);
}

.footer-bottom {
  border-top: 1px solid rgba(138,43,226,0.2);
  padding-top: 25px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 8px;
}

.footer-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.footer-badges img {
  height: 35px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-badges img:hover {
  opacity: 1;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--magic-purple);
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--gold);
  background: radial-gradient(circle, rgba(138,43,226,0.2) 0%, transparent 70%);
}

.license-info {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 10px;
}

/* --- 面包屑导航 --- */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.breadcrumb a {
  color: var(--gem-blue);
}

.breadcrumb span {
  color: var(--parchment-yellow);
  margin: 0 8px;
}

/* --- 内页头部 --- */
.page-hero {
  padding: 80px 20px 60px;
  text-align: center;
  background: linear-gradient(180deg, #0d0221 0%, var(--castle-gray) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--magic-purple), var(--gold), var(--gem-blue), var(--magic-purple));
}

/* --- 内容区域 --- */
.content-area {
  padding: 40px 0;
}

.content-area article {
  max-width: 900px;
  margin: 0 auto;
}

.content-area article p {
  text-indent: 2em;
  margin-bottom: 18px;
}

.content-area article img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
  border: 2px solid rgba(138,43,226,0.2);
}

/* --- 教授笔记 --- */
.professor-note {
  background: linear-gradient(135deg, rgba(75,0,130,0.2) 0%, rgba(26,10,46,0.6) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 25px 30px;
  margin: 30px 0;
  font-style: italic;
}

.professor-note h4 {
  font-style: normal;
  margin-bottom: 12px;
}

/* --- 传奇毕业生 --- */
.legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 25px 0;
}

.legend-card {
  background: rgba(26,10,46,0.8);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.legend-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.legend-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin-bottom: 15px;
  object-fit: cover;
}

/* --- 魔法准则 --- */
.magic-rules {
  background: linear-gradient(135deg, rgba(139,0,0,0.1) 0%, rgba(26,10,46,0.6) 100%);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
}

.magic-rules h4 {
  text-align: center;
  margin-bottom: 20px;
}

.magic-rules ol {
  padding-left: 25px;
}

.magic-rules ol li {
  margin-bottom: 12px;
  padding-left: 10px;
  color: var(--parchment-yellow);
}

/* --- 动画关键帧 --- */
@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 10px var(--glow-gold); }
  50% { text-shadow: 0 0 30px var(--glow-gold), 0 0 60px rgba(255,215,0,0.2); }
}

@keyframes bookFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes runeFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

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

/* --- 魔法粒子 --- */
.magic-particle {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: particleFloat linear infinite;
  box-shadow: 0 0 6px var(--glow-gold);
}

/* --- 响应式设计 (移动端优先) --- */
@media (max-width: 768px) {
  html { font-size: 15px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #1a0a2e 0%, var(--castle-gray) 100%);
    border: 1px solid var(--magic-purple);
    border-radius: 0 0 12px 12px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }

  .hero-section {
    min-height: 60vh;
    padding: 60px 15px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .house-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

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

  .stained-glass-card {
    padding: 20px;
  }

  .download-qr-grid {
    grid-template-columns: 1fr;
  }

  .letter-container {
    padding: 40px 25px;
  }

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

  .legend-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html { font-size: 14px; }

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .magic-container {
    padding: 0 12px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .house-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- 辅助类 --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-purple { color: var(--magic-purple); }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

/* --- 滚动显示动画 --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 表格样式 --- */
.magic-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.magic-table th,
.magic-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(138,43,226,0.2);
}

.magic-table th {
  background: rgba(138,43,226,0.2);
  color: var(--gold);
  font-family: 'Lumos', 'Georgia', serif;
}

.magic-table tr:hover {
  background: rgba(138,43,226,0.05);
}

/* --- 支付图标 --- */
.payment-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}

.payment-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border: 1px solid rgba(138,43,226,0.3);
  border-radius: 5px;
  font-size: 0.85rem;
  color: var(--parchment-yellow);
  opacity: 0.7;
}

/* --- 彩票信息 --- */
.lottery-info {
  background: rgba(65,105,225,0.1);
  border: 1px solid rgba(65,105,225,0.3);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

.lottery-info h5 {
  color: var(--gem-blue);
}
