:root {
  --pg3-violet: #7C3AED;
  --pg3-violet-bright: #A855F7;
  --pg3-amber: #FFB800;
  --pg3-orange: #FF7A00;
  --pg3-cyan: #38BDF8;
  --pg3-mint: #22C55E;
  --pg3-bg: #090517;
  --pg3-card: #140C2E;
  --pg3-card-2: #0E0822;
  --pg3-border: rgba(168, 85, 247, 0.34);
  --pg3-text: #FFFFFF;
  --pg3-muted: #D8D1F5;
  --pg3-grad-amber: linear-gradient(135deg, #FFE066 0%, #FFB800 55%, #FF7A00 100%);
  --pg3-grad-cosmic: linear-gradient(135deg, #7C3AED 0%, #38BDF8 100%);
  --pg3-grad-mint: linear-gradient(135deg, #22C55E 0%, #10B981 100%);
  --pg3-font-head: 'Kanit', 'Noto Sans Thai', 'Segoe UI', system-ui, sans-serif;
  --pg3-font-body: 'Prompt', 'Noto Sans Thai', 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: radial-gradient(circle at 20% 0%, #241052 0%, #0E0726 48%, #070312 100%) !important;
  color: var(--pg3-text) !important;
  font-family: var(--pg3-font-body) !important;
  line-height: 1.72 !important;
  overflow-x: hidden;
}
body a { color: var(--pg3-cyan); text-decoration: none; transition: color .2s ease; }
body a:hover { color: var(--pg3-amber); }
.pg3-section { margin: 54px 0; content-visibility: auto; contain-intrinsic-size: 1px 520px; }

.site.grid-container, .inside-article, .separate-containers .inside-article,
.separate-containers .comments-area, .separate-containers .page-header,
.one-container .container, .site-content, .content-area, .site-main {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
}
.page .entry-header, .home .entry-header,
.page .featured-image, .page .page-header-image,
.home .featured-image, .home .page-header-image,
.single-post .entry-header, .single-post .entry-meta, .single-post footer.entry-meta,
.single-post .featured-image, .single-post .page-header-image-single,
.single-post .post-navigation, .single-post #nav-below, .single-post .comments-area,
header.wp-block-template-part, footer.wp-block-template-part,
.wp-block-post-title, .wp-block-post-featured-image,
#right-sidebar, #left-sidebar, .sidebar,
.site-footer, .site-info, .copyright-bar, .footer-widgets {
  display: none !important;
}
.separate-containers .site-main, .one-container .site-main,
.entry-content, .page .inside-article, .home .inside-article, .single-post .inside-article {
  margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important;
}
#primary, .content-area { width: 100% !important; float: none !important; max-width: 100% !important; }
.single-post .site.grid-container, .single-post .container.grid-container { max-width: 100% !important; padding: 0 !important; }
.grid-container { max-width: 1200px !important; }

/* GeneratePress Native Sticky Header — Pixel-Perfect Baseline Alignment */
.site-header {
  position: sticky !important; top: 0; z-index: 9990;
  background: rgba(9, 5, 23, 0.96) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.34);
}
.main-navigation, #site-navigation { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.inside-header {
  max-width: 1200px !important; margin: 0 auto !important;
  padding: 10px 20px !important; display: flex !important;
  align-items: center !important; justify-content: space-between !important; gap: 14px;
}
.site-branding-container { display: inline-flex !important; align-items: center !important; gap: 10px !important; flex-shrink: 0; }
.site-logo { margin: 0 !important; line-height: 0 !important; }
.site-logo img, .custom-logo, .header-image {
  height: 46px !important; width: 46px !important; object-fit: cover !important;
  border-radius: 12px !important; box-shadow: 0 0 18px rgba(255, 184, 0, 0.45); display: block !important;
}
.site-branding { margin: 0 !important; }
.main-title {
  display: block !important; margin: 0 !important; line-height: 1 !important;
  font-family: var(--pg3-font-head) !important; font-weight: 800 !important;
  font-size: 1.25rem !important; letter-spacing: 0.02em;
}
.main-title a { background: var(--pg3-grad-amber); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none !important; }
.site-description { display: none !important; }
.main-navigation .inside-navigation { padding: 0 !important; }
.main-navigation .main-nav > ul {
  display: flex !important; align-items: center !important; flex-wrap: nowrap;
  gap: 4px; margin: 0 !important; padding: 0 !important; list-style: none !important;
}
.main-navigation .main-nav > ul > li { display: flex !important; align-items: center !important; float: none !important; margin: 0 !important; position: relative !important; }
.main-navigation .main-nav > ul > li > a {
  color: #F3EEFF !important; font-family: var(--pg3-font-head) !important;
  font-weight: 500 !important; font-size: 15px !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  height: 40px !important; line-height: 1 !important; padding: 0 13px !important;
  border-radius: 999px !important; white-space: nowrap !important;
}
.main-navigation .main-nav > ul > li.menu-item-has-children > a { padding-right: 11px !important; gap: 5px !important; }
.main-navigation .menu-item-has-children .dropdown-menu-toggle {
  padding: 0 !important; margin: 0 !important; line-height: 1 !important; height: auto !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
}
.main-navigation .menu-item-has-children .dropdown-menu-toggle .gp-icon { display: inline-flex !important; align-items: center !important; line-height: 1 !important; }
.main-navigation .menu-item-has-children .dropdown-menu-toggle .gp-icon svg { width: 11px !important; height: 11px !important; top: 0 !important; }
.main-navigation .main-nav > ul > li > a:hover,
.main-navigation .main-nav > ul > li.current-menu-item > a { color: var(--pg3-amber) !important; background: rgba(124, 58, 237, 0.22) !important; }
.main-navigation ul ul {
  background: #140C2E !important; border: 1px solid rgba(56, 189, 248, 0.42) !important;
  border-radius: 14px !important; padding: 6px !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6) !important; min-width: 225px !important; top: calc(100% + 4px) !important;
}
.main-navigation ul ul li { float: none !important; width: 100% !important; }
.main-navigation ul ul li a {
  color: #EDE9FE !important; font-family: var(--pg3-font-head) !important; font-size: 14.5px !important;
  border-radius: 10px !important; padding: 10px 14px !important; height: auto !important; line-height: 1.4 !important;
  display: block !important; background: transparent !important;
}
.main-navigation ul ul li a:hover { background: rgba(124, 58, 237, 0.25) !important; color: var(--pg3-amber) !important; }
.main-navigation .main-nav > ul > li.pg3-nav-login > a { background: rgba(56, 189, 248, 0.16) !important; border: 1px solid var(--pg3-cyan) !important; color: #BAE6FD !important; margin-left: 4px; }
.main-navigation .main-nav > ul > li.pg3-nav-register > a { background: var(--pg3-grad-amber) !important; color: #1E0B00 !important; font-weight: 700 !important; box-shadow: 0 4px 16px rgba(255, 184, 0, 0.42); margin-left: 4px; }
.main-navigation .main-nav > ul > li.pg3-nav-line > a { background: var(--pg3-grad-mint) !important; color: #052E16 !important; font-weight: 700 !important; margin-left: 4px; }
.menu-toggle {
  color: #FFFFFF !important; background: rgba(124, 58, 237, 0.26) !important;
  border: 1px solid rgba(56, 189, 248, 0.5) !important; border-radius: 10px !important;
  padding: 9px 14px !important; line-height: 1.2 !important; height: auto !important; width: auto !important;
}
@media (max-width: 980px) {
  .main-navigation.toggled .main-nav > ul { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 6px !important; padding: 12px 0 !important; }
  .main-navigation.toggled .main-nav > ul > li { display: block !important; width: 100% !important; }
  .main-navigation.toggled .main-nav > ul > li > a { justify-content: flex-start !important; width: 100% !important; }
  .main-navigation.toggled ul ul { position: static !important; box-shadow: none !important; border: 0 !important; background: rgba(0,0,0,0.22) !important; }
}

/* Containers, Typography & Buttons */
.pg3-wrap { max-width: 1180px; margin: 0 auto; padding: 20px 18px 64px; }
.pg3-center { text-align: center; }
.pg3-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; border-radius: 999px;
  background: rgba(124, 58, 237, 0.22); border: 1px solid rgba(255, 184, 0, 0.55);
  color: var(--pg3-amber); font-family: var(--pg3-font-head); font-size: 0.9rem; font-weight: 600; margin-bottom: 14px;
}
.pg3-h1 {
  font-family: var(--pg3-font-head) !important; font-size: clamp(1.9rem, 4vw, 3rem) !important;
  font-weight: 800 !important; line-height: 1.2 !important; color: #FFFFFF !important; margin: 0 0 14px !important;
  text-shadow: 0 4px 28px rgba(124, 58, 237, 0.45);
}
.pg3-h1 span { background: var(--pg3-grad-amber); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pg3-lead { color: var(--pg3-muted); font-size: clamp(0.98rem, 1.45vw, 1.12rem); margin: 0 0 22px; }
.pg3-h2 {
  font-family: var(--pg3-font-head) !important; font-size: clamp(1.45rem, 2.7vw, 2.08rem) !important;
  font-weight: 700 !important; color: #FFFFFF !important; margin: 0 0 14px !important; line-height: 1.3 !important;
}
.pg3-h2::before {
  content: ""; display: inline-block; width: 6px; height: 26px;
  background: var(--pg3-grad-amber); border-radius: 4px; margin-right: 12px; vertical-align: -4px;
}
.pg3-center .pg3-h2::before { display: none; }
.pg3-sub { color: var(--pg3-muted); margin-bottom: 24px; font-size: 0.98rem; }

.pg3-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 20px; }
.pg3-center .pg3-cta-row { justify-content: center; }
.pg3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-family: var(--pg3-font-head);
  font-weight: 700; font-size: 1rem; text-decoration: none !important; cursor: pointer; border: 0;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.pg3-btn:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.07); }
.pg3-btn-amber { background: var(--pg3-grad-amber); color: #1E0B00 !important; box-shadow: 0 10px 28px rgba(255, 184, 0, 0.42); border: 2px solid #FFF3B0; }
.pg3-btn-cosmic { background: var(--pg3-grad-cosmic); color: #FFFFFF !important; box-shadow: 0 10px 26px rgba(124, 58, 237, 0.45); }
.pg3-btn-ghost { background: rgba(255, 255, 255, 0.06); border: 1.5px solid rgba(56, 189, 248, 0.55); color: #BAE6FD !important; }

/* UNIQUE PBN #3 ARCHETYPE: Full-Bleed Cosmic Glassmorphism Arcade Hero + Live Studio Ticker */
.pg3-arcade-hero {
  position: relative; border-radius: 30px; overflow: hidden;
  background: linear-gradient(150deg, rgba(24, 12, 58, 0.96) 0%, rgba(12, 6, 32, 0.98) 100%);
  border: 2px solid rgba(168, 85, 247, 0.5); box-shadow: 0 24px 70px rgba(124, 58, 237, 0.34);
  margin: 8px 0 26px;
}
.pg3-arcade-hero-top { position: relative; aspect-ratio: 16/7.2; overflow: hidden; background: #090517; }
.pg3-arcade-hero-top img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.92; }
.pg3-arcade-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,5,23,0.18) 0%, rgba(9,5,23,0.68) 65%, rgba(12,6,32,0.99) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 3.5vw, 40px);
}
.pg3-studio-ticker {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center;
  padding: 14px 26px; background: rgba(124, 58, 237, 0.16); border-top: 1px solid rgba(56, 189, 248, 0.3);
  font-family: var(--pg3-font-head); font-size: 0.9rem; color: #E9D5FF;
}
.pg3-ticker-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(9,5,23,0.65); border: 1px solid rgba(255,184,0,0.4); color: var(--pg3-amber); }

/* UNIQUE PBN #3 WIDGET: Live PG Soft Side-by-Side RTP & Volatility Comparator */
.pg3-comp-shell {
  background: linear-gradient(155deg, rgba(22, 13, 52, 0.96) 0%, rgba(11, 6, 28, 0.98) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.45); border-radius: 26px; padding: 26px;
}
.pg3-comp-controls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-bottom: 22px; }
.pg3-select {
  width: 100%; padding: 12px 16px; border-radius: 14px; background: #0B0620;
  border: 1.5px solid rgba(168, 85, 247, 0.55); color: #FFFFFF;
  font-family: var(--pg3-font-head); font-size: 1rem; font-weight: 600;
}
.pg3-vs-badge {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--pg3-grad-amber); color: #1E0B00; font-family: var(--pg3-font-head); font-weight: 800; font-size: 1.05rem;
}
.pg3-comp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pg3-comp-card {
  background: rgba(9, 5, 23, 0.78); border: 1.5px solid var(--pg3-border); border-radius: 20px; padding: 20px;
}
.pg3-comp-card h3 { font-family: var(--pg3-font-head) !important; color: var(--pg3-amber) !important; margin: 0 0 12px !important; font-size: 1.2rem !important; }
.pg3-stat-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(168,85,247,0.18); font-size: 0.93rem; }
.pg3-stat-line b { color: #FFFFFF; font-family: var(--pg3-font-head); }

/* UNIQUE PBN #3 INTERACTIVE SLOT: Vertical Cosmic Arcade Cabinet + Warp Multiplier Meter */
.pg3-arcade-cab {
  position: relative; max-width: 820px; margin: 0 auto; padding: 28px 24px; border-radius: 30px;
  background: linear-gradient(165deg, #1E0D4A 0%, #0D0726 55%, #190B3D 100%);
  border: 3px solid var(--pg3-amber); box-shadow: 0 24px 68px rgba(124, 58, 237, 0.42), inset 0 0 36px rgba(56, 189, 248, 0.16);
  text-align: center; overflow: hidden;
}
.pg3-marquee {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 20px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,184,0,0.22), rgba(56,189,248,0.22));
  border: 1.5px solid var(--pg3-cyan); color: #FFE88A; font-family: var(--pg3-font-head); font-weight: 700; font-size: 0.92rem; margin-bottom: 16px;
}
.pg3-warp-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 520px; margin: 0 auto 18px; }
.pg3-warp-step {
  padding: 7px 6px; border-radius: 12px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(168,85,247,0.35); font-family: var(--pg3-font-head); font-size: 0.84rem; color: #C4B5FD; font-weight: 700;
}
.pg3-warp-step.lit { background: var(--pg3-grad-amber); color: #1E0B00; border-color: #FFFFFF; box-shadow: 0 0 18px rgba(255,184,0,0.65); }
.pg3-slot-avatar { width: 68px; height: 68px; border-radius: 50%; border: 3px solid var(--pg3-amber); object-fit: cover; box-shadow: 0 0 22px rgba(255,184,0,0.5); }
.pg3-reels-frame {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 520px; margin: 0 auto 20px;
  background: linear-gradient(180deg, #060212 0%, #160B38 50%, #060212 100%);
  padding: 16px; border-radius: 22px; border: 2.5px solid var(--pg3-cyan);
  box-shadow: inset 0 10px 26px rgba(0,0,0,0.85), 0 0 26px rgba(168, 85, 247, 0.35);
}
.pg3-reels-frame.pg3-win-glow { border-color: var(--pg3-amber); box-shadow: 0 0 48px rgba(255,184,0,0.75); }
.pg3-reel {
  height: 118px; border-radius: 16px;
  background: linear-gradient(180deg, #F5F3FF 0%, #FFFFFF 50%, #E0F2FE 100%);
  border: 2px solid var(--pg3-violet); display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pg3-reel-sym { font-size: clamp(2.5rem, 5.5vw, 3.3rem); line-height: 1; }
.pg3-reel-lbl { font-family: var(--pg3-font-head); font-size: 0.76rem; font-weight: 700; color: #4C1D95; margin-top: 4px; }
.pg3-reel.spinning .pg3-reel-sym { animation: pg3Spin 0.1s linear infinite; filter: blur(1px); }
@keyframes pg3Spin { 0% { transform: translateY(-24px); opacity: 0.6; } 50% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(24px); opacity: 0.6; } }
.pg3-spin-btn {
  padding: 15px 40px; font-size: 1.15rem; background: var(--pg3-grad-amber); color: #1E0B00 !important;
  border: 3px solid #FFFFFF; border-radius: 999px; font-family: var(--pg3-font-head); font-weight: 800;
  box-shadow: 0 12px 34px rgba(255, 184, 0, 0.5); cursor: pointer;
}
.pg3-spin-btn:disabled { opacity: 0.65; cursor: wait; }
.pg3-reward-box {
  display: none; margin-top: 20px; padding: 20px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(124,58,237,0.32), rgba(56,189,248,0.22), rgba(255,184,0,0.22));
  border: 2px solid var(--pg3-amber);
}
.pg3-reward-box.show { display: block; }
.pg3-confetti-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.pg3-confetti-piece { position: absolute; top: -18px; font-size: 20px; animation: pg3Fall 1.7s ease-out forwards; }
@keyframes pg3Fall { 0% { transform: translateY(0) rotate(0deg); opacity: 1; } 100% { transform: translateY(440px) rotate(540deg); opacity: 0; } }

/* Shared Cards, Charts, Tables, FAQs, Galleries */
.pg3-kpi-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 24px 0; }
.pg3-kpi-card {
  background: linear-gradient(155deg, rgba(124, 58, 237, 0.24), rgba(56, 189, 248, 0.16));
  border: 1.5px solid rgba(255, 184, 0, 0.45); border-radius: 20px; padding: 18px; text-align: center;
}
.pg3-kpi-num { font-family: var(--pg3-font-head); font-size: clamp(1.75rem, 3vw, 2.3rem); font-weight: 800; background: var(--pg3-grad-amber); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pg3-kpi-lbl { color: #EDE9FE; font-size: 0.9rem; margin-top: 4px; }

.pg3-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 22px; }
.pg3-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); gap: 22px; }
.pg3-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.pg3-card {
  background: linear-gradient(165deg, rgba(22, 13, 52, 0.95) 0%, rgba(12, 7, 30, 0.97) 100%);
  border: 1.5px solid var(--pg3-border); border-radius: 22px; padding: 24px;
}
.pg3-img-card {
  background: linear-gradient(165deg, rgba(22, 13, 52, 0.96) 0%, rgba(11, 6, 28, 0.98) 100%);
  border: 1.5px solid var(--pg3-border); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease;
}
.pg3-img-card:hover { transform: translateY(-5px); border-color: var(--pg3-amber); box-shadow: 0 16px 40px rgba(124, 58, 237, 0.32); }
.pg3-img-card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0B0620; }
.pg3-img-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg3-img-badge {
  position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px;
  background: rgba(9, 5, 23, 0.86); border: 1px solid var(--pg3-amber); color: var(--pg3-amber);
  font-family: var(--pg3-font-head); font-size: 0.78rem; font-weight: 700;
}
.pg3-img-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.pg3-img-card-body h3 { font-family: var(--pg3-font-head) !important; color: #FFFFFF !important; font-size: 1.18rem !important; margin: 0 0 8px !important; }
.pg3-img-card-body p { color: var(--pg3-muted); font-size: 0.93rem; margin: 0 0 14px; flex: 1; }

.pg3-gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.pg3-gallery-item { border-radius: 18px; overflow: hidden; border: 1.5px solid rgba(168,85,247,0.36); background: var(--pg3-card); margin: 0; }
.pg3-gallery-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.pg3-gallery-cap { padding: 10px 12px; font-family: var(--pg3-font-head); font-size: 0.88rem; color: #EDE9FE; text-align: center; }

.pg3-chart-card {
  background: linear-gradient(165deg, rgba(22, 13, 52, 0.96), rgba(11, 6, 28, 0.98));
  border: 1.5px solid rgba(56, 189, 248, 0.4); border-radius: 24px; padding: 24px; margin: 24px 0;
}
.pg3-chart-title { font-family: var(--pg3-font-head); font-size: 1.22rem; font-weight: 700; color: var(--pg3-amber); margin: 0 0 6px; }
.pg3-chart-sub { color: var(--pg3-muted); font-size: 0.9rem; margin: 0 0 18px; }
.pg3-bar-row { margin-bottom: 13px; }
.pg3-bar-meta { display: flex; justify-content: space-between; font-family: var(--pg3-font-head); font-size: 0.94rem; margin-bottom: 5px; color: #FFFFFF; }
.pg3-bar-val { color: var(--pg3-amber); font-weight: 700; }
.pg3-bar-track { width: 100%; height: 13px; border-radius: 999px; background: rgba(255,255,255,0.09); overflow: hidden; }
.pg3-bar-fill { height: 100%; border-radius: 999px; background: var(--pg3-grad-cosmic); }
.pg3-bar-fill.amber { background: var(--pg3-grad-amber); }
.pg3-bar-fill.mint { background: var(--pg3-grad-mint); }

.pg3-summary-box {
  background: linear-gradient(135deg, rgba(124,58,237,0.22), rgba(56,189,248,0.16));
  border: 1.5px solid rgba(56, 189, 248, 0.5); border-left: 6px solid var(--pg3-amber);
  border-radius: 20px; padding: 22px 24px; margin: 22px 0;
}
.pg3-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; border: 1px solid var(--pg3-border); margin: 18px 0; max-width: 100%; }
.pg3-table { width: 100%; border-collapse: collapse; background: rgba(12, 7, 30, 0.96); font-size: 0.94rem; }
.pg3-table th { background: linear-gradient(90deg, #5B21B6 0%, #0284C7 100%); color: #FFFFFF; font-family: var(--pg3-font-head); font-weight: 700; padding: 13px 15px; text-align: left; }
.pg3-table td { padding: 12px 15px; border-top: 1px solid rgba(168,85,247,0.2); color: var(--pg3-muted); }

.pg3-faq details { background: var(--pg3-card); border: 1px solid var(--pg3-border); border-radius: 16px; padding: 15px 19px; margin-bottom: 11px; }
.pg3-faq summary { font-family: var(--pg3-font-head); font-weight: 700; font-size: 1.04rem; color: #FFFFFF; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pg3-faq summary::-webkit-details-marker { display: none; }
.pg3-faq summary::after { content: "+"; color: var(--pg3-amber); font-size: 1.35rem; font-weight: 700; flex-shrink: 0; }
.pg3-faq details[open] summary::after { content: "−"; }
.pg3-faq details p { margin: 10px 0 0; color: var(--pg3-muted); }

/* Grixhub-Style Magazine Blog Architecture (#pg3-blog) */
#pg3-blog { width: 100%; }
#pg3-blog .pg3b-hero {
  background:
    radial-gradient(720px 460px at 88% 0%, rgba(255, 184, 0, 0.24), transparent 62%),
    radial-gradient(760px 480px at 8% 0%, rgba(56, 189, 248, 0.26), transparent 62%),
    radial-gradient(960px 600px at 50% 115%, rgba(124, 58, 237, 0.44), transparent 65%),
    #090517;
  padding: 50px 22px 66px; border-bottom: 1.5px solid rgba(168, 85, 247, 0.35);
}
#pg3-blog .pg3b-hin { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr); gap: 34px; align-items: center; }
#pg3-blog .pg3b-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; font-size: 0.9rem; color: #C4B5FD; }
#pg3-blog .pg3b-crumb a { color: #FFFFFF !important; }
#pg3-blog .pg3b-eye { display: inline-block; margin: 0 0 12px; padding: 6px 15px; border-radius: 999px; border: 1px solid rgba(255,184,0,0.5); background: rgba(124,58,237,0.24); font-family: var(--pg3-font-head); font-size: 0.82rem; font-weight: 700; color: var(--pg3-amber); }
#pg3-blog .pg3b-hero h1 { font-family: var(--pg3-font-head) !important; font-size: clamp(1.85rem, 3.6vw, 2.9rem) !important; line-height: 1.18 !important; font-weight: 800 !important; color: #FFFFFF !important; margin: 0 0 14px !important; }
#pg3-blog .pg3b-deck { color: #E9D5FF; font-size: 1.04rem; margin: 0 0 16px; line-height: 1.7; }
#pg3-blog .pg3b-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.9rem; color: #FFE88A; font-family: var(--pg3-font-head); }
#pg3-blog .pg3b-hero-img { border-radius: 24px; overflow: hidden; border: 2px solid rgba(255,184,0,0.55); box-shadow: 0 20px 55px rgba(0,0,0,0.55); }
#pg3-blog .pg3b-hero-img img { width: 100%; height: auto; display: block; }
#pg3-blog .pg3b-layout { max-width: 1220px; margin: 0 auto; padding: 38px 20px 60px; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 34px; align-items: start; }
#pg3-blog .pg3b-layout > *, #pg3-blog .pg3b-body, #pg3-blog .pg3b-toc { min-width: 0; max-width: 100%; }
#pg3-blog .pg3b-toc { position: sticky; top: 86px; background: var(--pg3-card); border: 1.5px solid var(--pg3-border); border-radius: 20px; padding: 20px 18px; }
#pg3-blog .pg3b-toc-title { font-family: var(--pg3-font-head); font-size: 1rem; font-weight: 700; color: var(--pg3-amber); margin: 0 0 12px; }
#pg3-blog .pg3b-toc ol { margin: 0; padding-left: 18px; }
#pg3-blog .pg3b-toc li { margin-bottom: 7px; font-size: 0.87rem; line-height: 1.45; }
#pg3-blog .pg3b-toc a { color: var(--pg3-muted) !important; }
#pg3-blog .pg3b-toc a:hover { color: var(--pg3-amber) !important; }
#pg3-blog .pg3b-body { background: rgba(18, 10, 42, 0.95); border: 1px solid var(--pg3-border); border-radius: 26px; padding: clamp(22px, 3.6vw, 44px); }
#pg3-blog .pg3b-body h2 { font-family: var(--pg3-font-head) !important; font-size: clamp(1.36rem, 2.35vw, 1.82rem) !important; color: #FFE066 !important; margin: 36px 0 14px !important; border-left: 5px solid var(--pg3-cyan); padding-left: 14px; line-height: 1.3 !important; }
#pg3-blog .pg3b-body h3 { font-family: var(--pg3-font-head) !important; color: var(--pg3-cyan) !important; font-size: 1.16rem !important; margin: 22px 0 10px !important; }
#pg3-blog .pg3b-body p, #pg3-blog .pg3b-body li { color: #EAE4FC; font-size: 1.02rem; line-height: 1.8; }
#pg3-blog .pg3b-body ul, #pg3-blog .pg3b-body ol { padding-left: 22px; margin: 12px 0 20px; }
#pg3-blog .pg3b-body li { margin-bottom: 8px; }
#pg3-blog .pg3b-fig { margin: 24px 0; border-radius: 20px; overflow: hidden; border: 1.5px solid rgba(56,189,248,0.4); background: #0B0620; }
#pg3-blog .pg3b-fig img { width: 100%; height: auto; display: block; }
#pg3-blog .pg3b-fig figcaption { padding: 10px 16px; font-size: 0.88rem; color: #DDD6FE; background: rgba(9,5,23,0.9); text-align: center; }
#pg3-blog .pg3b-author-box { margin-top: 30px; padding: 20px; border-radius: 20px; background: rgba(9,5,23,0.75); border: 1px solid rgba(168,85,247,0.38); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
#pg3-blog .pg3b-author-box img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--pg3-amber); object-fit: cover; }

/* 3-Column Blog Hub & Category Picker */
.pg3-cat-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 30px; }
.pg3-cat-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 999px;
  background: rgba(124, 58, 237, 0.16); border: 1.5px solid rgba(56, 189, 248, 0.45);
  color: #EDE9FE !important; font-family: var(--pg3-font-head); font-weight: 600; font-size: 0.94rem; cursor: pointer;
}
.pg3-cat-pill:hover, .pg3-cat-pill.active { background: var(--pg3-grad-amber); color: #1E0B00 !important; border-color: #FFFFFF; box-shadow: 0 6px 20px rgba(255,184,0,0.42); }
.pg3-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 18px 0 38px; }
.pg3-blog-card {
  background: linear-gradient(165deg, rgba(22, 13, 52, 0.96), rgba(11, 6, 28, 0.98));
  border: 1.5px solid var(--pg3-border); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
}
.pg3-blog-card:hover { transform: translateY(-5px); border-color: var(--pg3-amber); }
.pg3-blog-card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0B0620; }
.pg3-blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg3-blog-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.pg3-blog-card-meta { font-size: 0.82rem; color: #C4B5FD; font-family: var(--pg3-font-head); margin-bottom: 8px; }
.pg3-blog-card-body h3 { font-family: var(--pg3-font-head) !important; font-size: 1.13rem !important; line-height: 1.38 !important; margin: 0 0 10px !important; }
.pg3-blog-card-body h3 a { color: #FFFFFF !important; }
.pg3-blog-card-exc { color: var(--pg3-muted); font-size: 0.9rem; line-height: 1.62; margin: 0 0 14px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pg3-blog-read { font-family: var(--pg3-font-head); font-weight: 700; font-size: 0.92rem; color: var(--pg3-amber) !important; }

body.archive .site-main { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 24px 0 60px !important; }
body.archive .page-header, body.archive .paging-navigation { grid-column: 1 / -1; }
body.archive .page-header { background: linear-gradient(135deg, rgba(124,58,237,0.24), rgba(56,189,248,0.18)) !important; border: 1.5px solid rgba(56,189,248,0.45) !important; border-radius: 22px !important; padding: 26px !important; text-align: center; }
body.archive article.post { margin: 0 !important; display: flex; }
body.archive .inside-article { background: var(--pg3-card) !important; border: 1.5px solid var(--pg3-border) !important; border-radius: 22px !important; padding: 0 0 20px !important; overflow: hidden; display: flex; flex-direction: column; width: 100%; }
body.archive .post-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
body.archive .entry-header, body.archive .entry-summary, body.archive footer.entry-meta { padding: 0 20px !important; }
body.archive .entry-title a { color: #FFFFFF !important; font-family: var(--pg3-font-head) !important; }
body.archive .entry-summary p { color: var(--pg3-muted) !important; font-size: 0.9rem !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Sitemap Footer + Floating Astro CTA + Mobile Sticky Bar */
.pg3-sitemap-band { margin-top: 52px; padding: 34px 26px 24px; border-radius: 26px; background: linear-gradient(160deg, #150C32 0%, #080416 100%); border: 1px solid rgba(168, 85, 247, 0.36); }
.pg3-sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.pg3-sitemap-band h4 { font-family: var(--pg3-font-head); color: var(--pg3-amber); margin: 0 0 12px; font-size: 1.05rem; }
.pg3-sitemap-band ul { list-style: none; padding: 0; margin: 0; }
.pg3-sitemap-band li { margin-bottom: 8px; font-size: 0.93rem; }
.pg3-sitemap-band a { color: var(--pg3-muted) !important; }
.pg3-copy-bar { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(168,85,247,0.22); text-align: center; font-size: 0.87rem; color: #B7ADDA; }

.pg3-float-astro {
  position: fixed; right: 18px; bottom: 18px; z-index: 9990;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--pg3-grad-amber); color: #1E0B00 !important;
  font-family: var(--pg3-font-head); font-weight: 800; padding: 8px 18px 8px 8px;
  border-radius: 999px; border: 2px solid #FFFFFF; box-shadow: 0 10px 30px rgba(124, 58, 237, 0.48);
}
.pg3-float-astro img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #5B21B6; }
.pg3-mobile-sticky-bar { display: none; }

@media (max-width: 980px) {
  .pg3-blog-grid, body.archive .site-main { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #pg3-blog .pg3b-hin, #pg3-blog .pg3b-layout, .pg3-comp-grid { grid-template-columns: 1fr; }
  .pg3-comp-controls { grid-template-columns: 1fr; justify-items: center; }
  #pg3-blog .pg3b-toc { position: static; }
}
@media (max-width: 900px) {
  body { padding-bottom: 82px !important; }
  .pg3-float-astro { display: none !important; }
  .pg3-mobile-sticky-bar {
    display: grid !important; grid-template-columns: 1.2fr 1fr 0.9fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(9, 5, 23, 0.97); backdrop-filter: blur(14px);
    border-top: 2px solid rgba(168, 85, 247, 0.55);
  }
  .pg3-ms-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 8px; border-radius: 14px; font-family: var(--pg3-font-head); font-weight: 700; font-size: 0.92rem; text-decoration: none !important; }
  .pg3-ms-reg { background: var(--pg3-grad-amber); color: #1E0B00 !important; border: 1.5px solid #FFFFFF; }
  .pg3-ms-login { background: rgba(56, 189, 248, 0.22); color: #E0F2FE !important; border: 1.5px solid var(--pg3-cyan); }
  .pg3-ms-line { background: var(--pg3-grad-mint); color: #052E16 !important; }
}
@media (max-width: 640px) {
  .pg3-blog-grid, body.archive .site-main { grid-template-columns: 1fr !important; }
  .pg3-arcade-hero-top { aspect-ratio: 16/12; }
  .pg3-btn { width: 100%; }
}