﻿/* ==========================================================================
   Funhub555 - Premium Dark Luxury Design System & Modern Responsive Stylesheet
   Domain: funhub5555.online | CTAs: funhub555.com
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
  /* Color Palette */
  --bg-main: #09090d;
  --bg-card: #121218;
  --bg-card-hover: #181822;
  --bg-glass: rgba(18, 18, 24, 0.75);
  
  --border-light: rgba(255, 255, 255, 0.1);
  --border-green: rgba(0, 255, 136, 0.3);
  --border-accent: rgba(0, 230, 118, 0.3);

  --text-main: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-sub: rgba(255, 255, 255, 0.45);

  --green-primary: #00FF88;
  --green-gradient: linear-gradient(135deg, #80FFC2 0%, #00FF88 50%, #00B359 100%);
  --emerald-accent: #00E676;
  --emerald-gradient: linear-gradient(135deg, #00FF88 0%, #00994D 100%);
  --cyan-accent: #7FD9FF;
  
  /* Typography */
  --font-family: 'Sarabun', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-main: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(0, 255, 136, 0.25);
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  padding-bottom: 70px; /* Space for mobile sticky CTA bar */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--cyan-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--green-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 10px;
}

/* ==========================================================================
   Header & Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 9, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.logo-img {
  height: 30px;
  max-height: 62px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(0, 255, 136, 0.45));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
}

.logo-brand:hover .logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 20px rgba(0, 255, 136, 0.85));
}

.footer-logo-img {
  height: 35px;
  max-height: 64px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--green-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--green-gradient);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-header-cta {
  background: var(--emerald-gradient);
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(0, 153, 77, 0.35);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.5);
  filter: brightness(1.1);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 26px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  outline: none;
}

.mobile-toggle:active {
  transform: scale(0.85);
}

.mobile-toggle.is-active {
  transform: rotate(90deg);
  color: var(--green-primary);
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(18, 18, 24, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.35s ease, 
                visibility 0.35s ease;
    gap: 16px;
    z-index: 999;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    box-shadow: var(--shadow-main);
  }

  /* Staggered entrance for menu items */
  .nav-menu > li {
    opacity: 0;
    transform: translateY(12px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .nav-menu.open > li {
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav-menu.open > li:nth-child(1) { transition-delay: 0.05s; }
  .nav-menu.open > li:nth-child(2) { transition-delay: 0.1s; }
  .nav-menu.open > li:nth-child(3) { transition-delay: 0.15s; }
  .nav-menu.open > li:nth-child(4) { transition-delay: 0.2s; }
  .nav-menu.open > li:nth-child(5) { transition-delay: 0.25s; }
  .nav-menu.open > li:nth-child(6) { transition-delay: 0.3s; }
  .nav-menu.open > li:nth-child(7) { transition-delay: 0.35s; }
  .nav-menu.open > li:nth-child(8) { transition-delay: 0.4s; }

  .mobile-toggle {
    display: inline-flex;
  }

  .btn-header-cta {
    display: none;
  }
}

/* ==========================================================================
   Announcement Marquee / Ticker
   ========================================================================== */
.ticker-section {
  background: #0d0d12;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  padding: 8px 0;
  position: relative;
}

.ticker-wrap {
  display: flex;
  width: 100%;
}

.ticker-track {
  display: flex;
  gap: 20px;
  white-space: nowrap;
  animation: scrollMarquee 35s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 22, 30, 0.85);
  border: 1px solid rgba(0, 255, 136, 0.35);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.ticker-item:hover {
  border-color: rgba(0, 255, 136, 0.8);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.35);
}

.ticker-item b {
  color: var(--green-primary);
  font-weight: 800;
}

/* Subtle Soft Warm Glow Bell Light Effect (Soft Ambient Glow like Reference Screenshot) */
.bell-icon {
  display: inline-block;
  font-size: 17px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.45)) drop-shadow(0 0 12px rgba(0, 230, 118, 0.25));
  animation: ringBell 2.5s ease infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes ringBell {
  0%, 100% { transform: rotate(0); }
  10% { transform: rotate(-18deg); }
  20% { transform: rotate(18deg); }
  30% { transform: rotate(-12deg); }
  40% { transform: rotate(12deg); }
  50% { transform: rotate(0); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 10px 0 10px;
}

.hero-banner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-card-left {
  background: radial-gradient(1000px 400px at 10% -20%, rgba(0, 255, 136, 0.15), transparent 60%),
              linear-gradient(180deg, var(--bg-card), var(--bg-main));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-main);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid var(--border-green);
  color: var(--green-primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
}

.hero-title span {
  background: var(--green-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-primary-cta {
  background: var(--green-gradient);
  color: #09090d !important;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  text-align: center;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 255, 136, 0.45);
  filter: brightness(1.08);
}

.btn-secondary-cta {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-contour-cta {
  background: rgba(127, 217, 255, 0.08);
  color: var(--cyan-accent) !important;
  border: 1px solid rgba(127, 217, 255, 0.3);
  font-weight: 800;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition: var(--transition);
  text-align: center;
}

.btn-contour-cta:hover {
  background: rgba(0, 255, 136, 0.12);
  color: var(--green-primary) !important;
  border-color: var(--green-primary);
  transform: translateY(-2px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: var(--text-muted);
}

.hero-tag b {
  color: #fff;
}

.hero-card-right {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-main);
  margin-bottom: 10px;
}

.card-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.intent-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.intent-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-light);
  padding: 12px 14px;
  border-radius: var(--radius-md);
}

.intent-num {
  width: 32px;
  height: 32px;
  background: var(--green-gradient);
  color: #09090d;
  font-weight: 900;
  font-size: 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.intent-text b {
  display: block;
  font-size: 14.5px;
  color: #fff;
  margin-bottom: 2px;
}

.intent-text span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Promotions Highlight Section
   ========================================================================== */
.promo-box {
  background: radial-gradient(800px 300px at 0% 0%, rgba(0, 230, 118, 0.2), transparent 70%),
              linear-gradient(180deg, var(--bg-card), var(--bg-main));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 20px 0;
  box-shadow: var(--shadow-main);
}

.promo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: 10px;
}

.promo-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Table of Contents Widget
   ========================================================================== */
.toc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 10px 0;
}

.toc-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px 20px;
}

.toc-item a {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.toc-item a:hover {
  color: var(--green-primary);
  transform: translateX(4px);
}

.toc-item a::before {
  content: "✦";
  color: var(--green-primary);
  font-size: 12px;
}

/* ==========================================================================
   Content Article Styling
   ========================================================================== */
.content-article {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-main);
}

@media (max-width: 768px) {
  .content-article {
    padding: 22px 18px;
  }
}

.section-h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: #ffffff;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0, 255, 136, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-h2::before {
  content: '';
  width: 6px;
  height: 24px;
  background: var(--green-gradient);
  border-radius: 3px;
  display: inline-block;
}

.section-h2:first-of-type {
  margin-top: 0;
}

.article-text {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.feature-list {
  list-style: none;
  margin: 16px 0 24px;
  display: grid;
  gap: 10px;
}

.feature-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-light);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
}

.feature-item i {
  color: var(--green-primary);
}

/* ==========================================================================
   FAQ Section Accordion
   ========================================================================== */
.faq-section {
  background: radial-gradient(900px 320px at 10% -10%, rgba(0, 255, 136, 0.12), transparent 60%),
              linear-gradient(180deg, var(--bg-card), var(--bg-main));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-main);
  margin-top: 15px;
}

.faq-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.faq-main-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-green);
}

.faq-question {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.faq-question b {
  color: var(--green-primary);
  margin-right: 8px;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--green-primary);
  color: #09090d;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 20px 18px;
}

/* ==========================================================================
   Footer (Matching 789BET Styled Layout)
   ========================================================================== */
.site-footer {
  background: #09090d;
  border-top: 1px solid var(--border-light);
  padding: 25px 0 35px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.1fr;
  gap: 36px;
  margin-bottom: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Brand Column */
.footer-brand-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.status-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 10px #00E676;
  animation: pulseDot 2s infinite alternate;
}

@keyframes pulseDot {
  0% { opacity: 0.5; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 14px #00FF88; }
}

/* Menu Column */
.footer-heading {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14.5px;
  font-weight: 500;
  transition: var(--transition);
}

.footer-nav-list a:hover {
  color: var(--green-primary);
  transform: translateX(4px);
}

.link-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #00FF88;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}

.footer-nav-list a:hover .link-chevron {
  background: var(--green-primary);
  color: #09090d;
  border-color: var(--green-primary);
}

/* Related Card Box Column */
.footer-related-card {
  background: #141318;
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.card-heading {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.card-subtext {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin-bottom: 18px;
}

.footer-card-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--emerald-gradient);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.4);
  transition: var(--transition);
  margin-bottom: 14px;
}

.footer-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 230, 118, 0.6);
  filter: brightness(1.1);
}

.footer-note-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin-bottom: 20px;
}

.footer-note-badge b {
  color: #ffffff;
  margin-right: 6px;
}

.footer-legal-links {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.footer-legal-links li {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.footer-legal-links li:last-child {
  border-bottom: none;
}

.footer-legal-links a {
  display: block;
  padding: 10px 0;
  color: #4da6ff;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: var(--green-primary);
  padding-left: 4px;
}

/* Footer Bottom Disclaimer */
.footer-disclaimer-box {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}

/* Mobile Sticky Bottom Bar Buttons */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 14, 18, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 230, 118, 0.3);
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  z-index: 9999;
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.85);
}

@media (min-width: 769px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.sticky-btn-primary {
  flex: 1;
  background: var(--emerald-gradient);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.4);
}

.sticky-btn-secondary {
  flex: 1;
  background: #141318;
  color: #00E676 !important;
  border: 1px solid #00E676;
  font-size: 15px;
  font-weight: 800;
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Funhub555 Link Page Styles (ทางเข้า Funhub555 ล่าสุด Component & Section Styles)
   ========================================================================== */
.b789-link-page {
  --bg: #09090d;
  --card: #121218;
  --line: rgba(255, 255, 255, 0.12);
  --txt: rgba(255, 255, 255, 0.90);
  --muted: rgba(255, 255, 255, 0.66);
  --accent: #00E676;
  --accent2: #00FF88;
  --cyan: #7fd9ff;

  color: var(--txt);
  font-family: var(--font-family);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 12px;
}

.b789-sec {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(900px 320px at 12% -20%, rgba(0, 230, 118, 0.22), transparent 60%),
    linear-gradient(180deg, var(--card), var(--bg));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  padding: 24px;
  margin: 20px 0;
}

.b789-sec h1, .b789-sec h2 {
  margin: 0 0 12px;
  letter-spacing: .2px;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 900;
}

.b789-sec h1 { font-size: clamp(22px, 2.8vw, 36px); line-height: 1.2; }
.b789-sec h2 { font-size: clamp(18px, 2.1vw, 24px); line-height: 1.3; }

.b789-sec p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  max-width: 72ch;
}

.b789-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 230, 118, 0.35);
  background: rgba(0, 230, 118, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  max-width: 100%;
}

.b789-kicker i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #00FF88, #00E676);
  box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.2);
  display: inline-block;
  flex: 0 0 auto;
}

.b789-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: 12px;
}

.b789-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.15;
  white-space: normal;
  text-align: center;
  flex: 1 1 auto;
  min-width: 220px;
  box-sizing: border-box;
}

.b789-btn--primary {
  color: #ffffff !important;
  background: var(--emerald-gradient);
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.45);
  border-color: rgba(0, 230, 118, 0.4);
}

.b789-btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 14px 35px rgba(0, 230, 118, 0.65);
}

.b789-btn--ghost {
  color: rgba(255, 255, 255, 0.92) !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.b789-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 255, 136, 0.4);
  color: #00FF88 !important;
  transform: translateY(-2px);
}

.b789-btn--cyan {
  color: var(--cyan) !important;
  background: rgba(127, 217, 255, 0.08);
  border: 1px solid rgba(127, 217, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.b789-btn--cyan:hover {
  color: #80FFC2 !important;
  background: rgba(255, 209, 102, 0.12);
  border-color: rgba(255, 209, 102, 0.4);
  transform: translateY(-2px);
}

.b789-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}

@media (max-width: 820px) {
  .b789-grid { grid-template-columns: 1fr; }
  .b789-btn { min-width: 0; width: 100%; }
}

.b789-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.b789-card:hover {
  border-color: rgba(0, 255, 136, 0.35);
}

.b789-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.b789-title {
  margin: 0;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  letter-spacing: .2px;
  line-height: 1.3;
}

.b789-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.35);
  background: rgba(0, 255, 136, 0.12);
  color: #00FF88;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.b789-status i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #00FF88, #00E676);
  box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.2);
  display: inline-block;
}

.b789-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin: 8px 0 14px;
  line-height: 1.55;
}

.b789-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
}

.b789-chip b { color: rgba(255, 255, 255, 0.95); font-weight: 800; }

.b789-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14.5px;
  line-height: 1.65;
}

.b789-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.b789-ico {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-gradient);
  color: #ffffff;
  font-weight: 900;
  flex: 0 0 auto;
  box-shadow: 0 4px 12px rgba(0, 153, 77, 0.35);
  line-height: 1;
  font-size: 14px;
}

/* FAQ Details Accordion */
.b789-faq details {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 12px;
  transition: border-color 0.2s ease;
}

.b789-faq details:hover {
  border-color: rgba(0, 255, 136, 0.3);
}

.b789-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
  font-size: 15.5px;
  outline: none;
}

.b789-faq summary::-webkit-details-marker { display: none; }

.b789-faq .chev {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.88);
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.b789-faq details[open] .chev {
  transform: rotate(180deg);
  background: var(--green-primary);
  color: #09090d;
}

.b789-faq .ans {
  padding: 0 18px 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 14.5px;
}

.b789-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.7;
}

/* ==========================================================================
   Funhub555 Registration Page Styles (สมัครสมาชิก Funhub555)
   ========================================================================== */
.b789-register {
  --bg: #09090d;
  --card: #121218;
  --line: rgba(255, 255, 255, 0.12);
  --txt: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.65);
  --accent: #00E676;
  --accent2: #00FF88;

  background: radial-gradient(900px 320px at 12% -20%, rgba(0, 230, 118, 0.18), transparent 60%),
              linear-gradient(180deg, var(--card), var(--bg));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
  color: var(--txt);
  font-family: var(--font-family);
  max-width: 1120px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.b789-register * { box-sizing: border-box; }

.b789-register h1 {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.2;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: .2px;
  font-weight: 900;
}

.b789-register h2 {
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 0 0 8px;
  color: var(--green-primary);
  letter-spacing: .2px;
  font-weight: 900;
  margin-top: 14px;
}

.b789-register h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: #fff;
  letter-spacing: .2px;
  font-weight: 800;
}

.b789-register p {
  margin: 0 0 12px;
  line-height: 1.75;
  color: var(--muted);
  font-size: 15px;
  max-width: 78ch;
}

.b789-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: .2px;
  text-decoration: none;
  color: #ffffff !important;
  background: var(--emerald-gradient);
  border: 1px solid rgba(0, 230, 118, 0.35);
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.45);
  transition: all 0.2s ease;
  min-width: 240px;
  line-height: 1.15;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.b789-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 14px 35px rgba(0, 230, 118, 0.65);
}

.b789-faq p {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.75);
}

.b789-faq p strong { color: rgba(255, 255, 255, 0.95); }

.b789-link {
  --b789-link: #7fd9ff;
  --b789-hover: #80FFC2;

  color: var(--b789-link) !important;
  text-decoration: none !important;
  font-weight: 800;
  transition: color .18s ease, opacity .18s ease, transform .18s ease;
}

.b789-link:hover {
  color: var(--b789-hover) !important;
  opacity: .98;
}

.b789-links {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.b789-links .b789-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(127, 217, 255, 0.3);
  background: rgba(127, 217, 255, 0.08);
  font-size: 14px;
}

.b789-links .b789-link:hover {
  color: #09090d !important;
  background: var(--green-gradient);
  border-color: var(--green-primary);
  transform: translateY(-1px);
}

@media(max-width:600px){
  .b789-register { padding: 18px; border-radius: 18px; }
  .b789-btn-primary { width: 100%; min-width: 0; }
  .b789-register p { font-size: 14px; }
}

/* ==========================================================================
   Funhub555 Cash Page Styles (ฝากถอน Funhub555)
   ========================================================================== */
.b789-cash {
  --bg: #09090d;
  --card: #121218;
  --line: rgba(255, 255, 255, 0.12);
  --txt: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.65);
  --accent: #00E676;
  --accent2: #00FF88;
  --link: #7fd9ff;
  --linkHover: #80FFC2;

  background: linear-gradient(180deg, var(--card), var(--bg));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  color: var(--txt);
  max-width: 980px;
  margin: 0 auto 20px;
  font-family: var(--font-family);
}

.b789-cash h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 900;
  color: #fff;
}

.b789-cash p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.b789-cash h2 {
  margin: 26px 0 12px;
  font-size: 20px;
  color: var(--green-primary);
  font-weight: 800;
}

.b789-cash ul {
  margin: 12px 0 0 20px;
  padding: 0;
  color: var(--muted);
  line-height: 1.7;
}

.b789-cash li { margin-bottom: 8px; }

/* Info Box & Tables */
.b789-info {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.b789-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 14.5px;
}

.b789-table th,
.b789-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.b789-table th {
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
}

.b789-table td {
  color: var(--muted);
}

.b789-cash .b789-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  color: var(--link) !important;
  background: rgba(127, 217, 255, 0.06);
  border: 1px solid rgba(127, 217, 255, 0.28);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.b789-cash .b789-link:hover {
  color: var(--linkHover) !important;
  background: rgba(255, 209, 102, 0.08);
  border-color: rgba(255, 209, 102, 0.35);
  transform: translateY(-1px);
}

.b789-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

@media (max-width: 520px) {
  .b789-cash { padding: 18px 16px; }
  .b789-cash .b789-link { width: 100%; justify-content: center; white-space: normal; }
}

/* ==========================================================================
   FAQ Section - ฝากถอน Funhub555
   ========================================================================== */
.faq-789bet {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, #111118, #0b0b0f);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto 30px;
  font-family: var(--font-family);
}

.faq-789bet h2 {
  margin: 0 0 16px;
  font-size: 20px;
  color: var(--green-primary);
  letter-spacing: .2px;
  font-weight: 900;
}

.faq-789bet details {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-789bet summary {
  cursor: pointer;
  padding: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-789bet summary::-webkit-details-marker { display: none; }

.faq-789bet .qwrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.faq-789bet .qtag {
  color: #00E676;
  font-weight: 900;
  flex: 0 0 auto;
  line-height: 1.2;
}

.faq-789bet .qtext {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.faq-789bet .chev {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.85);
  flex: 0 0 auto;
  transition: transform .18s ease;
}

.faq-789bet details[open] .chev { transform: rotate(180deg); }

.faq-789bet .answer {
  padding: 0 16px 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 14.5px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.faq-789bet .note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
}

@media(max-width: 520px) {
  .faq-789bet { padding: 18px; }
  .faq-789bet h2 { font-size: 18px; }
  .faq-789bet summary { padding: 12px; }
  .faq-789bet .chev { width: 30px; height: 30px; border-radius: 11px; }
}

/* ==========================================================================
   Funhub555 Free Credit Page Styles (เครดิตฟรี Funhub555)
   ========================================================================== */
.b789-free {
  --bg: #09090d;
  --card: #121218;
  --line: rgba(255, 255, 255, 0.12);
  --txt: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.65);
  --accent: #00E676;
  --accent2: #00FF88;
  --link: #7fd9ff;
  --hover: #80FFC2;

  background: radial-gradient(900px 320px at 12% -20%, rgba(0, 230, 118, 0.18), transparent 60%),
              linear-gradient(180deg, var(--card), var(--bg));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  color: var(--txt);
  max-width: 980px;
  margin: 0 auto 20px;
  overflow: hidden;
  box-sizing: border-box;
  font-family: var(--font-family);
}

.b789-free * { box-sizing: border-box; }

.b789-free h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: .2px;
  color: #fff;
  font-weight: 900;
}

.b789-free p {
  margin: 0 0 12px;
  line-height: 1.75;
  color: var(--muted);
  font-size: 15px;
  max-width: 78ch;
}

.b789-free h2 {
  margin: 22px 0 12px;
  font-size: 20px;
  color: var(--green-primary);
  letter-spacing: .2px;
  font-weight: 800;
}

.b789-free .b789-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}

@media (max-width: 860px) {
  .b789-free .b789-grid { grid-template-columns: 1fr; }
}

.b789-free .b789-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.b789-free .b789-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 230, 118, 0.25);
  background: rgba(0, 230, 118, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  margin-bottom: 14px;
}

.b789-free .b789-badge i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green-primary), var(--accent));
  box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.16);
  display: inline-block;
}

.b789-free .b789-list {
  margin: 10px 0 0 18px;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  font-size: 15px;
}

.b789-free .b789-list li { margin-bottom: 8px; }

.b789-steps {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 12px;
}

.b789-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

/* Number circle styling in step-by-step guides */
.b789-n {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--emerald-gradient) !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important; /* Fix Thai font baseline offset centering */
  font-weight: 900 !important;
  font-size: 15px !important;
  flex: 0 0 auto !important;
  box-shadow: 0 6px 16px rgba(0, 153, 77, 0.35) !important;
  line-height: 1 !important;
  margin-top: 2px !important; /* Vertically align with the baseline of the first line of text */
}

.b789-step b {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 4px;
  font-size: 14.5px;
  letter-spacing: .1px;
}

.b789-step span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13.5px;
  line-height: 1.6;
}

.b789-free .b789-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--link) !important;
  background: rgba(127, 217, 255, 0.06);
  border: 1px solid rgba(127, 217, 255, 0.28);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  line-height: 1.1;
  white-space: nowrap;
}

.b789-free .b789-link:hover {
  color: var(--hover) !important;
  background: rgba(255, 209, 102, 0.08);
  border-color: rgba(255, 209, 102, 0.35);
  transform: translateY(-1px);
}

.b789-free .b789-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 12px;
}

@media (max-width:520px) {
  .b789-free { padding: 18px 14px; border-radius: 18px; }
  .b789-free .b789-link { width: 100%; white-space: normal; }
  .b789-free .b789-card { padding: 16px; }
  .b789-n { width: 30px; height: 30px; border-radius: 50%; }
}

/* ==========================================================================
   Funhub555 Download Page Styles (ดาวน์โหลด Funhub555)
   ========================================================================== */
.b789-app {
  --bg: #09090d;
  --card: #121218;
  --line: rgba(255, 255, 255, 0.12);
  --txt: rgba(255, 255, 255, 0.90);
  --muted: rgba(255, 255, 255, 0.66);
  --accent: #00E676;
  --accent2: #00FF88;
  --link: #7fd9ff;
  --linkHover: #80FFC2;

  background:
    radial-gradient(980px 360px at 12% -20%, rgba(0, 230, 118, 0.18), transparent 60%),
    radial-gradient(760px 320px at 92% 10%, rgba(0, 255, 136, 0.12), transparent 55%),
    linear-gradient(180deg, var(--card), var(--bg));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,.40);
  color: var(--txt);
  max-width: 980px;
  margin: 0 auto 20px;
  overflow: hidden;
  box-sizing: border-box;
  font-family: var(--font-family);
}

.b789-app * { box-sizing: border-box; }

.b789-app__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 230, 118, 0.26);
  background: rgba(0, 230, 118, 0.10);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  margin-bottom: 14px;
  font-weight: 700;
}

.b789-app__kicker i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.16);
  display: inline-block;
}

.b789-app h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: .2px;
  font-weight: 900;
}

.b789-app p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  max-width: 80ch;
}

.b789-app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--link) !important;
  background: rgba(127, 217, 255, 0.06);
  border: 1px solid rgba(127, 217, 255, 0.28);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  line-height: 1.1;
  white-space: nowrap;
}

.b789-app-link:hover {
  color: var(--linkHover) !important;
  background: rgba(255, 209, 102, 0.08);
  border-color: rgba(255, 209, 102, 0.35);
  transform: translateY(-1px);
}

.b789-app-link:focus-visible {
  outline: 2px solid rgba(255, 209, 102, .55);
  outline-offset: 3px;
}

@media (max-width:520px) {
  .b789-app { padding: 18px 14px; border-radius: 18px; }
  .b789-app-link { width: 100%; white-space: normal; }
}

/* ==========================================================================
   Funhub555 Contact Page Styles (ติดต่อ Funhub555)
   ========================================================================== */
.b789-contact {
  --bg: #09090d;
  --card: #121218;
  --line: rgba(255, 255, 255, 0.12);
  --txt: rgba(255, 255, 255, 0.90);
  --muted: rgba(255, 255, 255, 0.66);
  --accent: #00E676;
  --accent2: #00FF88;
  --link: #7fd9ff;
  --linkHover: #80FFC2;

  background:
    radial-gradient(980px 360px at 12% -20%, rgba(0, 230, 118, 0.16), transparent 60%),
    radial-gradient(760px 320px at 92% 10%, rgba(0, 255, 136, 0.10), transparent 55%),
    linear-gradient(180deg, var(--card), var(--bg));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.40);
  color: var(--txt);
  max-width: 980px;
  margin: 0 auto 20px;
  overflow: hidden;
  box-sizing: border-box;
  font-family: var(--font-family);
}

.b789-contact * { box-sizing: border-box; }

.b789-contact h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: .2px;
  font-weight: 900;
}

.b789-contact p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  max-width: 80ch;
}

.b789-contact-ico {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-gradient);
  color: #fff;
  font-weight: 900;
  flex: 0 0 auto;
  box-shadow: 0 6px 16px rgba(0, 153, 77, 0.35);
  line-height: 1;
}

.b789-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.b789-contact .b789-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  letter-spacing: .1px;
  min-width: 220px;
  max-width: 100%;
}

.b789-contact .b789-chip small {
  display: block;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0;
  margin-top: 2px;
  line-height: 1.4;
}

.b789-contact .b789-chip .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.14);
  flex: 0 0 auto;
}

.b789-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--link) !important;
  background: rgba(127, 217, 255, 0.06);
  border: 1px solid rgba(127, 217, 255, 0.28);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  line-height: 1.1;
  white-space: nowrap;
}

.b789-contact-link:hover {
  color: var(--linkHover) !important;
  background: rgba(255, 209, 102, 0.08);
  border-color: rgba(255, 209, 102, 0.35);
  transform: translateY(-1px);
}

.b789-contact-link:focus-visible {
  outline: 2px solid rgba(255, 209, 102, .55);
  outline-offset: 3px;
}

@media (max-width:520px) {
  .b789-contact { padding: 18px 14px; border-radius: 18px; }
  .b789-contact-link { width: 100%; white-space: normal; }
  .b789-contact .b789-chip { min-width: 100%; }
  .b789-contact-ico { width: 30px; height: 30px; border-radius: 12px; }
}

/* ==========================================================================
   Funhub555 Dedicated FAQ Page Styles (คำถามที่พบบ่อย Funhub555)
   ========================================================================== */
.faq789-page {
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, #111118, #0b0b0f);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.9);
  max-width: 980px;
  margin: 0 auto 20px;
  font-family: var(--font-family);
}

.faq789-page * { box-sizing: border-box; }

.faq789-page h1 {
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--green-primary);
  letter-spacing: .2px;
  font-weight: 900;
}

.faq789-item {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq789-item summary {
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

.faq789-item summary::-webkit-details-marker { display: none; }

.faq789-q {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}

.faq789-q b {
  color: #00E676;
  font-weight: 900;
  flex: 0 0 auto;
}

.faq789-q span {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.35;
  word-break: break-word;
}

.faq789-chevron {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.88);
}

.faq789-item[open] .faq789-chevron {
  transform: rotate(180deg);
  background: var(--green-primary);
  color: #09090d;
}

.faq789-answer {
  padding: 0 16px 16px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

@media(max-width: 520px) {
  .faq789-page { padding: 20px 16px; }
  .faq789-page h1 { font-size: 20px; }
  .faq789-item summary { padding: 12px; }
  .faq789-chevron { width: 28px; height: 28px; border-radius: 10px; }
}

/* ==========================================================================
   Header Dropdown Menu (Sub-menu support)
   ========================================================================== */
/* Header Dropdown Menu (Sub-menu support) - Desktop Only */
@media (min-width: 993px) {
  .nav-menu li {
    position: relative;
  }

  /* Sub-menu container */
  .nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #111118;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 180px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    z-index: 1000;
  }

  .nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
  }

  .nav-menu li:hover .caret {
    transform: rotate(180deg);
  }
}

/* Base Styles (Shared) */
.nav-menu li {
  position: relative;
}

.nav-menu .sub-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text-main, rgba(255,255,255,0.9));
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.nav-menu .sub-menu a:hover {
  background: rgba(0, 230, 118, 0.1);
  color: var(--green-primary, #00FF88);
}

/* Caret indicator next to parent link */
.nav-menu .caret {
  font-size: 9px;
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.25s ease;
  vertical-align: middle;
  color: inherit;
}

/* Mobile Dropdown styles */
@media (max-width: 992px) {
  .nav-menu .has-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-menu .sub-menu {
    position: static;
    transform: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
    width: 100%;
    max-width: 280px;
    min-width: 0;
    border-radius: 8px;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease-out,
                padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                margin 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu .sub-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu .sub-menu a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 16px;
  }
  
  .nav-menu .has-dropdown.active-mobile .sub-menu {
    opacity: 1;
    visibility: visible;
    max-height: 250px;
    padding: 8px 16px;
    margin-top: 8px;
  }
  
  .nav-menu .has-dropdown.active-mobile .caret {
    transform: rotate(180deg);
  }
}

/* ==========================================================================
   Funhub555 Review Page Styles (รีวิว Funhub555)
   ========================================================================== */
.b789-review {
  --bg: #0b0b0f;
  --card: #111118;
  --line: rgba(255, 255, 255, 0.12);
  --txt: rgba(255, 255, 255, 0.90);
  --muted: rgba(255, 255, 255, 0.62);
  --accent: #00E676;
  --accent2: #80FFC2;

  background: linear-gradient(180deg, var(--card), var(--bg));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  color: var(--txt);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.45);
  max-width: 980px;
  margin: 0 auto 20px;
  font-family: var(--font-family);
}

.b789-review * { box-sizing: border-box }

.b789-review h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--green-primary);
  font-weight: 900;
}

.b789-review h2 {
  margin: 22px 0 10px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
}

.b789-review p {
  margin: 0 0 12px;
  line-height: 1.75;
  color: var(--muted);
  font-size: 15px;
}

.b789-review ul {
  margin: 8px 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.b789-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

.b789-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.b789-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;
  background: linear-gradient(180deg, var(--green-primary), var(--accent));
  color: #121218 !important;
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: all 0.18s ease;
}

.b789-btn:hover { transform: translateY(-1px) }

.b789-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.b789-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

@media(max-width:520px){
  .b789-review { padding: 20px }
  .b789-review h1 { font-size: 22px }
  .b789-review h2 { font-size: 18px }
  .b789-btn { width: 100% }
}

/* ==========================================================================
   Funhub555 Cant Access Page Styles (Funhub555 เข้าไม่ได้)
   ========================================================================== */
.b789-down {
  --bg: #0b0b0f;
  --card: #111118;
  --line: rgba(255, 255, 255, 0.12);
  --txt: rgba(255, 255, 255, 0.90);
  --muted: rgba(255, 255, 255, 0.62);
  --accent: #00E676;
  --accent2: #80FFC2;

  background: linear-gradient(180deg, var(--card), var(--bg));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  color: var(--txt);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.45);
  max-width: 980px;
  margin: 0 auto 20px;
  font-family: var(--font-family);
}

.b789-down * { box-sizing: border-box }

.b789-down h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--green-primary);
  letter-spacing: .2px;
  font-weight: 900;
}

.b789-down p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.b789-down h2 {
  margin: 20px 0 10px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 800;
}

.b789-alert {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 230, 118, 0.22);
  background: linear-gradient(180deg, rgba(0, 230, 118, 0.12), rgba(255, 255, 255, 0.02));
}

.b789-alert b { color: rgba(255, 255, 255, 0.92) }

.b789-alert small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  font-size: 12.8px;
}

.b789-steps {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.b789-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

.b789-num {
  width: 34px;
  height: 34px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--emerald-gradient) !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important; /* Fix Thai font baseline offset centering */
  font-weight: 900 !important;
  font-size: 15px !important;
  flex: 0 0 auto !important;
  box-shadow: 0 6px 16px rgba(0, 153, 77, 0.35) !important;
  line-height: 1 !important;
  margin-top: 2px !important; /* Vertically align with the baseline of the first line of text */
}

.b789-step b {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2px;
  font-size: 14.5px;
}

.b789-step span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.b789-down .b789-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width:860px) {
  .b789-down .b789-grid { grid-template-columns: 1fr }
}

.b789-down .b789-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
}

.b789-down .b789-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
}

.b789-down .b789-card ul {
  margin: 0 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.b789-down .b789-cta {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.b789-down .b789-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .2px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: all 0.18s ease;
  line-height: 1;
  white-space: nowrap;
}

.b789-down .b789-btn--primary {
  background: var(--emerald-gradient);
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(0, 230, 118, 0.45);
}

.b789-down .b789-btn--primary:hover { transform: translateY(-1px) }

.b789-down .b789-btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.90) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.b789-down .b789-btn--ghost:hover { transform: translateY(-1px) }

.b789-down .b789-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.52);
  font-size: 12.8px;
  line-height: 1.7;
}

@media (max-width:520px) {
  .b789-down { padding: 20px }
  .b789-down h1 { font-size: 22px }
  .b789-down h2 { font-size: 18px }
  .b789-down .b789-btn { width: 100%; white-space: normal }
  .b789-down .b789-num { width: 32px; height: 32px; border-radius: 50% }
}

/* ==========================================================================
   FAQ Section - Cant Access Page (Funhub555 เข้าไม่ได้)
   ========================================================================== */
.b789-faq {
  --bg: #0b0b0f;
  --card: #121218;
  --line: rgba(255, 255, 255, 0.12);
  --txt: rgba(255, 255, 255, 0.88);
  --muted: rgba(255, 255, 255, 0.62);
  --accent: #00E676;
  --accent2: #00FF88;

  margin: 26px auto;
  padding: 20px;
  max-width: 100%;
  background: linear-gradient(180deg, #111118, #0b0b0f);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  font-family: var(--font-family);
}

.b789-faq h2 {
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--green-primary);
  letter-spacing: .2px;
  font-weight: 900;
}

.b789-faq p {
  margin: 0;
  padding: 14px 14px 14px 44px;
  border-top: 1px solid var(--line);
  position: relative;
  line-height: 1.7;
  color: var(--muted);
  font-size: 14.5px;
  overflow-wrap: anywhere;
}

.b789-faq p:first-of-type {
  border-top: none;
}

.b789-faq p strong {
  display: block;
  color: var(--txt);
  margin-bottom: 6px;
  font-weight: 800;
}

.b789-faq p::before {
  content: "Q";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--emerald-gradient);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 230, 118, 0.4);
}

@media (max-width: 520px) {
  .b789-faq {
    padding: 16px 14px;
    border-radius: 18px;
  }
  .b789-faq h2 {
    font-size: 18px;
  }
  .b789-faq p {
    padding: 12px 12px 12px 40px;
    font-size: 14px;
  }
  .b789-faq p::before {
    left: 10px;
    top: 12px;
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
}

/* ==========================================================================
   Funhub555 VIP Page Styles (VIP Funhub555)
   ========================================================================== */
.vip-funhub555-card {
  --card-bg: #111118;
  --highlight-color: #00E676;
  --text-color: #eaf2ff;
  --secondary-color: #00FF88;
  --link-color: #7fd9ff;
  --link-hover: #80FFC2;

  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
  padding: 40px 20px;
  color: var(--text-color);
  font-family: var(--font-family);
}

.vip-funhub555-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.vip-funhub555-title {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--green-primary);
}

.vip-funhub555-description {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.vip-funhub555-benefits {
  margin-top: 30px;
  text-align: center;
}

.vip-funhub555-benefits h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--secondary-color);
  font-weight: 800;
}

.vip-funhub555-benefits ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 0 auto;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vip-funhub555-benefits li {
  font-size: 16px;
  color: var(--text-color);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 10px;
}

.vip-funhub555-benefits li::before {
  content: '✦';
  color: var(--green-primary);
  font-weight: bold;
}

.vip-funhub555-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-gradient);
  color: #fff !important;
  font-weight: bold;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-size: 18px;
  box-shadow: 0 12px 30px rgba(0, 230, 118, 0.4);
  transition: all 0.3s ease;
  margin-top: 30px;
}

.vip-funhub555-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 230, 118, 0.6);
  filter: brightness(1.1);
}

.vip-funhub555-btn small {
  font-weight: normal;
}

.vip-funhub555-cta {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .vip-funhub555-wrap {
    padding: 15px;
  }
  .vip-funhub555-title {
    font-size: 28px;
  }
  .vip-funhub555-description {
    font-size: 14px;
  }
  .vip-funhub555-btn {
    font-size: 16px;
    padding: 12px 25px;
    width: 100%;
  }
}

/* ==========================================================================
   Funhub555 Promotions Page Styles (โปรโมชั่น Funhub555)
   ========================================================================== */
.b789-promo-section {
  padding: 30px 20px;
  background: linear-gradient(135deg, var(--bg-main), #000000);
  min-height: 100vh;
  font-family: var(--font-family);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  max-width: 980px;
  margin: 0 auto 20px;
}

.b789-promo-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 10px 0;
}

.b789-promo-card {
  position: relative;
  background: linear-gradient(145deg, var(--bg-card), #161622);
  border: 2px solid var(--border-green);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-main);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.b789-promo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 255, 136, 0.08),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s;
}

.b789-promo-card:hover::before {
  left: 100%;
}

.b789-promo-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.25);
  background: linear-gradient(145deg, #1e1e2d, #12121c);
  border-color: var(--green-primary);
}

.b789-promo-icon {
  font-size: 45px;
  text-align: center;
  margin-bottom: 12px;
  animation: bouncePromoIcon 2.5s infinite;
  filter: drop-shadow(0 5px 10px rgba(0, 255, 136, 0.3));
}

@keyframes bouncePromoIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.b789-promo-details h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--green-primary);
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
  line-height: 1.4;
}

.b789-promo-details p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
  flex-grow: 1;
}

.b789-promo-link {
  display: inline-block;
  padding: 10px 24px;
  background: var(--green-gradient);
  color: #09090d !important;
  text-decoration: none;
  font-weight: 800;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
  font-size: 14.5px;
}

.b789-promo-link:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5);
}

/* Article inside promo page */
.b789-promo-article {
  margin: 30px auto 0;
  padding: 24px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 980px;
}

.b789-promo-article h1, .b789-promo-article h2 {
  font-size: 22px;
  margin: 0 0 14px;
  color: #ffffff;
  font-weight: 900;
}

.b789-promo-article h3 {
  font-size: 18px;
  margin: 22px 0 10px;
  color: var(--green-primary);
  font-weight: 800;
}

.b789-promo-article p {
  margin: 0 0 12px;
  font-size: 15px;
}

.b789-promo-article ul {
  margin: 8px 0 16px 18px;
  padding: 0;
}

.b789-promo-article li {
  margin-bottom: 6px;
  font-size: 14.5px;
}

.b789-promo-home-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--link);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px dashed rgba(127, 217, 255, 0.6);
  transition: all 0.2s ease;
}

.b789-promo-home-link:hover {
  color: var(--linkHover);
  border-color: var(--linkHover);
}

@media (max-width: 768px) {
  .b789-promo-container {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
  }
  .b789-promo-card {
    padding: 20px;
  }
}

/* ==========================================================================
   Framed Promotion Banners (Green Glowing Borders & Layout)
   ========================================================================== */
.banner-promo-img, .hero-banner-box {
  margin: 24px auto;
  max-width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Revert default image styles in banner/hero box */
.banner-promo-img img, .hero-banner-box img {
  border: none;
  box-shadow: none;
  transform: none;
  transition: var(--transition);
}
.banner-promo-img img:hover, .hero-banner-box img:hover {
  transform: none;
  box-shadow: none;
}

/* Framed only for the 5 Promotion Banners */
img[src*="Promotion Banner_"] {
  border: 3px solid rgba(0, 255, 136, 0.4) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.15), 0 0 15px rgba(0, 255, 136, 0.1) !important;
  transition: var(--transition) !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img[src*="Promotion Banner_"]:hover {
  transform: translateY(-4px) scale(1.01) !important;
  border-color: rgba(0, 255, 136, 0.8) !important;
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.35), 0 0 25px rgba(0, 255, 136, 0.25) !important;
}