/* ========================================
   胡了数据 - 主样式表 hl-style.css
   水墨丹青国风设计系统
   CSS前缀: hl-
   ======================================== */

/* --- 字体引入 --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&display=swap');

/* --- CSS变量 --- */
:root {
  --hl-ink-black: #1A1A1A;
  --hl-paper-white: #F5F5F5;
  --hl-gold: #C8A064;
  --hl-vermilion: #B93A32;
  --hl-bg-gray: #EAEAEA;
  --hl-text-primary: #333333;
  --hl-text-secondary: #888888;
  --hl-silver: #A9A9A9;
  --hl-bronze: #8C7853;
  --hl-radius: 4px;
  --hl-shadow: 0 2px 10px rgba(0,0,0,0.08);
  --hl-font-title: 'Noto Serif SC', 'SimSun', 'STSong', serif;
  --hl-font-body: 'Noto Serif SC', 'SimSun', serif;
  --hl-transition: all 0.3s ease;
}

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

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

body {
  font-family: var(--hl-font-body);
  color: var(--hl-text-primary);
  background-color: var(--hl-bg-gray);
  line-height: 1.8;
  overflow-x: hidden;
}

/* --- 宣纸纹理背景 --- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(200,160,100,0.02) 2px,
    rgba(200,160,100,0.02) 4px
  );
  pointer-events: none;
  z-index: 0;
}

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

.hl-section {
  padding: 80px 0;
  position: relative;
}

.hl-section-title {
  font-family: var(--hl-font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--hl-ink-black);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.hl-section-subtitle {
  text-align: center;
  color: var(--hl-text-secondary);
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* 水墨分割线 */
.hl-ink-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--hl-gold), transparent);
  margin: 1rem auto 2rem;
  border-radius: 2px;
}

/* --- 导航栏 --- */
.hl-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hl-gold);
  transition: var(--hl-transition);
}

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

.hl-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.hl-logo img {
  height: 44px;
  width: 44px;
  border-radius: 4px;
}

.hl-logo-text {
  font-family: var(--hl-font-title);
  font-size: 1.25rem;
  color: var(--hl-gold);
  font-weight: 700;
  letter-spacing: 2px;
}

.hl-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.hl-nav-links li a {
  display: block;
  padding: 0 16px;
  color: var(--hl-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 68px;
  position: relative;
  transition: var(--hl-transition);
  font-family: var(--hl-font-body);
}

.hl-nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--hl-gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.hl-nav-links li a:hover,
.hl-nav-links li a.hl-active {
  color: var(--hl-gold);
}

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

.hl-btn-cta {
  display: inline-block;
  padding: 10px 24px;
  background: var(--hl-gold);
  color: var(--hl-ink-black);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--hl-radius);
  text-decoration: none;
  transition: var(--hl-transition);
  border: none;
  cursor: pointer;
  font-family: var(--hl-font-body);
}

.hl-btn-cta:hover {
  box-shadow: 0 4px 20px rgba(200,160,100,0.4);
  transform: translateY(-1px);
}

.hl-btn-secondary {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  color: var(--hl-vermilion);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--hl-radius);
  text-decoration: none;
  transition: var(--hl-transition);
  border: 2px solid var(--hl-vermilion);
  cursor: pointer;
  font-family: var(--hl-font-body);
}

.hl-btn-secondary:hover {
  background: var(--hl-vermilion);
  color: #fff;
}

/* 汉堡菜单 */
.hl-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.hl-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--hl-gold);
  transition: var(--hl-transition);
  border-radius: 2px;
}

/* --- Hero Banner --- */
.hl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--hl-ink-black);
}

.hl-hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  animation: hl-hero-drift 30s ease-in-out infinite alternate;
}

@keyframes hl-hero-drift {
  0% { transform: scale(1) translateX(0); }
  100% { transform: scale(1.05) translateX(-20px); }
}

.hl-hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(26,26,26,0.4) 0%, rgba(26,26,26,0.7) 100%);
}

.hl-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hl-hero h1 {
  font-family: var(--hl-font-title);
  font-size: 3rem;
  color: var(--hl-paper-white);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hl-hero h1 .hl-gold-text {
  color: var(--hl-gold);
}

.hl-hero-subtitle {
  font-size: 1.2rem;
  color: rgba(245,245,245,0.85);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hl-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- 牌局风云榜 --- */
.hl-matches {
  background: var(--hl-paper-white);
}

.hl-matches-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scroll-snap-type: x mandatory;
}

.hl-match-card {
  min-width: 300px;
  max-width: 300px;
  background: #fff;
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
  padding: 28px 24px;
  scroll-snap-align: start;
  border-top: 3px solid var(--hl-gold);
  transition: var(--hl-transition);
}

.hl-match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.hl-match-card h3 {
  font-family: var(--hl-font-title);
  font-size: 1.1rem;
  color: var(--hl-ink-black);
  margin-bottom: 0.5rem;
}

.hl-match-player {
  color: var(--hl-gold);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.hl-match-card p {
  color: var(--hl-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.hl-match-link {
  color: var(--hl-vermilion);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--hl-transition);
}

.hl-match-link:hover {
  color: var(--hl-gold);
}

/* --- 视频模块 --- */
.hl-videos {
  background: var(--hl-bg-gray);
}

.hl-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hl-video-card {
  background: var(--hl-paper-white);
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
  overflow: hidden;
  border: 1px solid rgba(200,160,100,0.2);
  transition: var(--hl-transition);
}

.hl-video-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.hl-video-card video {
  width: 100%;
  display: block;
  background: #000;
}

.hl-video-info {
  padding: 20px;
}

.hl-video-info h3 {
  font-family: var(--hl-font-title);
  font-size: 1rem;
  color: var(--hl-ink-black);
  margin-bottom: 0.5rem;
}

.hl-video-info p {
  color: var(--hl-text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* --- 排行榜 --- */
.hl-rankings {
  background: var(--hl-paper-white);
}

.hl-rankings-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.hl-top3 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hl-top3-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
}

.hl-top3-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--hl-gold);
}

.hl-top3-item:nth-child(2) .hl-top3-avatar {
  border-color: var(--hl-silver);
}

.hl-top3-item:nth-child(3) .hl-top3-avatar {
  border-color: var(--hl-bronze);
}

.hl-top3-info h4 {
  font-family: var(--hl-font-title);
  font-size: 1.1rem;
  color: var(--hl-ink-black);
}

.hl-top3-info .hl-rank-title {
  font-size: 0.8rem;
  color: var(--hl-gold);
  font-weight: 600;
}

.hl-top3-item:nth-child(2) .hl-rank-title { color: var(--hl-silver); }
.hl-top3-item:nth-child(3) .hl-rank-title { color: var(--hl-bronze); }

.hl-rankings-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--hl-radius);
  overflow: hidden;
  box-shadow: var(--hl-shadow);
}

.hl-rankings-table th,
.hl-rankings-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.9rem;
}

.hl-rankings-table thead {
  background: var(--hl-ink-black);
  color: var(--hl-gold);
}

.hl-rankings-table tbody tr {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--hl-transition);
}

.hl-rankings-table tbody tr:hover {
  background: rgba(200,160,100,0.05);
}

.hl-rank-gold { color: var(--hl-gold); font-weight: 700; }
.hl-rank-silver { color: var(--hl-silver); font-weight: 700; }
.hl-rank-bronze { color: var(--hl-bronze); font-weight: 700; }

/* --- 赔率计算器引导 --- */
.hl-calculator-intro {
  background: var(--hl-ink-black);
  color: var(--hl-paper-white);
  position: relative;
  overflow: hidden;
}

.hl-calculator-intro::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../images/hl-calculator-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.hl-calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hl-calc-text h2 {
  font-family: var(--hl-font-title);
  font-size: 1.8rem;
  color: var(--hl-gold);
  margin-bottom: 1.5rem;
}

.hl-calc-text p {
  color: rgba(245,245,245,0.8);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.hl-calc-features {
  list-style: none;
  margin-bottom: 2rem;
}

.hl-calc-features li {
  padding: 8px 0;
  color: rgba(245,245,245,0.9);
  font-size: 0.95rem;
}

.hl-calc-features li::before {
  content: '◆';
  color: var(--hl-gold);
  margin-right: 10px;
}

.hl-calc-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,160,100,0.3);
  border-radius: var(--hl-radius);
  padding: 32px;
}

.hl-form-group {
  margin-bottom: 20px;
}

.hl-form-group label {
  display: block;
  color: var(--hl-gold);
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.hl-form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(200,160,100,0.3);
  border-radius: var(--hl-radius);
  color: var(--hl-paper-white);
  font-size: 0.95rem;
  font-family: var(--hl-font-body);
  transition: var(--hl-transition);
}

.hl-form-input:focus {
  outline: none;
  border-color: var(--hl-gold);
  box-shadow: 0 0 0 3px rgba(200,160,100,0.15);
}

.hl-form-input::placeholder {
  color: rgba(245,245,245,0.3);
}

/* --- 策略藏经阁 --- */
.hl-strategies {
  background: var(--hl-paper-white);
}

.hl-strategy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hl-strategy-card {
  background: #fff;
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
  overflow: hidden;
  transition: var(--hl-transition);
  border-bottom: 3px solid transparent;
}

.hl-strategy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-bottom-color: var(--hl-gold);
}

.hl-strategy-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.hl-strategy-card-body {
  padding: 20px;
}

.hl-strategy-card-body h3 {
  font-family: var(--hl-font-title);
  font-size: 0.95rem;
  color: var(--hl-ink-black);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.hl-strategy-card-body p {
  color: var(--hl-text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.hl-strategy-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--hl-text-secondary);
}

/* --- 数据透视 --- */
.hl-data-section {
  background: var(--hl-bg-gray);
}

.hl-chart-container {
  background: #fff;
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
  padding: 30px;
}

.hl-chart-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hl-chart-btn {
  padding: 8px 20px;
  border: 1px solid var(--hl-gold);
  background: transparent;
  color: var(--hl-text-primary);
  border-radius: var(--hl-radius);
  cursor: pointer;
  font-size: 0.85rem;
  font-family: var(--hl-font-body);
  transition: var(--hl-transition);
}

.hl-chart-btn:hover,
.hl-chart-btn.hl-active {
  background: var(--hl-gold);
  color: var(--hl-ink-black);
}

.hl-chart-area {
  width: 100%;
  min-height: 350px;
  position: relative;
}

.hl-chart-area canvas {
  width: 100% !important;
  height: 350px !important;
}

/* --- 投注智慧言 --- */
.hl-comments {
  background: var(--hl-paper-white);
}

.hl-comments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hl-comment-card {
  background: #fff;
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
  padding: 28px;
  border-left: 4px solid var(--hl-gold);
  transition: var(--hl-transition);
}

.hl-comment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.hl-comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hl-comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.hl-comment-name {
  font-family: var(--hl-font-title);
  font-size: 0.95rem;
  color: var(--hl-ink-black);
}

.hl-comment-role {
  font-size: 0.8rem;
  color: var(--hl-gold);
}

.hl-comment-text {
  color: var(--hl-text-primary);
  font-size: 0.9rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 12px;
  position: relative;
  padding-left: 16px;
  border-left: 2px solid rgba(200,160,100,0.3);
}

.hl-comment-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hl-comment-tag {
  padding: 3px 12px;
  background: rgba(200,160,100,0.1);
  color: var(--hl-gold);
  font-size: 0.75rem;
  border-radius: 20px;
}

/* --- 合作机构 --- */
.hl-partners {
  background: var(--hl-bg-gray);
}

.hl-partners-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.hl-partner-box {
  background: #fff;
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
  padding: 32px;
  text-align: center;
}

.hl-partner-box img {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: var(--hl-radius);
}

.hl-partner-box h3 {
  font-family: var(--hl-font-title);
  font-size: 1.1rem;
  color: var(--hl-ink-black);
  margin-bottom: 0.75rem;
}

.hl-partner-box p {
  color: var(--hl-text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- 招募模块 --- */
.hl-recruit {
  position: relative;
  overflow: hidden;
  background: var(--hl-ink-black);
  color: var(--hl-paper-white);
}

.hl-recruit::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../images/hl-recruit-bg.jpg') center/cover no-repeat;
  opacity: 0.2;
}

.hl-recruit-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hl-recruit-content h2 {
  font-family: var(--hl-font-title);
  font-size: 2rem;
  color: var(--hl-gold);
  margin-bottom: 1.5rem;
}

.hl-recruit-content p {
  color: rgba(245,245,245,0.85);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* --- 面包屑导航 --- */
.hl-breadcrumb {
  padding: 100px 0 20px;
  background: var(--hl-paper-white);
}

.hl-breadcrumb-list {
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--hl-text-secondary);
}

.hl-breadcrumb-list a {
  color: var(--hl-gold);
  text-decoration: none;
}

.hl-breadcrumb-list a:hover {
  text-decoration: underline;
}

.hl-breadcrumb-list li::after {
  content: '>';
  margin-left: 8px;
  color: var(--hl-text-secondary);
}

.hl-breadcrumb-list li:last-child::after {
  content: '';
}

/* --- 内页通用 --- */
.hl-page-hero {
  padding: 120px 0 60px;
  background: var(--hl-ink-black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hl-page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../images/hl-hero-background.jpg') center/cover no-repeat;
  opacity: 0.2;
}

.hl-page-hero h1 {
  font-family: var(--hl-font-title);
  font-size: 2.4rem;
  color: var(--hl-paper-white);
  position: relative;
  z-index: 1;
  line-height: 1.5;
}

.hl-page-hero h1 .hl-gold-text {
  color: var(--hl-gold);
}

/* --- 内容区 --- */
.hl-content-area {
  padding: 60px 0;
  background: var(--hl-paper-white);
}

.hl-article-body {
  max-width: 900px;
  margin: 0 auto;
}

.hl-article-body h2 {
  font-family: var(--hl-font-title);
  font-size: 1.6rem;
  color: var(--hl-ink-black);
  margin: 2rem 0 1rem;
  padding-left: 16px;
  border-left: 4px solid var(--hl-gold);
}

.hl-article-body h3 {
  font-family: var(--hl-font-title);
  font-size: 1.3rem;
  color: var(--hl-ink-black);
  margin: 1.5rem 0 0.75rem;
}

.hl-article-body p {
  margin-bottom: 1.2rem;
  line-height: 1.9;
  color: var(--hl-text-primary);
}

.hl-article-body img {
  width: 100%;
  border-radius: var(--hl-radius);
  margin: 1.5rem 0;
  box-shadow: var(--hl-shadow);
}

.hl-article-body blockquote {
  background: rgba(200,160,100,0.08);
  border-left: 4px solid var(--hl-gold);
  padding: 20px 24px;
  margin: 1.5rem 0;
  border-radius: 0 var(--hl-radius) var(--hl-radius) 0;
  font-style: italic;
  color: var(--hl-text-primary);
}

.hl-internal-link {
  color: var(--hl-gold);
  text-decoration: none;
  border-bottom: 1px dashed var(--hl-gold);
  transition: var(--hl-transition);
}

.hl-internal-link:hover {
  color: var(--hl-vermilion);
  border-bottom-color: var(--hl-vermilion);
}

/* --- 页脚 --- */
.hl-footer {
  background: var(--hl-ink-black);
  color: rgba(245,245,245,0.7);
  padding: 60px 0 0;
}

.hl-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.hl-footer-col h4 {
  font-family: var(--hl-font-title);
  color: var(--hl-gold);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.hl-footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

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

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

.hl-footer-col ul li a {
  color: rgba(245,245,245,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--hl-transition);
}

.hl-footer-col ul li a:hover {
  color: var(--hl-gold);
}

.hl-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.hl-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--hl-gold);
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--hl-transition);
}

.hl-footer-social a:hover {
  background: var(--hl-gold);
  color: var(--hl-ink-black);
}

.hl-footer-seo {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.75rem;
  color: var(--hl-text-secondary);
  line-height: 1.7;
  text-align: center;
}

.hl-footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(200,160,100,0.2);
  text-align: center;
  font-size: 0.8rem;
}

.hl-footer-bottom p {
  margin-bottom: 4px;
}

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

.hl-faq-item {
  background: #fff;
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
  margin-bottom: 12px;
  overflow: hidden;
}

.hl-faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--hl-font-body);
  font-size: 1rem;
  color: var(--hl-ink-black);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--hl-transition);
}

.hl-faq-question:hover {
  color: var(--hl-gold);
}

.hl-faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--hl-gold);
  transition: var(--hl-transition);
}

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

.hl-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.hl-faq-item.hl-open .hl-faq-answer {
  max-height: 500px;
}

.hl-faq-answer-inner {
  padding: 0 24px 18px;
  color: var(--hl-text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* --- 计算器页面 --- */
.hl-calc-page {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 24px;
  padding: 40px 0;
}

.hl-calc-panel {
  background: #fff;
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
  padding: 24px;
}

.hl-calc-panel h3 {
  font-family: var(--hl-font-title);
  font-size: 1.1rem;
  color: var(--hl-ink-black);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--hl-gold);
}

.hl-tile-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}

.hl-tile-btn {
  padding: 8px 4px;
  background: var(--hl-paper-white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--hl-radius);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: var(--hl-font-body);
  transition: var(--hl-transition);
  text-align: center;
}

.hl-tile-btn:hover {
  background: var(--hl-gold);
  color: #fff;
  border-color: var(--hl-gold);
}

.hl-tile-btn.hl-selected {
  background: var(--hl-gold);
  color: #fff;
  border-color: var(--hl-gold);
}

.hl-result-table {
  width: 100%;
  border-collapse: collapse;
}

.hl-result-table th,
.hl-result-table td {
  padding: 10px 12px;
  text-align: left;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hl-result-table thead {
  background: rgba(200,160,100,0.1);
}

.hl-advice-box {
  background: rgba(200,160,100,0.05);
  border-left: 3px solid var(--hl-gold);
  padding: 16px;
  border-radius: 0 var(--hl-radius) var(--hl-radius) 0;
  margin-bottom: 12px;
}

.hl-advice-box h4 {
  color: var(--hl-gold);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.hl-advice-box p {
  font-size: 0.85rem;
  color: var(--hl-text-secondary);
  line-height: 1.6;
}

.hl-tooltip {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted var(--hl-gold);
  color: var(--hl-gold);
}

.hl-tooltip:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hl-ink-black);
  color: var(--hl-paper-white);
  padding: 8px 12px;
  border-radius: var(--hl-radius);
  font-size: 0.8rem;
  white-space: nowrap;
  z-index: 10;
}

/* --- APP下载页 --- */
.hl-app-section {
  text-align: center;
  padding: 80px 0;
}

.hl-app-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hl-app-mockup img {
  max-width: 300px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.hl-app-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 2rem 0;
}

.hl-app-feature {
  text-align: left;
  padding: 20px;
  background: #fff;
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
}

.hl-app-feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hl-app-feature h4 {
  font-family: var(--hl-font-title);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--hl-ink-black);
}

.hl-app-feature p {
  font-size: 0.85rem;
  color: var(--hl-text-secondary);
  line-height: 1.6;
}

.hl-download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.hl-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--hl-ink-black);
  color: var(--hl-paper-white);
  border-radius: var(--hl-radius);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--hl-transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.hl-download-btn:hover {
  background: var(--hl-gold);
  color: var(--hl-ink-black);
}

/* --- 滚动动画 --- */
.hl-scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- 通用工具类 --- */
.hl-text-center { text-align: center; }
.hl-text-gold { color: var(--hl-gold); }
.hl-text-vermilion { color: var(--hl-vermilion); }
.hl-mt-1 { margin-top: 0.5rem; }
.hl-mt-2 { margin-top: 1rem; }
.hl-mt-3 { margin-top: 1.5rem; }
.hl-mb-2 { margin-bottom: 1rem; }
.hl-mb-3 { margin-bottom: 1.5rem; }

/* 隐私政策和用户协议页面 */
.hl-legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hl-legal-content h2 {
  font-family: var(--hl-font-title);
  font-size: 1.4rem;
  color: var(--hl-ink-black);
  margin: 2rem 0 1rem;
  padding-left: 14px;
  border-left: 3px solid var(--hl-gold);
}

.hl-legal-content p {
  margin-bottom: 1rem;
  line-height: 1.9;
}

.hl-legal-content ul {
  margin: 0.5rem 0 1rem 2rem;
  line-height: 1.9;
}
