/* HIX168 (hixplay.com) — Proportional Responsive Stylesheet */
:root {
  --bg: #060F22;
  --surface: #0C1B38;
  --surface2: #132850;
  --primary: #2563EB;
  --secondary: #0EA5E9;
  --accent: #FBBF24;
  --text: #F8FAFC;
  --muted: #94A3B8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: 'Noto Sans Thai', 'Prompt', 'Kanit', sans-serif; background: var(--bg); color: var(--text); }
body { background: var(--bg); color: var(--text); line-height: 1.82; text-align: left; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: #ffffff; text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.hxp-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.hxp-topbar { background: linear-gradient(90deg, var(--surface2), var(--surface)); border-bottom: 1px solid rgba(255,255,255,0.09); padding: 8px 0; font-size: 0.88rem; }
.hxp-topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.hxp-badge-pill { background: rgba(255,255,255,0.08); border: 1px solid var(--accent); color: var(--accent); padding: 3px 12px; border-radius: 999px; font-weight: 600; font-size: 0.82rem; }
.hxp-header { background: rgba(10, 18, 32, 0.96); backdrop-filter: blur(12px); border-bottom: 2px solid var(--primary); position: sticky; top: 0; z-index: 100; padding: 12px 0; }
.hxp-header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.hxp-logo-wrap { display: flex; align-items: center; gap: 12px; background: transparent; }
.hxp-logo-wrap img { height: 54px; width: auto; object-fit: contain; background: transparent; }
.hxp-login-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hxp-login-input { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18); color: #fff; padding: 8px 12px; border-radius: 8px; font-size: 0.88rem; width: 175px; }
.hxp-btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #06101E; font-weight: 700; padding: 9px 18px; border-radius: 8px; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important; }
.hxp-btn-outline { background: rgba(255,255,255,0.06); border: 1.5px solid var(--accent); color: var(--accent); font-weight: 600; padding: 8px 16px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important; }
.hxp-nav { background: var(--surface); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 10px 0; }
.hxp-nav-list { display: flex; gap: 10px; list-style: none; flex-wrap: wrap; align-items: center; }
.hxp-nav-list a { display: inline-block; padding: 7px 14px; border-radius: 8px; color: var(--text); font-weight: 500; font-size: 0.94rem; background: rgba(255,255,255,0.03); }
.hxp-nav-list a:hover, .hxp-nav-list a.active { background: var(--primary); color: #fff; text-decoration: none; }
.hxp-hero { padding: 28px 0 20px; }
.hxp-hero-banner { border-radius: 18px; overflow: hidden; border: 2px solid rgba(255,255,255,0.14); box-shadow: 0 18px 42px rgba(0,0,0,0.45); margin-bottom: 22px; background: var(--surface); }
.hxp-hero-banner img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; display: block; }
.hxp-breadcrumb { font-size: 0.9rem; color: var(--muted); margin: 12px 0 18px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hxp-summary-box { background: linear-gradient(145deg, var(--surface), var(--surface2)); border-left: 5px solid var(--accent); border-radius: 14px; padding: 22px 26px; margin: 20px 0 26px; box-shadow: 0 10px 28px rgba(0,0,0,0.28); }
.hxp-summary-box h2 { color: var(--accent); font-size: 1.32rem; margin-bottom: 10px; }
.hxp-summary-box ul { margin-top: 12px; padding-left: 20px; }
.hxp-summary-box li { margin-bottom: 6px; }
.hxp-byline { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; background: rgba(255,255,255,0.04); padding: 12px 18px; border-radius: 10px; font-size: 0.88rem; color: var(--muted); margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.08); }
.hxp-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; margin-bottom: 40px; }
.hxp-toc { background: var(--surface); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 20px; position: sticky; top: 92px; }
.hxp-toc h3 { color: var(--accent); font-size: 1.05rem; margin-bottom: 12px; }
.hxp-toc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hxp-toc a { color: var(--text); font-size: 0.92rem; display: block; padding: 6px 10px; border-radius: 6px; background: rgba(255,255,255,0.03); }
.hxp-toc a:hover { background: var(--primary); color: #fff; text-decoration: none; }
.hxp-article section { background: var(--surface); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 28px; margin-bottom: 26px; }
.hxp-article h1 { font-size: 1.95rem; line-height: 1.35; color: #fff; margin-bottom: 14px; }
.hxp-article h2 { font-size: 1.48rem; color: var(--accent); margin-bottom: 14px; line-height: 1.4; }
.hxp-article h3 { font-size: 1.18rem; color: var(--secondary); margin: 16px 0 10px; }
.hxp-article p { margin-bottom: 16px; font-size: 1.03rem; line-height: 1.84; text-align: left; color: var(--text); }
.hxp-figure { margin: 22px 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); background: var(--surface2); }
.hxp-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; display: block; }
.hxp-figure figcaption { padding: 10px 16px; font-size: 0.88rem; color: var(--muted); text-align: center; }
.hxp-table-wrap { overflow-x: auto; margin: 18px 0; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); }
.hxp-table { width: 100%; border-collapse: collapse; min-width: 600px; background: var(--surface2); }
.hxp-table caption { text-align: left; padding: 12px 16px; font-weight: 700; color: var(--accent); background: rgba(0,0,0,0.25); }
.hxp-table th, .hxp-table td { padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); text-align: left; font-size: 0.95rem; }
.hxp-table th { background: rgba(255,255,255,0.06); color: var(--accent); font-weight: 700; }
.hxp-checklist { padding-left: 22px; margin: 16px 0; }
.hxp-checklist li { margin-bottom: 10px; line-height: 1.78; }
.hxp-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 18px; }
.hxp-card { background: var(--surface2); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.hxp-card-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; display: block; }
.hxp-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.hxp-card-cat { font-size: 0.78rem; color: var(--accent); font-weight: 700; text-transform: uppercase; }
.hxp-reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 16px; }
.hxp-review-card { background: var(--surface2); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 20px; }
.hxp-review-author { display: block; margin-top: 10px; font-size: 0.86rem; color: var(--accent); font-weight: 600; }
.hxp-faq-item { background: var(--surface2); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 14px 18px; margin-bottom: 12px; }
.hxp-faq-item summary { font-weight: 700; cursor: pointer; color: #fff; font-size: 1.02rem; }
.hxp-faq-item p { margin-top: 10px; margin-bottom: 0; color: var(--text); }
.hxp-footer { background: #040914; border-top: 2px solid var(--primary); padding: 48px 0 28px; margin-top: 50px; }
.hxp-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-bottom: 32px; }
.hxp-footer-col h3, .hxp-footer-col h4 { color: var(--accent); margin-bottom: 14px; font-size: 1.06rem; }
.hxp-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hxp-pay-strip { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; padding: 20px; background: rgba(255,255,255,0.03); border-radius: 12px; margin-bottom: 22px; }
.hxp-pay-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); padding: 6px 14px; border-radius: 8px; font-size: 0.85rem; }
.hxp-pay-chip img { height: 24px; width: auto; }
@media (max-width: 960px) {
  .hxp-layout { grid-template-columns: 1fr; }
  .hxp-toc { position: static; }
  .hxp-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hxp-footer-grid { grid-template-columns: 1fr; }
  .hxp-article h1 { font-size: 1.52rem; }
}
