/* PGCAT555 — Luxury Black & Green Theme */
:root {
  --asset-cdn: https://appbox.devh5api22.xyz/public/img;
  --asset-logo: url('https://appbox.devh5api22.xyz/public/img/signIn/logo.webp');
  --asset-hero-bg: url('https://appbox.devh5api22.xyz/public/img/signIn/background.webp');
  --black: #050505;
  --black-card: #0c0c0c;
  --black-elevated: #141414;
  --green: #00e676;
  --green-dark: #00c853;
  --green-deep: #1b5e20;
  --green-glow: rgba(0, 230, 118, 0.35);
  --green-border: rgba(0, 230, 118, 0.22);
  --gold-luxury: #2ecc71;
  --primary: #0a1a0f;
  --primary-light: #122818;
  --accent: #00e676;
  --accent-hover: #69f0ae;
  --accent-muted: #1a3d24;
  --dark: #050505;
  --dark-card: #0c0c0c;
  --text: #f0fdf4;
  --text-muted: #a8b5ad;
  --text-dim: #6b7280;
  --gradient: linear-gradient(160deg, #050505 0%, #0a1a0f 40%, #050505 100%);
  --gradient-green: linear-gradient(135deg, #00c853 0%, #00e676 50%, #1b5e20 100%);
  --gradient-luxury: linear-gradient(135deg, #0c0c0c 0%, #0f1f14 50%, #0c0c0c 100%);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  --shadow-green: 0 0 40px rgba(0, 230, 118, 0.12);
  --radius: 12px;
  --font-thai: 'Noto Sans Thai', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-thai);
  background: var(--black);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(0, 230, 118, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(27, 94, 32, 0.08) 0%, transparent 50%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--green-border);
  box-shadow: 0 1px 0 rgba(0, 230, 118, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.logo-icon {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.88rem;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(0, 230, 118, 0.1);
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 0.25rem;
  margin-left: 0.5rem;
  border: 1px solid var(--green-border);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-thai);
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.lang-btn:hover {
  color: var(--accent);
  background: rgba(0, 230, 118, 0.08);
}

.lang-btn.active {
  background: var(--gradient-green);
  color: #000;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hero */
.hero {
  background: var(--gradient);
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--asset-hero-bg);
  background-size: cover;
  background-position: center top;
  opacity: 0.35;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.6) 0%, rgba(5, 5, 5, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid var(--green-border);
  color: var(--accent);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-green);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero h1 .keyword {
  color: var(--accent);
  text-shadow: 0 0 40px var(--green-glow);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(232, 237, 245, 0.9);
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-thai);
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-green);
  color: #000;
  border: 1px solid var(--accent);
  box-shadow: 0 4px 20px var(--green-glow);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #69f0ae 0%, #00e676 50%, #00c853 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 230, 118, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--green-border);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(0, 230, 118, 0.08);
  color: var(--accent-hover);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--black-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-green);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 230, 118, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--green-border);
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Content Block */
.content-block {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 2rem;
}

.content-block h2 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.content-block h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text);
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.content-block ul,
.content-block ol {
  color: var(--text-muted);
  margin: 1rem 0 1rem 1.5rem;
}

.content-block li {
  margin-bottom: 0.5rem;
}

.content-block a {
  font-weight: 500;
}

/* Stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  background: rgba(13, 79, 60, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.data-table th,
.data-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-table th {
  background: rgba(13, 79, 60, 0.3);
  color: var(--accent);
  font-weight: 600;
}

.data-table td {
  color: var(--text-muted);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-thai);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* Internal Links */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.link-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.25s;
  text-decoration: none;
  display: block;
}

.link-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.link-card h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.link-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* CTA Banner */
.cta-banner {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.cta-banner h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(232, 237, 245, 0.85);
  margin-bottom: 1.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background: rgba(10, 22, 40, 0.98);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.disclaimer {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: #fca5a5;
  margin-top: 1rem;
}

.article-content .content-block p {
  margin-bottom: 1.25rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.article-prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--text);
}

.article-prose h2:first-child {
  margin-top: 0;
}

.article-prose p {
  margin-bottom: 1.25rem;
  line-height: 1.85;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.article-prose ul,
.article-prose ol {
  margin: 1rem 0 1.5rem 1.25rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.article-prose li {
  margin-bottom: 0.65rem;
}

.article-tip {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 230, 118, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
}

.breadcrumb a + span + a {
  color: var(--accent);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  padding: 1.25rem 0;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.contact-card {
  background: rgba(0, 230, 118, 0.04);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.contact-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Main banner */
.banner-section {
  padding: 0 0 3rem;
  background: var(--dark);
}

.banner-single {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--green-border);
  box-shadow: var(--shadow);
}

.banner-single img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.promo-strip {
  display: none;
}

.promo-strip img {
  max-height: 80px;
  width: auto;
  opacity: 0.9;
}

/* Trust signals */
.trust-section {
  padding: 4rem 0;
  background: var(--black-card);
  border-top: 1px solid var(--green-border);
  border-bottom: 1px solid var(--green-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
}

.trust-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--black-elevated);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  transition: all 0.25s;
}

.trust-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.trust-card h3 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.trust-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Reviews */
.reviews-section {
  padding: 4rem 0;
  background: var(--gradient-luxury);
}

.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.rating-score {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 30px var(--green-glow);
}

.rating-stars {
  color: var(--accent);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.review-card {
  background: var(--black-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  transition: border-color 0.25s;
}

.review-card:hover {
  border-color: rgba(0, 230, 118, 0.5);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 3rem;
  color: rgba(0, 230, 118, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.review-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.review-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 0.15rem;
}

.content-block,
.link-card,
.faq-item,
.stats-bar {
  border-color: var(--green-border);
}

.stats-bar {
  background: rgba(0, 230, 118, 0.05);
  border: 1px solid var(--green-border);
}

.stat-number {
  color: var(--accent);
  text-shadow: 0 0 20px var(--green-glow);
}

.site-footer {
  background: #000;
  border-top: 1px solid var(--green-border);
}

.cta-banner {
  border: 1px solid var(--green-border);
  box-shadow: var(--shadow-green);
}

/* Promo strip with pgcat555.co decorative assets */
.promo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}

.promo-strip img {
  max-height: 80px;
  width: auto;
  opacity: 0.9;
}

/* Page hero with brand background */
.page-hero {
  background: var(--gradient);
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--asset-hero-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(232, 237, 245, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* Article */
.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 1.5rem;
  color: var(--accent);
  margin: 2rem 0 1rem;
}

.article-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
}

.article-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid var(--green-border);
    padding: 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav a {
    display: block;
    padding: 0.75rem 1rem;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
    order: 3;
  }

  .main-nav {
    width: 100%;
  }

  .lang-switcher {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .content-block {
    padding: 1.5rem;
  }

  .data-table {
    font-size: 0.85rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.625rem 0.5rem;
  }
}
