:root {
  --bg-dark: #06080d;
  --bg-card: #0e121d;
  --bg-card-hover: #141a29;
  --bg-glass: rgba(14, 18, 29, 0.75);
  --border-glass: rgba(255, 215, 0, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --primary-gold: #ffd700;
  --primary-gold-dark: #b38f00;
  --gold-glow: rgba(255, 215, 0, 0.4);
  --primary-red: #ff1a4e;
  --primary-red-glow: rgba(255, 26, 78, 0.45);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --font-base: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-luxury: 0 12px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 32px rgba(255, 215, 0, 0.25);
  --shadow-red: 0 8px 32px rgba(255, 26, 78, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

html, body {
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-base);
  font-size: 16px;
}

body {
  background: radial-gradient(circle at 50% 0%, #1a102a 0%, #06080d 55%, #040508 100%);
  min-height: 100vh;
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  padding-bottom: 76px;
}

a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 8, 13, 0.88);
  border-bottom: 1px solid rgba(255, 215, 0, 0.12);
  transition: all 0.3s ease;
}

.header-wrap {
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 30px;
  flex-shrink: 0;
}

.brand-logo {
  height: 30px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(255, 26, 78, 0.4));
  transition: transform 0.3s ease;
}

.brand-box:hover .brand-logo {
  transform: scale(1.04);
}

.brand-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffd700, #ff8800);
  color: #000;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.25s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: #10b981;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 1.6s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.btn-header-login {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  transition: all 0.25s ease;
}

.btn-header-login:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-header-register {
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd700 0%, #ff9900 100%);
  color: #07090e;
  box-shadow: 0 0 20px var(--gold-glow);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}

.btn-header-register::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: sweepLight 2.8s infinite;
}

@keyframes sweepLight {
  0% { left: -100%; }
  40%, 100% { left: 150%; }
}

.btn-header-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 28px rgba(255, 215, 0, 0.55);
}

.hero-section {
  padding-top: 130px;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 90vw);
  height: 400px;
  background: radial-gradient(circle, rgba(255, 26, 78, 0.25) 0%, rgba(255, 215, 0, 0.12) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 18px;
}

.hero-title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #fff 0%, #ffd700 50%, #ff9900 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-red-gradient {
  background: linear-gradient(135deg, #ff477e 0%, #ff1a4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 26px;
  max-width: 540px;
}

.jackpot-box {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 26, 78, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  display: inline-block;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.jackpot-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.jackpot-number {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  font-family: monospace;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  letter-spacing: 1px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.btn-cta-gold {
  padding: 14px 34px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd700 0%, #ff8800 100%);
  color: #06080d;
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}

.btn-cta-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: sweepLight 3s infinite;
}

.btn-cta-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 38px rgba(255, 215, 0, 0.65);
}

.btn-cta-glass {
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-cta-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  transform: translateY(-2px);
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-gold);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.08) 0%, rgba(14, 18, 29, 0.95) 100%);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-luxury);
  padding: 20px;
}

.visual-image-stack {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 380px;
}

.img-ambassador {
  width: 78%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
}

.img-casino-model {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: 46%;
  z-index: 1;
  opacity: 0.75;
  filter: blur(0.5px);
}

.visual-badge-floating {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
}

.visual-badge-text h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-gold);
}

.visual-badge-text p {
  font-size: 11px;
  color: var(--text-muted);
}

.live-marquee-bar {
  background: linear-gradient(90deg, #0a0e18 0%, #161224 50%, #0a0e18 100%);
  border-top: 1px solid rgba(255, 215, 0, 0.15);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marqueeScroll 35s linear infinite;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-inner:hover {
  animation-play-state: paused;
}

.payout-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.payout-user {
  font-weight: 700;
  color: #10b981;
}

.payout-amount {
  font-weight: 800;
  color: var(--primary-gold);
}

.payout-game {
  font-size: 11px;
  color: var(--text-muted);
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 10px auto 0;
}

.servers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.server-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-gold);
  box-shadow: 0 14px 40px rgba(255, 215, 0, 0.22);
}

.server-card-thumb {
  height: 120px;
  position: relative;
  overflow: hidden;
}

.server-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.server-card:hover .server-card-thumb img {
  transform: scale(1.08);
}

.server-flag-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.server-ping-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(16, 185, 129, 0.92);
  color: #fff;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 900;
  font-family: monospace;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.5);
}

.server-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.server-name {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.server-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.server-metrics {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.server-action-btn {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
  border: 1px solid var(--border-glass);
  color: var(--primary-gold);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
}

.server-card:hover .server-action-btn {
  background: linear-gradient(135deg, #ffd700, #ff8800);
  color: #07090e;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}

.lucky-banner-box {
  background: linear-gradient(135deg, #1f1338 0%, #2d0e1c 50%, #180e2a 100%);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-luxury);
  position: relative;
  overflow: hidden;
}

.lucky-banner-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.lucky-content h3 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 8px;
}

.lucky-content p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 540px;
}

.btn-open-gift {
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #ff1a4e, #ff477e);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--shadow-red);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  white-space: nowrap;
  border: none;
}

.btn-open-gift:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 26, 78, 0.7);
}

.lobby-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.lobby-tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lobby-tab-btn.active, .lobby-tab-btn:hover {
  background: linear-gradient(135deg, #ffd700, #ff8800);
  color: #06080d;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  background: var(--bg-card-hover);
}

.game-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 26, 78, 0.1));
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}

.game-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.game-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.game-hot-tag {
  font-size: 11px;
  font-weight: 800;
  color: #ff1a4e;
  text-transform: uppercase;
}

.game-play-btn {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.game-card:hover .game-play-btn {
  transform: translateX(4px);
}

.vip-matrix-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 34px;
  margin-bottom: 50px;
}

.vip-tiers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.vip-tier-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: all 0.25s ease;
}

.vip-tier-card:hover, .vip-tier-card.featured {
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.12) 0%, rgba(14, 18, 29, 0.95) 100%);
  border-color: var(--primary-gold);
  transform: translateY(-4px);
}

.vip-tier-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary-gold);
  margin-bottom: 8px;
}

.vip-tier-rebate {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
}

.vip-tier-perk {
  font-size: 11px;
  color: var(--text-muted);
}

.trust-badges-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-gold);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto 50px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.faq-q:hover {
  color: var(--primary-gold);
}

.faq-a {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-a {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.footer {
  background: #040508;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0 30px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-copy {
  margin-top: 16px;
  font-size: 12px;
  color: #64748b;
}

.floating-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.dock-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: all 0.25s ease;
  position: relative;
}

.dock-btn:hover {
  transform: scale(1.1);
}

.dock-tele {
  background: linear-gradient(135deg, #0088cc, #00b2ff);
}

.dock-tele::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #00b2ff;
  animation: telePulse 1.8s infinite;
}

@keyframes telePulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 66px;
  background: rgba(6, 8, 13, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 215, 0, 0.18);
  z-index: 9999;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
}

.mobile-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.mobile-item.active, .mobile-item:hover {
  color: var(--primary-gold);
}

.mobile-center-pill {
  background: linear-gradient(135deg, #ffd700, #ff8800);
  color: #06080d !important;
  font-size: 12px;
  font-weight: 900;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px var(--gold-glow);
  transform: translateY(-8px);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: linear-gradient(135deg, #131828, #1b102e);
  border: 1px solid var(--primary-gold);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-reward-badge {
  font-size: 48px;
  margin-bottom: 12px;
  animation: bounceGift 1s infinite alternate ease-in-out;
}

@keyframes bounceGift {
  0% { transform: scale(0.95); }
  100% { transform: scale(1.1); }
}

.modal-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-gold);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.btn-modal-claim {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #ffd700, #ff8800);
  color: #06080d;
  font-size: 15px;
  font-weight: 900;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  border: none;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero-sub { margin: 0 auto 24px; }
  .hero-cta-group { justify-content: center; }
  .hero-stats-row { justify-content: center; }
  .servers-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-tiers-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-menu { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 14px; width: 100%; max-width: 100%; overflow: hidden; }
  .header-sticky { width: 100%; }
  .header-wrap { height: 58px; padding: 0 14px; width: 100%; justify-content: space-between; }
  .brand-logo { height: 22px; width: auto; }
  .brand-box { margin-right: 0; }
  .btn-header-login { display: none; }
  .btn-header-register { padding: 6px 14px; font-size: 11px; font-weight: 800; border-radius: 9999px; }
  .header-actions { gap: 0; flex-shrink: 0; }
  .hero-section { padding-top: 86px; padding-bottom: 30px; }
  .hero-pill-badge { font-size: 10px; padding: 4px 10px; max-width: 100%; white-space: normal; line-height: 1.4; }
  .hero-title { font-size: 26px; line-height: 1.2; }
  .hero-sub { font-size: 13px; margin-bottom: 18px; }
  .jackpot-box { width: 100%; max-width: 100%; padding: 12px 14px; }
  .jackpot-number { font-size: 19px; }
  .hero-cta-group { flex-direction: column; width: 100%; gap: 10px; }
  .btn-cta-gold, .btn-cta-glass { width: 100%; justify-content: center; padding: 12px 20px; font-size: 14px; }
  .hero-stats-row { justify-content: space-between; gap: 10px; }
  .stat-value { font-size: 16px; }
  .stat-label { font-size: 11px; }
  .visual-image-stack { min-height: 280px; }
  .servers-grid { grid-template-columns: 1fr; gap: 14px; }
  .server-card-thumb { height: 140px; }
  .games-grid { grid-template-columns: 1fr; gap: 14px; }
  .vip-tiers-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vip-matrix-box { padding: 18px; }
  .lucky-banner-box { flex-direction: column; gap: 16px; text-align: center; padding: 20px; }
  .btn-open-gift { width: 100%; justify-content: center; }
  .mobile-bar { display: flex; }
  .floating-dock { bottom: 76px; right: 14px; }
  .dock-btn { width: 44px; height: 44px; }
  .status-indicator { display: none; }
}

/* ===== XXX8.ZIP SEO PILLAR HUB & ARTICLE STYLES (DARK LUXURY GOLD/RED) ===== */
.seo-hub-box {
  background: linear-gradient(145deg, rgba(16, 21, 35, 0.92), rgba(10, 13, 22, 0.96));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-luxury);
  margin-bottom: 36px;
}
.seo-hub-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-gold);
  margin: 22px 0 10px;
}
.seo-hub-box p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.seo-hub-box a {
  color: var(--primary-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.seo-hub-box a:hover { color: #fff; }
.seo-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.16);
}
.seo-spec-table th {
  background: rgba(255, 215, 0, 0.12);
  color: var(--primary-gold);
  text-align: left;
  padding: 13px 16px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.4px;
}
.seo-spec-table td {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  vertical-align: top;
}
.seo-spec-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}
.seo-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.seo-article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.seo-article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-gold);
}
.seo-article-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-gold);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  width: fit-content;
}
.seo-article-card h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 8px;
}
.seo-article-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}
.seo-article-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 34px 18px 60px;
}
.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.article-breadcrumb a { color: var(--primary-gold); }
.article-hero {
  background: linear-gradient(145deg, rgba(20, 26, 42, 0.95), rgba(10, 13, 22, 0.98));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-luxury);
}
.article-hero h1 {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #fff, var(--primary-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.article-body {
  background: rgba(14, 18, 29, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  line-height: 1.8;
  color: #e2e8f0;
  font-size: 15.5px;
}
.article-body h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--primary-gold);
  margin: 26px 0 12px;
}
.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 18px 0 8px;
}
.article-body p { margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px 20px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--primary-gold); text-decoration: underline; }
.article-cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}
.seo-keywords-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.seo-kw-pill {
  font-size: 12px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.16);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}
@media (max-width: 640px) {
  .seo-hub-box, .article-hero, .article-body { padding: 22px 16px; }
  .seo-spec-table th, .seo-spec-table td { padding: 10px 10px; font-size: 13px; }
}
