/* ============================================================
   id_gaming - Template Kasino & Game Online Indonesia
   ============================================================ */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #12122a;
  --bg-card: #1a1a35;
  --bg-card-hover: #222248;
  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-dark: #b8941f;
  --accent: #e63946;
  --accent-hover: #c1121f;
  --text-primary: #ffffff;
  --text-secondary: #a0a0c0;
  --text-muted: #6a6a8a;
  --border-color: #2a2a4a;
  --success: #2ecc71;
  --warning: #f39c12;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
  --transition: all 0.3s ease;
  --max-width: 1280px;
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-primary);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

/* ============ TOP BAR ============ */
.top-bar {
  background: #0d0d22;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.75rem;
  padding: 6px 0;
  color: var(--text-muted);
}

.top-bar-info { display: flex; gap: 8px; flex-wrap: wrap; }
.top-bar-links { display: flex; gap: 8px; align-items: center; }
.top-bar-links a { color: var(--text-muted); font-size: 0.75rem; }
.top-bar-links a:hover { color: var(--gold); }

/* ============ HEADER ============ */
.site-header {
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img { height: 36px; width: auto; }

.header-logo span { color: var(--gold); }

.header-nav { display: flex; gap: 4px; align-items: center; }

.header-nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
  background: rgba(212,175,55,0.12);
  color: var(--gold);
}

.header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0a0a1a; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(212,175,55,0.4); color: #0a0a1a; }
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #0a0a1a; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius); }

/* ============ MOBILE MENU ============ */
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; padding: 4px; }

@media (max-width: 900px) {
  .mobile-toggle { display: block; }
  .top-bar-info span + span { display: none; }
  .header-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 12px;
    border-bottom: 2px solid var(--gold);
    gap: 2px;
  }
  .header-nav.open { display: flex; }
  .header-nav a { padding: 12px 16px; width: 100%; }
  .header-actions { gap: 4px; }
  .header-actions .btn { padding: 8px 14px; font-size: 0.8rem; }
  .header-logo { font-size: 1.1rem; }
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a0a2e 50%, var(--bg-primary) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(212,175,55,0.08) 0%, transparent 60%),
              radial-gradient(circle at 70% 30%, rgba(230,57,70,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 28px;
}

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

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.badge { padding: 6px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }
.badge-gold { background: rgba(212,175,55,0.15); color: var(--gold); border: 1px solid rgba(212,175,55,0.3); }
.badge-green { background: rgba(46,204,113,0.15); color: var(--success); border: 1px solid rgba(46,204,113,0.3); }
.badge-blue { background: rgba(64,150,255,0.15); color: #4096ff; border: 1px solid rgba(64,150,255,0.3); }
.badge-red { background: rgba(230,57,70,0.15); color: var(--accent); border: 1px solid rgba(230,57,70,0.3); }

/* ============ TRUST BADGES ============ */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(18,18,42,0.8);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.trust-item .icon { font-size: 1.3rem; }

/* ============ SECTIONS ============ */
.section { padding: 64px 0; }

.section-header { text-align: center; margin-bottom: 40px; }

.section-header h2 { margin: 8px 0 12px; }

.section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ============ CARD GRID ============ */
.card-grid { display: grid; gap: 16px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) { .card-grid.cols-4, .card-grid.cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .card-grid.cols-3, .card-grid.cols-4, .card-grid.cols-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4, .card-grid.cols-5 { grid-template-columns: 1fr; } }

/* ============ APP/GAME CARDS ============ */
.game-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  text-decoration: none;
  display: block;
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
  background: var(--bg-card-hover);
}

.game-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--bg-secondary);
}

.game-card-body { padding: 14px; }

.game-card-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.game-card-rating { color: var(--gold); font-weight: 600; }
.game-card-rtp { color: var(--success); font-weight: 600; }

/* ============ COMPACT APP CARDS ============ */
.app-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }

.app-card-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: var(--transition);
}
.app-card-mini:hover { border-color: var(--gold); background: var(--bg-card-hover); }

.app-card-mini img {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-secondary);
}
.app-card-mini-body { min-width: 0; }
.app-card-mini-name {
  font-size: 0.82rem; font-weight: 600; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app-card-mini-meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.app-card-mini-rating { color: var(--gold); font-weight: 600; }

/* ============ PROVIDER LOGOS ============ */
.provider-section { background: var(--bg-secondary); }

.provider-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.provider-item {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.provider-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-color);
}

.provider-item img { height: 32px; width: auto; opacity: 0.7; transition: var(--transition); }
.provider-item:hover img { opacity: 1; }

/* ============ BONUS CARDS ============ */
.bonus-card {
  background: linear-gradient(135deg, var(--bg-card), #1a1030);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bonus-card::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.08;
}

.bonus-card:hover { border-color: var(--gold); transform: translateY(-2px); }

.bonus-percent {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.bonus-title { font-weight: 600; margin: 10px 0 6px; }

.bonus-desc { font-size: 0.85rem; color: var(--text-muted); }

/* ============ PAYMENT METHODS ============ */
.payment-section { background: var(--bg-secondary); }

.payment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.payment-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.payment-item:hover { border-color: var(--gold); }

/* ============ PROSE CONTENT ============ */
.prose {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.8;
}

.prose h2 { color: var(--text-primary); margin: 36px 0 16px; }
.prose h3 { color: var(--text-primary); margin: 24px 0 12px; font-size: 1.15rem; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin-bottom: 16px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--gold); }
.prose a { color: var(--gold); text-decoration: underline; }

/* ============ LICENSE BADGES ============ */
.license-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.license-badge {
  padding: 10px 20px;
  background: rgba(212,175,55,0.08);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(212,175,55,0.2);
}

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

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
}

.faq-q {
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
}

.faq-q .arrow { transition: var(--transition); font-size: 0.8rem; color: var(--gold); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }

.faq-a {
  padding: 0 24px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-a { display: block; }

/* ============ CTA ============ */
.cta-section {
  background: linear-gradient(135deg, var(--accent), #8b0030);
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 { margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.8); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section .btn { font-size: 1.1rem; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 3px solid var(--gold);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 32px; margin-bottom: 12px; }

.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--gold);
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: var(--transition);
}

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

.footer-warning {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(230,57,70,0.08);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--accent);
  border: 1px solid rgba(230,57,70,0.2);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============ PAGE HEADER ============ */
.page-header {
  background: linear-gradient(135deg, var(--bg-secondary), #1a0a2e);
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.page-header p { color: var(--text-secondary); margin-top: 8px; }

/* ============ DETAIL PAGE ============ */
.detail-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 40px 0; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } }

.detail-sidebar { position: sticky; top: 88px; align-self: start; }

.detail-sidebar-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border-color);
}

.detail-sidebar-card img { width: 80px; height: 80px; border-radius: var(--radius-sm); margin: 0 auto 16px; object-fit: cover; }

.detail-sidebar-card h3 { text-align: center; margin-bottom: 16px; font-size: 1.1rem; }

.detail-info { display: grid; gap: 10px; }

.detail-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color);
}

.detail-info-row .label { color: var(--text-muted); }
.detail-info-row .value { font-weight: 500; }

.detail-main h1 { margin-bottom: 8px; }
.detail-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }

.detail-body { color: var(--text-secondary); line-height: 1.8; }
.detail-body h2 { font-size: 1.4rem; margin: 28px 0 14px; }
.detail-body h3 { font-size: 1.1rem; margin: 22px 0 10px; }
.detail-body p { margin-bottom: 14px; }
.detail-body img { border-radius: var(--radius); margin: 16px 0; }
.detail-body ul, .detail-body ol { margin-bottom: 14px; padding-left: 20px; }

/* ============ SCREENSHOTS ============ */
.screenshots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 24px 0; }

.screenshots img {
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.screenshots img:hover { border-color: var(--gold); transform: scale(1.02); }

/* ============ ARCHIVE HEADER ============ */
.archive-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.archive-stat { text-align: center; }
.archive-stat .num { font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.archive-stat .label { font-size: 0.8rem; color: var(--text-muted); }

/* ============ ARTICLE CARD (list view) ============ */
.article-card {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-decoration: none;
  margin-bottom: 12px;
}

.article-card:hover { border-color: var(--gold); background: var(--bg-card-hover); }

.article-card-img {
  width: 140px;
  height: 100px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.article-card-body { flex: 1; min-width: 0; }
.article-card-title { font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.article-card-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; line-height: 1.4; }
.article-card-footer { font-size: 0.78rem; color: var(--text-muted); }

@media (max-width: 600px) {
  .article-card { flex-direction: column; }
  .article-card-img { width: 100%; height: 160px; }
}

/* ============ BREADCRUMB ============ */
.breadcrumb { padding: 16px 0; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb span { color: var(--gold); }

/* ============ PAGINATION ============ */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0 20px; }
.pagination a, .pagination span {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .active { background: var(--gold); color: #0a0a1a; border-color: var(--gold); }

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate { animation: fadeInUp 0.5s ease forwards; }

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 8px; }
.flex-wrap { flex-wrap: wrap; }
.d-flex { display: flex; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }

/* ============ SCROLL TO TOP ============ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: #0a0a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-2px); }

/* WordPress / entry-content compat */
.site-main{display:block}
.entry-content{max-width:100%}
.entry-content .prose p{margin-bottom:1em}
.entry-content .wp-block-heading{margin:0 0 .75rem}
.breadcrumb{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.breadcrumb a{color:var(--gold);text-decoration:none}
.wp-block-button__link{display:inline-flex}

/* ============ RESPONSIVE FIXES (移动端适配) ============ */
/* 中宽屏（平板竖屏/小笔记本）header 防止导航+按钮溢出 */
@media (max-width: 1024px) {
  .header-nav { gap: 0; }
  .header-nav a { padding: 8px 10px; font-size: 0.82rem; }
  .header-actions { gap: 4px; }
  .header-actions .btn { padding: 8px 12px; font-size: 0.78rem; }
}

/* 首页双栏布局 → 移动端单列 */
.home-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.home-checklist { list-style: none; padding: 0; margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 900px) { .home-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 480px) { .home-checklist { grid-template-columns: 1fr; } }

/* App/Game 详情 Hero 区：移动端减小留白、按钮全宽避免溢出被裁剪 */
.app-hero { padding: 56px 0 40px; }
@media (max-width: 600px) {
  .app-hero { padding: 32px 0 24px !important; }
  /* hero-wrap 外层为内联 flex，需用 !important 覆盖为单列，使文本与按钮占满全宽 */
  .hero-wrap { flex-direction: column !important; align-items: stretch !important; }
  .hero-wrap > img { margin: 0 auto 4px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; padding: 12px 16px; font-size: 0.9rem; }
}

/* 特性网格：移动端单列 */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* 上一篇/下一篇导航：移动端纵向堆叠 */
@media (max-width: 600px) { .detail-prevnext { flex-direction: column; } }
