@import url('home.css');




.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding-top: 64px;
  background-image: linear-gradient(to bottom, rgba(12,10,9,.8) 0%, rgba(12,10,9,.5) 60%, rgba(12,10,9,1) 100%), url('https://yqcdn.fuhua95.com/game/20250624/866bee01d2db6f449b79d3e2b28054bc.png');
  background-size: cover; background-position: center 30%;
}
.page-title { font-family: var(--font-shufa); color: var(--jh-gold); font-size: clamp(2.5rem, 8vw, 4.5rem); text-shadow: 0 4px 20px rgba(0,0,0,.7); margin: 0; }
.page-sub { font-family: var(--font-serif); color: var(--jh-light); font-size: clamp(1rem, 2.2vw, 1.35rem); margin-top: .5rem; }

.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: .5rem; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--jh-gold), var(--jh-green));
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-dot {
  position: absolute; left: -1.55rem; top: .35rem; width: 16px; height: 16px; border-radius: 50%;
  background: var(--jh-gold); border: 3px solid var(--jh-ink); box-shadow: 0 0 0 2px var(--jh-gold);
}
.timeline-card {
  background: rgba(28,25,23,.7);
  border: 1px solid rgba(250,204,21,.12);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform .3s, border-color .3s;
}
.timeline-card:hover { transform: translateX(6px); border-color: rgba(250,204,21,.35); }
.timeline-step { color: var(--jh-copper-light); font-weight: 700; font-size: .9rem; margin-bottom: .25rem; }
.timeline-title { font-family: var(--font-shufa); color: var(--jh-gold); font-size: 1.55rem; margin-bottom: .5rem; }
.timeline-text { color: var(--jh-muted); font-size: 1rem; line-height: 1.7; }
.timeline-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--jh-gold); margin-top: .75rem; font-size: .95rem; }
.timeline-link:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .timeline { padding-left: 0; }
  .timeline::before { left: 50%; transform: translateX(-50%); }
  .timeline-item { display: flex; justify-content: flex-end; padding-left: 50%; }
  .timeline-item:nth-child(even) { justify-content: flex-start; padding-left: 0; padding-right: 50%; }
  .timeline-dot { left: auto; right: auto; top: 1.25rem; margin-left: -8px; left: 50%; transform: translateX(-50%); }
  .timeline-card { width: 90%; }
  .timeline-item:nth-child(odd) .timeline-card { margin-left: 1.5rem; }
  .timeline-item:nth-child(even) .timeline-card { margin-right: 1.5rem; }
}

/* Position-specific image sizing */

header img { height: 2.5rem; width: auto; }
.hero-logo { width: min(300px, 70vw); height: auto; }
.feature-card img { width: 100%; height: 200px; object-fit: cover; }
.qr-card img { width: 100%; max-width: 150px; height: auto; }
footer img { width: 100%; max-width: 120px; height: auto; }

/* Friendly links block */

.friendly-links.zjjh { padding: 3rem 1rem; background: #0c0a09; border-top: 1px solid rgba(180,83,9,.35); }
.friendly-links.zjjh .friendly-links-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.friendly-links.zjjh h2 { font-family: 'Ma Shan Zheng', cursive; font-size: clamp(1.6rem, 4vw, 2.4rem); color: #FACC15; margin-bottom: .25rem; }
.friendly-links.zjjh h2 i { color: #15803D; margin-right: .5rem; }
.friendly-links.zjjh p { color: #A8A29E; margin-bottom: 1.5rem; }
.friendly-links.zjjh ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; list-style: none; padding: 0; margin: 0; }
.friendly-links.zjjh li a { display: block; padding: .6rem .8rem; border-radius: .5rem; background: rgba(21,128,61,.1); border: 1px solid rgba(180,83,9,.35); color: #E7E5E4; font-size: .9rem; transition: .2s; }
.friendly-links.zjjh li a:hover { background: rgba(250,204,21,.12); border-color: #FACC15; color: #FACC15; transform: translateY(-2px); }
@media (max-width: 375px) { .friendly-links.zjjh ul { grid-template-columns: repeat(2, 1fr); } }

