:root {
  /* Color Palette - Dark Deep Navy Luxury */
  --bg-main: #060b18;
  --bg-card: #0c1527;
  --bg-card-hover: #121f38;
  --bg-card-alt: #0a1324;
  --bg-glass: rgba(6, 11, 24, 0.94);
  --bg-glass-card: rgba(12, 21, 39, 0.85);
  
  --border-light: rgba(0, 168, 255, 0.18);
  --border-blue: rgba(0, 140, 255, 0.35);
  --border-cyan: rgba(0, 210, 255, 0.45);
  --border-gold: rgba(255, 215, 0, 0.35);

  --text-main: rgba(255, 255, 255, 0.95);
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-sub: rgba(255, 255, 255, 0.50);
  --text-highlight: #38bdf8;

  --blue-primary: #0070f3;
  --blue-gradient: linear-gradient(135deg, #0052d4 0%, #4364f7 50%, #6fb1fc 100%);
  --navy-gradient: linear-gradient(180deg, #0c1527 0%, #060b18 100%);
  
  --cyan-accent: #00d2ff;
  --cyan-gradient: linear-gradient(135deg, #00d2ff 0%, #0077ff 100%);
  --cyan-glow: 0 0 20px rgba(0, 210, 255, 0.4);
  
  --gold-primary: #FFD700;
  --gold-gradient: linear-gradient(135deg, #FFE066 0%, #FFB700 50%, #E69500 100%);
  --gold-glow: 0 0 22px rgba(255, 215, 0, 0.4);

  --line-green: #06c755;
  --line-gradient: linear-gradient(135deg, #06c755 0%, #00b900 100%);
  --telegram-blue: #229ED9;
  --telegram-gradient: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  
  /* Typography */
  --font-family: 'Sarabun', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shadow-main: 0 12px 35px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 8px 24px rgba(2, 6, 23, 0.7);
  --shadow-glow: 0 0 25px rgba(0, 140, 255, 0.35);
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

button {
  font-family: inherit;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
  outline: none;
}

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

body {
  overflow-x: hidden;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #0d1e3d 0%, #060b18 70%);
  background-attachment: fixed;
  padding-bottom: 74px; /* Space for mobile sticky CTA bar */
}

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

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

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

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

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

/* Image Framing Effect */
.img-framed,
.hero-banner-box img,
.promo-card img,
.content-img-box img,
.article-img-wrap img,
.game-card img,
.feature-img-box img {
  border: 2px solid var(--border-blue);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 40, 120, 0.35), 0 0 20px rgba(0, 210, 255, 0.15);
  transition: var(--transition);
  background-color: var(--bg-card);
}

.img-framed:hover,
.hero-banner-box img:hover,
.promo-card:hover img,
.content-img-box img:hover,
.article-img-wrap img:hover,
.game-card:hover img {
  border-color: var(--cyan-accent);
  box-shadow: 0 14px 40px rgba(0, 112, 243, 0.45), 0 0 30px rgba(0, 210, 255, 0.35);
  transform: translateY(-3px) scale(1.01);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

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

.logo-img {
  height: 46px;
  max-height: 46px;
  width: auto;
  object-fit: contain;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 2px 10px rgba(0, 140, 255, 0.5));
}

.logo-brand:hover .logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 16px rgba(0, 210, 255, 0.8));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

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

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

.has-dropdown {
  position: relative;
}

.caret {
  font-size: 11px;
  transition: var(--transition);
  opacity: 0.8;
}

.has-dropdown:hover .caret {
  transform: rotate(180deg);
  color: var(--gold-primary);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  padding: 8px 0;
  min-width: 220px;
  list-style: none;
  box-shadow: var(--shadow-main);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1010;
}

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

.sub-menu li a {
  display: block;
  padding: 9px 18px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.sub-menu li a:hover {
  color: var(--cyan-accent);
  background: rgba(0, 112, 243, 0.15);
  padding-left: 22px;
}

.btn-header-cta {
  background: var(--gold-gradient);
  color: #060b18 !important;
  font-weight: 800;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--gold-glow);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
  filter: brightness(1.08);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-blue);
  color: #ffffff;
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1080px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(8, 15, 32, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-blue);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    gap: 14px;
    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);
  }

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

  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    box-shadow: none;
    margin-top: 6px;
    padding: 4px 0;
  }

  .sub-menu li a {
    text-align: center;
    padding: 6px 12px;
  }

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

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

/* ==========================================================================
   Announcement Marquee / Ticker
   ========================================================================== */
.ticker-bar,
.ticker-section {
  background: #080e1c;
  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;
  align-items: center;
  gap: 16px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.ticker-badge {
  background: linear-gradient(135deg, #0052d4 0%, #00d2ff 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 112, 243, 0.5);
  position: relative;
  z-index: 10;
}

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

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

.ticker-track span,
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 21, 39, 0.85);
  border: 1px solid rgba(0, 168, 255, 0.3);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.ticker-track span b,
.ticker-item b {
  color: var(--cyan-accent);
  font-weight: 800;
}

.bell-icon {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.6));
}

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

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

.hero-banner-box {
  width: 100%;
  max-width: 1000px;
  margin: 10px auto 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-banner-box img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 24px;
  align-items: stretch;
}

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

.hero-card-left {
  background: radial-gradient(1000px 400px at 10% -20%, rgba(0, 112, 243, 0.2), transparent 60%),
              linear-gradient(180deg, var(--bg-card), var(--bg-main));
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-main);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 112, 243, 0.15);
  border: 1px solid var(--border-cyan);
  color: var(--cyan-accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  align-self: flex-start;
}

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

.hero-title span {
  display: block;
  background: linear-gradient(135deg, #00d2ff 0%, #38bdf8 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.btn-primary-cta {
  background: var(--gold-gradient);
  color: #060b18 !important;
  font-weight: 900;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--gold-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(255, 215, 0, 0.7);
  filter: brightness(1.08);
}

.btn-secondary-cta {
  background: var(--blue-gradient);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  box-shadow: 0 0 20px rgba(0, 112, 243, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.55);
}

.hero-card-right,
.hero-features-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  height: 100%;
}

.hero-feature-stat,
.hero-feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.hero-feature-stat:hover,
.hero-feature-item:hover {
  border-color: var(--border-cyan);
  transform: translateX(4px);
  box-shadow: var(--shadow-glow);
}

.stat-icon,
.hero-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 112, 243, 0.15);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.stat-info h4,
.hero-feature-text h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.stat-info p,
.hero-feature-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   Section Headers & Common Layout
   ========================================================================== */
.content-section {
  padding: 35px 0;
}

.section-head,
.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-tag {
  display: inline-block;
  background: rgba(0, 112, 243, 0.15);
  border: 1px solid var(--border-cyan);
  color: var(--cyan-accent);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   Grids & Cards
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

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

.card-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.btn-card-action {
  background: rgba(0, 112, 243, 0.15);
  border: 1px solid var(--border-blue);
  color: var(--cyan-accent) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  margin-top: auto;
}

.btn-card-action:hover {
  background: var(--blue-gradient);
  color: #ffffff !important;
  border-color: transparent;
}

/* Promo Card Showcase */
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.promo-card:hover {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.promo-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 1px solid var(--border-light) !important;
}

.promo-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.promo-tag {
  display: inline-block;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  align-self: flex-start;
}

.promo-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.promo-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

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

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

.article-box h1,
.content-article h1 {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-box h2,
.content-article h2,
.section-h2 {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 800;
  color: #ffffff;
  margin: 30px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0, 140, 255, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-box h2::before,
.content-article h2::before,
.section-h2::before {
  content: '';
  width: 5px;
  height: 22px;
  background: var(--cyan-gradient);
  border-radius: 3px;
  display: inline-block;
}

.article-box h3,
.content-article h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan-accent);
  margin: 20px 0 10px;
}

.article-box p,
.content-article p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.article-box ul,
.article-box ol,
.content-article ul,
.content-article ol {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 14px 0 20px 24px;
}

.article-box li,
.content-article li {
  margin-bottom: 8px;
}

.article-box li strong,
.content-article li strong {
  color: #ffffff;
}

.content-img-box {
  width: 100%;
  max-width: 780px;
  margin: 24px auto;
  display: flex;
  justify-content: center;
}

.content-img-box img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Highlight Banner */
.highlight-banner {
  background: radial-gradient(800px 300px at 0% 0%, rgba(0, 112, 243, 0.25), transparent 70%),
              linear-gradient(180deg, #0f1c35 0%, #080f20 100%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-glow);
}

.highlight-banner h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.highlight-banner p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

@media (max-width: 768px) {
  .highlight-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Tables
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-blue);
  box-shadow: var(--shadow-card);
  -webkit-overflow-scrolling: touch;
}

.custom-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
  background: var(--bg-card);
}

.custom-table th {
  background: #0f1c35;
  color: var(--cyan-accent);
  font-weight: 800;
  padding: 14px 18px;
  border-bottom: 2px solid var(--border-blue);
  white-space: nowrap;
}

.custom-table td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(0, 140, 255, 0.12);
  color: var(--text-muted);
}

.custom-table tr:hover td {
  background: rgba(0, 112, 243, 0.08);
  color: var(--text-main);
}

/* ==========================================================================
   FAQ Section Accordion
   ========================================================================== */
.faq-section {
  background: radial-gradient(900px 320px at 10% -10%, rgba(0, 112, 243, 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;
  margin: 25px 0;
  box-shadow: var(--shadow-main);
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.faq-item:hover,
.faq-item.open {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-glow);
}

.faq-question {
  width: 100%;
  background: transparent !important;
  border: none !important;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 16px;
  user-select: none;
  font-family: var(--font-family);
  outline: none;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--cyan-accent) !important;
}

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

.faq-icon,
.faq-chevron {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: rgba(0, 112, 243, 0.18);
  border: 1px solid var(--border-blue);
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-item.open .faq-icon,
.faq-item.open .faq-chevron {
  transform: rotate(45deg);
  background: var(--gold-gradient);
  color: #060b18;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

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

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 22px;
  border-top: 1px solid rgba(0, 140, 255, 0.12);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #040710;
  border-top: 1px solid var(--border-light);
  padding: 50px 0 25px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
  gap: 32px;
  margin-bottom: 35px;
}

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

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

.footer-col h4 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.footer-col p {
  line-height: 1.65;
  margin-bottom: 12px;
  color: var(--text-muted);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
}

/* ==========================================================================
   Floating Live Chat Buttons (Line & Telegram)
   ========================================================================== */
.floating-chat-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9990;
}

@media (max-width: 992px) {
  .floating-chat-container {
    bottom: 92px;
    right: 14px;
    gap: 10px;
  }
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: var(--radius-pill);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: var(--transition);
}

.line-btn {
  background: var(--line-gradient);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.45);
}

.telegram-btn {
  background: var(--telegram-gradient);
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.45);
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.1);
}

.floating-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.floating-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #ffffff;
  animation: pulseBadge 1.8s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

@media (max-width: 580px) {
  .floating-btn .chat-label {
    display: none;
  }
  .floating-btn {
    padding: 10px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
}

/* ===================================================================
   E19 CUSTOM BOTTOM NAVBAR (Deep Navy + Cyan & Gold Theme)
   Namespace: ifp-nav-
   =================================================================== */
.ifp-nav-wrapper {
  --ifp-nav-bg: rgba(6, 11, 24, 0.96);
  --ifp-nav-primary: #00d2ff;
  --ifp-nav-secondary: #0070f3;
  --ifp-nav-accent: #ffd700;
  --ifp-nav-text-muted: #8ba2c4;
  --ifp-nav-height: 70px;

  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding-bottom: env(safe-area-inset-bottom);
  pointer-events: none;
  font-family: var(--font-family);
}

.ifp-nav-bar {
  pointer-events: auto;
  width: 100%;
  max-width: 726px;
  height: var(--ifp-nav-height);
  background: var(--ifp-nav-bg);
  background-image: linear-gradient(rgba(0, 210, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 4px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 2px solid var(--ifp-nav-primary);
  clip-path: polygon(0 0, calc(50% - 50px) 0, 50% 35px, calc(50% + 50px) 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9);
  position: relative;
}

.ifp-nav-deco {
  position: absolute;
  top: 0;
  width: 40px;
  height: 4px;
  background: var(--ifp-nav-accent);
  box-shadow: 0 0 10px var(--ifp-nav-accent);
}
.ifp-nav-deco.left { left: 0; }
.ifp-nav-deco.right { right: 0; }

/* Menu Item */
.ifp-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ifp-nav-text-muted);
  text-decoration: none;
  height: 100%;
  transition: var(--transition);
  position: relative;
}

.ifp-nav-icon {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  margin-bottom: 4px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: var(--transition);
}

.ifp-nav-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.ifp-nav-item.active,
.ifp-nav-item:hover {
  color: var(--ifp-nav-primary);
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
}

.ifp-nav-item.active .ifp-nav-icon {
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 0 8px var(--ifp-nav-primary));
  stroke: var(--ifp-nav-accent);
}

.ifp-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 30px;
  height: 3px;
  background: var(--ifp-nav-primary);
  box-shadow: 0 0 10px var(--ifp-nav-primary);
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

/* =========================================
   FAB (Center Button)
   ========================================= */
.ifp-nav-fab-wrapper {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
  z-index: 10000;
}

.ifp-nav-fab {
  width: 68px;
  height: 68px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #0c1527 0%, #060b18 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ifp-nav-accent);
  position: relative;
  transition: var(--transition);
  border: 2px solid var(--ifp-nav-primary);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.45);
}

/* Inner Wrapper (Counter Rotate -45deg) */
.ifp-fab-inner {
  transform: rotate(-45deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ifp-nav-fab-icon {
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  margin-bottom: 2px;
  fill: currentColor;
  filter: drop-shadow(0 0 5px var(--ifp-nav-primary));
  animation: ifpNavPulse 2s infinite;
}

.ifp-nav-fab-text {
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px #000;
}

.ifp-nav-fab:hover {
  background: var(--ifp-nav-primary);
  color: #fff;
  box-shadow: 0 0 30px var(--ifp-nav-primary);
  border-color: var(--ifp-nav-accent);
}

.ifp-nav-fab:hover .ifp-nav-fab-icon {
  animation: none;
  transform: scale(1.1);
}

@keyframes ifpNavPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px var(--ifp-nav-primary)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 8px var(--ifp-nav-accent)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 2px var(--ifp-nav-primary)); }
}

@media (min-width: 993px) {
  .ifp-nav-wrapper {
    display: none !important;
  }
}
