/* ==========================================================================
   PRAY777 — LUXURY OBSIDIAN, IMPERIAL RUBY & 24K GOLD DESIGN SYSTEM
   ========================================================================== */
:root {
  --bg-obsidian: #08080B;
  --bg-velvet: #0F0F14;
  --bg-surface: #15151C;
  --bg-surface-hover: #1C1C26;
  --bg-card-elevated: #1A1A23;

  --ruby-deep: #3A050C;
  --ruby-mid: #6F0B19;
  --ruby-bright: #9E1226;
  --ruby-glow: rgba(158, 18, 38, 0.42);

  --gold-light: #FFF2B2;
  --gold-champagne: #E5C158;
  --gold-royal: #D4AF37;
  --gold-bronze: #9E7822;
  --gold-border: rgba(229, 193, 88, 0.22);
  --gold-border-strong: rgba(229, 193, 88, 0.5);
  --gold-glow: rgba(212, 175, 55, 0.28);

  --emerald: #10B981;
  --emerald-soft: rgba(16, 185, 129, 0.14);

  --text-primary: #F8F7F4;
  --text-secondary: #B4B2BE;
  --text-muted: #7C7A88;

  --font-display: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-luxury: 0 20px 50px rgba(0, 0, 0, 0.65);
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg-obsidian);
  overflow-x: hidden;
  line-height: 1.5;
  position: relative;
}

/* Subtle architectural ambient light */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 40% at 50% -5%, rgba(122, 12, 27, 0.28), transparent 65%),
    radial-gradient(ellipse 40% 30% at 85% 22%, rgba(212, 175, 55, 0.06), transparent 70%),
    radial-gradient(ellipse 45% 35% at 15% 65%, rgba(111, 11, 25, 0.08), transparent 70%);
}

button, input, select {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gold {
  background: linear-gradient(135deg, #FFF2B2 0%, #E5C158 48%, #C5962B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   HEADER & UTILITY STRIP
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    radial-gradient(circle at 22% 0%, rgba(145, 16, 35, 0.52), transparent 52%),
    linear-gradient(180deg, #27050B 0%, #140407 65%, #0D0709 100%);
  border-bottom: 1px solid rgba(229, 193, 88, 0.22);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-emblem {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 0 14px rgba(229, 193, 88, 0.3));
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  display: flex;
  align-items: baseline;
}

.word-pray {
  background: linear-gradient(180deg, #FFFFFF 0%, #E7E2D6 65%, #B8AE9A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.word-777 {
  background: linear-gradient(180deg, #FFF5C0 0%, #E5C158 45%, #B8861E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.35));
}

.brand-tagline {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--gold-champagne);
  opacity: 0.9;
}

.tagline-line {
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-champagne));
}

.brand-tagline .tagline-line:last-child {
  background: linear-gradient(90deg, var(--gold-champagne), transparent);
}

/* Header Right */
.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}

.utility-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(248, 247, 244, 0.84);
}

.utility-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(248, 247, 244, 0.85);
  transition: all var(--transition);
}

.utility-btn svg {
  width: 15px;
  height: 15px;
  color: var(--gold-champagne);
}

.utility-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.utility-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.16);
}

.flag-id, .flag-en {
  display: inline-block;
  width: 16px;
  height: 11px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.flag-id {
  background: linear-gradient(180deg, #DC2626 50%, #FFFFFF 50%);
}

.flag-en {
  background: linear-gradient(135deg, #1E3A8A 45%, #DC2626 45%, #DC2626 55%, #FFFFFF 55%);
}

.chevron-xs {
  width: 12px !important;
  height: 12px !important;
  opacity: 0.75;
}

.lang-selector {
  position: relative;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 6px;
  box-shadow: var(--shadow-luxury);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 120;
}

.lang-dropdown.open {
  display: flex;
}

.lang-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: left;
  transition: background var(--transition);
}

.lang-dropdown button:hover,
.lang-dropdown button.active {
  background: rgba(229, 193, 88, 0.12);
  color: var(--gold-light);
}

.live-clock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 242, 178, 0.9);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(229, 193, 88, 0.16);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.clock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

/* Auth CTA Row */
.auth-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ssl-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #A7F3D0;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}

.ssl-pill svg {
  width: 13px;
  height: 13px;
  color: var(--emerald);
}

.btn-masuk {
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #F8F7F4;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.07) 100%);
  border: 1px solid rgba(229, 193, 88, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all var(--transition);
}

.btn-masuk:hover {
  background: linear-gradient(180deg, rgba(229, 193, 88, 0.24) 0%, rgba(229, 193, 88, 0.1) 100%);
  border-color: var(--gold-champagne);
  transform: translateY(-1px);
}

.btn-daftar {
  position: relative;
  overflow: hidden;
  padding: 8px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #160A02;
  background: linear-gradient(135deg, #FFF2B2 0%, #E5C158 45%, #C8962A 100%);
  border: 1px solid rgba(255, 242, 178, 0.7);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  transition: all var(--transition);
}

.btn-daftar:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(229, 193, 88, 0.55);
}

.btn-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.55) 50%, transparent 75%);
  transform: translateX(-120%);
  animation: shimmerSweep 3.8s infinite ease-in-out;
}

@keyframes shimmerSweep {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(130%); }
}

/* ==========================================================================
   CATEGORY NAVIGATION RIBBON
   ========================================================================== */
.category-nav {
  background: linear-gradient(90deg, #43060E 0%, #7C0D1D 50%, #43060E 100%);
  border-top: 1px solid rgba(229, 193, 88, 0.38);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 242, 178, 0.16);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
}

.nav-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 242, 178, 0.75);
  flex-shrink: 0;
  transition: all var(--transition);
}

.nav-arrow:hover {
  background: rgba(0, 0, 0, 0.25);
  color: #FFFFFF;
}

.nav-arrow svg {
  width: 16px;
  height: 16px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  padding: 4px 2px;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 248, 236, 0.9);
  white-space: nowrap;
  transition: all var(--transition);
}

.nav-item:hover {
  background: rgba(0, 0, 0, 0.26);
  color: var(--gold-light);
}

.nav-item.active {
  background: linear-gradient(180deg, #1B090C 0%, #0C0608 100%);
  color: var(--gold-champagne);
  box-shadow: inset 0 0 0 1px rgba(229, 193, 88, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.nav-home {
  padding: 7px 11px;
}

.nav-home svg {
  width: 16px;
  height: 16px;
}

.vip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-champagne);
  box-shadow: 0 0 8px var(--gold-champagne);
}

.nav-promo {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(229, 193, 88, 0.3);
}

/* ==========================================================================
   HERO PROMOTIONAL CAROUSEL
   ========================================================================== */
.hero-section {
  padding-top: 22px;
  padding-bottom: 18px;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(229, 193, 88, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  background: #0E0B10;
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 2.55 / 1;
  min-height: 360px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.8s ease, visibility 0.65s;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 6, 10, 0.76) 0%, rgba(12, 8, 12, 0.56) 38%, rgba(12, 8, 12, 0.08) 64%, transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(8, 8, 11, 0.32) 100%);
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
  padding: 40px 56px;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(111, 11, 25, 0.35));
  border: 1px solid rgba(229, 193, 88, 0.48);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}

.badge-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(15, 23, 42, 0.6));
  border-color: rgba(16, 185, 129, 0.45);
  color: #A7F3D0;
}

.badge-crown {
  color: var(--gold-champagne);
}

.hero-mega-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.hero-headline-stack {
  display: flex;
  flex-direction: column;
  line-height: 0.96;
}

.hero-kicker {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #FFF7CE 0%, #E5C158 55%, #B8861E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.65));
}

.hero-big-num {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 0.88;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF2B2 30%, #E5C158 65%, #9E7318 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 24px rgba(212, 175, 55, 0.35));
}

.hero-big-compact {
  font-size: clamp(3.2rem, 5.4vw, 4.6rem);
}

.slide-subtitle {
  font-size: 0.96rem;
  color: rgba(248, 247, 244, 0.86);
  max-width: 460px;
  margin-bottom: 22px;
}

.slide-subtitle strong {
  color: #FFFFFF;
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-gold-lg {
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #160A02;
  background: linear-gradient(135deg, #FFF2B2 0%, #E5C158 48%, #C39126 100%);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.34);
  transition: all var(--transition);
}

.btn-gold-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(229, 193, 88, 0.52);
}

.btn-glass-lg {
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.btn-glass-lg:hover {
  background: rgba(229, 193, 88, 0.16);
  border-color: var(--gold-champagne);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 14, 0.55);
  border: 1px solid rgba(229, 193, 88, 0.32);
  color: var(--gold-light);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.carousel-btn:hover {
  background: rgba(122, 12, 27, 0.85);
  border-color: var(--gold-champagne);
}

.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-btn svg { width: 18px; height: 18px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 8, 12, 0.52);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  width: 26px;
  background: linear-gradient(90deg, #FFF2B2, #D4AF37);
  box-shadow: 0 0 10px rgba(229, 193, 88, 0.6);
}

/* ==========================================================================
   LIVE ANNOUNCEMENT MARQUEE TICKER
   ========================================================================== */
.ticker-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #16141B 0%, #1B161C 50%, #16141B 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  padding: 8px 16px 8px 10px;
}

.ticker-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(229, 193, 88, 0.22), rgba(122, 12, 27, 0.38));
  border: 1px solid rgba(229, 193, 88, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}

.ticker-icon svg {
  width: 14px;
  height: 14px;
}

.ticker-viewport {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  font-size: 0.8rem;
  color: var(--text-secondary);
  animation: tickerScroll 38s linear infinite;
}

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

.ticker-track strong {
  color: var(--gold-light);
}

.ticker-sep {
  color: var(--gold-royal);
}

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

/* ==========================================================================
   RESULTS / PASARAN / BUKU MIMPI HUB (MATCHING REFERENCE)
   ========================================================================== */
.results-hub {
  margin-top: 18px;
  margin-bottom: 52px;
}

.hub-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
}

.hub-tab {
  position: relative;
  padding: 15px 12px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
  text-align: center;
}

.hub-tab:hover {
  color: #FFFFFF;
}

.hub-tab.active {
  color: var(--gold-light);
  font-weight: 700;
}

.hub-tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--ruby-bright), var(--gold-champagne), var(--ruby-bright));
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 14px rgba(229, 193, 88, 0.45);
}

.hub-panel {
  display: none;
  background: linear-gradient(180deg, rgba(22, 22, 29, 0.96) 0%, rgba(14, 14, 19, 0.98) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 20px 22px 24px;
  box-shadow: var(--shadow-luxury);
}

.hub-panel.active {
  display: block;
  animation: fadePanel 0.35s ease;
}

@keyframes fadePanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.panel-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title-accent-bar {
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--ruby-bright) 100%);
}

.panel-title-group h2 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--emerald-soft);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.verified-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(229, 193, 88, 0.12);
  color: var(--gold-champagne);
  border: 1px solid var(--gold-border);
}

.panel-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.panel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 8, 12, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 6px 13px;
  transition: border-color var(--transition);
}

.mini-search:focus-within {
  border-color: var(--gold-champagne);
}

.mini-search svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

.mini-search input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.8rem;
  width: 160px;
  color: #FFFFFF;
}

.mini-search input::placeholder {
  color: var(--text-muted);
}

.stats-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-champagne);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(229, 193, 88, 0.08);
  border: 1px solid rgba(229, 193, 88, 0.25);
  transition: all var(--transition);
}

.stats-trigger:hover {
  background: rgba(229, 193, 88, 0.18);
  color: var(--gold-light);
}

.stats-trigger svg {
  width: 15px;
  height: 15px;
}

/* Result Rows */
.results-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-item {
  background: linear-gradient(90deg, rgba(28, 28, 37, 0.85) 0%, rgba(22, 22, 29, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.result-item:hover {
  border-color: rgba(229, 193, 88, 0.32);
}

.result-item.expanded {
  border-color: rgba(229, 193, 88, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.result-row-btn {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 110px 190px 168px 34px;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  text-align: left;
  transition: background var(--transition);
}

.result-row-btn:hover {
  background: rgba(255, 255, 255, 0.025);
}

.market-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.market-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold-light);
  border: 1px solid rgba(229, 193, 88, 0.35);
  flex-shrink: 0;
}

.market-name-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.market-name {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: rgba(229, 193, 88, 0.35);
  text-underline-offset: 4px;
}

.market-link-icon {
  width: 13px;
  height: 13px;
  color: var(--gold-champagne);
  opacity: 0.75;
}

.result-period {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
}

.result-date {
  font-size: 0.82rem;
  color: var(--text-secondary);
  white-space: nowrap;
  text-align: left;
}

.result-digits {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: flex-end;
  width: 100%;
}

.digit-tile {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--gold-light);
  background: linear-gradient(180deg, #272733 0%, #14141B 100%);
  border: 1px solid rgba(229, 193, 88, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 242, 178, 0.16), 0 4px 10px rgba(0, 0, 0, 0.45);
}

.row-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform 0.25s ease, color var(--transition);
}

.result-item.expanded .row-chevron {
  transform: rotate(180deg);
  color: var(--gold-champagne);
}

.result-details {
  display: none;
  padding: 14px 18px 16px;
  background: rgba(10, 10, 15, 0.65);
  border-top: 1px solid rgba(229, 193, 88, 0.14);
}

.result-item.expanded .result-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.detail-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
}

.detail-box span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-box strong {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--gold-light);
}

/* Markets Grid (Tab 2) */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.market-card {
  background: linear-gradient(180deg, rgba(28, 28, 37, 0.9), rgba(18, 18, 24, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
}

.market-card:hover {
  border-color: var(--gold-border-strong);
  transform: translateY(-2px);
}

.market-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.market-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
}

.market-status {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.market-status.open {
  background: rgba(16, 185, 129, 0.15);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.market-status.soon {
  background: rgba(245, 158, 11, 0.16);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.market-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.32);
  padding: 9px 11px;
  border-radius: 8px;
}

.market-times strong {
  display: block;
  font-family: var(--font-mono);
  color: #FFFFFF;
  margin-top: 2px;
}

.market-play-btn {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(229, 193, 88, 0.1);
  border: 1px solid rgba(229, 193, 88, 0.28);
  transition: all var(--transition);
}

.market-play-btn:hover {
  background: linear-gradient(135deg, #E5C158, #B8861E);
  color: #160A02;
}

/* Buku Mimpi Grid (Tab 3) */
.dream-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dream-search input {
  width: 230px;
}

.dream-filters {
  display: flex;
  gap: 6px;
}

.chip {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.chip.active, .chip:hover {
  background: rgba(229, 193, 88, 0.18);
  color: var(--gold-light);
  border-color: var(--gold-champagne);
}

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

.dream-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 15px;
  transition: border-color var(--transition);
}

.dream-card:hover {
  border-color: var(--gold-border-strong);
}

.dream-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dream-card h3 {
  font-size: 0.9rem;
  color: #FFFFFF;
}

.dream-type {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold-champagne);
  background: rgba(229, 193, 88, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.dream-card p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.dream-nums {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.35);
  padding: 7px 10px;
  border-radius: 8px;
}

/* ==========================================================================
   TRUST & LUXURY AUTHORITY SECTION
   ========================================================================== */
.trust-section {
  margin-bottom: 64px;
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 30px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--gold-champagne);
  margin-bottom: 8px;
}

.section-heading h2,
.games-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.section-heading p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.trust-card {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 24, 32, 0.94) 0%, rgba(14, 14, 19, 0.98) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all var(--transition);
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(212, 175, 55, 0.08);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(229, 193, 88, 0.18), rgba(122, 12, 27, 0.35));
  border: 1px solid rgba(229, 193, 88, 0.35);
  color: var(--gold-light);
  margin-bottom: 16px;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 0.81rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.55;
}

.trust-meta {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-champagne);
  letter-spacing: 0.05em;
}

/* Metrics Ribbon */
.metrics-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(67, 6, 14, 0.45) 0%, rgba(22, 22, 30, 0.95) 50%, rgba(67, 6, 14, 0.45) 100%);
  border: 1px solid var(--gold-border);
}

.metric-item {
  text-align: center;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
}

.metric-label {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(229, 193, 88, 0.35), transparent);
}

/* ==========================================================================
   GAME POPULER (SYNCHRONIZED 1:1 SQUARE LUXURY 2-ROW SHOWCASE)
   ========================================================================== */
.games-section {
  margin-bottom: 58px;
}

.games-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.games-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.popular-title {
  font-family: var(--font-sans) !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  color: #FFFFFF;
  margin-bottom: 0 !important;
}

.game-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.games-scroll-arrows {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.games-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  transition: all var(--transition);
}

.games-arrow-btn:hover {
  background: rgba(229, 193, 88, 0.2);
  border-color: var(--gold-champagne);
}

.games-arrow-btn svg {
  width: 16px;
  height: 16px;
}

.pill {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.pill:hover, .pill.active {
  color: #160A02;
  background: linear-gradient(135deg, #FFF2B2, #D4AF37);
  border-color: transparent;
}

.games-scroller {
  overflow-x: auto;
  padding: 6px 2px 16px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(229, 193, 88, 0.48) rgba(255, 255, 255, 0.06);
}

.games-scroller::-webkit-scrollbar {
  height: 7px;
}

.games-scroller::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.games-scroller::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(229, 193, 88, 0.45), rgba(212, 175, 55, 0.75));
  border-radius: 999px;
}

.games-grid {
  --game-card-size: 175px;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: var(--game-card-size);
  gap: 18px 18px;
  width: max-content;
}

.games-grid.single-row {
  grid-template-rows: auto;
}

.game-card {
  width: var(--game-card-size);
  min-width: var(--game-card-size);
  max-width: var(--game-card-size);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: none;
  transition: transform var(--transition);
}

.game-card:hover {
  transform: translateY(-4px);
}

.game-thumb-frame {
  position: relative;
  width: var(--game-card-size);
  height: var(--game-card-size);
  flex-shrink: 0;
  padding: 6px;
  border-radius: 15px;
  background: linear-gradient(160deg, rgba(44, 42, 54, 0.95) 0%, rgba(20, 20, 27, 0.98) 100%);
  border: 1px solid rgba(229, 193, 88, 0.22);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 242, 178, 0.14);
  overflow: hidden;
  transition: all var(--transition);
}

.game-card:hover .game-thumb-frame {
  border-color: var(--gold-champagne);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.72), 0 0 22px rgba(212, 175, 55, 0.28);
}

.game-thumb-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #101016;
}

.game-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.game-rtp-chip {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(8, 8, 12, 0.84);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.4);
  backdrop-filter: blur(4px);
}

.game-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg, rgba(16, 6, 9, 0.45) 0%, rgba(10, 6, 8, 0.85) 100%);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity var(--transition);
}

.game-card:hover .game-play-overlay {
  opacity: 1;
}

.game-provider-pill {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.game-info {
  padding: 9px 4px 0;
  width: 100%;
  min-width: 0;
}

.game-info h3 {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: #F4F3EE;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition);
}

.game-card:hover .game-info h3 {
  color: var(--gold-light);
}

/* ==========================================================================
   PAYMENTS & BANK ONLINE STRIP
   ========================================================================== */
.payments-section {
  margin-bottom: 64px;
}

.payments-box {
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.92), rgba(14, 14, 19, 0.98));
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}

.payments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.payments-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.bank-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.status-pill.online {
  background: var(--emerald-soft);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pill.instant {
  background: rgba(229, 193, 88, 0.12);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  flex-shrink: 0;
}

.banks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.bank-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(8, 8, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color var(--transition);
}

.bank-chip:hover {
  border-color: rgba(229, 193, 88, 0.35);
}

.bank-name {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.bank-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  color: #6EE7B7;
}

/* ==========================================================================
   LUXURY FOOTER
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #0D0B10 0%, #060508 100%);
  border-top: 1px solid var(--gold-border);
  padding-top: 52px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 42px;
}

.footer-logo-text {
  font-size: 1.65rem;
  margin-bottom: 12px;
}

.footer-brand p,
.footer-concierge p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-seal {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(229, 193, 88, 0.25);
  color: var(--gold-champagne);
}

.footer-links h4,
.footer-concierge h4 {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

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

.footer-links a,
.footer-links button {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--gold-light);
}

.btn-concierge-footer {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  background: linear-gradient(135deg, rgba(122, 12, 27, 0.65), rgba(45, 7, 14, 0.9));
  border: 1px solid rgba(229, 193, 88, 0.45);
  transition: all var(--transition);
}

.btn-concierge-footer:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(122, 12, 27, 0.45);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  font-size: 0.76rem;
  color: var(--text-muted);
}

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

.footer-bottom strong {
  color: var(--gold-champagne);
}

/* ==========================================================================
   FLOATING WIDGETS (LEFT PROMO & RIGHT LIVECHAT)
   ========================================================================== */
.float-promo-btn {
  position: fixed;
  left: 16px;
  bottom: 26px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform var(--transition);
}

.float-promo-btn:hover {
  transform: translateY(-3px);
}

.tap-badge {
  background: linear-gradient(135deg, #B91C1C, #7F1D1D);
  color: #FFF2B2;
  border: 1px solid rgba(229, 193, 88, 0.55);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
  animation: gentleBounce 2.6s infinite ease-in-out;
}

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

.float-promo-core {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, #9E1226, #4A050F);
  border: 1.5px solid var(--gold-champagne);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 22px rgba(158, 18, 38, 0.6);
}

.float-promo-core svg {
  width: 21px;
  height: 21px;
}

.float-chat-wrapper {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 90;
}

.float-chat-trigger {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  transition: transform var(--transition);
}

.float-chat-trigger:hover {
  transform: translateY(-3px);
}

.chat-callout {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
  padding: 7px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(35, 6, 12, 0.92), rgba(14, 6, 9, 0.96));
  border: 1px solid rgba(229, 193, 88, 0.45);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65), 0 0 18px rgba(158, 18, 38, 0.35);
}

.chat-callout-top {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #FCA5A5;
}

.chat-callout-brand {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-light);
}

.chat-callout-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.8);
}

.chat-orb {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B91C2E 0%, #6D0817 100%);
  border: 2px solid var(--gold-champagne);
  color: #FFF2B2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(158, 18, 38, 0.65);
}

.chat-orb svg {
  width: 26px;
  height: 26px;
}

.chat-online-ring {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--emerald);
  border: 2px solid #1A0609;
}

/* LiveChat Drawer */
.chat-drawer {
  position: fixed;
  right: 20px;
  bottom: 92px;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: #13131A;
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  z-index: 140;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-drawer.open {
  display: flex;
  animation: fadePanel 0.25s ease;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #43060E, #1A0B10);
  border-bottom: 1px solid var(--gold-border);
}

.chat-agent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFF2B2, #C5962B);
  color: #160A02;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-agent strong {
  display: block;
  font-size: 0.86rem;
}

.agent-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #6EE7B7;
}

.chat-body {
  padding: 14px;
  height: 270px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.chat-msg.agent {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(229, 193, 88, 0.16);
  color: var(--text-primary);
}

.chat-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #8B1022, #5E0916);
  border: 1px solid rgba(229, 193, 88, 0.35);
  color: #FFFFFF;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-reply {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(229, 193, 88, 0.12);
  border: 1px solid rgba(229, 193, 88, 0.3);
  color: var(--gold-light);
  transition: all var(--transition);
}

.quick-reply:hover {
  background: rgba(229, 193, 88, 0.25);
}

.chat-input-bar {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0E0E14;
}

.chat-input-bar input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 0.8rem;
  outline: none;
}

.chat-input-bar input:focus {
  border-color: var(--gold-champagne);
}

.chat-input-bar button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFF2B2, #C5962B);
  color: #160A02;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-input-bar button svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   MODALS & FORMS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 8, 0.78);
  backdrop-filter: blur(8px);
  z-index: 150;
  display: none;
}

.modal-backdrop.open {
  display: block;
}

.modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.97);
  width: 440px;
  max-width: calc(100vw - 28px);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #191822 0%, #101016 100%);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85);
  z-index: 160;
  display: none;
}

.modal-dialog.modal-wide {
  width: 680px;
}

.modal-dialog.open {
  display: block;
  transform: translate(-50%, -50%) scale(1);
  animation: fadePanel 0.25s ease;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.modal-eyebrow {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold-champagne);
  margin-bottom: 4px;
}

.modal-head h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.modal-close:hover {
  background: rgba(229, 193, 88, 0.2);
  color: #FFFFFF;
}

.luxury-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.global-search-input {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  background: rgba(8, 8, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.global-search-input:focus {
  border-color: var(--gold-champagne);
}

.form-row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
}

.text-link {
  color: var(--gold-champagne);
  font-weight: 600;
  font-size: inherit;
}

.text-link:hover {
  text-decoration: underline;
}

.security-note {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.24);
  font-size: 0.74rem;
  color: #A7F3D0;
}

.security-note svg {
  width: 18px;
  height: 18px;
  color: var(--emerald);
  flex-shrink: 0;
}

.btn-gold-full {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #160A02;
  background: linear-gradient(135deg, #FFF2B2 0%, #E5C158 50%, #C29125 100%);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
  transition: all var(--transition);
}

.btn-gold-full:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(229, 193, 88, 0.5);
}

.btn-gold-sm {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 800;
  color: #160A02;
  background: linear-gradient(135deg, #FFF2B2, #D4AF37);
}

.form-switch {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Promo Modal Cards */
.promo-cards-modal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.promo-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-tag {
  align-self: flex-start;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(158, 18, 38, 0.35);
  color: var(--gold-light);
  border: 1px solid rgba(229, 193, 88, 0.35);
}

.promo-card h4 {
  font-size: 0.92rem;
}

.promo-card p {
  font-size: 0.76rem;
  color: var(--text-secondary);
  flex: 1;
}

/* Stats Modal */
.stats-intro {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.stats-bars {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  align-items: end;
  height: 160px;
  padding: 16px 12px 10px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 16px;
}

.stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.stat-bar-fill {
  width: 100%;
  max-width: 28px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #FFF2B2, #C5962B);
  transition: height 0.5s ease;
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
}

.stat-digit {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
}

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

.stats-summary > div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.stats-summary span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stats-summary strong {
  font-family: var(--font-mono);
  font-size: 0.94rem;
}

/* Search Modal Results */
.search-results-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  transition: border-color var(--transition);
}

.search-result-item:hover {
  border-color: var(--gold-champagne);
}

.search-result-type {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-champagne);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: linear-gradient(135deg, #1E1C28, #121118);
  border: 1px solid var(--gold-champagne);
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  max-width: 340px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.75);
  animation: fadePanel 0.25s ease;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .trust-cards,
  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .games-grid {
    --game-card-size: 158px;
    gap: 15px;
  }
  .banks-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .games-grid {
    --game-card-size: 146px;
    gap: 14px 12px;
  }
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .header-right {
    align-items: stretch;
  }
  .utility-strip {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
  }
  .utility-divider,
  .ssl-pill {
    display: none;
  }
  .auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .carousel-track {
    aspect-ratio: auto;
    min-height: 350px;
  }
  .slide-content {
    padding: 28px 24px 48px;
  }
  .result-row-btn {
    grid-template-columns: minmax(0, 1fr) 155px 158px 28px;
    gap: 12px;
  }
  .result-period {
    display: none;
  }
  .result-item.expanded .result-details {
    grid-template-columns: repeat(2, 1fr);
  }
  .dreams-grid,
  .promo-cards-modal {
    grid-template-columns: 1fr;
  }
  .metrics-ribbon {
    flex-wrap: wrap;
  }
  .metric-divider {
    display: none;
  }
}

@media (max-width: 560px) {
  .trust-cards,
  .markets-grid,
  .banks-grid,
  .footer-top,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .games-grid {
    --game-card-size: 134px;
    gap: 12px;
  }
  .games-scroll-arrows {
    display: none;
  }
  .result-row-btn {
    grid-template-columns: minmax(0, 1fr) 136px 24px;
    gap: 8px;
    padding: 12px;
  }
  .result-date {
    display: none;
  }
  .digit-tile {
    width: 28px;
    height: 28px;
    font-size: 0.84rem;
  }
  .chat-callout {
    display: none;
  }
}
