/* ========================================
   开元棋牌 · 墨西哥亡灵节狂欢风 全站样式
   Fiesta Ofrenda Layout - 节日祭坛分层布局
   ======================================== */

/* --- Google Fonts 本地化回退 --- */
@import url('https://fonts.googleapis.com/css2?family=Piedra&family=Lora:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- CSS变量 --- */
:root {
  --marigold-orange: #ff9a00;
  --papel-purple: #9d3d9e;
  --candle-yellow: #fcd975;
  --skull-white: #fafafa;
  --midnight-black: #1a1a1a;
  --deep-black: #111111;
  --card-bg: #222222;
  --border-hand: #3a3a3a;
  --font-title: 'Piedra', cursive;
  --font-body: 'Lora', serif;
}

/* --- 全局重置 --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--midnight-black);
  color: var(--skull-white);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- 隐藏干扰标签 --- */
.jammer-block {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* --- Papel Picado 背景装饰 --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 40px,
    var(--marigold-orange) 40px,
    var(--marigold-orange) 42px,
    transparent 42px,
    transparent 80px,
    var(--papel-purple) 80px,
    var(--papel-purple) 82px
  );
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

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

/* --- 导航栏（非sticky） --- */
.nav-ofrenda {
  background: linear-gradient(180deg, #0d0d0d 0%, var(--midnight-black) 100%);
  border-bottom: 3px solid var(--marigold-orange);
  position: relative;
  z-index: 100;
}
.nav-ofrenda .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.nav-logo img {
  height: 50px;
  width: auto;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
}
.nav-links a {
  color: var(--skull-white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--marigold-orange);
  border-color: var(--marigold-orange);
  background: rgba(255,154,0,0.08);
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--marigold-orange);
  border-radius: 2px;
  transition: 0.3s;
}

/* --- 面包屑 --- */
.breadcrumb-ofrenda {
  padding: 12px 0;
  font-size: 13px;
  color: #888;
}
.breadcrumb-ofrenda a {
  color: var(--candle-yellow);
  text-decoration: none;
}
.breadcrumb-ofrenda a:hover { text-decoration: underline; }
.breadcrumb-ofrenda span { margin: 0 6px; }

/* --- 通用模块样式 --- */
.ofrenda-section {
  position: relative;
  padding: 60px 0;
  border-bottom: 2px dashed rgba(157,61,158,0.3);
}
.ofrenda-section:last-of-type { border-bottom: none; }

.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--marigold-orange);
  text-shadow: 0 0 20px rgba(255,154,0,0.3);
  margin-bottom: 10px;
}
.section-title p {
  color: var(--candle-yellow);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
}

/* --- 手绘边框模块 --- */
.hand-drawn-border {
  border: 2px solid var(--border-hand);
  border-radius: 8px;
  padding: 30px;
  position: relative;
  background: var(--card-bg);
}
.hand-drawn-border::before {
  content: '✿';
  position: absolute;
  top: -12px;
  left: 20px;
  font-size: 22px;
  color: var(--marigold-orange);
  background: var(--card-bg);
  padding: 0 8px;
}

/* --- Hero模块 --- */
.hero-fiesta {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0015 0%, var(--midnight-black) 100%);
}
.hero-fiesta .hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 40px 20px;
}
.hero-content .hero-logo {
  max-width: 320px;
  margin: 0 auto 20px;
  display: block;
}
.hero-slogan {
  font-family: var(--font-title);
  font-size: 2.8rem;
  color: var(--candle-yellow);
  text-shadow: 0 0 30px rgba(252,217,117,0.5);
  margin-bottom: 10px;
  letter-spacing: 4px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--skull-white);
  margin-bottom: 30px;
  opacity: 0.9;
}

/* --- CTA按钮 --- */
.cta-candle {
  display: inline-block;
  background: linear-gradient(135deg, var(--marigold-orange), #e68a00);
  color: var(--midnight-black);
  font-family: var(--font-title);
  font-size: 1.2rem;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid var(--candle-yellow);
  transition: all 0.3s ease;
  animation: candleGlow 2s ease-in-out infinite alternate;
}
.cta-candle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255,154,0,0.6);
}
@keyframes candleGlow {
  0% { box-shadow: 0 0 10px rgba(252,217,117,0.3); }
  100% { box-shadow: 0 0 25px rgba(252,217,117,0.6); }
}

/* --- 品牌故事模块 --- */
.brand-scroll {
  background: linear-gradient(135deg, #1e1e1e 0%, #2a1a2e 100%);
  border: 3px solid var(--papel-purple);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.brand-scroll::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--marigold-orange) 0 10px, var(--papel-purple) 10px 20px, var(--candle-yellow) 20px 30px);
}
.brand-scroll h2 {
  font-family: var(--font-title);
  color: var(--marigold-orange);
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.brand-scroll h3 {
  font-family: var(--font-title);
  color: var(--candle-yellow);
  font-size: 1.3rem;
  margin: 25px 0 12px;
  padding-left: 15px;
  border-left: 4px solid var(--marigold-orange);
}
.brand-scroll p {
  margin-bottom: 14px;
  text-indent: 2em;
}
.brand-img {
  width: 100%;
  border-radius: 8px;
  margin: 20px 0;
  border: 2px solid var(--papel-purple);
}

/* --- 万寿菊花瓣奖金雨模块 --- */
.marigold-rain-section {
  background: linear-gradient(180deg, #0a0015 0%, #1a0a20 50%, var(--midnight-black) 100%);
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.rain-container {
  position: relative;
  z-index: 5;
}
.prize-ticker {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.prize-item {
  background: rgba(255,154,0,0.1);
  border: 1px solid rgba(255,154,0,0.3);
  border-radius: 8px;
  padding: 14px 20px;
  text-align: center;
  font-size: 15px;
  animation: prizeSlide 0.6s ease-out;
}
.prize-item .prize-name { color: var(--candle-yellow); font-weight: 700; }
.prize-item .prize-game { color: var(--papel-purple); }
.prize-item .prize-amount { color: var(--marigold-orange); font-family: var(--font-title); font-size: 1.3rem; }
@keyframes prizeSlide {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- 骷髅牌展示 --- */
.calavera-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.calavera-card {
  background: var(--card-bg);
  border: 2px solid var(--border-hand);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
}
.calavera-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--marigold-orange);
  box-shadow: 0 10px 40px rgba(255,154,0,0.2);
}
.calavera-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.calavera-card-info {
  padding: 16px;
}
.calavera-card-info h3 {
  font-family: var(--font-title);
  color: var(--marigold-orange);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.calavera-card-info p {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 12px;
}
.calavera-card-info .cta-candle {
  font-size: 0.85rem;
  padding: 8px 20px;
}

/* --- 亡灵传说文章 --- */
.legend-book {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.legend-article {
  background: var(--card-bg);
  border: 2px solid var(--border-hand);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.legend-article:hover {
  border-color: var(--papel-purple);
  box-shadow: 0 8px 30px rgba(157,61,158,0.2);
}
.legend-article img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.legend-article-body {
  padding: 18px;
}
.legend-article-body h3 {
  font-family: var(--font-title);
  color: var(--candle-yellow);
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.legend-article-body p {
  font-size: 13px;
  color: #bbb;
  margin-bottom: 10px;
}
.legend-article-body .author-info {
  font-size: 12px;
  color: #888;
  border-top: 1px solid #333;
  padding-top: 8px;
  margin-top: 8px;
}

/* --- 注册模块 --- */
.register-altar {
  background: linear-gradient(135deg, #1a0a20 0%, #1e1e1e 100%);
  border: 3px solid var(--papel-purple);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  position: relative;
}
.register-altar img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}
.register-form {
  max-width: 400px;
  margin: 0 auto;
}
.register-form input {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 14px;
  border: 2px solid var(--border-hand);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: var(--skull-white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.3s;
}
.register-form input:focus {
  outline: none;
  border-color: var(--candle-yellow);
  box-shadow: 0 0 15px rgba(252,217,117,0.2);
}
.register-form input::placeholder { color: #666; }

/* --- VIP金字塔 --- */
.vip-pyramid-section img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 2px solid var(--papel-purple);
}
.vip-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.vip-tier {
  background: var(--card-bg);
  border: 2px solid var(--border-hand);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
}
.vip-tier:hover {
  border-color: var(--candle-yellow);
  transform: translateY(-5px);
}
.vip-tier h3 {
  font-family: var(--font-title);
  color: var(--marigold-orange);
  margin-bottom: 10px;
}
.vip-tier ul {
  list-style: none;
  font-size: 13px;
  color: #ccc;
}
.vip-tier ul li {
  padding: 4px 0;
  border-bottom: 1px dashed #333;
}
.vip-tier ul li:last-child { border-bottom: none; }
.vip-tier.tier-stone { border-top: 4px solid #888; }
.vip-tier.tier-silver { border-top: 4px solid #c0c0c0; }
.vip-tier.tier-gold { border-top: 4px solid var(--marigold-orange); }
.vip-tier.tier-jade { border-top: 4px solid #50c878; }

/* --- 负责任博弈 --- */
.responsible-panel {
  background: linear-gradient(135deg, #2a1f0a 0%, #1e1e1e 100%);
  border: 3px solid #5a4a2a;
  border-radius: 12px;
  padding: 35px;
}
.responsible-panel img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}
.responsible-panel h2 {
  font-family: var(--font-title);
  color: var(--candle-yellow);
}
.responsible-panel p {
  margin-bottom: 12px;
}
.responsible-panel .warning-text {
  color: var(--candle-yellow);
  font-weight: 700;
  font-size: 1.05rem;
}
.responsible-panel a {
  color: var(--marigold-orange);
  text-decoration: underline;
}

/* --- 认证模块 --- */
.certification-stele {
  text-align: center;
}
.certification-stele img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 2px solid var(--papel-purple);
}
.cert-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}
.cert-badge {
  background: var(--card-bg);
  border: 2px solid var(--candle-yellow);
  border-radius: 12px;
  padding: 20px 30px;
  text-align: center;
}
.cert-badge h4 {
  font-family: var(--font-title);
  color: var(--marigold-orange);
  margin-bottom: 6px;
}
.cert-badge p {
  font-size: 13px;
  color: #ccc;
}

/* --- FAQ --- */
.faq-ofrenda details {
  background: var(--card-bg);
  border: 1px solid var(--border-hand);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-ofrenda summary {
  padding: 16px 20px;
  cursor: pointer;
  font-family: var(--font-title);
  color: var(--candle-yellow);
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.faq-ofrenda summary::after {
  content: '✿';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--marigold-orange);
  transition: transform 0.3s;
}
.faq-ofrenda details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}
.faq-ofrenda .faq-answer {
  padding: 0 20px 16px;
  color: #ccc;
  font-size: 14px;
}

/* --- 页脚 --- */
.footer-night {
  background: linear-gradient(180deg, var(--midnight-black) 0%, #0a0a0a 100%);
  border-top: 3px solid var(--papel-purple);
  padding: 50px 0 30px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  font-family: var(--font-title);
  color: var(--marigold-orange);
  margin-bottom: 14px;
  font-size: 1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: var(--marigold-orange);
}
.footer-col p {
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--papel-purple);
  border-radius: 50%;
  color: var(--skull-white);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--papel-purple);
  border-color: var(--marigold-orange);
}
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #666;
}
.footer-bottom .age-badge {
  display: inline-block;
  border: 2px solid var(--marigold-orange);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 36px;
  font-family: var(--font-title);
  color: var(--marigold-orange);
  font-size: 14px;
  margin: 10px 0;
}
.payment-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 12px 0;
  flex-wrap: wrap;
}
.payment-icons span {
  background: var(--card-bg);
  border: 1px solid #444;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  color: #aaa;
}

/* --- 内页通用 --- */
.inner-hero {
  padding: 60px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, #0a0015 0%, var(--midnight-black) 100%);
}
.inner-hero h1 {
  font-family: var(--font-title);
  font-size: 2.4rem;
  color: var(--marigold-orange);
  text-shadow: 0 0 20px rgba(255,154,0,0.3);
  margin-bottom: 10px;
}
.inner-hero p {
  color: var(--candle-yellow);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}
.inner-content {
  padding: 40px 0;
}
.inner-content article {
  max-width: 900px;
  margin: 0 auto;
}
.inner-content h2 {
  font-family: var(--font-title);
  color: var(--marigold-orange);
  font-size: 1.6rem;
  margin: 30px 0 14px;
  padding-left: 15px;
  border-left: 4px solid var(--papel-purple);
}
.inner-content h3 {
  font-family: var(--font-title);
  color: var(--candle-yellow);
  font-size: 1.2rem;
  margin: 22px 0 10px;
}
.inner-content p {
  margin-bottom: 14px;
  text-indent: 2em;
}
.inner-content img {
  width: 100%;
  border-radius: 8px;
  margin: 20px 0;
  border: 2px solid var(--border-hand);
}
.inner-content ul, .inner-content ol {
  margin: 14px 0 14px 2em;
}
.inner-content li {
  margin-bottom: 6px;
}
.inner-content .game-rules-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.inner-content .game-rules-table th,
.inner-content .game-rules-table td {
  border: 1px solid var(--border-hand);
  padding: 10px 14px;
  text-align: left;
  font-size: 14px;
}
.inner-content .game-rules-table th {
  background: rgba(255,154,0,0.15);
  color: var(--marigold-orange);
  font-family: var(--font-title);
}

/* --- 万寿菊飘落动画 --- */
.petal {
  position: fixed;
  top: -30px;
  width: 18px;
  height: 18px;
  background: var(--marigold-orange);
  border-radius: 50% 0 50% 50%;
  opacity: 0.7;
  z-index: 9999;
  pointer-events: none;
  animation: petalFall linear forwards;
}
@keyframes petalFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* --- 剪纸展开动画 --- */
.papel-unfold {
  animation: papelUnfold 0.8s ease-out;
}
@keyframes papelUnfold {
  0% { transform: scale(0.8); opacity: 0; clip-path: circle(0% at 50% 50%); }
  100% { transform: scale(1); opacity: 1; clip-path: circle(100% at 50% 50%); }
}

/* --- 响应式 --- */
@media (max-width: 1024px) {
  .calavera-cards-grid { grid-template-columns: repeat(3, 1fr); }
  .legend-book { grid-template-columns: repeat(2, 1fr); }
  .vip-tiers { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .nav-links { 
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0d0d0d;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 3px solid var(--marigold-orange);
    animation: papelUnfold 0.4s ease-out;
  }
  .nav-links.active { display: flex; }
  .nav-links li { text-align: center; }
  .nav-links a { display: block; padding: 12px; }
  .hamburger { display: flex; }
  
  .hero-slogan { font-size: 2rem; }
  .hero-fiesta { min-height: 60vh; }
  
  .calavera-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .legend-book { grid-template-columns: 1fr; }
  .vip-tiers { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cert-badges { flex-direction: column; align-items: center; }
  
  .section-title h2 { font-size: 1.6rem; }
  .inner-hero h1 { font-size: 1.8rem; }
  
  .brand-scroll { padding: 24px; }
  .register-altar { padding: 24px; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .calavera-cards-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .hero-slogan { font-size: 1.6rem; }
  .cta-candle { padding: 12px 28px; font-size: 1rem; }
}


/* --- APP下载页面样式 --- */
.download-bridge {
  text-align: center;
}
.download-bridge > img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 2px solid var(--border-hand);
}
.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 30px 0;
}
.download-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  border: 2px solid var(--border-hand);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.download-card:hover {
  transform: translateY(-5px);
  border-color: var(--marigold-orange);
}
.download-card h2 {
  font-family: var(--font-title);
  color: var(--marigold-orange);
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.download-card p {
  color: #ccc;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.qr-placeholder {
  width: 180px;
  height: 180px;
  margin: 20px auto;
  border: 2px dashed var(--marigold-orange);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,154,0,0.05);
}
.qr-placeholder p {
  color: var(--marigold-orange);
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.qr-placeholder small {
  color: #888;
  font-size: 0.75rem;
}
.download-note {
  font-size: 0.8rem !important;
  color: #888 !important;
  margin-top: 12px !important;
}

/* APP特色功能 */
.app-features {
  margin: 50px 0;
}
.app-features h2 {
  font-family: var(--font-title);
  color: var(--marigold-orange);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 30px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-item {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-hand);
  transition: border-color 0.3s;
}
.feature-item:hover {
  border-color: var(--papel-purple);
}
.feature-item h3 {
  font-family: var(--font-title);
  color: var(--candle-yellow);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.feature-item p {
  color: #bbb;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* 安装指南 */
.install-guide {
  margin: 50px 0;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid var(--border-hand);
}
.install-guide h2 {
  font-family: var(--font-title);
  color: var(--marigold-orange);
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
}
.install-guide h3 {
  font-family: var(--font-title);
  color: var(--candle-yellow);
  font-size: 1.1rem;
  margin: 24px 0 12px;
}
.install-guide ol, .install-guide ul {
  margin: 0 0 16px 2em;
}
.install-guide li {
  margin-bottom: 8px;
  color: #ccc;
}
.install-guide p {
  color: #ccc;
  margin-bottom: 12px;
}

/* 系统要求 */
.system-requirements {
  margin: 30px 0 50px;
}
.system-requirements h2 {
  font-family: var(--font-title);
  color: var(--marigold-orange);
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 20px;
}
.system-requirements .game-rules-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  max-width: 800px;
}
.system-requirements .game-rules-table th,
.system-requirements .game-rules-table td {
  border: 1px solid var(--border-hand);
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
}
.system-requirements .game-rules-table th {
  background: rgba(255,154,0,0.15);
  color: var(--marigold-orange);
  font-family: var(--font-title);
}

/* --- 面包屑导航 --- */
.breadcrumb-ofrenda {
  padding: 16px 0;
  font-size: 0.85rem;
  color: #888;
}
.breadcrumb-ofrenda a {
  color: var(--marigold-orange);
  text-decoration: none;
}
.breadcrumb-ofrenda a:hover {
  text-decoration: underline;
}
.breadcrumb-ofrenda span {
  margin: 0 6px;
}

/* --- 下载页响应式 --- */
@media (max-width: 768px) {
  .download-cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .install-guide { padding: 24px; }
}
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
