/* ==========================================================================
   《喜乐·欢乐斗地主》 官方网站单页样式表 (landing.css)
   端庄大气国风门户质感 · 清晰易读 · 全响应式适配手机与电脑端
   ========================================================================== */
:root {
  --bg-page: #fdf8ef;
  --bg-hero: #380b09;
  --bg-card: #ffffff;
  --bg-warm-tint: #f8efe0;
  --crimson-primary: #b8221b;
  --crimson-hover: #961913;
  --gold-accent: #d89216;
  --gold-soft: #ffe59e;
  --jade-safe: #1f7a4c;
  --jade-bg: #e7f6ee;
  --ink-strong: #23140e;
  --ink-body: #543e34;
  --ink-muted: #846d62;
  --border-warm: #eadbc6;
  --shadow-soft: 0 12px 32px rgba(62, 22, 12, 0.08);
  --shadow-strong: 0 18px 44px rgba(32, 8, 6, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg-page);
  color: var(--ink-strong);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

/* ==================== 顶部官方导航栏 ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(45, 9, 8, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 229, 158, 0.22);
  color: #fff8ea;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1.5px solid var(--gold-soft);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff6df;
}

.brand-publisher {
  font-size: 11px;
  color: rgba(255, 232, 185, 0.78);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 245, 225, 0.88);
}

.header-nav a:hover {
  color: var(--gold-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-top-dl {
  background: linear-gradient(180deg, #ffe066, #eba016);
  color: #451504;
  font-weight: 900;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(235, 160, 22, 0.35);
  transition: transform 0.15s ease;
}

.btn-top-dl:hover {
  transform: translateY(-1px);
}

/* ==================== 首屏 Hero 主视觉与下载核心区 ==================== */
.hero-section {
  position: relative;
  background:
    radial-gradient(circle at 75% 35%, rgba(168, 34, 26, 0.45) 0%, rgba(40, 8, 7, 0.96) 72%),
    var(--bg-hero);
  color: #fff9ed;
  padding: clamp(36px, 6vw, 68px) 0 clamp(44px, 6vw, 72px);
  overflow: hidden;
  border-bottom: 4px solid var(--gold-accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.app-identity-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.hero-app-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  border: 2.5px solid var(--gold-soft);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.hero-title-wrap h1 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.5px;
  color: #fff6dc;
}

.official-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tag-gold {
  background: rgba(255, 224, 102, 0.18);
  border: 1px solid rgba(255, 224, 102, 0.55);
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 6px;
}

.hero-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255, 240, 214, 0.9);
  margin: 0 0 18px;
  max-width: 560px;
}

.meta-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 18px;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 229, 158, 0.22);
  border-radius: 14px;
  margin-bottom: 18px;
  width: fit-content;
}

.ms-item {
  display: flex;
  flex-direction: column;
}
.ms-val {
  font-size: 16px;
  font-weight: 900;
  color: #ffe59e;
}
.ms-lbl {
  font-size: 11px;
  color: rgba(255, 235, 205, 0.72);
}

.security-check-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #9be7b0;
  font-weight: 700;
}

.sec-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.download-cta-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.cta-buttons-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 250px;
}

.btn-primary-apk {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, #ffe375 0%, #f3a115 55%, #d67e08 100%);
  color: #461503;
  border: 2px solid #fff5c4;
  padding: 15px 26px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(243, 161, 21, 0.42);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn-primary-apk:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(243, 161, 21, 0.55);
}

.btn-secondary-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 229, 158, 0.5);
  color: #fff5db;
  padding: 11px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.15s ease;
}

.btn-secondary-play:hover {
  background: rgba(255, 255, 255, 0.18);
}

.qr-card-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  color: var(--ink-strong);
  padding: 10px 12px 8px;
  border-radius: 14px;
  border: 2px solid var(--gold-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.qr-card-box canvas {
  width: 104px;
  height: 104px;
  display: block;
}

.qr-caption {
  font-size: 11px;
  font-weight: 800;
  color: #5c3c2e;
  margin-top: 4px;
}

/* 右侧实机画框展示 */
.hero-visual-frame {
  background: #230706;
  border: 3px solid rgba(255, 224, 130, 0.65);
  border-radius: 22px;
  padding: 8px;
  box-shadow: var(--shadow-strong);
}

.hero-visual-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

.hero-visual-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px 4px;
  font-size: 12px;
  color: rgba(255, 238, 204, 0.82);
}

/* ==================== 实机画面轮播切换区 ==================== */
.section-block {
  padding: clamp(44px, 6vw, 72px) 0;
}

.section-alt {
  background: var(--bg-warm-tint);
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.section-head {
  text-align: center;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.8vw, 32px);
  color: var(--ink-strong);
  font-weight: 900;
}

.section-head p {
  margin: 0 auto;
  max-width: 620px;
  color: var(--ink-body);
  font-size: 15px;
}

.screenshots-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.shot-tab-btn {
  border: 1.5px solid var(--border-warm);
  background: #fff;
  color: var(--ink-body);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
}

.shot-tab-btn.active {
  background: var(--crimson-primary);
  border-color: var(--crimson-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(184, 34, 27, 0.25);
}

.shot-stage {
  max-width: 920px;
  margin: 0 auto;
  background: #2b0908;
  padding: 10px;
  border-radius: 22px;
  border: 2px solid #deb878;
  box-shadow: var(--shadow-soft);
}

.shot-stage img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.shot-desc-bar {
  text-align: center;
  color: #ffe9ba;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 8px 4px;
}

/* ==================== 四大品质亮点 ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
}

.fi-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff2db;
  border: 1px solid #f2cf92;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  margin-bottom: 14px;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--ink-strong);
}

.feature-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.65;
}

/* ==================== 安卓安装三步贴心指引 ==================== */
.install-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.install-card {
  background: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
}

.ic-step {
  display: inline-block;
  background: var(--jade-bg);
  color: var(--jade-safe);
  font-weight: 900;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.install-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.install-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-body);
}

/* ==================== 版本更新记录与信息公示 ==================== */
.info-two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.info-panel {
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.info-panel h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--ink-strong);
}

.changelog-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-body);
  font-size: 14px;
}
.changelog-list li { margin-bottom: 8px; }

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-warm);
  color: var(--ink-body);
}
.spec-list li strong { color: var(--ink-strong); }

/* ==================== 页脚合规信息 ==================== */
.site-footer {
  background: #260807;
  color: rgba(255, 238, 214, 0.72);
  padding: 36px 0 42px;
  font-size: 12px;
  text-align: center;
}

.footer-healthy-notice {
  max-width: 780px;
  margin: 0 auto 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.8;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.dev-source-link {
  color: rgba(255, 224, 130, 0.75);
  text-decoration: underline;
}

/* 火爆实时在线条与全国牌友口碑区 */
.hero-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31, 122, 76, 0.32);
  border: 1px solid rgba(155, 231, 176, 0.45);
  color: #d3f9d8;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #51cf66;
  box-shadow: 0 0 8px #51cf66;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rc-user {
  font-weight: 900;
  font-size: 15px;
  color: var(--ink-strong);
}

.rc-device {
  font-size: 11.5px;
  color: var(--jade-safe);
  background: var(--jade-bg);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.rc-stars {
  color: #f08c00;
  font-size: 13px;
  letter-spacing: 1px;
}

.review-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.65;
}

@media (max-width: 960px) {
  .hero-grid, .info-two-col {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .install-steps-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .header-nav {
    display: none;
  }
}

@media (max-width: 580px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .meta-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
  .qr-card-box {
    display: none;
  }
}
