/* u88lao.com & Royal Online 1688 旗舰高定前端设计系统 (Design System) */

:root {
  /* u88lao 东南亚旗舰暗黑霓虹色系 */
  --bg-primary: #080c14;
  --bg-secondary: #0f172a;
  --bg-card: rgba(22, 31, 48, 0.85);
  --bg-card-hover: rgba(30, 43, 66, 0.95);
  --bg-glass: rgba(15, 23, 42, 0.75);
  
  /* 品牌高定金属与高光 */
  --gold-primary: #ffb800;
  --gold-secondary: #f59e0b;
  --gold-gradient: linear-gradient(135deg, #ffd700 0%, #ffb800 50%, #d97706 100%);
  --cyan-neon: #00f0ff;
  --cyan-gradient: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
  --green-emerald: #10b981;
  --red-accent: #ef4444;
  --purple-royal: #8b5cf6;

  /* 文字系统 */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* 边框与光影 */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(255, 184, 0, 0.35);
  --border-cyan: rgba(0, 240, 255, 0.35);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow-gold: 0 0 25px rgba(255, 184, 0, 0.35);
  --shadow-glow-cyan: 0 0 25px rgba(0, 240, 255, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* 动画缓动 */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 澳门 1688 威尼斯人 VIP 奢华黑金皮肤模式 */
body.theme-1688-vip {
  --bg-primary: #070709;
  --bg-secondary: #121217;
  --bg-card: rgba(22, 22, 29, 0.9);
  --bg-card-hover: rgba(32, 32, 42, 0.98);
  --gold-primary: #d4af37;
  --gold-secondary: #ffd700;
  --gold-gradient: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #996515 100%);
  --border-gold: rgba(212, 175, 55, 0.45);
  --shadow-glow-gold: 0 0 30px rgba(212, 175, 55, 0.4);
}

/* 基础重置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Outfit', 'Noto Sans SC', 'Noto Sans Lao', 'Noto Sans Thai', -apple-system, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(255, 184, 0, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(0, 240, 255, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 184, 0, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* 顶部跑马灯与状态栏 */
.top-bar {
  background: rgba(8, 12, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12px;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 50;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.marquee-badge {
  background: linear-gradient(90deg, rgba(16, 20, 30, 0.98), rgba(44, 34, 12, 0.98));
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  box-shadow: 10px 0 12px rgba(8, 12, 20, 0.96);
}

.marquee-content {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 12px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 12px), transparent 100%);
  animation: marquee 25s linear infinite;
  font-size: 12px;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.lang-btn {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.lang-btn.active, .lang-btn:hover {
  background: var(--gold-primary);
  color: #000;
  font-weight: 700;
}

.theme-switch-btn {
  background: linear-gradient(90deg, #d4af37, #ffd700);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  transition: var(--transition-fast);
}

.theme-switch-btn:hover {
  transform: scale(1.05);
}

/* 主导航 Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #000;
  box-shadow: var(--shadow-glow-gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #ffffff, #ffb800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 10px;
  color: var(--cyan-neon);
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
}

/* 主导航列表 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
}

.nav-item:hover, .nav-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.badge-tag {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
}
.badge-hot { background: #ef4444; color: #fff; }
.badge-new { background: #10b981; color: #fff; }
.badge-live { background: #00f0ff; color: #000; }

/* 头部右侧用户状态与快捷操作 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 4px 12px;
}

.wallet-label {
  font-size: 11px;
  color: var(--gold-primary);
  font-weight: 700;
}

.wallet-balance {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.btn-refresh-balance {
  color: var(--gold-primary);
  transition: transform 0.3s;
}
.btn-refresh-balance:hover {
  transform: rotate(180deg);
}

.btn-action-primary {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-glow-gold);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-action-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 184, 0, 0.6);
}

.btn-action-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.btn-action-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* 主内容容器 */
.app-container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

/* Hero 旗舰展示轮播 */
.hero-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.hero-slider-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 12, 20, 0.95) 10%, rgba(8, 12, 20, 0.2) 60%, transparent 100%);
  z-index: 1;
}

.hero-decor-art {
  position: absolute;
  top: 10px;
  right: 20px;
  width: 320px;
  height: 320px;
  opacity: 0.85;
  z-index: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(255, 184, 0, 0.4));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 184, 0, 0.2);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-btn-group {
  display: flex;
  gap: 14px;
}

/* 侧边实时奖池与大赢家看板 */
.hero-side-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jackpot-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow-gold);
}

.jackpot-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.jackpot-value {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  margin: 8px 0;
  text-shadow: 0 0 20px rgba(255, 184, 0, 0.8);
  font-family: 'Cinzel', monospace, sans-serif;
}

.winners-list-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.winners-header {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.winner-user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.winner-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 11px;
}

.winner-amount {
  color: var(--green-emerald);
  font-weight: 800;
}

/* 分类专区通用 Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
}

.section-tag {
  color: var(--gold-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-more-link {
  color: var(--cyan-neon);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}
.view-more-link:hover {
  transform: translateX(4px);
}

/* 体育滚球卡片网格 */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.match-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.match-league {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.match-live-tag {
  color: #ef4444;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.match-teams {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.team-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-score {
  font-size: 16px;
  font-weight: 900;
  color: var(--cyan-neon);
}

.odds-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.odd-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-fast);
}

.odd-btn:hover, .odd-btn.selected {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan-neon);
}

.odd-label {
  font-size: 10px;
  color: var(--text-muted);
}

.odd-value {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-primary);
  margin-top: 2px;
}

/* 真人百家乐桌台与路单网格 */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.table-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-glow-gold);
}

.table-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border-subtle);
}

.table-id-tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dealer-info {
  font-size: 12px;
  color: var(--text-secondary);
}

.table-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 14px;
  gap: 14px;
}

.dealer-stream-preview {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  height: 120px;
}

.dealer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.countdown-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-weight: 900;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

.roadmap-preview-box {
  background: #05070a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 珠盘路与大路 Canvas/Grid */
.roadmap-bead-matrix {
  display: grid;
  grid-template-rows: repeat(6, 16px);
  grid-auto-flow: column;
  gap: 2px;
}

.bead-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
}
.bead-banker { background: #ef4444; }
.bead-player { background: #3b82f6; }
.bead-tie { background: #10b981; }

.table-footer {
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-limits {
  font-size: 11px;
  color: var(--text-muted);
}

/* 电子游艺 (PG Soft, SlotXO) 网格 */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.slot-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.slot-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.slot-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 正方形海报 */
  background: #000;
  overflow: hidden;
}

.slot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.slot-card:hover .slot-img {
  transform: scale(1.08);
}

.slot-rtp-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid var(--green-emerald);
  color: var(--green-emerald);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.slot-hover-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.2s;
}

.slot-card:hover .slot-hover-mask {
  opacity: 1;
}

.btn-slot-play {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.btn-slot-demo {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.slot-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slot-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-provider {
  font-size: 11px;
  color: var(--text-muted);
}

/* 棋牌、捕鱼、彩票、斗鸡卡片通用组件 */
.game-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-glow-gold);
}

.feature-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 184, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold-primary);
}

.feature-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.feature-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 澳门 1688 百家乐 VIP 对讲与 3D 筹码下注大厅专用组件 */
.vip-table-arena {
  background: radial-gradient(circle at 50% 30%, #151822 0%, #070709 100%);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

.baccarat-felt {
  background: radial-gradient(ellipse at center, #0f381f 0%, #061c0d 100%);
  border: 8px solid #2d1e12;
  border-radius: 40px;
  padding: 30px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
  position: relative;
}

.betting-zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.bet-zone {
  background: rgba(0, 0, 0, 0.4);
  border: 2px dashed rgba(255, 215, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.bet-zone:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold-primary);
}

.zone-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
}
.zone-payout {
  font-size: 12px;
  color: var(--gold-primary);
  margin-top: 4px;
  font-weight: 700;
}
.zone-bet-amt {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  margin-top: 6px;
}

/* 3D 陶瓷筹码叠放器 */
.chip-rack {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  max-width: 720px;
  margin: 0 auto;
}

.chip-item {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  border: 3px dashed rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.chip-item:hover, .chip-item.active {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 12px 20px rgba(255, 184, 0, 0.6);
}

.chip-10 { background: #3b82f6; }
.chip-50 { background: #10b981; }
.chip-100 { background: #ef4444; }
.chip-500 { background: #8b5cf6; }
.chip-1k { background: #f59e0b; }
.chip-5k { background: #06b6d4; }
.chip-10k { background: #ec4899; }
.chip-50k { background: #1e293b; border-color: var(--gold-primary); color: var(--gold-primary); }

.stacked-chip {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.8);
  border: 1px solid #fff;
}

/* 3D 咪牌模态视窗 (Interactive Card Squeeze) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal-content-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  position: relative;
}

.modal-header {
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold-primary);
}

.btn-close-modal {
  font-size: 20px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.btn-close-modal:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
}

/* 3D 扑克牌咪牌实体 */
.squeeze-arena {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.poker-card-3d {
  width: 190px;
  height: 270px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #cbd5e1;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  cursor: grab;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  user-select: none;
}

.poker-card-back {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, #1e3a8a, #1e3a8a 10px, #1e40af 10px, #1e40af 20px);
  border: 8px solid #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poker-card-face {
  position: absolute;
  inset: 0;
  background: #fff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-rank {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.card-suit {
  font-size: 32px;
  line-height: 1;
}

.card-center-symbol {
  font-size: 64px;
  align-self: center;
}

/* 体育投注单 (Bet Slip) 侧边面板 */
.bet-slip-drawer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 340px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  z-index: 80;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bet-slip-header {
  padding: 12px 16px;
  background: rgba(0, 240, 255, 0.1);
  border-bottom: 1px solid var(--border-cyan);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--cyan-neon);
}

.bet-slip-body {
  padding: 14px;
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slip-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 12px;
}

.slip-item-top {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #fff;
}

.slip-item-match {
  color: var(--text-muted);
  font-size: 11px;
}

.bet-slip-footer {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stake-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stake-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  outline: none;
}
.stake-input:focus {
  border-color: var(--cyan-neon);
}

.win-return-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}

.win-return-val {
  color: var(--green-emerald);
  font-weight: 800;
}

/* 个人中心 / 财务中心 选项卡界面 */
.profile-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.profile-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.profile-tab-btn:hover, .profile-tab-btn.active {
  background: rgba(255, 184, 0, 0.15);
  color: var(--gold-primary);
  border-left: 3px solid var(--gold-primary);
}

.profile-content-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* 底部 Footer */
.master-footer {
  background: #04060a;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.provider-logos-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0.7;
}

.provider-badge {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
  }
  .casino-grid {
    grid-template-columns: 1fr;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-header {
    flex-wrap: wrap;
  }
  .main-nav {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 6px;
  }
  .sports-grid {
    grid-template-columns: 1fr;
  }
  .betting-zones {
    grid-template-columns: 1fr;
  }
  .chip-rack {
    gap: 8px;
    padding: 10px;
    flex-wrap: wrap;
  }
  .chip-item {
    width: 44px;
    height: 44px;
    font-size: 11px;
  }
}
