:root {
  --gno4-bg: #0B1310;
  --gno4-surface: #12211C;
  --gno4-surface-alt: #1a3028;
  --gno4-primary: #185b46;
  --gno4-accent: #b045ad;
  --gno4-text-light: #E0E6E3;
  --gno4-text-mute: #8eaba0;
  --gno4-font-head: 'Kanit', sans-serif;
  --gno4-font-body: 'Inter', sans-serif;
  --gno4-radius: 4px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--gno4-font-body);
  background-color: var(--gno4-bg);
  color: var(--gno4-text-light);
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.gno4-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Header */
.gno4-header { background-color: var(--gno4-surface); border-bottom: 2px solid var(--gno4-primary); }
.gno4-header-inner { display: flex; flex-direction: column; align-items: center; padding: 16px 0; gap: 16px; }
.gno4-brand-logo { font-family: var(--gno4-font-head); font-size: 28px; font-weight: 800; color: var(--gno4-accent); text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 0 10px rgba(176,69,173,0.5); }
.gno4-nav-wrap { width: 100%; overflow-x: auto; display: flex; gap: 16px; padding-bottom: 4px; justify-content: center; white-space: nowrap; }
.gno4-nav-wrap::-webkit-scrollbar { height: 4px; }
.gno4-nav-wrap::-webkit-scrollbar-thumb { background: var(--gno4-primary); border-radius: var(--gno4-radius); }
.gno4-nav-link { font-weight: 600; font-size: 14px; text-transform: uppercase; color: var(--gno4-text-light); transition: color 0.3s; padding: 8px 12px; }
.gno4-nav-link:hover { color: var(--gno4-accent); }

@media (min-width: 768px) {
  .gno4-header-inner { flex-direction: row; justify-content: space-between; }
  .gno4-nav-wrap { width: auto; justify-content: flex-end; padding-bottom: 0; }
}

/* Ticker */
.gno4-ticker-wrap { width: 100%; display: flex; background-color: #000; border-bottom: 1px solid var(--gno4-surface-alt); align-items: center; position: relative; overflow: hidden; }
.gno4-ticker-label { background-color: var(--gno4-primary); color: #fff; font-family: var(--gno4-font-head); font-weight: 700; padding: 6px 16px; font-size: 14px; position: relative; z-index: 2; }
.gno4-ticker-track { display: flex; white-space: nowrap; animation: gno4-scroll 25s linear infinite; padding-left: 100%; }
.gno4-ticker-item { margin-right: 40px; font-size: 13px; color: var(--gno4-text-mute); }
.gno4-ticker-item:hover { color: var(--gno4-accent); }
@keyframes gno4-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* Hero */
.gno4-hero { position: relative; width: 100%; min-height: 300px; display: flex; align-items: center; background: var(--gno4-surface); overflow: hidden; }
.gno4-hero-media { position: absolute; inset: 0; z-index: 1; }
.gno4-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.gno4-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--gno4-bg), transparent); z-index: 2; }
.gno4-hero-content { position: relative; z-index: 3; text-align: center; padding: 60px 16px; }
.gno4-hero-title { font-family: var(--gno4-font-head); font-size: 32px; font-weight: 800; color: #fff; text-transform: uppercase; margin-bottom: 16px; line-height: 1.2; text-shadow: 2px 2px 4px rgba(0,0,0,0.8); }
.gno4-hero-desc { font-size: 16px; color: var(--gno4-text-light); max-width: 600px; margin: 0 auto; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); }

@media (min-width: 768px) {
  .gno4-hero { min-height: 400px; }
  .gno4-hero-title { font-size: 48px; }
}

/* Stats */
.gno4-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: -30px; position: relative; z-index: 10; padding: 0 16px; margin-bottom: 40px; }
.gno4-stat-box { background: var(--gno4-surface); border: 1px solid var(--gno4-primary); padding: 16px; text-align: center; border-radius: var(--gno4-radius); box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.gno4-stat-num { display: block; font-family: var(--gno4-font-head); font-size: 24px; color: var(--gno4-accent); font-weight: 700; margin-bottom: 4px; }
.gno4-stat-label { display: block; font-size: 12px; text-transform: uppercase; color: var(--gno4-text-mute); font-weight: 600; letter-spacing: 0.5px; }

@media (min-width: 768px) {
  .gno4-stats { grid-template-columns: repeat(4, 1fr); margin-top: -40px; }
  .gno4-stat-num { font-size: 32px; }
}

/* Main Spacing */
.gno4-main section { margin-bottom: 60px; }
.gno4-section-head { margin-bottom: 24px; text-align: center; }
.gno4-section-title { font-family: var(--gno4-font-head); font-size: 24px; color: #fff; text-transform: uppercase; margin-bottom: 8px; border-left: 4px solid var(--gno4-accent); padding-left: 12px; text-align: left; display: inline-block; width: 100%; }

/* Filters */
.gno4-filters { display: flex; gap: 10px; margin-bottom: 24px; overflow-x: auto; padding-bottom: 8px; white-space: nowrap; }
.gno4-filters::-webkit-scrollbar { height: 0; }
.gno4-chip { background: var(--gno4-surface); border: 1px solid var(--gno4-surface-alt); color: var(--gno4-text-light); padding: 8px 16px; border-radius: var(--gno4-radius); cursor: pointer; font-family: var(--gno4-font-body); font-weight: 500; font-size: 14px; transition: all 0.3s; }
.gno4-chip:hover, .gno4-chip.gno4-chip-active { background: var(--gno4-primary); border-color: var(--gno4-primary); color: #fff; }

/* Grid & Cards */
.gno4-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 600px) { .gno4-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 900px) { .gno4-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.gno4-card { display: flex; flex-direction: column; background: var(--gno4-surface); border-radius: var(--gno4-radius); overflow: hidden; border: 1px solid var(--gno4-surface-alt); transition: transform 0.3s, border-color 0.3s; }
.gno4-card:hover { transform: translateY(-4px); border-color: var(--gno4-accent); }
.gno4-card-img-wrap { position: relative; padding-top: 75%; background: var(--gno4-bg); }
.gno4-card-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gno4-card-badge { position: absolute; top: 8px; right: 8px; background: var(--gno4-accent); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 6px; border-radius: var(--gno4-radius); font-family: var(--gno4-font-head); }
.gno4-card-content { padding: 12px; }
.gno4-card-title { font-family: var(--gno4-font-head); font-size: 16px; color: #fff; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gno4-card-sub { font-size: 12px; color: var(--gno4-text-mute); }

/* Features & Steps */
.gno4-feature-grid, .gno4-step-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) {
  .gno4-feature-grid, .gno4-step-row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.gno4-feature-card, .gno4-step-item { background: var(--gno4-surface); padding: 24px; border-radius: var(--gno4-radius); border-top: 3px solid var(--gno4-primary); }
.gno4-feature-icon { font-size: 32px; margin-bottom: 16px; }
.gno4-feature-title, .gno4-step-title { font-family: var(--gno4-font-head); font-size: 18px; color: #fff; margin-bottom: 8px; }
.gno4-feature-desc, .gno4-step-desc { font-size: 14px; color: var(--gno4-text-mute); }

.gno4-step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--gno4-accent); color: #fff; font-family: var(--gno4-font-head); font-size: 20px; font-weight: 700; border-radius: var(--gno4-radius); margin-bottom: 16px; }

/* Payments */
.gno4-payments { background: var(--gno4-surface-alt); padding: 24px; border-radius: var(--gno4-radius); text-align: center; }
.gno4-payment-title { font-size: 14px; color: var(--gno4-text-mute); margin-bottom: 16px; text-transform: uppercase; font-weight: 600; }
.gno4-payment-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.gno4-pay-label { background: var(--gno4-surface); border: 1px solid var(--gno4-primary); padding: 6px 12px; font-size: 13px; font-weight: 700; border-radius: var(--gno4-radius); color: #fff; }

/* Inner Pages & Article */
.gno4-inner-page { padding-top: 40px; }
.gno4-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--gno4-text-mute); margin-bottom: 16px; }
.gno4-crumb-link:hover { color: var(--gno4-accent); }
.gno4-crumb-sep { color: var(--gno4-surface-alt); }
.gno4-page-title { font-family: var(--gno4-font-head); font-size: 32px; color: #fff; text-transform: uppercase; margin-bottom: 8px; }
.gno4-meta-desc { font-size: 16px; color: var(--gno4-text-mute); border-bottom: 1px solid var(--gno4-surface-alt); padding-bottom: 24px; margin-bottom: 32px; }

/* Article Content HTML Injection Styling */
.gno4-article { background: var(--gno4-surface); padding: 24px; border-radius: var(--gno4-radius); font-size: 16px; line-height: 1.7; color: var(--gno4-text-light); }
.gno4-article h1, .gno4-article h2, .gno4-article h3, .gno4-article h4 { font-family: var(--gno4-font-head); color: #fff; margin-top: 1.5em; margin-bottom: 0.75em; line-height: 1.3; }
.gno4-article h2 { font-size: 24px; border-left: 4px solid var(--gno4-primary); padding-left: 12px; }
.gno4-article h3 { font-size: 20px; color: var(--gno4-accent); }
.gno4-article p { margin-bottom: 1em; font-size: 16px; }
.gno4-article ul, .gno4-article ol { margin-bottom: 1em; padding-left: 20px; }
.gno4-article li { margin-bottom: 0.5em; }
.gno4-article a { color: var(--gno4-accent); text-decoration: underline; }
.gno4-article blockquote { border-left: 4px solid var(--gno4-accent); padding: 12px 20px; background: var(--gno4-bg); margin-bottom: 1em; font-style: italic; }
.gno4-article table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.gno4-article th, .gno4-article td { padding: 10px; border: 1px solid var(--gno4-surface-alt); text-align: left; }
.gno4-article th { background: var(--gno4-surface-alt); color: #fff; }

@media (min-width: 768px) {
  .gno4-article { padding: 40px; }
}

/* FAQ */
.gno4-faq-list { display: flex; flex-direction: column; gap: 12px; }
.gno4-faq-item { background: var(--gno4-surface); border: 1px solid var(--gno4-surface-alt); border-radius: var(--gno4-radius); }
.gno4-faq-q { padding: 16px; font-weight: 600; color: #fff; cursor: pointer; list-style: none; position: relative; font-family: var(--gno4-font-head); font-size: 16px; }
.gno4-faq-q::-webkit-details-marker { display: none; }
.gno4-faq-q::after { content: '+'; position: absolute; right: 16px; top: 16px; color: var(--gno4-accent); font-weight: 700; font-size: 18px; }
.gno4-faq-item[open] .gno4-faq-q::after { content: '-'; }
.gno4-faq-a { padding: 0 16px 16px; color: var(--gno4-text-mute); font-size: 15px; border-top: 1px solid var(--gno4-surface-alt); margin-top: 8px; padding-top: 16px; }

/* Pager */
.gno4-pager-wrap { display: flex; justify-content: space-between; margin-top: 32px; border-top: 1px solid var(--gno4-surface-alt); padding-top: 24px; }
.gno4-pager-link { background: var(--gno4-surface); padding: 8px 16px; font-size: 14px; font-weight: 600; color: #fff; border-radius: var(--gno4-radius); transition: background 0.3s; border: 1px solid var(--gno4-primary); }
.gno4-pager-link:hover { background: var(--gno4-primary); }

/* Related */
.gno4-related-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .gno4-related-grid { grid-template-columns: repeat(2, 1fr); } }

/* Footer */
.gno4-footer { background: #070c0a; border-top: 2px solid var(--gno4-primary); padding: 40px 0 24px; margin-top: 40px; }
.gno4-footer-top { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--gno4-surface-alt); padding-bottom: 32px; }
.gno4-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.gno4-footer-links a { color: var(--gno4-text-mute); font-size: 14px; transition: color 0.3s; }
.gno4-footer-links a:hover { color: var(--gno4-accent); }
.gno4-footer-legal { text-align: center; color: var(--gno4-text-mute); font-size: 12px; line-height: 1.6; max-width: 800px; margin: 0 auto; }
.gno4-copyright { margin-top: 16px; font-weight: 600; color: var(--gno4-text-light); }

@media (min-width: 768px) {
  .gno4-footer-top { flex-direction: row; justify-content: space-between; }
}

/* Animations */
.gno4-anim-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.gno4-anim-up.gno4-visible { opacity: 1; transform: translateY(0); }
