/* ============================================
   圣堂暗金/鎏金神圣尊贵感前端界面样式系统
   基于设计风格文档，打造极致奢华的神圣体验
   ============================================ */

/* ========== 一、神圣颜色变量系统 ========== */
:root {
  /* 核心神圣色 */
  --holy-black: #0A0A0A;              /* 圣堂深夜 */
  --sacred-gold: #B8860B;             /* 圣金 */
  --divine-gold: #FFD700;             /* 神金（高光） */
  --holy-white: #F8F8FF;               /* 圣光白 */
  --holy-silver: #C0C0C0;             /* 圣银 */
  
  /* 彩绘玻璃色 - 奢华深蓝金色主题 */
  --stained-glass-blue: #1a4d7a;      /* 奢华深蓝金色 - 与主题协调 */
  --stained-glass-blue-light: #2d6fa3;  /* 浅蓝金色 */
  --stained-glass-blue-dark: #0d2d4a;  /* 深蓝金色 */
  --stained-glass-blue-gold: linear-gradient(135deg, #1a4d7a 0%, #2d6fa3 50%, #B8860B 100%); /* 深蓝到金色渐变 */
  --stained-glass-red: #8B0000;       /* 彩绘玻璃红 */
  --stained-glass-purple: #4B0082;    /* 彩绘玻璃紫 */
  --stained-glass-green: #006400;      /* 彩绘玻璃绿 */
  
  /* 材质色 */
  --marble-light: #F5F5F5;            /* 大理石浅 */
  --marble-dark: #D4D4D4;              /* 大理石深 */
  --angel-feather: #FFF5EE;            /* 天使羽白 */
  --parchment: #F5E3B8;                /* 羊皮纸 */
  --parchment-dark: #E6D3A7;           /* 羊皮纸深 */
  
  /* 渐变组合 */
  --gradient-holy: linear-gradient(135deg, var(--holy-black) 0%, #1a1a2e 50%, #16213e 100%);
  --gradient-gold: linear-gradient(145deg, var(--sacred-gold), var(--divine-gold), var(--sacred-gold));
  --gradient-gold-vertical: linear-gradient(to bottom, var(--sacred-gold), var(--divine-gold), var(--sacred-gold));
  --gradient-sacred: linear-gradient(145deg, rgba(184, 134, 11, 0.2), rgba(139, 0, 0, 0.1));
  
  /* 阴影系统 */
  --shadow-holy: 0 0 15px rgba(184, 134, 11, 0.3);
  --shadow-divine: 0 0 25px rgba(255, 215, 0, 0.5);
  --shadow-sacred: 0 0 30px rgba(255, 215, 0, 0.7);
  --shadow-inset-gold: inset 0 0 20px rgba(255, 215, 0, 0.1);
  
  /* 字体系统 */
  --font-title: 'Cinzel', 'Trajan Pro', 'Palatino Linotype', serif;
  --font-body: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  --font-chinese: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
}

/* ========== 二、基础重置与全局样式 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body), var(--font-chinese);
  background: var(--gradient-holy);
  color: var(--holy-white);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ========== 三、神圣背景生成器 ========== */
.holy-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    /* 基础渐变 */
    var(--gradient-holy),
    /* 大理石纹理 */
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230a0a0a' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E"),
    /* 圣光照射效果 */
    radial-gradient(ellipse at top left, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(184, 134, 11, 0.1) 0%, transparent 50%);
  background-blend-mode: overlay, normal, screen, screen;
  background-size: 100% 100%, 200px 200px, 100% 100%, 100% 100%;
  background-attachment: fixed;
}

/* 圣光粒子动画层 */
.holy-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(1px 1px at 20% 30%, rgba(255, 215, 0, 0.8) 1px, transparent 2px),
    radial-gradient(1px 1px at 40% 70%, rgba(255, 215, 0, 0.6) 1px, transparent 2px),
    radial-gradient(1.5px 1.5px at 60% 20%, rgba(255, 215, 0, 0.7) 2px, transparent 3px),
    radial-gradient(2px 2px at 80% 50%, rgba(255, 215, 0, 0.5) 2px, transparent 3px),
    radial-gradient(1px 1px at 10% 80%, rgba(255, 215, 0, 0.6) 1px, transparent 2px),
    radial-gradient(1.5px 1.5px at 90% 10%, rgba(255, 215, 0, 0.5) 2px, transparent 3px);
  background-size: 200px 200px, 300px 300px, 400px 400px, 500px 500px, 600px 600px, 350px 350px;
  animation: holyParticles 20s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes holyParticles {
  0% { 
    background-position: 0px 0px, 0px 0px, 0px 0px, 0px 0px, 0px 0px, 0px 0px; 
  }
  100% { 
    background-position: 200px 200px, 300px 300px, 400px 400px, 500px 500px, 600px 600px, 350px 350px; 
  }
}

/* ========== 四、容器与布局 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  position: relative;
  z-index: 1;
}

/* ========== 五、神圣头部样式 ========== */
.header {
  text-align: center;
  padding: 48px 24px;
  background: 
    linear-gradient(135deg, rgba(184, 134, 11, 0.15) 0%, rgba(255, 215, 0, 0.1) 50%, rgba(184, 134, 11, 0.15) 100%),
    radial-gradient(ellipse at center, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
  border: 2px solid transparent;
  border-image: var(--gradient-gold) 1;
  border-radius: 16px;
  margin-bottom: 32px;
  box-shadow: 
    var(--shadow-holy),
    var(--shadow-inset-gold),
    0 0 0 1px rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  animation: holyRotate 20s linear infinite;
  pointer-events: none;
}

@keyframes holyRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.header h1 {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 900;
  color: var(--divine-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: 
    0 0 10px rgba(255, 215, 0, 0.8),
    0 0 20px rgba(255, 215, 0, 0.5),
    0 0 30px rgba(255, 215, 0, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 4px 8px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--holy-white);
  opacity: 0.95;
  position: relative;
  z-index: 2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== 六、神圣按钮系统 ========== */
/* 圣盾按钮 */
.holy-button,
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--divine-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: var(--gradient-sacred);
  border: 2px solid transparent;
  border-image: var(--gradient-gold) 1;
  border-radius: 8px;
  clip-path: polygon(10% 0%, 90% 0%, 100% 25%, 100% 75%, 90% 100%, 10% 100%, 0% 75%, 0% 25%);
  box-shadow: 
    var(--shadow-holy),
    var(--shadow-inset-gold),
    0 0 0 1px rgba(255, 215, 0, 0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  text-decoration: none;
}

.holy-button::before,
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
  transition: left 0.7s ease;
  z-index: 1;
}

.holy-button:hover,
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    var(--shadow-divine),
    var(--shadow-inset-gold),
    0 0 0 2px rgba(255, 215, 0, 0.4);
  color: #FFF;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.holy-button:hover::before,
.btn-primary:hover::before {
  left: 100%;
}

.holy-button:active,
.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 
    0 0 10px rgba(184, 134, 11, 0.3),
    inset 0 0 15px rgba(139, 0, 0, 0.2);
}

.holy-button .icon,
.btn-primary .icon {
  margin-right: 10px;
  font-size: 1.3rem;
  filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.7));
  position: relative;
  z-index: 2;
}

.holy-button > *,
.btn-primary > * {
  position: relative;
  z-index: 2;
}

/* 次要按钮 */
.btn-secondary {
  background: linear-gradient(145deg, rgba(192, 192, 192, 0.2), rgba(139, 0, 0, 0.1));
  border-image: linear-gradient(45deg, var(--holy-silver), var(--divine-gold), var(--holy-silver)) 1;
  color: var(--holy-white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--sacred-gold);
  color: var(--sacred-gold);
  clip-path: none;
}

.btn-outline:hover {
  background: rgba(184, 134, 11, 0.1);
  border-color: var(--divine-gold);
  color: var(--divine-gold);
}

/* 按钮禁用状态 */
.btn:disabled,
.holy-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  filter: grayscale(0.5);
}

/* ========== 七、神圣卡片系统 ========== */
.section,
.org-card {
  position: relative;
  background: 
    linear-gradient(145deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  border: 2px solid transparent;
  border-image: linear-gradient(to bottom, var(--sacred-gold), transparent, var(--sacred-gold)) 1 100%;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 0 30px rgba(184, 134, 11, 0.1),
    0 0 0 1px rgba(255, 215, 0, 0.1);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.section p,
.section span,
.section div,
.section li,
.org-card p,
.org-card span,
.org-card div,
.org-card li {
  font-weight: 400;
  color: rgba(248, 248, 255, 0.9);
}

.section::before,
.org-card::before {
  content: '⚜';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--divine-gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
  z-index: 2;
  opacity: 0.8;
}

.section:hover,
.org-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.5),
    inset 0 0 40px rgba(255, 215, 0, 0.15),
    0 0 0 1px rgba(255, 215, 0, 0.2);
  border-image: var(--gradient-gold-vertical) 1 100%;
}

.section h2,
.section h3,
.org-card-title {
  font-family: var(--font-title);
  color: var(--divine-gold);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 
    0 0 10px rgba(255, 215, 0, 0.7),
    0 0 20px rgba(255, 215, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 卷轴样式卡片 */
.scroll-card {
  background: 
    linear-gradient(to bottom, var(--parchment) 0%, var(--parchment-dark) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(139, 0, 0, 0.1) 30px);
  padding: 30px;
  border-radius: 0 20px 20px 0;
  box-shadow: 
    5px 5px 15px rgba(0, 0, 0, 0.5),
    inset 0 0 30px rgba(139, 0, 0, 0.1);
  border-left: 15px solid var(--sacred-gold);
  color: #5D4037;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
  position: relative;
}

.scroll-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to right, var(--sacred-gold), #8B4513, var(--sacred-gold));
  clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.scroll-card::after {
  content: '';
  position: absolute;
  top: 10px;
  left: -10px;
  width: 20px;
  height: calc(100% - 20px);
  background: linear-gradient(to bottom, #8B4513, #A0522D, #8B4513);
  border-radius: 3px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

.scroll-card:hover {
  transform: perspective(1000px) rotateY(-5deg) translateX(-5px);
}

/* 圣碑样式卡片 */
.stela-card {
  background: 
    linear-gradient(145deg, #2c2c2c, #1a1a1a),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 25px;
  border: 2px solid transparent;
  border-image: linear-gradient(to bottom, var(--sacred-gold), transparent, var(--sacred-gold)) 1 100%;
  position: relative;
  color: var(--holy-white);
  text-align: center;
  font-family: var(--font-title);
}

.stela-card::before {
  content: '⚜';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--divine-gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
  z-index: 2;
}

.stela-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--divine-gold), transparent);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ========== 八、表单元素神圣样式 ========== */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--divine-gold);
  font-size: 17px;
  text-shadow: 
    0 0 8px rgba(255, 215, 0, 0.6),
    0 0 16px rgba(255, 215, 0, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.8),
    0 2px 4px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hint {
  font-size: 15px;
  font-weight: 400;
  color: rgba(248, 248, 255, 0.85);
  margin-bottom: 8px;
  font-style: normal;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.input-field,
textarea.input-field {
  width: 100%;
  padding: 14px 18px;
  background: 
    linear-gradient(145deg, rgba(26, 26, 46, 0.85), rgba(22, 33, 62, 0.85)),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v22H20v-1.5z'/%3E%3C/g%3E%3C/svg%3E");
  border: 2px solid rgba(184, 134, 11, 0.4);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  color: var(--holy-white);
  transition: all 0.4s ease;
  font-family: var(--font-body), var(--font-chinese);
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 215, 0, 0.15);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.input-field::placeholder,
textarea.input-field::placeholder {
  color: rgba(248, 248, 255, 0.5);
  font-style: italic;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.input-field:focus,
textarea.input-field:focus {
  outline: none;
  border-color: var(--divine-gold);
  box-shadow: 
    0 0 15px rgba(255, 215, 0, 0.3),
    inset 0 2px 4px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(255, 215, 0, 0.2);
  background: 
    linear-gradient(145deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95)),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v22H20v-1.5z'/%3E%3C/g%3E%3C/svg%3E");
}

/* 输入框聚焦时的羽毛飘落效果 */
.input-field:focus::after {
  content: '✨';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  animation: featherFall 2s ease-out forwards;
  pointer-events: none;
}

.textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

select.input-field {
  cursor: pointer;
  appearance: none;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFD700' d='M6 9L1 4h10z'/%3E%3C/svg%3E"),
    linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.8));
  background-repeat: no-repeat;
  background-position: right 12px center, center;
  padding-right: 40px;
}

/* ========== 九、神圣动画库 ========== */
/* 圣光爆发动画 */
@keyframes holyBlast {
  0% {
    transform: scale(0);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
  }
  70% {
    transform: scale(2);
    opacity: 0.7;
    box-shadow: 0 0 0 20px rgba(255, 215, 0, 0);
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
    box-shadow: 0 0 0 40px rgba(255, 215, 0, 0);
  }
}

.holy-blast {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--divine-gold) 0%, transparent 70%);
  animation: holyBlast 1s ease-out;
  pointer-events: none;
  z-index: 1000;
}

/* 金字浮现动画 */
@keyframes goldenTextReveal {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.golden-text {
  background: linear-gradient(90deg, 
    var(--sacred-gold) 0%, 
    var(--divine-gold) 25%, 
    var(--holy-white) 50%, 
    var(--divine-gold) 75%, 
    var(--sacred-gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldenTextReveal 3s ease-in-out infinite;
  font-weight: bold;
}

/* 羽毛飘落动画 */
.feather-fall {
  position: fixed;
  top: -50px;
  width: 30px;
  height: 15px;
  background: linear-gradient(135deg, var(--angel-feather) 0%, #E6D3A7 100%);
  clip-path: polygon(0% 20%, 50% 0%, 100% 20%, 80% 50%, 100% 80%, 50% 100%, 0% 80%, 20% 50%);
  opacity: 0.7;
  animation: featherFall linear forwards;
  pointer-events: none;
  z-index: 999;
}

@keyframes featherFall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* 圣光扫描动画 */
@keyframes holyScan {
  0% {
    height: 0;
    opacity: 0;
  }
  10% {
    height: 100%;
    opacity: 0.8;
  }
  90% {
    height: 100%;
    opacity: 0.8;
  }
  100% {
    height: 0;
    opacity: 0;
  }
}

.holy-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(255, 215, 0, 0.3) 50%, 
    transparent 100%);
  animation: holyScan 2s ease-out;
  pointer-events: none;
  z-index: 10;
}

/* 页面进入动画 */
@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-enter {
  animation: pageEnter 0.6s ease-out;
}

/* ========== 十、导航面板神圣样式 ========== */
.navigation-panel {
  background: 
    linear-gradient(180deg, rgba(26, 26, 46, 0.98), rgba(22, 33, 62, 0.98)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  border-right: 2px solid rgba(184, 134, 11, 0.3);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

.nav-panel-header h3 {
  color: var(--divine-gold);
  font-size: 20px;
  font-weight: 700;
  text-shadow: 
    0 0 10px rgba(255, 215, 0, 0.7),
    0 0 20px rgba(255, 215, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6);
  font-family: var(--font-title);
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-menu-item {
  border-left: 3px solid transparent;
  color: rgba(248, 248, 255, 0.9);
  font-weight: 400;
  transition: all 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-menu-item:hover {
  background: rgba(255, 215, 0, 0.1);
  border-left-color: var(--divine-gold);
  color: var(--divine-gold);
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.nav-menu-item.active {
  background: rgba(184, 134, 11, 0.25);
  border-left-color: var(--divine-gold);
  color: var(--divine-gold);
  font-weight: 700;
  box-shadow: inset 0 0 15px rgba(255, 215, 0, 0.15);
  text-shadow: 
    0 0 8px rgba(255, 215, 0, 0.7),
    0 0 16px rgba(255, 215, 0, 0.4),
    0 1px 2px rgba(0, 0, 0, 0.8),
    0 2px 4px rgba(0, 0, 0, 0.6);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.menu-toggle-btn {
  background: 
    linear-gradient(145deg, rgba(184, 134, 11, 0.3), rgba(139, 0, 0, 0.2));
  border: 2px solid rgba(184, 134, 11, 0.5);
  color: var(--divine-gold);
  box-shadow: 
    var(--shadow-holy),
    0 0 0 1px rgba(255, 215, 0, 0.2);
}

.menu-toggle-btn:hover {
  background: 
    linear-gradient(145deg, rgba(184, 134, 11, 0.4), rgba(139, 0, 0, 0.3));
  border-color: var(--divine-gold);
  box-shadow: var(--shadow-divine);
  transform: scale(1.1);
}

/* ========== 十一、支付信息样式 ========== */
.payment-info {
  background: 
    linear-gradient(145deg, rgba(26, 26, 46, 0.6), rgba(22, 33, 62, 0.6));
  border: 1px solid rgba(184, 134, 11, 0.3);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 20px rgba(184, 134, 11, 0.1);
}

.payment-info p,
.payment-info span,
.payment-info div {
  font-weight: 400;
}

.payment-info .info-row span:first-child {
  font-weight: 400;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(184, 134, 11, 0.2);
  color: var(--holy-white);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span:first-child {
  color: rgba(248, 248, 255, 0.85);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.info-row span:last-child:not(.amount) {
  font-weight: normal;
  color: var(--holy-white);
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.amount {
  color: var(--divine-gold);
  font-size: 26px;
  font-weight: 800;
  text-shadow: 
    0 0 12px rgba(255, 215, 0, 0.8),
    0 0 24px rgba(255, 215, 0, 0.5),
    0 0 36px rgba(255, 215, 0, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 4px 8px rgba(0, 0, 0, 0.7);
  font-family: var(--font-title);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== 十二、二维码容器神圣样式 ========== */
.qr-code-container {
  text-align: center;
  padding: 32px;
  background: 
    linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.8));
  border: 2px solid rgba(184, 134, 11, 0.3);
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 0 30px rgba(184, 134, 11, 0.1);
  position: relative;
}

.qr-code-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-gold);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.3;
  animation: holyGlow 3s ease-in-out infinite;
}

@keyframes holyGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.qr-code-container h3 {
  color: var(--divine-gold);
  font-family: var(--font-title);
  margin-bottom: 24px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.qr-code {
  width: 280px;
  height: 280px;
  margin: 0 auto 20px;
  background: white;
  border: 3px solid var(--divine-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 
    0 0 20px rgba(255, 215, 0, 0.4),
    inset 0 0 20px rgba(184, 134, 11, 0.1);
  position: relative;
}

.qr-code::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: var(--gradient-gold);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.5;
  animation: qrGlow 2s ease-in-out infinite;
}

@keyframes qrGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.02); }
}

.qr-hint {
  color: rgba(248, 248, 255, 0.9);
  font-size: 16px;
  font-style: normal;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== 十三、成功界面神圣样式 ========== */
.success-content {
  text-align: center;
  padding: 32px;
}

.success-icon {
  font-size: 80px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.success-content h2 {
  color: var(--divine-gold);
  font-family: var(--font-title);
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 32px;
  text-shadow: 
    0 0 15px rgba(255, 215, 0, 0.8),
    0 0 30px rgba(255, 215, 0, 0.5),
    0 0 45px rgba(255, 215, 0, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 4px 8px rgba(0, 0, 0, 0.7);
  letter-spacing: 2px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.success-info {
  background: 
    linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.8));
  border: 1px solid rgba(184, 134, 11, 0.3);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: left;
  box-shadow: inset 0 0 20px rgba(184, 134, 11, 0.1);
}

.success-info p,
.success-info span,
.success-info div {
  font-weight: 400;
  color: rgba(248, 248, 255, 0.9);
}

.success-info .info-row span:first-child {
  font-weight: 400;
}

.success-note {
  color: var(--divine-gold);
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 32px;
  padding: 16px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 8px;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== 十四、查询结果神圣样式 ========== */
.query-result {
  margin-top: 24px;
  padding: 24px;
  background: 
    linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.8));
  border-radius: 12px;
  border-left: 4px solid var(--divine-gold);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 0 20px rgba(184, 134, 11, 0.1);
}

.query-result p,
.query-result div,
.query-result .info-row span:first-child {
  font-weight: 400;
}

.query-result.error {
  border-left-color: var(--stained-glass-red);
  background: 
    linear-gradient(145deg, rgba(139, 0, 0, 0.2), rgba(22, 33, 62, 0.8));
}

/* 奢华深蓝金色元素增强 */
.query-result:not(.error) {
  border-left-color: var(--stained-glass-blue);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 0 20px rgba(26, 77, 122, 0.1),
    0 0 10px rgba(184, 134, 11, 0.2);
}

.query-result h4 {
  color: var(--divine-gold);
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 
    0 0 10px rgba(255, 215, 0, 0.7),
    0 0 20px rgba(255, 215, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== 十五、联系信息神圣样式 ========== */
.contact-info {
  background: 
    linear-gradient(145deg, rgba(26, 26, 46, 0.6), rgba(22, 33, 62, 0.6));
  border: 1px solid rgba(184, 134, 11, 0.3);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 20px rgba(184, 134, 11, 0.1);
}

.contact-info p {
  margin-bottom: 12px;
  color: rgba(248, 248, 255, 0.9);
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.contact-info strong {
  color: var(--divine-gold);
  text-shadow: 
    0 0 8px rgba(255, 215, 0, 0.7),
    0 0 16px rgba(255, 215, 0, 0.4),
    0 1px 2px rgba(0, 0, 0, 0.8),
    0 2px 4px rgba(0, 0, 0, 0.6);
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== 十六、消息提示神圣样式 ========== */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: 
    linear-gradient(145deg, rgba(26, 26, 46, 0.98), rgba(22, 33, 62, 0.98));
  color: var(--holy-white);
  padding: 16px 32px;
  border: 2px solid var(--divine-gold);
  border-radius: 12px;
  font-size: 16px;
  font-weight: normal;
  z-index: 10000;
  animation: slideDown 0.4s ease;
  box-shadow: 
    var(--shadow-divine),
    0 4px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.toast.success {
  border-color: #34C759;
  background: 
    linear-gradient(145deg, rgba(52, 199, 89, 0.2), rgba(26, 26, 46, 0.95));
}

.toast.error {
  border-color: var(--stained-glass-red);
  background: 
    linear-gradient(145deg, rgba(139, 0, 0, 0.2), rgba(26, 26, 46, 0.95));
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ========== 十七、底部神圣样式 ========== */
.footer {
  text-align: center;
  padding: 32px 24px;
  color: rgba(248, 248, 255, 0.75);
  font-size: 14px;
  font-weight: 400;
  margin-top: 48px;
  border-top: 1px solid rgba(184, 134, 11, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.footer a {
  color: rgba(248, 248, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--divine-gold);
  text-decoration: underline;
}

/* ========== 十八、加载动画神圣样式 ========== */
.loading {
  color: var(--divine-gold);
  font-size: 16px;
  font-weight: normal;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 215, 0, 0.3);
  border-top-color: var(--divine-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 215, 0, 0.3);
  border-top-color: var(--divine-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* ========== 十九、隐藏类 ========== */
.hidden {
  display: none !important;
}

/* ========== 二十、响应式设计 ========== */
@media (max-width: 768px) {
  .container {
    padding: 16px;
  }

  .section,
  .org-card {
    padding: 20px;
  }

  .header h1 {
    font-size: 28px;
  }

  .subtitle {
    font-size: 16px;
  }

  .holy-button,
  .btn-primary {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .qr-code {
    width: 220px;
    height: 220px;
  }

  .navigation-panel {
    width: 260px;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 24px;
  }

  .holy-button,
  .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .qr-code {
    width: 200px;
    height: 200px;
  }
}

/* ========== 二十一、工具类 ========== */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ========== 二十二、页面进入效果 ========== */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(255, 215, 0, 0.2) 50%, 
    transparent 100%);
  animation: holyScan 2s ease-out;
  pointer-events: none;
  z-index: 9999;
}





