/*
Theme Name: Lionwing 888 Imperial Sovereign
Theme URI: https://lionwing888.com
Author: Lionwing 888 Luxury Studio
Author URI: https://lionwing888.com
Description: Imperial Sovereign 888 — Macau Grand VIP Salon & Triple-Eight Wealth Vault WordPress Theme for Lionwing888.com. Crafted with Deep Velvet Burgundy-Garnet, Ruby Crimson (#E11D48), and Liquid Champagne Gold (#F2C97D).
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lionwing
*/

:root {
  --lw888-bg-abyss: #0d0306;
  --lw888-bg-velvet: #150509;
  --lw888-bg-card: #1e080e;
  --lw888-bg-elevated: #290b13;
  --lw888-bg-glass: rgba(28, 7, 13, 0.88);
  --lw888-crimson: #e11d48;
  --lw888-ruby: #ff2e5b;
  --lw888-crimson-dark: #881337;
  --lw888-gold: #f2c97d;
  --lw888-gold-bright: #fde68a;
  --lw888-gold-deep: #c8963e;
  --lw888-jade: #10b981;
  --lw888-ivory: #fff8f3;
  --lw888-muted: #d6b4be;
  --lw888-border-gold: rgba(242, 201, 125, 0.34);
  --lw888-border-ruby: rgba(225, 29, 72, 0.45);
  --lw888-shadow-salon: 0 18px 42px rgba(0, 0, 0, 0.78), 0 0 28px rgba(225, 29, 72, 0.14);
  --lw888-shadow-gold: 0 10px 30px rgba(242, 201, 125, 0.25);
  --lw888-font-thai: 'IBM Plex Sans Thai', 'Prompt', sans-serif;
  --lw888-font-display: 'Cinzel', 'Playfair Display', 'Prompt', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--lw888-bg-abyss);
  background-image:
    radial-gradient(circle at 15% 8%, rgba(225, 29, 72, 0.20) 0%, transparent 42%),
    radial-gradient(circle at 85% 12%, rgba(242, 201, 125, 0.15) 0%, transparent 38%),
    radial-gradient(circle at 50% 55%, rgba(136, 19, 55, 0.18) 0%, transparent 55%),
    repeating-linear-gradient(45deg, rgba(242, 201, 125, 0.018) 0px, rgba(242, 201, 125, 0.018) 1px, transparent 1px, transparent 28px);
  background-attachment: fixed;
  color: var(--lw888-ivory);
  font-family: var(--lw888-font-thai);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--lw888-gold);
  text-decoration: none;
  transition: all 0.28s ease;
}

a:hover {
  color: var(--lw888-gold-bright);
  text-decoration: none;
}

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

/* ==========================================================================
   SEO Keywords Highlight Styling
   ========================================================================== */
strong, .seo-keyword, .keyword-highlight, mark.keyword {
  color: var(--lw888-gold-bright) !important;
  font-weight: 600;
}

/* ==========================================================================
   Typography Utilities (Backward + New Sovereign Classes)
   ========================================================================== */
.txt-h1, .lw888-h1 {
  font-family: var(--lw888-font-thai);
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  font-weight: 800;
  line-height: 1.3;
  background: linear-gradient(135deg, #ffffff 0%, #fde68a 48%, #f2c97d 75%, #ff8fa3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.txt-h2, .lw888-h2 {
  font-family: var(--lw888-font-thai);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--lw888-gold-bright);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.txt-h3, .lw888-h3 {
  font-family: var(--lw888-font-thai);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  font-weight: 700;
  color: var(--lw888-ivory);
  line-height: 1.4;
}

.txt-p1, .txt-p2 {
  color: var(--lw888-muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

/* ==========================================================================
   1. Top Imperial Wealth Ticker & Live 888 Jackpot Pool Bar
   ========================================================================== */
.lw888-wealth-bar {
  background: linear-gradient(90deg, #090204 0%, #24060f 50%, #090204 100%);
  border-bottom: 1px solid var(--lw888-border-gold);
  padding: 7px 0;
  position: relative;
  z-index: 1040;
  font-size: 13px;
}

.lw888-wealth-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.lw888-vip-seal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--lw888-crimson) 0%, var(--lw888-crimson-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--lw888-gold);
  box-shadow: 0 0 15px rgba(225, 29, 72, 0.5);
  white-space: nowrap;
}

.lw888-notice-ticker {
  flex: 1;
  min-width: 200px;
  overflow: hidden;
  color: var(--lw888-ivory);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lw888-notice-ticker i {
  color: var(--lw888-gold);
}

.lw888-notice-scroll {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  color: #f8dce2;
}

.lw888-jackpot-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 3, 6, 0.85);
  border: 1px solid var(--lw888-border-gold);
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.lw888-jackpot-mini-label {
  font-family: var(--lw888-font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--lw888-gold);
  letter-spacing: 0.08em;
}

.lw888-jackpot-mini-value {
  font-family: var(--lw888-font-display);
  font-weight: 800;
  font-size: 14px;
  color: #fde68a;
  text-shadow: 0 0 10px rgba(242, 201, 125, 0.6);
}

/* ==========================================================================
   2. Split-Wing Imperial Crown Salon Header
   ========================================================================== */
.lw888-crown-header {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(225, 29, 72, 0.26) 0%, rgba(21, 5, 9, 0.96) 70%),
    linear-gradient(180deg, #1b060c 0%, #110307 100%);
  border-bottom: 1px solid rgba(242, 201, 125, 0.25);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
}

.lw888-crown-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

/* Left Wing: VIP Privilege Pills */
.lw888-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lw888-priv-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(35, 9, 16, 0.85);
  border: 1px solid rgba(242, 201, 125, 0.28);
  padding: 7px 13px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.18);
}

.lw888-priv-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.28), rgba(242, 201, 125, 0.2));
  border: 1px solid rgba(242, 201, 125, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lw888-gold-bright);
  font-size: 14px;
}

.lw888-priv-text {
  line-height: 1.2;
}

.lw888-priv-text small {
  display: block;
  font-size: 10px;
  color: var(--lw888-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lw888-priv-text strong {
  font-size: 12.5px;
  color: var(--lw888-ivory) !important;
}

/* Center Wing: 888 Imperial Medallion Logo */
.lw888-header-center {
  text-align: center;
  position: relative;
}

.lw888-brand-medallion {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 26px;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.24) 0%, rgba(18, 4, 8, 0.9) 80%);
  border: 1px solid rgba(242, 201, 125, 0.48);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.7), 0 0 22px rgba(242, 201, 125, 0.18);
  position: relative;
}

.lw888-brand-medallion img.custom-logo {
  max-height: 58px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(242, 201, 125, 0.35));
  transition: transform 0.3s ease;
}

.lw888-brand-medallion:hover img.custom-logo {
  transform: scale(1.04);
}

.lw888-brand-sub {
  font-family: var(--lw888-font-display);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--lw888-gold);
  margin-top: 3px;
  font-weight: 700;
}

/* Right Wing: Sovereign Vault Actions */
.lw888-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.lw888-btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2b0a13 0%, #160409 100%);
  border: 1px solid var(--lw888-gold);
  color: var(--lw888-gold-bright) !important;
  font-weight: 700;
  font-size: 14px;
  box-shadow: inset 0 0 12px rgba(242, 201, 125, 0.15), 0 4px 15px rgba(0, 0, 0, 0.6);
  transition: all 0.28s ease;
}

.lw888-btn-login:hover {
  background: linear-gradient(180deg, #3d0f1c 0%, #24070f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 201, 125, 0.3);
}

.lw888-btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fde68a 0%, #f2c97d 35%, #d49b35 100%);
  border: 1px solid #fff3c4;
  color: #1a0408 !important;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 6px 22px rgba(242, 201, 125, 0.45);
  transition: all 0.28s ease;
}

.lw888-btn-register:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  color: #000 !important;
  box-shadow: 0 10px 28px rgba(242, 201, 125, 0.65);
}

.lw888-btn-crimson {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff2e5b 0%, #e11d48 50%, #9f1239 100%);
  border: 1px solid var(--lw888-gold);
  color: #fff !important;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 6px 22px rgba(225, 29, 72, 0.5);
  transition: all 0.28s ease;
}

.lw888-btn-crimson:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(225, 29, 72, 0.75);
}

/* ==========================================================================
   3. Full-Width "888 Gold-Fillet Ingot Ribbon Navigation"
   ========================================================================== */
.lw888-ingot-nav-wrap {
  background: linear-gradient(180deg, #160509 0%, #0e0306 100%);
  border-bottom: 2px solid rgba(242, 201, 125, 0.32);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 1020;
}

.lw888-ingot-deck {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 7px;
  overflow: visible;
}

.lw888-ingot-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px 7px;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(38, 10, 18, 0.92) 0%, rgba(19, 5, 9, 0.96) 100%);
  border: 1px solid rgba(242, 201, 125, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  color: var(--lw888-ivory) !important;
  text-align: center;
  transition: all 0.26s ease;
  text-decoration: none !important;
  min-width: 0;
}

.lw888-ingot-tier {
  font-family: var(--lw888-font-display);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lw888-gold);
  opacity: 0.9;
  margin-bottom: 3px;
}

.lw888-ingot-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.28) 0%, rgba(15, 4, 7, 0.9) 100%);
  border: 1px solid rgba(242, 201, 125, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lw888-gold-bright);
  font-size: 12px;
  margin-bottom: 4px;
  transition: all 0.26s ease;
}

.lw888-ingot-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--lw888-ivory);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.lw888-ingot-item:hover,
.lw888-ingot-item.active {
  background: linear-gradient(165deg, rgba(159, 18, 57, 0.92) 0%, rgba(45, 9, 20, 0.98) 100%);
  border-color: var(--lw888-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.4), inset 0 0 12px rgba(242, 201, 125, 0.25);
}

.lw888-ingot-item:hover .lw888-ingot-icon,
.lw888-ingot-item.active .lw888-ingot-icon {
  background: linear-gradient(135deg, var(--lw888-gold-bright), var(--lw888-gold-deep));
  color: #1a0408;
  border-color: #fff;
  transform: scale(1.08);
}

.lw888-ingot-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 18%;
  right: 18%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--lw888-gold-bright), transparent);
}

/* Imperial 888 SEO Keyword Matrix & Tables */
.lw888-seo-matrix {
  background: linear-gradient(145deg, rgba(36, 9, 17, 0.92) 0%, rgba(16, 4, 8, 0.96) 100%);
  border: 1px solid rgba(242, 201, 125, 0.42);
  border-left: 4px solid var(--lw888-crimson);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 22px 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
}

.lw888-kw-pill-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #e11d48 0%, #881337 100%);
  border: 1px solid var(--lw888-gold-bright);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
}

.lw888-kw-pill-sub {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(242, 201, 125, 0.12);
  border: 1px solid rgba(242, 201, 125, 0.35);
  color: var(--lw888-gold-bright);
  font-weight: 600;
  font-size: 12.5px;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 3px 4px 3px 0;
}

.lw888-seo-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(242, 201, 125, 0.32);
  margin: 20px 0;
}

.lw888-seo-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(18, 4, 8, 0.9);
  color: var(--lw888-ivory);
  font-size: 14px;
}

.lw888-seo-table thead th {
  background: linear-gradient(90deg, #310915 0%, #1f060d 100%);
  color: var(--lw888-gold-bright);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(242, 201, 125, 0.35);
}

.lw888-seo-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(242, 201, 125, 0.12);
  color: var(--lw888-muted);
}

.lw888-seo-table tbody tr:hover td {
  background: rgba(225, 29, 72, 0.08);
  color: #fff;
}

.lw888-faq-item {
  background: rgba(20, 5, 9, 0.85);
  border: 1px solid rgba(242, 201, 125, 0.25);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.lw888-faq-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--lw888-gold-bright);
  margin-bottom: 6px;
}

/* ==========================================================================
   4. Main Salon Stage Container
   ========================================================================== */
.lw888-stage-wrapper {
  max-width: 1380px;
  margin: 0 auto;
  padding: 24px 18px 60px;
}

/* ==========================================================================
   5. Hero Section: The 888 Grand Jackpot & Asymmetric VIP Vault
   ========================================================================== */
.lw888-jackpot-banner {
  background:
    radial-gradient(circle at 50% 50%, rgba(225, 29, 72, 0.32) 0%, rgba(23, 6, 11, 0.95) 75%),
    linear-gradient(90deg, #1a050a 0%, #2d0913 50%, #1a050a 100%);
  border: 1px solid var(--lw888-gold);
  border-radius: 20px;
  padding: 16px 24px;
  margin-bottom: 26px;
  box-shadow: var(--lw888-shadow-salon), inset 0 0 0 1px rgba(242, 201, 125, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.lw888-jackpot-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lw888-888-emblem {
  font-family: var(--lw888-font-display);
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(180deg, #fff6d6 0%, #f2c97d 50%, #c88a28 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 6px 16px;
  border-radius: 14px;
  border: 1px solid rgba(242, 201, 125, 0.55);
  background-color: rgba(15, 3, 6, 0.85);
  box-shadow: 0 0 20px rgba(242, 201, 125, 0.25);
  letter-spacing: 0.06em;
}

.lw888-jackpot-counter-box {
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: rgba(10, 2, 4, 0.82);
  border: 1px solid rgba(242, 201, 125, 0.45);
  padding: 8px 22px;
  border-radius: 14px;
}

.lw888-jackpot-currency {
  font-size: 18px;
  font-weight: 800;
  color: var(--lw888-crimson);
}

.lw888-jackpot-digits {
  font-family: var(--lw888-font-display);
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  font-weight: 900;
  color: var(--lw888-gold-bright);
  letter-spacing: 0.05em;
  text-shadow: 0 0 18px rgba(242, 201, 125, 0.55);
}

.lw888-hero-vault {
  background:
    radial-gradient(circle at 22% 30%, rgba(225, 29, 72, 0.24) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(242, 201, 125, 0.16) 0%, transparent 45%),
    linear-gradient(145deg, #210810 0%, #120408 60%, #1b060c 100%);
  border: 1px solid rgba(242, 201, 125, 0.42);
  border-radius: 26px;
  padding: 32px 28px;
  box-shadow: var(--lw888-shadow-salon), inset 0 0 0 1px rgba(242, 201, 125, 0.14);
  position: relative;
  overflow: hidden;
  margin-bottom: 42px;
}

.lw888-hero-pedestal {
  position: relative;
  padding: 24px;
  border-radius: 22px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.22) 0%, rgba(12, 3, 6, 0.88) 78%);
  border: 1px solid rgba(242, 201, 125, 0.38);
  box-shadow: inset 0 0 28px rgba(242, 201, 125, 0.12);
  text-align: center;
}

.lw888-hero-pedestal img {
  max-height: 330px;
  width: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.85));
}

.lw888-pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0 24px;
}

.lw888-pillar-box {
  background: rgba(15, 4, 7, 0.78);
  border: 1px solid rgba(242, 201, 125, 0.28);
  border-left: 3px solid var(--lw888-crimson);
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lw888-pillar-box i {
  font-size: 20px;
  color: var(--lw888-gold);
}

/* ==========================================================================
   6. Section Headers & Double-Fillet Luxury Salon Cards
   ========================================================================== */
.lw888-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(242, 201, 125, 0.24);
  position: relative;
}

.lw888-section-head::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 140px;
  height: 3px;
  background: linear-gradient(90deg, var(--lw888-crimson), var(--lw888-gold), transparent);
}

.lw888-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lw888-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lw888-gold);
  background: rgba(225, 29, 72, 0.18);
  border: 1px solid rgba(242, 201, 125, 0.35);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 6px;
}

/* Double-Fillet Salon Cards (Promos, Lotto, Arcade, Posts) */
.promo-card,
.lotto-top-card,
.sports-card,
.lw888-salon-card {
  background: linear-gradient(160deg, #230911 0%, #130408 100%) !important;
  border: 1px solid rgba(242, 201, 125, 0.35) !important;
  border-radius: 18px !important;
  box-shadow: var(--lw888-shadow-salon), inset 0 0 0 1px rgba(242, 201, 125, 0.1) !important;
  overflow: hidden;
  transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.promo-card:hover,
.lotto-top-card:hover,
.sports-card:hover,
.lw888-salon-card:hover {
  transform: translateY(-6px);
  border-color: var(--lw888-gold-bright) !important;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.85), 0 0 28px rgba(225, 29, 72, 0.32) !important;
}

/* Game Provider Grid (Slots & Live Casino) */
.gridgame {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 16px;
}

.gridgame.casino-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.ingridgame {
  background: linear-gradient(160deg, #240911 0%, #120408 100%);
  border: 1px solid rgba(242, 201, 125, 0.32);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ingridgame:hover {
  transform: translateY(-6px);
  border-color: var(--lw888-gold-bright);
  box-shadow: 0 16px 34px rgba(225, 29, 72, 0.35), 0 0 18px rgba(242, 201, 125, 0.25);
}

.iningridgame {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  background: #0b0204;
}

.iningridgame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.ingridgame:hover .iningridgame img {
  transform: scale(1.06);
}

.game-title-overlay {
  background: linear-gradient(180deg, rgba(18, 4, 8, 0.15) 0%, rgba(18, 4, 8, 0.95) 85%);
  padding: 10px 8px 8px;
  text-align: center;
  border-top: 1px solid rgba(242, 201, 125, 0.2);
}

.game-title-overlay span {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--lw888-gold-bright);
}

/* Live Pulse Badge */
.live-pulse-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  background: linear-gradient(135deg, #e11d48, #9f1239);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(242, 201, 125, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.6);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fde68a;
  display: inline-block;
  animation: lw888Pulse 1.5s infinite;
}

@keyframes lw888Pulse {
  0% { box-shadow: 0 0 0 0 rgba(253, 230, 138, 0.8); }
  70% { box-shadow: 0 0 0 7px rgba(253, 230, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 230, 138, 0); }
}

/* ==========================================================================
   7. Buttons & Legacy Compatibility Classes
   ========================================================================== */
.btn-link-a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff2e5b 0%, #e11d48 55%, #881337 100%);
  border: 1px solid var(--lw888-gold);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.45);
  transition: all 0.28s ease;
}

.btn-link-a:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  color: #fff !important;
}

.btn-warning {
  background: linear-gradient(135deg, #fde68a 0%, #f2c97d 50%, #c8963e 100%) !important;
  border-color: #fde68a !important;
  color: #1a0408 !important;
  font-weight: 700 !important;
}

.btn-warning:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-outline-warning {
  border-color: var(--lw888-gold) !important;
  color: var(--lw888-gold-bright) !important;
}

.btn-outline-warning:hover {
  background: var(--lw888-gold) !important;
  color: #1a0408 !important;
}

/* ==========================================================================
   8. Lotto & Sports Specific Styling
   ========================================================================== */
.lotto-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lw888-gold-bright);
  margin: 28px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--lw888-crimson);
}

.lotto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.lotto-card {
  background: linear-gradient(160deg, #220810 0%, #130408 100%);
  border: 1px solid rgba(242, 201, 125, 0.28);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.28s ease;
}

.lotto-card:hover {
  transform: translateY(-4px);
  border-color: var(--lw888-gold);
  box-shadow: 0 12px 26px rgba(225, 29, 72, 0.25);
}

.lotto-card-header {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-weight: 700;
}

.lotto-card-header .lotto-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lotto-bg-cyan   { background: linear-gradient(135deg, #0284c7, #0369a1); }
.lotto-bg-purple { background: linear-gradient(135deg, #9333ea, #6b21a8); }
.lotto-bg-teal   { background: linear-gradient(135deg, #0d9488, #115e59); }
.lotto-bg-orange { background: linear-gradient(135deg, #ea580c, #9a3412); }
.lotto-bg-red    { background: linear-gradient(135deg, #e11d48, #881337); }
.lotto-bg-blue   { background: linear-gradient(135deg, #2563eb, #1e40af); }
.lotto-bg-pink   { background: linear-gradient(135deg, #db2777, #9d174d); }
.lotto-bg-green  { background: linear-gradient(135deg, #16a34a, #166534); }
.lotto-bg-grey   { background: linear-gradient(135deg, #4b5563, #1f2937); }

.lotto-card-body {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lotto-countdown {
  font-family: var(--lw888-font-display);
  font-weight: 700;
  color: var(--lw888-gold-bright);
  font-size: 14px;
}

.lotto-schedule {
  font-size: 12px;
  color: var(--lw888-muted);
}

.btn-lotto-bet {
  background: linear-gradient(135deg, var(--lw888-gold-bright), var(--lw888-gold-deep));
  color: #1a0408 !important;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.btn-lotto-closed {
  background: rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
}

.lotto-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.lotto-tab-btn {
  background: #1c070d;
  border: 1px solid rgba(242, 201, 125, 0.3);
  color: var(--lw888-ivory);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lotto-tab-btn:hover,
.lotto-tab-btn.active {
  background: linear-gradient(135deg, var(--lw888-crimson), var(--lw888-crimson-dark));
  border-color: var(--lw888-gold);
  color: #fff;
}

.lotto-top-img-box {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  background: #000;
}

.lotto-top-img-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.lotto-flag-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--lw888-gold);
  background: #140408;
  font-size: 16px;
}

.lotto-schedule-badge {
  display: inline-block;
  font-size: 11.5px;
  color: var(--lw888-gold-bright);
  background: rgba(242, 201, 125, 0.12);
  border: 1px solid rgba(242, 201, 125, 0.28);
  padding: 3px 10px;
  border-radius: 999px;
}

.lotto-rate-tag {
  font-size: 12px;
  font-weight: 700;
  color: #fde68a;
  background: rgba(225, 29, 72, 0.2);
  border: 1px solid rgba(225, 29, 72, 0.4);
  padding: 5px 10px;
  border-radius: 8px;
  text-align: center;
}

.sports-leagues-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: rgba(28, 7, 13, 0.85);
  border: 1px solid rgba(242, 201, 125, 0.28);
  padding: 12px 18px;
  border-radius: 14px;
}

.league-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #140408;
  border: 1px solid rgba(242, 201, 125, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--lw888-ivory);
}

/* ==========================================================================
   9. Imperial Grand Footer & Floating Mobile VIP Bar
   ========================================================================== */
.lw888-footer {
  background:
    radial-gradient(circle at 50% 0%, rgba(225, 29, 72, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, #160509 0%, #080203 100%);
  border-top: 2px solid rgba(242, 201, 125, 0.38);
  padding: 48px 0 95px;
  color: var(--lw888-muted);
}

.lw888-footer-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 18px;
}

.lw888-footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 28px;
  margin-top: 32px;
}

.lw888-footer-col h3,
.lw888-footer-col h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--lw888-gold-bright);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(242, 201, 125, 0.22);
}

.lw888-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lw888-footer-col ul li {
  margin-bottom: 9px;
}

.lw888-footer-col ul li a {
  color: var(--lw888-muted);
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.lw888-footer-col ul li a:hover {
  color: var(--lw888-gold-bright);
  transform: translateX(4px);
}

.tagfooter {
  display: inline-block;
  margin: 0 6px 6px 0;
}

.tagfooter a {
  display: inline-block;
  font-size: 11.5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(242, 201, 125, 0.3);
  color: var(--lw888-gold-bright);
}

.tagfooter a:hover {
  background: var(--lw888-crimson);
  color: #fff;
}

.lw888-copyright {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(242, 201, 125, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* Floating Right VIP Speed-Dial (Desktop) */
.lw888-vip-float {
  position: fixed;
  right: 18px;
  bottom: 28px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lw888-float-btn {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #2a0913, #120307);
  border: 1px solid var(--lw888-gold);
  color: var(--lw888-gold-bright) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.8);
  font-size: 18px;
  transition: all 0.25s ease;
}

.lw888-float-btn span {
  font-size: 9px;
  font-weight: 700;
  margin-top: 2px;
}

.lw888-float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, var(--lw888-crimson), var(--lw888-crimson-dark));
  color: #fff !important;
}

/* Mobile Bottom Luxury Bar */
.lw888-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1060;
  background: linear-gradient(180deg, rgba(28, 7, 13, 0.96) 0%, rgba(12, 3, 6, 0.99) 100%);
  border-top: 1.5px solid var(--lw888-gold);
  padding: 6px 8px 8px;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.85);
}

.lw888-mobile-bar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 4px;
}

.lw888-mob-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--lw888-muted) !important;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 2px;
}

.lw888-mob-item i {
  font-size: 17px;
  color: var(--lw888-gold);
  margin-bottom: 3px;
}

.lw888-mob-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -22px;
}

.lw888-mob-center-orb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2e5b 0%, #e11d48 55%, #881337 100%);
  border: 2px solid var(--lw888-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--lw888-font-display);
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.75);
  margin-bottom: 2px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1199px) {
  .lw888-crown-container {
    grid-template-columns: 1fr auto;
  }
  .lw888-header-left {
    display: none;
  }
  .lw888-ingot-deck {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .lw888-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .lw888-crown-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }
  .lw888-header-right {
    justify-content: center;
  }
  .lw888-ingot-deck {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lw888-pillar-grid {
    grid-template-columns: 1fr;
  }
  .lw888-footer-grid {
    grid-template-columns: 1fr;
  }
  .lw888-mobile-bar {
    display: block;
  }
  .lw888-vip-float {
    bottom: 82px;
    right: 12px;
  }
}
