:root {
  --nah4-bg: #0B132B;
  --nah4-surface: #1C2541;
  --nah4-primary: #152953;
  --nah4-accent: #3fb819;
  --nah4-text: #E0E1DD;
  --nah4-text-mut: #A3A8B7;
  --nah4-border: #2A3A5A;
  --nah4-font-head: 'Kanit', sans-serif;
  --nah4-font-body: 'Inter', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; max-width: 100vw; overflow-x: hidden; }
body {
  background-color: var(--nah4-bg);
  color: var(--nah4-text);
  font-family: var(--nah4-font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.nah4-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
a { color: var(--nah4-accent); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #52d628; }
img { max-width: 100%; height: auto; display: block; }

/* Typography */
.nah4-arcade-text { font-family: var(--nah4-font-head); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }

/* Header */
.nah4-header { background: var(--nah4-primary); border-bottom: 2px solid var(--nah4-accent); position: relative; z-index: 50; }
.nah4-header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.nah4-logo { font-family: var(--nah4-font-head); font-size: 26px; color: var(--nah4-accent); font-weight: 800; letter-spacing: 1.5px; text-shadow: 0 0 10px rgba(63,184,25,0.3); }
.nah4-nav-menu { display: flex; gap: 20px; }
.nah4-nav-link { color: #fff; font-size: 14px; font-weight: 500; padding: 5px 0; }
.nah4-nav-link:hover { color: var(--nah4-accent); }
.nah4-nav-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 5px; flex-direction: column; gap: 4px; }
.nah4-bar { width: 24px; height: 3px; background: var(--nah4-accent); display: block; border-radius: 2px; }

/* Ticker */
.nah4-ticker-wrap { display: flex; background: #080d1e; border-bottom: 1px solid var(--nah4-border); height: 40px; align-items: center; width: 100%; overflow: hidden; }
.nah4-ticker-label { background: var(--nah4-accent); color: #000; font-family: var(--nah4-font-head); font-size: 13px; font-weight: 800; padding: 0 15px; height: 100%; display: flex; align-items: center; z-index: 2; position: relative; }
.nah4-ticker-inner { flex: 1; overflow: hidden; position: relative; height: 100%; display: flex; align-items: center; }
.nah4-ticker-track { display: flex; white-space: nowrap; animation: nah4-ticker-anim 25s linear infinite; gap: 40px; padding-left: 100%; }
.nah4-ticker-item { font-size: 13px; color: var(--nah4-text-mut); }
@keyframes nah4-ticker-anim { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* Hero */
.nah4-hero { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; text-align: center; }
.nah4-hero-bg { position: absolute; inset: 0; z-index: 1; }
.nah4-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; mix-blend-mode: luminosity; }
.nah4-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,19,43,0.3) 0%, rgba(11,19,43,1) 100%); z-index: 2; }
.nah4-hero-content { position: relative; z-index: 3; }
.nah4-hero-slogan { font-size: 32px; color: #fff; text-shadow: 0 2px 15px rgba(0,0,0,0.8), 0 0 10px rgba(63,184,25,0.5); line-height: 1.3; }

/* Stats Section */
.nah4-stats-section { padding: 30px 0; background: var(--nah4-bg); position: relative; z-index: 4; margin-top: -30px; }
.nah4-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.nah4-stat-card { background: var(--nah4-surface); border: 1px solid var(--nah4-border); border-radius: 4px; padding: 20px; text-align: center; }
.nah4-stat-val { font-family: var(--nah4-font-head); font-size: 24px; color: var(--nah4-accent); font-weight: 700; }
.nah4-stat-lbl { font-size: 13px; color: var(--nah4-text-mut); margin-top: 5px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Grid & Cards */
.nah4-portal-grid { padding: 40px 0; }
.nah4-section-header { margin-bottom: 25px; border-left: 4px solid var(--nah4-accent); padding-left: 15px; }
.nah4-section-title { font-size: 24px; color: #fff; }
.nah4-sub-title { font-size: 22px; color: #fff; margin-bottom: 20px; border-bottom: 1px solid var(--nah4-border); padding-bottom: 10px; }
.nah4-filter-scroll { width: 100%; overflow-x: auto; margin-bottom: 30px; -ms-overflow-style: none; scrollbar-width: none; }
.nah4-filter-scroll::-webkit-scrollbar { display: none; }
.nah4-filter-chips { display: flex; gap: 10px; min-width: max-content; padding-bottom: 5px; }
.nah4-chip { background: var(--nah4-surface); border: 1px solid var(--nah4-border); color: var(--nah4-text); padding: 8px 16px; border-radius: 4px; font-size: 14px; cursor: pointer; transition: all 0.3s; font-family: var(--nah4-font-body); }
.nah4-chip:hover, .nah4-chip.nah4-active { background: var(--nah4-primary); border-color: var(--nah4-accent); color: var(--nah4-accent); box-shadow: 0 0 10px rgba(63,184,25,0.2); }
.nah4-grid-masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.nah4-card { display: block; background: var(--nah4-surface); border-radius: 4px; overflow: hidden; border: 1px solid var(--nah4-border); transition: all 0.3s ease; position: relative; }
.nah4-card:hover { transform: translateY(-4px); box-shadow: 0 0 15px rgba(63,184,25,0.4); border-color: var(--nah4-accent); }
.nah4-card-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #000; }
.nah4-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.nah4-card:hover .nah4-card-img { transform: scale(1.05); }
.nah4-card-badge { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.8); border: 1px solid var(--nah4-accent); color: var(--nah4-accent); font-size: 12px; padding: 3px 8px; border-radius: 2px; font-weight: 600; }
.nah4-card-content { padding: 15px; }
.nah4-card-title { font-size: 15px; color: #fff; font-weight: 600; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nah4-card-sub { font-size: 13px; color: var(--nah4-text-mut); }

/* Benefits & Steps */
.nah4-benefits, .nah4-steps, .nah4-payments { padding: 40px 0; }
.nah4-benefit-cards, .nah4-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nah4-benefit-item { background: linear-gradient(145deg, var(--nah4-surface), var(--nah4-primary)); padding: 25px; border-radius: 4px; border-top: 3px solid var(--nah4-accent); }
.nah4-benefit-title { font-size: 18px; color: #fff; margin-bottom: 10px; font-weight: 600; }
.nah4-benefit-desc { font-size: 14px; color: var(--nah4-text-mut); }
.nah4-step { background: var(--nah4-surface); border: 1px solid var(--nah4-border); padding: 30px 20px; text-align: center; border-radius: 4px; position: relative; }
.nah4-step-num { width: 40px; height: 40px; background: var(--nah4-accent); color: #000; font-family: var(--nah4-font-head); font-size: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 15px auto; font-weight: 800; }
.nah4-step-title { font-size: 18px; color: #fff; margin-bottom: 10px; }
.nah4-step-desc { font-size: 14px; color: var(--nah4-text-mut); }

/* Payments */
.nah4-payment-note { font-size: 13px; color: var(--nah4-text-mut); margin-bottom: 20px; font-style: italic; }
.nah4-payment-list { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.nah4-payment-badge { background: #fff; color: #000; font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 4px; border: 2px solid #ddd; display: inline-block; }

/* Pages */
.nah4-page-main { padding: 40px 0; min-height: 60vh; }
.nah4-breadcrumbs { margin-bottom: 20px; font-size: 13px; color: var(--nah4-text-mut); }
.nah4-crumb-link { color: var(--nah4-text-mut); }
.nah4-crumb-link:hover { color: var(--nah4-accent); }
.nah4-crumb-sep { margin: 0 8px; color: #555; }
.nah4-page-header { margin-bottom: 30px; border-bottom: 1px solid var(--nah4-border); padding-bottom: 20px; }
.nah4-page-title { font-size: 32px; color: #fff; margin-bottom: 10px; }
.nah4-meta-desc { font-size: 15px; color: var(--nah4-text-mut); }

/* Article */
.nah4-article-content { background: var(--nah4-surface); padding: 30px; border-radius: 4px; border: 1px solid var(--nah4-border); font-size: 16px; margin-bottom: 40px; overflow-wrap: break-word; word-wrap: break-word; }
.nah4-article-content h2, .nah4-article-content h3 { font-family: var(--nah4-font-head); color: #fff; margin: 30px 0 15px; text-transform: uppercase; }
.nah4-article-content h2 { font-size: 24px; border-left: 3px solid var(--nah4-accent); padding-left: 10px; }
.nah4-article-content h3 { font-size: 20px; }
.nah4-article-content p { margin-bottom: 20px; line-height: 1.8; }
.nah4-article-content ul, .nah4-article-content ol { margin: 0 0 20px 20px; line-height: 1.8; }
.nah4-article-content li { margin-bottom: 8px; }
.nah4-article-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; }
.nah4-article-content th, .nah4-article-content td { padding: 12px 15px; border: 1px solid var(--nah4-border); }
.nah4-article-content th { background: var(--nah4-primary); color: #fff; font-weight: 600; text-align: left; }
.nah4-article-content figure img { max-width: 100%; border-radius: 4px; margin-bottom: 10px; }
.nah4-article-content blockquote { border-left: 4px solid var(--nah4-accent); background: var(--nah4-primary); padding: 15px 20px; margin-bottom: 20px; font-style: italic; }
.nah4-article-content hr { border: none; border-top: 1px solid var(--nah4-border); margin: 30px 0; }

/* FAQ Section */
.nah4-faq-section { margin-bottom: 40px; }
.nah4-faq-list { display: flex; flex-direction: column; gap: 15px; }
.nah4-faq-item { background: var(--nah4-surface); border: 1px solid var(--nah4-border); border-radius: 4px; overflow: hidden; }
.nah4-faq-q { padding: 15px 20px; font-weight: 600; color: #fff; cursor: pointer; background: rgba(0,0,0,0.2); transition: background 0.3s; font-size: 16px; display: block; }
.nah4-faq-q::-webkit-details-marker { display: none; }
.nah4-faq-q:hover { background: rgba(63,184,25,0.1); color: var(--nah4-accent); }
.nah4-faq-a { padding: 20px; border-top: 1px solid var(--nah4-border); font-size: 15px; line-height: 1.7; color: var(--nah4-text-mut); }

/* Pagination & Related */
.nah4-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.nah4-pager-link { background: var(--nah4-surface); border: 1px solid var(--nah4-border); padding: 8px 16px; border-radius: 4px; color: var(--nah4-text); font-size: 14px; font-weight: 500; transition: all 0.3s; }
.nah4-pager-link:hover { background: var(--nah4-primary); color: var(--nah4-accent); border-color: var(--nah4-accent); }
.nah4-related { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--nah4-border); }

/* Footer */
.nah4-footer { background: #080C17; border-top: 3px solid var(--nah4-accent); padding: 50px 0 20px; }
.nah4-footer-top { text-align: center; margin-bottom: 30px; }
.nah4-footer-top .nah4-logo { margin-bottom: 15px; justify-content: center; }
.nah4-footer-desc { font-size: 14px; color: var(--nah4-text-mut); max-width: 700px; margin: 0 auto; }
.nah4-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 30px; }
.nah4-footer-links a { color: var(--nah4-text); font-size: 14px; }
.nah4-footer-links a:hover { color: var(--nah4-accent); }
.nah4-footer-legal { font-size: 12px; color: #666; text-align: center; margin-bottom: 20px; border-top: 1px solid var(--nah4-border); padding-top: 20px; }
.nah4-footer-copy { text-align: center; font-size: 13px; color: var(--nah4-text-mut); }

/* Responsive */
@media (max-width: 900px) {
  .nah4-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nah4-benefit-cards, .nah4-steps-grid { grid-template-columns: 1fr; }
  .nah4-hero { height: 300px; }
  .nah4-hero-slogan { font-size: 24px; }
}
@media (max-width: 600px) {
  .nah4-nav-toggle { display: flex; }
  .nah4-nav-menu { display: none; flex-direction: column; width: 100%; position: absolute; top: 70px; left: 0; background: var(--nah4-primary); padding: 20px; border-bottom: 1px solid var(--nah4-border); box-shadow: 0 10px 15px rgba(0,0,0,0.5); }
  .nah4-nav-menu.nah4-active { display: flex; }
  .nah4-grid-masonry { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nah4-card-title { font-size: 14px; }
  .nah4-card-content { padding: 10px; }
  .nah4-article-content { padding: 15px; font-size: 15px; }
  .nah4-page-title { font-size: 24px; }
}
@media (max-width: 400px) {
  .nah4-grid-masonry { grid-template-columns: 1fr; }
}
