/* ============================================
   尊龙凯时·冰火战歌 - 冰火双元素风格主样式表
   ============================================ */

/* --- 字体定义 --- */
@font-face {
  font-family: 'Righteous';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Righteous'), url('../fonts/Righteous-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Exo 2'), url('../fonts/Exo2-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Exo 2 Bold'), url('../fonts/Exo2-Bold.ttf') format('truetype');
}

/* --- CSS变量 --- */
:root {
  --abyss-black: #1a1a2e;
  --ice-blue: #b3e5fc;
  --flame-red: #d32f2f;
  --lava-orange: #ff6f00;
  --glacier-white: #e1f5fe;
  --ice-blue-dark: #4fc3f7;
  --flame-red-light: #ef5350;
  --obsidian: #0d0d1a;
  --gold-accent: #ffd700;
  --font-title: 'Righteous', 'Microsoft YaHei', sans-serif;
  --font-body: 'Exo 2', 'Microsoft YaHei', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--abyss-black);
  color: var(--glacier-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--lava-orange);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

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

/* --- 冰火交界线背景 --- */
.ice-fire-boundary-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(135deg, rgba(26,26,46,1) 0%, rgba(13,13,26,1) 50%, rgba(26,26,46,1) 100%);
}

.ice-fire-boundary-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(79,195,247,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.ice-fire-boundary-bg::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(211,47,47,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* --- 导航栏 --- */
.elemental-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13,13,26,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(179,229,252,0.15);
  transition: all 0.3s ease;
}

.elemental-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 1px 0 rgba(211,47,47,0.2);
}

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

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  flex-wrap: wrap;
}

.nav-links li a {
  display: block;
  padding: 10px 14px;
  color: var(--glacier-white);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ice-blue), var(--flame-red));
  transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 80%;
}

.nav-links li a:hover {
  color: var(--lava-orange);
}

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

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--glacier-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 900px) {
  .mobile-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(13,13,26,0.98);
    flex-direction: column;
    padding: 10px 0;
    border-top: 1px solid rgba(179,229,252,0.1);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
}

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

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

.section-title-ice-fire h2 {
  font-size: 2rem;
  background: linear-gradient(90deg, var(--ice-blue), var(--glacier-white), var(--flame-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-title-ice-fire p {
  color: rgba(225,245,254,0.7);
  font-size: 1rem;
  margin-top: 10px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Hero视频模块 --- */
.hero-ice-fire {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero-ice-fire .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-ice-fire .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

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

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 0 0 30px rgba(179,229,252,0.5), 0 0 60px rgba(211,47,47,0.3);
}

.hero-content .slogan-rune {
  font-size: 1.3rem;
  color: var(--gold-accent);
  letter-spacing: 4px;
  margin-bottom: 30px;
  font-family: var(--font-title);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 30%, var(--abyss-black) 100%);
  z-index: 1;
}

/* --- CTA按钮 --- */
.lava-button {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--flame-red), var(--lava-orange));
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(211,47,47,0.4);
}

.lava-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255,111,0,0.6);
  color: #fff;
}

.lava-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,111,0,0.8), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.lava-button:hover::before {
  width: 300px;
  height: 300px;
}

.frost-button {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--ice-blue-dark), var(--ice-blue));
  color: var(--abyss-black);
  font-family: var(--font-title);
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(179,229,252,0.3);
}

.frost-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(179,229,252,0.5);
  color: var(--abyss-black);
}

/* --- 冰系卡片 --- */
.frost-card {
  background: linear-gradient(145deg, rgba(179,229,252,0.08), rgba(79,195,247,0.03));
  border: 1px solid rgba(179,229,252,0.2);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

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

.frost-card:hover {
  border-color: rgba(179,229,252,0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(179,229,252,0.15);
}

.frost-card:hover::before {
  opacity: 1;
}

/* --- 火系卡片 --- */
.fire-card {
  background: linear-gradient(145deg, rgba(211,47,47,0.08), rgba(255,111,0,0.03));
  border: 1px solid rgba(211,47,47,0.2);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.fire-card:hover {
  border-color: rgba(211,47,47,0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(211,47,47,0.15);
}

/* --- 评分条 --- */
.rating-bar-ice {
  height: 8px;
  background: rgba(179,229,252,0.15);
  border-radius: 4px;
  overflow: hidden;
  margin: 6px 0;
}

.rating-bar-ice .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ice-blue-dark), var(--ice-blue));
  border-radius: 4px;
  transition: width 1s ease;
}

.rating-bar-fire {
  height: 8px;
  background: rgba(211,47,47,0.15);
  border-radius: 4px;
  overflow: hidden;
  margin: 6px 0;
}

.rating-bar-fire .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--flame-red), var(--lava-orange));
  border-radius: 4px;
  transition: width 1s ease;
}

/* --- 平台评测卡片网格 --- */
.tribunal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.tribunal-card {
  background: linear-gradient(145deg, rgba(26,26,46,0.9), rgba(13,13,26,0.9));
  border: 1px solid rgba(179,229,252,0.1);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.4s ease;
}

.tribunal-card:hover {
  border-color: rgba(255,215,0,0.3);
  box-shadow: 0 0 20px rgba(255,215,0,0.1);
}

.tribunal-card .platform-name {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--gold-accent);
  margin-bottom: 10px;
}

.tribunal-card .balance-index {
  font-size: 2.5rem;
  font-family: var(--font-title);
  background: linear-gradient(90deg, var(--ice-blue), var(--flame-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tribunal-card .summary {
  font-size: 0.9rem;
  color: rgba(225,245,254,0.7);
  margin-top: 10px;
}

/* --- 战报模块 --- */
.arena-reports-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.battle-report-shard {
  background: linear-gradient(135deg, rgba(179,229,252,0.06), rgba(79,195,247,0.02));
  border: 1px solid rgba(179,229,252,0.12);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  flex-wrap: wrap;
  gap: 10px;
}

.battle-report-shard:hover {
  background: linear-gradient(135deg, rgba(179,229,252,0.12), rgba(79,195,247,0.06));
  border-color: rgba(179,229,252,0.3);
}

.battle-report-shard .teams {
  font-family: var(--font-title);
  font-size: 1rem;
}

.battle-report-shard .score {
  font-size: 1.4rem;
  font-family: var(--font-title);
  color: var(--lava-orange);
}

.battle-report-shard .date-tag {
  font-size: 0.8rem;
  color: rgba(225,245,254,0.5);
}

.battle-report-shard .comment {
  width: 100%;
  font-size: 0.85rem;
  color: rgba(225,245,254,0.6);
  font-style: italic;
  border-top: 1px solid rgba(179,229,252,0.08);
  padding-top: 8px;
  margin-top: 4px;
}

/* --- 六大神殿网格 --- */
.temples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.temple-card {
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.temple-card.ice-temple {
  background: linear-gradient(145deg, rgba(179,229,252,0.1), rgba(79,195,247,0.03));
  border: 1px solid rgba(179,229,252,0.2);
}

.temple-card.fire-temple {
  background: linear-gradient(145deg, rgba(211,47,47,0.1), rgba(255,111,0,0.03));
  border: 1px solid rgba(211,47,47,0.2);
}

.temple-card:hover {
  transform: translateY(-8px);
}

.temple-card.ice-temple:hover {
  box-shadow: 0 15px 40px rgba(179,229,252,0.2);
  border-color: rgba(179,229,252,0.4);
}

.temple-card.fire-temple:hover {
  box-shadow: 0 15px 40px rgba(211,47,47,0.2);
  border-color: rgba(211,47,47,0.4);
}

.temple-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.temple-card.ice-temple h3 {
  color: var(--ice-blue);
}

.temple-card.fire-temple h3 {
  color: var(--flame-red-light);
}

.temple-card p {
  font-size: 0.9rem;
  color: rgba(225,245,254,0.7);
}

/* --- 注册模块 --- */
.register-faction {
  text-align: center;
}

.faction-choices {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.faction-rune {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
  font-family: var(--font-title);
  font-size: 1.1rem;
}

.faction-rune.ice-rune {
  border: 2px solid var(--ice-blue);
  color: var(--ice-blue);
  background: rgba(179,229,252,0.05);
}

.faction-rune.fire-rune {
  border: 2px solid var(--flame-red);
  color: var(--flame-red);
  background: rgba(211,47,47,0.05);
}

.faction-rune:hover {
  transform: scale(1.1);
}

.faction-rune.ice-rune:hover {
  box-shadow: 0 0 30px rgba(179,229,252,0.4);
  background: rgba(179,229,252,0.1);
}

.faction-rune.fire-rune:hover {
  box-shadow: 0 0 30px rgba(211,47,47,0.4);
  background: rgba(211,47,47,0.1);
}

.register-form-wrap {
  max-width: 420px;
  margin: 0 auto;
  display: none;
}

.register-form-wrap.visible {
  display: block;
}

.register-form-wrap input {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(179,229,252,0.2);
  border-radius: 6px;
  color: var(--glacier-white);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s ease;
}

.register-form-wrap input:focus {
  border-color: var(--ice-blue);
}

.register-form-wrap.fire-theme input {
  border-color: rgba(211,47,47,0.3);
}

.register-form-wrap.fire-theme input:focus {
  border-color: var(--flame-red);
}

/* --- 创世传说 --- */
.legend-book {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.legend-book .book-text {
  flex: 1;
  min-width: 300px;
}

.legend-book .book-illustration {
  flex: 0 0 400px;
  max-width: 100%;
}

.legend-book .book-illustration img {
  border-radius: 12px;
  border: 1px solid rgba(179,229,252,0.15);
}

.legend-book .book-text h3 {
  color: var(--gold-accent);
  font-size: 1.2rem;
  margin-top: 20px;
}

.legend-book .book-text p {
  color: rgba(225,245,254,0.8);
  margin-bottom: 12px;
  text-indent: 2em;
}

/* --- 彩票开奖 --- */
.lottery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.lottery-item {
  background: linear-gradient(145deg, rgba(26,26,46,0.9), rgba(13,13,26,0.8));
  border: 1px solid rgba(255,111,0,0.15);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.lottery-item .lottery-name {
  font-family: var(--font-title);
  color: var(--gold-accent);
  font-size: 1rem;
  margin-bottom: 6px;
}

.lottery-item .lottery-period {
  font-size: 0.8rem;
  color: rgba(225,245,254,0.5);
  margin-bottom: 10px;
}

.lottery-numbers {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lottery-numbers .num-ball {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: bold;
}

.num-ball.ice {
  background: linear-gradient(135deg, var(--ice-blue-dark), var(--ice-blue));
  color: var(--abyss-black);
}

.num-ball.fire {
  background: linear-gradient(135deg, var(--flame-red), var(--lava-orange));
  color: #fff;
}

/* --- 牌照模块 --- */
.agcc-altar-section {
  text-align: center;
}

.agcc-altar-section .altar-image {
  max-width: 600px;
  margin: 0 auto 25px;
}

.agcc-altar-section .altar-image img {
  border-radius: 12px;
}

.agcc-altar-section .altar-text {
  max-width: 800px;
  margin: 0 auto;
  color: rgba(225,245,254,0.8);
  font-size: 0.95rem;
}

/* --- 建议投诉 --- */
.messenger-section {
  text-align: center;
}

.messenger-section .phoenix-image {
  max-width: 500px;
  margin: 0 auto 25px;
}

.messenger-section .phoenix-image img {
  border-radius: 12px;
}

.feedback-form {
  max-width: 600px;
  margin: 0 auto;
}

.feedback-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(179,229,252,0.2);
  border-radius: 8px;
  color: var(--glacier-white);
  font-family: var(--font-body);
  font-size: 1rem;
  resize: vertical;
  outline: none;
  margin-bottom: 14px;
}

.feedback-form textarea:focus {
  border-color: var(--ice-blue);
}

.feedback-form select {
  width: 100%;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(179,229,252,0.2);
  border-radius: 6px;
  color: var(--glacier-white);
  font-family: var(--font-body);
  margin-bottom: 14px;
  outline: none;
}

/* --- 负责任博弈 --- */
.responsible-stele {
  background: linear-gradient(145deg, rgba(13,13,26,0.95), rgba(26,26,46,0.9));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.responsible-stele .age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ice-blue), var(--flame-red));
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.responsible-stele h2 {
  color: var(--glacier-white);
  font-size: 1.5rem;
}

.responsible-stele p {
  color: rgba(225,245,254,0.7);
  max-width: 700px;
  margin: 10px auto;
}

.responsible-stele .help-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.responsible-stele .help-links a {
  color: var(--ice-blue);
  font-size: 0.9rem;
  border: 1px solid rgba(179,229,252,0.2);
  padding: 6px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.responsible-stele .help-links a:hover {
  background: rgba(179,229,252,0.1);
}

/* --- 页脚 --- */
.elemental-footer {
  background: linear-gradient(180deg, var(--abyss-black), var(--obsidian));
  border-top: 1px solid rgba(179,229,252,0.08);
  padding: 50px 0 20px;
  margin-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand .footer-logo img {
  height: 60px;
  margin-bottom: 10px;
}

.footer-brand .footer-slogan {
  color: var(--gold-accent);
  font-family: var(--font-title);
  font-size: 0.95rem;
}

.footer-links h4 {
  color: var(--ice-blue);
  font-size: 1rem;
  margin-bottom: 12px;
}

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

.footer-links ul li {
  margin-bottom: 6px;
}

.footer-links ul li a {
  color: rgba(225,245,254,0.6);
  font-size: 0.9rem;
}

.footer-links ul li a:hover {
  color: var(--lava-orange);
}

.footer-partners {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-partners span {
  font-size: 0.8rem;
  color: rgba(225,245,254,0.5);
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(225,245,254,0.4);
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(225,245,254,0.3);
}

/* --- 面包屑 --- */
.breadcrumb-trail {
  padding: 90px 0 10px;
}

.breadcrumb-trail ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.85rem;
}

.breadcrumb-trail ol li::after {
  content: '>';
  margin-left: 5px;
  color: rgba(225,245,254,0.3);
}

.breadcrumb-trail ol li:last-child::after {
  display: none;
}

.breadcrumb-trail ol li a {
  color: var(--ice-blue);
}

.breadcrumb-trail ol li:last-child {
  color: rgba(225,245,254,0.5);
}

/* --- 内页文章样式 --- */
.article-ice-fire {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.article-ice-fire h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--ice-blue), var(--flame-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-ice-fire h2 {
  font-size: 1.5rem;
  color: var(--gold-accent);
  margin-top: 30px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,215,0,0.2);
}

.article-ice-fire h3 {
  font-size: 1.2rem;
  color: var(--ice-blue);
  margin-top: 20px;
}

.article-ice-fire p {
  color: rgba(225,245,254,0.85);
  margin-bottom: 14px;
  text-indent: 2em;
}

.article-ice-fire .article-img {
  margin: 20px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(179,229,252,0.1);
}

.article-ice-fire .article-img img {
  width: 100%;
}

.article-ice-fire table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.article-ice-fire table th {
  background: rgba(179,229,252,0.1);
  padding: 10px;
  text-align: left;
  font-family: var(--font-title);
  color: var(--ice-blue);
  border: 1px solid rgba(179,229,252,0.15);
}

.article-ice-fire table td {
  padding: 10px;
  border: 1px solid rgba(179,229,252,0.08);
  color: rgba(225,245,254,0.8);
}

/* --- FAQ样式 --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(179,229,252,0.1);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  background: rgba(179,229,252,0.05);
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(179,229,252,0.1);
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--ice-blue);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: rgba(225,245,254,0.7);
}

.faq-item.open .faq-answer {
  padding: 16px 20px;
  max-height: 500px;
}

/* --- 动画关键帧 --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* --- 时间戳 --- */
.update-timestamp {
  font-size: 0.75rem;
  color: rgba(225,245,254,0.4);
  text-align: right;
  margin-top: 10px;
}

/* --- 响应式 --- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content .slogan-rune {
    font-size: 1rem;
    letter-spacing: 2px;
  }
  .section-title-ice-fire h2 {
    font-size: 1.5rem;
  }
  .legend-book {
    flex-direction: column;
  }
  .legend-book .book-illustration {
    flex: 0 0 auto;
  }
  .tribunal-grid {
    grid-template-columns: 1fr;
  }
  .temples-grid {
    grid-template-columns: 1fr;
  }
  .faction-choices {
    gap: 20px;
  }
  .faction-rune {
    width: 110px;
    height: 110px;
    font-size: 0.95rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .article-ice-fire h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .lava-button, .frost-button {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* --- 干扰标签隐藏 --- */
.jammer-block,
[class*="jammer-"] {
  opacity: 0.01 !important;
  position: absolute !important;
  z-index: -1 !important;
  pointer-events: none !important;
  left: -9999px !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
}

/* --- 加载动画 --- */
.ice-fire-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--abyss-black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.ice-fire-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-taiji {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(var(--ice-blue) 0deg 180deg, var(--flame-red) 180deg 360deg);
  animation: spin 1.5s linear infinite;
  position: relative;
}

.loader-taiji::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--abyss-black);
  border-radius: 50%;
}

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

/* --- APP下载页 --- */
.app-download-section {
  text-align: center;
  padding: 40px 20px;
}

.qr-codes-wrap {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.qr-item {
  text-align: center;
}

.qr-item .qr-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.qr-item .qr-placeholder.ice-qr {
  background: linear-gradient(135deg, rgba(179,229,252,0.15), rgba(79,195,247,0.05));
  border: 2px solid rgba(179,229,252,0.3);
  color: var(--ice-blue);
}

.qr-item .qr-placeholder.fire-qr {
  background: linear-gradient(135deg, rgba(211,47,47,0.15), rgba(255,111,0,0.05));
  border: 2px solid rgba(211,47,47,0.3);
  color: var(--flame-red);
}

.app-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 30px auto;
}

.app-feature-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(179,229,252,0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.app-feature-item h4 {
  color: var(--gold-accent);
  font-size: 1rem;
  margin-bottom: 8px;
}

.app-feature-item p {
  font-size: 0.85rem;
  color: rgba(225,245,254,0.6);
}
