/* ==========================================================================
   funhub555 Premium Landing Page Stylesheet
   Modern, Fast, High-Conversion Design for SEO & Affiliate
   ========================================================================== */

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

:root {
  --bg-main: #0c0c0d;
  --bg-surface: #121214;
  --bg-card: #161619;
  --bg-card-hover: #1a1a1e;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(23, 227, 123, 0.25);
  
  --primary-gold: #17E37B;
  --primary-gold-light: #4EFA9F;
  --primary-gold-dark: #0AC271;
  --gold-gradient: linear-gradient(135deg, #4EFA9F 0%, #17E37B 50%, #0AC271 100%);
  --gold-glow: 0 4px 20px rgba(23, 227, 123, 0.35);
  
  --accent-red: #ef4444;
  --accent-green: #10b981;
  --accent-blue: #3b82f6;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-heading: 'Kanit', sans-serif;
  --font-body: 'Prompt', sans-serif;

  --container-width: 1340px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  padding-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 12, 16, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-fast);
  width: 100%;
  max-width: 100vw;
  overflow: visible;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .nav-wrapper {
    height: 84px;
    gap: 1.5rem;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.03);
}

.brand-logo img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
  transition: all var(--transition-fast);
}

@media (min-width: 992px) {
  .brand-logo img {
    height: 56px;
  }
}

@media (min-width: 1200px) {
  .brand-logo img {
    height: 62px;
  }
}

.nav-links {
  display: none;
  gap: 6px;
  align-items: center;
  flex: 1;
  justify-content: center;
  white-space: nowrap;
}

@media (min-width: 1100px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

@media (min-width: 1100px) and (max-width: 1280px) {
  .nav-link {
    font-size: 13.5px;
    padding: 6px 8px;
    gap: 2px;
  }
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-gold-light);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #13161e;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 99999;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap !important;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(23, 227, 123, 0.12);
  color: var(--primary-gold-light);
  padding-left: 1.5rem;
}

/* Authentic Full-Width Pill Ticker (th39-ticker) */
.th39-ticker {
  background: #121212;
  color: #fff;
  overflow: hidden !important;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 100vw;
  contain: paint;
}

.th39-ticker::before, .th39-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.th39-ticker::before {
  left: 0;
  background: linear-gradient(90deg, #121212, transparent);
}

.th39-ticker::after {
  right: 0;
  background: linear-gradient(270deg, #121212, transparent);
}

.th39-ticker__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: th39-scroll 36s linear infinite;
  will-change: transform;
}

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

.th39-ticker__items {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  white-space: nowrap;
}

.th39-ticker__items li:last-child {
  margin-right: 20px;
}

.th39-ticker__items li {
  margin: 0;
  padding: 8px 16px;
  line-height: 1.4;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  color: #f8fafc;
}

.th39-ticker__items li b {
  color: #FFD700;
}

.th39-bell {
  display: inline-block;
  transform-origin: top center;
  margin-right: 2px;
  animation: th39-bell 1.6s ease-in-out infinite, th39-glow 1.4s ease-in-out infinite alternate;
}

@keyframes th39-bell {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(12deg); }
}

@keyframes th39-glow {
  from { filter: drop-shadow(0 0 4px #FFA500); }
  to { filter: drop-shadow(0 0 10px #FFD700); }
}

@keyframes th39-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Subpage Hero & Breadcrumbs */
.subpage-hero {
  padding: 3rem 0 2rem;
  background: radial-gradient(circle at 50% 0%, rgba(23, 227, 123, 0.12) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--primary-gold);
}

.subpage-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.subpage-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

/* Comparison & Info Tables */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin: 1.5rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.data-table th, .data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  background: var(--bg-surface);
  color: var(--primary-gold-light);
  font-family: var(--font-heading);
  font-weight: 600;
}

.data-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.badge-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-gold {
  background: rgba(23, 227, 123, 0.15);
  color: var(--primary-gold-light);
  border: 1px solid var(--border-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1100px) {
  .header-actions .btn {
    padding: 0.65rem 1.45rem;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
  }
}

@media (max-width: 1099px) {
  .header-actions .btn {
    display: none !important;
  }
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  z-index: 100001;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  border-color: var(--border-gold);
  background: rgba(23, 227, 123, 0.1);
}

@media (min-width: 1100px) {
  .mobile-toggle {
    display: none !important;
  }
}
@media (max-width: 1099px) {
  .mobile-toggle {
    display: flex !important;
  }
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

/* Hamburger into 'X' animation */
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--primary-gold-light);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--primary-gold-light);
}

/* Mobile Navigation Drawer */
.mobile-nav {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100vh - 68px);
  height: calc(100dvh - 68px);
  max-height: calc(100dvh - 68px);
  background: rgba(11, 13, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 160, 23, 0.25);
  border-bottom: 2px solid var(--border-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  padding: 1.25rem 1.25rem calc(2.5rem + env(safe-area-inset-bottom, 20px));
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease;
  z-index: 100000;
}

@media (min-width: 1100px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #f1f5f9;
  text-decoration: none;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.mobile-nav a:hover,
.mobile-nav a:active,
.mobile-nav a.active {
  background: rgba(23, 227, 123, 0.18);
  color: var(--primary-gold-light);
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.mobile-nav::-webkit-scrollbar {
  width: 5px;
}

.mobile-nav::-webkit-scrollbar-thumb {
  background: rgba(212, 160, 23, 0.4);
  border-radius: 4px;
}

.mobile-nav::-webkit-scrollbar-track {
  background: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0a0c10;
  box-shadow: var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(23, 227, 123, 0.5);
  filter: brightness(1.08);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(25deg);
  animation: btnShine 4s infinite;
}

@keyframes btnShine {
  0% { left: -60%; }
  25% { left: 130%; }
  100% { left: 130%; }
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 3.5rem 0 4rem;
  background: radial-gradient(circle at 50% 10%, rgba(23, 227, 123, 0.12) 0%, transparent 60%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(23, 227, 123, 0.12);
  border: 1px solid var(--border-gold);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--primary-gold-light);
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 576px) {
  .hero-features-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feat-icon {
  color: var(--primary-gold);
  font-size: 1.1rem;
}

/* Hero Media Card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.hero-banner-img {
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-smooth);
}

.hero-banner-img:hover {
  transform: scale(1.02);
}

.card-quick-info {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-around;
  border: 1px solid var(--border-color);
}

.info-stat {
  text-align: center;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-gold-light);
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Quick Access Grid */
.quick-access-section {
  padding: 1.5rem 0 3.5rem;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .quick-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.quick-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.quick-icon {
  width: 52px;
  height: 52px;
  background: rgba(23, 227, 123, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--primary-gold);
}

.quick-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.quick-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Promotions Showcase Section */
.promo-section {
  padding: 4rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background: rgba(23, 227, 123, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--primary-gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .promo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.promo-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.promo-img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #121214;
}

.promo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-smooth);
}

.promo-card:hover .promo-img-wrap img {
  transform: scale(1.06);
}

.promo-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.promo-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.promo-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.promo-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Frameless Game Category Showcase */
.game-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.game-category-card {
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.game-category-card .game-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  aspect-ratio: 1 / 1;
  display: block;
  background: #121214;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.game-category-card:hover .game-img-wrap {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(23, 227, 123, 0.25);
}

.game-category-card .game-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.game-category-card:hover .game-img-wrap img {
  transform: scale(1.04);
}

.game-category-card .game-body {
  padding: 1.25rem 0.25rem 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-category-card .game-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.game-category-card .game-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* ==========================================================================
   Live Bonus Time & Slot RTP Tracker Components
   ========================================================================== */
.bonus-tracker-wrap {
  background: radial-gradient(circle at 50% 0%, rgba(23, 227, 123, 0.08) 0%, rgba(12, 12, 13, 0.95) 70%);
  border: 1px solid rgba(23, 227, 123, 0.2);
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  margin: 3.5rem auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.bonus-tracker-header {
  text-align: center;
  margin-bottom: 2rem;
}

.bonus-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(23, 227, 123, 0.12);
  border: 1px solid rgba(23, 227, 123, 0.35);
  color: var(--primary-gold);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.bonus-live-indicator span.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-gold);
  border-radius: 50%;
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(23, 227, 123, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(23, 227, 123, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(23, 227, 123, 0); }
}

/* Bonus Tracker Endless Loop Slider */
.bonus-slider-wrap {
  position: relative;
  width: 100%;
  margin-top: 1.5rem;
}

.bonus-slider-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 0 20px;
  cursor: grab;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x pan-y;
  mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
}

.bonus-slider-container::-webkit-scrollbar {
  display: none;
}

.bonus-slider-container:active {
  cursor: grabbing;
}

.bonus-slider-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  user-select: none;
  -webkit-user-select: none;
  will-change: scroll-position;
}

.bonus-game-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 250px;
  flex: 0 0 250px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.bonus-game-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-gold);
  box-shadow: 0 15px 35px rgba(23, 227, 123, 0.25);
}

.bonus-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 400 / 580; /* Perfect ratio matching 400x580 full game images */
  overflow: hidden;
  background: #09090b;
}

.bonus-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Full uncropped game image, 100% visible */
  display: block;
  transition: transform 0.4s ease;
}

.bonus-game-card:hover .bonus-card-thumb img {
  transform: scale(1.05);
}

.bonus-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.bonus-ribbon.hot {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
}

.bonus-ribbon.jackpot {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #fff;
}

.bonus-ribbon.break {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.bonus-card-info {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bonus-game-provider {
  font-size: 0.75rem;
  color: var(--primary-gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.bonus-game-name {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bonus-meter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.bonus-meter-label {
  color: var(--text-secondary);
}

.bonus-meter-val {
  color: #17E37B;
  font-weight: 700;
  font-size: 1rem;
}

.bonus-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.bonus-progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #0AC271, #17E37B);
  transition: width 1s ease-in-out;
}

.bonus-time-slot {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.bonus-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.bonus-slider-hint {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.bonus-nav-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-smooth);
}

.bonus-nav-btn:hover {
  background: var(--primary-gold);
  color: #000;
  border-color: var(--primary-gold);
  transform: scale(1.1);
}

/* Licensed Provider Grid - Frameless & 4-5x Larger */
.provider-showcase-wrap {
  margin: 4.5rem auto;
  text-align: center;
}

.provider-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.25rem 1.5rem;
  margin-top: 2.5rem;
  align-items: center;
  justify-items: center;
}

@media (max-width: 640px) {
  .provider-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
  }
}

.provider-logo-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 100%;
}

.provider-logo-card:hover {
  background: transparent !important;
  border-color: transparent !important;
  transform: translateY(-8px) scale(1.09);
}

.provider-logo-card img {
  width: 100%;
  max-width: 230px;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7));
  transition: filter 0.35s ease, transform 0.35s ease;
}

.provider-logo-card:hover img {
  filter: drop-shadow(0 14px 30px rgba(23, 227, 123, 0.5)) brightness(1.12);
}

/* Main Content & SEO Section */
.content-section {
  padding: 4.5rem 0;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .content-layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

/* Table of Contents Sticky */
.toc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.toc-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toc-item a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}

.toc-item a:hover, .toc-item a.active {
  color: var(--primary-gold-light);
  background: rgba(23, 227, 123, 0.08);
  border-left-color: var(--primary-gold);
  transform: translateX(4px);
}

/* Content Body */
.content-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
}

@media (min-width: 768px) {
  .content-body {
    padding: 3rem;
  }
}

.article-block {
  margin-bottom: 3rem;
}

.article-block:last-child {
  margin-bottom: 0;
}

.article-block h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.article-block h2::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 24px;
  background: var(--gold-gradient);
  border-radius: 4px;
}

.article-block p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.highlight-box {
  background: rgba(23, 227, 123, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box p {
  margin-bottom: 0;
  color: var(--primary-gold-light);
  font-weight: 500;
}

/* Steps Box */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--gold-gradient);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  transition: transform var(--transition-smooth);
  color: var(--primary-gold);
  font-size: 1.25rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: #06070a;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.2fr;
  }
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 380px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-gold-light);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 21, 28, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-gold);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  z-index: 1000;
}

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

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   Authentic funhub555 Components (Hero, Kicker, Cards, Badges)
   ========================================================================== */
.b789-hero {
  --bg0: #0b0b0f;
  --bg1: #111118;
  --line: rgba(255, 255, 255, 0.12);
  --txt: rgba(255, 255, 255, 0.90);
  --muted: rgba(255, 255, 255, 0.66);
  --accent: #0AC271;
  --accent2: #17E37B;
  --link: #7fd9ff;
  --linkHover: #ffd166;

  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(1100px 420px at 12% -10%, rgba(23, 227, 123, 0.28), transparent 60%),
    radial-gradient(900px 360px at 92% 12%, rgba(255, 178, 107, 0.18), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  color: var(--txt);
  margin: 1.5rem 0 2.5rem;
  max-width: 100%;
}

.b789-hero, .b789-hero * {
  box-sizing: border-box;
}

.b789-hero a, .b789-hero span, .b789-hero b, .b789-hero p, .b789-hero h1, .b789-hero h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 520px) {
  .b789-hero__cta, .b789-hero__cardCta {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .b789-hero__cta a, .b789-hero__cardCta a {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
  }
}

.b789-hero__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

@media (max-width: 900px) {
  .b789-hero__wrap {
    grid-template-columns: 1fr;
    padding: 22px 16px;
  }
}

.b789-hero__logo {
  width: 220px;
  max-width: 70vw;
  height: auto;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.45));
  margin-bottom: 14px;
}

.b789-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(23, 227, 123, 0.26);
  background: rgba(23, 227, 123, 0.10);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  letter-spacing: 0.2px;
  margin-bottom: 12px;
  line-height: 1.35;
}

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

.b789-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-heading);
}

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

.b789-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.b789-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.18s ease;
}

.b789-btn--primary {
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  color: #0b0b0f !important;
  box-shadow: 0 8px 20px rgba(23, 227, 123, 0.35);
}

.b789-btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.b789-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff !important;
}

.b789-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.b789-contour {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--accent);
  background: rgba(23, 227, 123, 0.12);
  color: var(--accent2) !important;
  transition: 0.18s ease;
}

.b789-contour:hover {
  background: var(--accent);
  color: #000 !important;
}

.b789-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.b789-chip {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.b789-chip b {
  color: var(--accent2);
}

.b789-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.b789-hero__img {
  width: 100%;
  max-width: 580px;
  height: auto;
  display: block;
  filter: drop-shadow(0 15px 35px rgba(23, 227, 123, 0.22)) drop-shadow(0 10px 25px rgba(0, 0, 0, 0.75));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.b789-hero__img:hover {
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(0 20px 45px rgba(23, 227, 123, 0.35)) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.85));
}

.b789-hero__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(10px);
}

.b789-hero__card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.b789-hero__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.b789-hero__li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.b789-ico {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.b789-hero__li div b {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 2px;
}

.b789-hero__li div span {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
  display: block;
}

.b789-hero__cardCta {
  display: flex;
  gap: 10px;
}

@media (max-width: 520px) {
  .b789-hero__cardCta, .b789-hero__cta {
    flex-direction: column;
  }
}

/* ==========================================================================
   Authentic funhub555 Components: Promo, FAQ, Footer, Mobile CTA Bar
   ========================================================================== */

/* Promo Highlight Box (.b789-promo-highlight) */
.b789-promo-highlight {
  --bg0: #0b0b0f;
  --bg1: #111118;
  --line: rgba(255, 255, 255, 0.12);
  --txt: rgba(255, 255, 255, 0.90);
  --muted: rgba(255, 255, 255, 0.66);
  --accent: #0AC271;
  --accent2: #17E37B;
  --link: #7fd9ff;
  --linkHover: #ffd166;

  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 220px at 10% -20%, rgba(23, 227, 123, 0.25), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  padding: 18px 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  color: var(--txt);
  max-width: 100%;
  margin: 24px auto;
}

.b789-promo-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--accent2);
  letter-spacing: .2px;
}

.b789-promo-desc {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 75ch;
}

.b789-promo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dashed rgba(127, 217, 255, 0.55);
  transition: .18s ease;
}

.b789-promo-link:hover {
  color: var(--linkHover);
  border-color: var(--linkHover);
  transform: translateX(3px);
}

/* FAQ Accordion Component (.b789-faq) */
.b789-faq {
  --bg: #0b0b0f;
  --card: #111118;
  --line: rgba(255, 255, 255, 0.12);
  --txt: rgba(255, 255, 255, 0.88);
  --muted: rgba(255, 255, 255, 0.62);
  --accent: #0AC271;
  --accent2: #17E37B;

  background: radial-gradient(900px 320px at 10% -10%, rgba(23, 227, 123, 0.18), transparent 60%),
              linear-gradient(180deg, var(--card), var(--bg));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  margin: 32px auto;
}

.b789-faq__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.b789-faq__title {
  margin: 0;
  font-size: 20px;
  letter-spacing: .2px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

.b789-faq__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(23, 227, 123, 0.25);
  background: rgba(23, 227, 123, 0.10);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  white-space: nowrap;
}

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

.b789-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.b789-faq details {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.b789-faq details[open] {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(23, 227, 123, 0.35);
}

.b789-faq summary {
  cursor: pointer;
  color: #ffffff;
  font-weight: 700;
  outline: none;
}

.b789-faq summary::-webkit-details-marker {
  color: #ffffff;
}

.b789-faq summary:has(.chev) {
  list-style: none;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.b789-faq summary:has(.chev)::-webkit-details-marker {
  display: none;
}

.b789-faq summary .q {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.b789-faq summary .q b {
  color: var(--accent);
  font-weight: 800;
}

.b789-faq summary .chev {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  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.86);
  flex: 0 0 auto;
  transition: transform .2s ease;
}

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

.b789-faq .ans {
  padding: 0 18px 16px 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

/* Authentic 3-Column Footer (.b789-footer) */
.b789-footer {
  --bg0: #0b0b0f;
  --bg1: #111118;
  --line: rgba(255, 255, 255, 0.10);
  --txt: rgba(255, 255, 255, 0.86);
  --muted: rgba(255, 255, 255, 0.62);
  --accent: #0AC271;
  --accent2: #17E37B;
  --link: #7fd9ff;
  --linkHover: #ffd166;
  --btnTxt: #121218;

  background: radial-gradient(1200px 420px at 20% -10%, rgba(23, 227, 123, 0.22), transparent 60%),
              radial-gradient(900px 320px at 90% 10%, rgba(255, 178, 107, 0.14), transparent 55%),
              linear-gradient(180deg, var(--bg1), var(--bg0));
  border-top: 1px solid var(--line);
  color: var(--txt);
  font-family: inherit;
  margin-top: 32px;
}

.b789-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 16px;
}

.b789-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 880px) {
  .b789-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.b789-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.b789-logo {
  width: 168px;
  max-width: 46vw;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.b789-desc {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.b789-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  margin-top: 14px;
}

.b789-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(23, 227, 123, 0.18);
  flex: 0 0 auto;
}

.b789-pill span {
  color: var(--muted);
  font-size: 13px;
}

.b789-col h4 {
  margin: 0 0 14px;
  font-size: 16px;
  letter-spacing: .2px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

.b789-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.b789-links a.b789-link {
  color: var(--muted) !important;
  text-decoration: none !important;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.18s ease;
}

.b789-links a.b789-link:hover {
  color: rgba(255, 255, 255, 0.95) !important;
  transform: translateX(4px);
}

.b789-arrow {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  flex: 0 0 auto;
}

.b789-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(23, 227, 123, 0.22);
  background: linear-gradient(180deg, rgba(23, 227, 123, 0.10), rgba(255, 255, 255, 0.02));
}

.b789-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.b789-cta a.b789-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: .2px;
  color: var(--btnTxt) !important;
  background: linear-gradient(180deg, var(--accent2), var(--accent)) !important;
  box-shadow: 0 10px 24px rgba(23, 227, 123, 0.35);
  transition: 0.18s ease;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  line-height: 1;
  white-space: nowrap;
}

.b789-cta a.b789-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.b789-cta a.b789-btn small {
  font-weight: 900;
  opacity: .9;
}

.b789-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.70);
  font-size: 12.5px;
}

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

.b789-footer a.b789-link-accent {
  color: var(--link) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 13px;
  border-bottom: 1px dashed rgba(127, 217, 255, 0.35);
  transition: 0.18s ease;
  display: inline-block;
  margin-right: 8px;
  margin-top: 4px;
}

.b789-footer a.b789-link-accent:hover {
  color: var(--linkHover) !important;
  border-bottom-color: rgba(255, 209, 102, 0.55);
}

.b789-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10), transparent);
  margin: 18px 0 14px;
}

.b789-bottom {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 4px;
}

.b789-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  line-height: 1.6;
  max-width: 780px;
}

.b789-copy {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12.5px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .b789-footer {
    margin-top: 24px;
    padding-bottom: calc(75px + env(safe-area-inset-bottom));
  }
  .b789-wrap {
    padding: 24px 16px 12px;
  }
}

@media (max-width: 520px) {
  .b789-cta a.b789-btn {
    width: 100%;
    white-space: normal;
  }
  .b789-copy {
    white-space: normal;
  }
}

/* Sticky Mobile Bottom CTA Bar (.th39-mobile-cta) */
:root {
  --th39-orange: #17E37B;
  --th39-orange-dark: #0AC271;
  --th39-cta-h: 52px;
}

.th39-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: #0d0d0d;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.75);
  z-index: 9999;
}

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

.th39-cta {
  flex: 1;
  height: var(--th39-cta-h);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
  transition: 0.25s;
  cursor: pointer;
}

.th39-cta-primary {
  background: var(--th39-orange);
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(23, 227, 123, 0.4);
}

.th39-cta-primary:hover {
  background: var(--th39-orange-dark);
}

.th39-cta-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--th39-orange) !important;
  border: 2px solid var(--th39-orange);
}

.th39-cta-secondary:hover {
  background: var(--th39-orange);
  color: #fff !important;
}


/* ==========================================================================
   FUNHUB555 Floating Action Buttons (Live Chat: LINE & Telegram)
   ========================================================================== */
.floating-chat-container {
  position: fixed;
  right: 18px;
  bottom: 84px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9995;
  pointer-events: auto;
}

@media (min-width: 769px) {
  .floating-chat-container {
    bottom: 28px;
    right: 26px;
    gap: 14px;
  }
}

.floating-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  position: relative;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.floating-chat-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
}

.floating-chat-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  transition: transform 0.2s ease;
}

.floating-chat-btn:hover svg {
  transform: scale(1.08);
}

.floating-chat-btn.line-btn {
  background: linear-gradient(135deg, #06C755 0%, #00B900 100%);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.45);
}

.floating-chat-btn.telegram-btn {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.45);
}

.floating-chat-tooltip {
  position: absolute;
  right: 64px;
  background: #161619;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(23, 227, 123, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-chat-btn:hover .floating-chat-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.floating-chat-btn.line-btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #06C755;
  animation: chatPulse 2.5s infinite;
  opacity: 0.8;
  pointer-events: none;
}

@keyframes chatPulse {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.32); opacity: 0; }
  100% { transform: scale(1.32); opacity: 0; }
}
