/**
 * Elite666 - Master Design Tokens & Base Styles (PRD v1.3 - Theme-proof 2026-11-28)
 * Mobile-first luxury White & Gold casino design system.
 */

/* Prevent Vue uncompiled template flicker */
[v-cloak] {
  display: none !important;
}

:root {
  /* Core v1.2 Color Tokens (Light/White Default) */
  --bg: #FFFFFF;
  --bg-soft: #FAF7F0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F9FAFB;
  --bg-subtle: #F5EFE1;
  --bg-gold-light: #FFF9E6;

  --gold-1: #9A7B12;
  --gold-2: #B8860B;
  --gold-3: #785A07;
  --gold-gradient: linear-gradient(135deg, #F5D77A 0%, #D4AF37 50%, #9A7B12 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFE28A 0%, #E0BC45 50%, #B08E1B 100%);
  --gold-glow: 0 4px 18px rgba(212, 175, 55, 0.32);

  --ink: #111827;
  --muted: #4B5563;
  --line: #E5E7EB;
  --line-gold: rgba(184, 134, 11, 0.4);
  --danger: #C0392B;
  --ok: #2E8B57;
  --white: #FFFFFF;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-card: 16px;
  --radius-full: 9999px;

  --shadow-warm: 0 4px 20px rgba(180, 150, 90, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);

  --max-width: 430px; /* PRD v1.2 strict mobile content column */
  --nav-height: 64px;
  --header-height: 58px;
}

/* BLACK / DARK LUXURY CASINO THEME (Default) */
[data-theme="black"],
[data-theme="dark"],
:root[data-theme="black"],
:root[data-theme="dark"] {
  --bg: #0C0B09;
  --bg-soft: #12100C;
  --bg-card: #1A1611;
  --bg-card-hover: #221D15;
  --bg-subtle: #241F16;
  --bg-gold-light: rgba(212, 175, 55, 0.12);

  --gold-1: #F5D77A;
  --gold-2: #D4AF37;
  --gold-3: #AA881E;
  --gold-gradient: linear-gradient(135deg, #F5D77A 0%, #D4AF37 50%, #9A7B12 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFE28A 0%, #E0BC45 50%, #B08E1B 100%);
  --gold-glow: 0 4px 20px rgba(212, 175, 55, 0.35);

  --ink: #FAF7F0;
  --muted: #A09787;
  --line: #2E2619;
  --line-gold: rgba(212, 175, 55, 0.35);
  --danger: #E74C3C;
  --ok: #2ECC71;
  --white: #FFFFFF;

  --shadow-warm: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="black"] body,
[data-theme="dark"] body {
  background-color: #070605;
  color: var(--ink);
}

[data-theme="black"] #app,
[data-theme="dark"] #app {
  background-color: #070605;
}

[data-theme="black"] #app-container,
[data-theme="dark"] #app-container {
  background-color: var(--bg-soft);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.85);
}

[data-theme="black"] .app-header,
[data-theme="dark"] .app-header {
  background: rgba(18, 16, 12, 0.96);
  border-bottom: 1px solid var(--line);
}

[data-theme="black"] .bottom-nav-bar,
[data-theme="dark"] .bottom-nav-bar {
  background: rgba(18, 16, 12, 0.98);
  border-top: 1px solid var(--line);
}

[data-theme="black"] .lang-switcher-pill,
[data-theme="dark"] .lang-switcher-pill {
  background: var(--bg-card);
  border-color: var(--line);
  color: var(--ink);
}

[data-theme="black"] .wallet-badge,
[data-theme="dark"] .wallet-badge {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.05));
  border-color: var(--line-gold);
  color: var(--gold-1);
}

[data-theme="black"] .form-input,
[data-theme="dark"] .form-input,
[data-theme="black"] input[type="text"],
[data-theme="dark"] input[type="text"],
[data-theme="black"] input[type="password"],
[data-theme="dark"] input[type="password"],
[data-theme="black"] input[type="number"],
[data-theme="dark"] input[type="number"],
[data-theme="black"] input[type="tel"],
[data-theme="dark"] input[type="tel"],
[data-theme="black"] select,
[data-theme="dark"] select,
[data-theme="black"] textarea,
[data-theme="dark"] textarea {
  background: var(--bg-card);
  color: var(--ink);
  border-color: var(--line);
}

[data-theme="black"] .subpage-header,
[data-theme="dark"] .subpage-header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

[data-theme="black"] .subpage-title,
[data-theme="dark"] .subpage-title {
  color: var(--ink);
}

[data-theme="black"] .btn-outline,
[data-theme="dark"] .btn-outline {
  background: var(--bg-card);
  color: var(--gold-1);
  border-color: var(--gold-2);
}

[data-theme="black"] .modal-content,
[data-theme="dark"] .modal-content,
[data-theme="black"] .popup-card,
[data-theme="dark"] .popup-card,
[data-theme="black"] .guest-modal-card,
[data-theme="dark"] .guest-modal-card {
  background: var(--bg-card);
  color: var(--ink);
  border-color: var(--gold-2);
}

[data-theme="black"] .nav-tab-item,
[data-theme="dark"] .nav-tab-item {
  color: var(--muted);
}

[data-theme="black"] .nav-tab-item.active,
[data-theme="dark"] .nav-tab-item.active {
  color: var(--gold-1);
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hind Siliguri", "Noto Sans Bengali", Helvetica, Arial, sans-serif;
  background-color: #E8E5DF; /* Soft warm-grey desktop backdrop */
  color: var(--ink);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

#app {
  width: 100%;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  background-color: #E8E5DF;
}

#app-container {
  width: 100%;
  max-width: var(--max-width);
  min-height: 100vh;
  background-color: var(--bg-soft);
  position: relative;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--nav-height) + 20px);
}

#app-container.no-bottom-nav {
  padding-bottom: 0 !important;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

/* Sticky Top Bar */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.brand-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.brand-logo img {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-badge {
  background: var(--bg-gold-light);
  border: 1px solid var(--gold-2);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-3);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* Button Primitives */
.btn-gold {
  background: var(--gold-gradient);
  color: #12100C !important;
  font-weight: 800;
  font-size: 14px;
  border: none;
  border-radius: var(--radius-full);
  padding: 10px 18px;
  cursor: pointer;
  box-shadow: var(--gold-glow);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-1px);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline {
  background: var(--white);
  color: var(--gold-3);
  border: 1.5px solid var(--gold-2);
  font-weight: 800;
  font-size: 13px;
  border-radius: var(--radius-full);
  padding: 7px 14px;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--bg-gold-light);
}

/* Cards */
.card-luxury {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  padding: 16px;
  margin: 12px 14px;
  box-shadow: var(--shadow-warm);
}

/* List Row */
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 14px;
}

.list-row:last-child {
  border-bottom: none;
}

.list-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.list-row-icon {
  font-size: 20px;
  width: 28px;
  text-align: center;
}

.list-row-title {
  font-weight: 700;
  color: var(--ink);
}

.list-row-right {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

/* Chips & Badges */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.chip.active {
  background: var(--gold-gradient);
  color: #14120E;
  border-color: transparent;
}

.badge-count {
  background: var(--danger);
  color: #FFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

/* Bottom Navigation Bar with Raised Center Gold Button */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: var(--nav-height);
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 0 4px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
  line-height: 1.2;
}

.nav-item .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  margin-bottom: 2px;
}

.nav-item.active {
  color: var(--gold-3);
  font-weight: 800;
}

.nav-item.active .nav-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.4));
}

/* Raised Center Round Gold Wallet Button with Outside Label */
.nav-center-wallet-wrapper {
  position: relative;
  top: -18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  z-index: 1001;
  user-select: none;
}

.nav-center-wallet-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 3.5px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  overflow: hidden;
  padding: 4px;
}

.nav-center-wallet-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.nav-center-wallet-wrapper:hover .nav-center-wallet-circle {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.65);
}

.nav-center-wallet-wrapper:active .nav-center-wallet-circle {
  transform: scale(0.92);
}

.nav-center-wallet-text {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-center-wallet-text.active {
  color: var(--gold-3);
  font-weight: 900;
}

/* Right-Edge FloatingDock (Telegram, Wheel, Support) - Large & Transparent */
.floating-dock {
  position: fixed;
  right: calc(50% - (var(--max-width) / 2) + 12px);
  bottom: 84px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 990;
}

@media (max-width: 440px) {
  .floating-dock {
    right: 12px;
  }
}

.dock-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
  user-select: none;
}

.dock-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.dock-btn:hover {
  transform: scale(1.15) translateY(-2px);
  filter: drop-shadow(0 6px 14px rgba(212, 175, 55, 0.4));
}

.dock-btn:active {
  transform: scale(0.95);
}

/* Language Switcher Pill in Top Bar */
.lang-switcher-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  user-select: none;
}

.lang-switcher-pill:hover {
  background: var(--bg-gold-light);
  border-color: var(--gold-2);
}

.lang-flag-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.1);
}

/* Batawin-Style Language Bottom Sheet Modal */
.lang-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
}

.lang-sheet-container {
  width: 100%;
  max-width: var(--max-width);
  background: var(--bg-card);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 20px 18px 28px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
  animation: slideUpSheet 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.lang-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.lang-sheet-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--gold-3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg-soft);
}

.lang-sheet-row:hover, .lang-sheet-row.active {
  border-color: var(--gold-2);
  background: var(--bg-gold-light);
}

.lang-sheet-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.lang-sheet-flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.08);
}

.lang-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF;
}

.lang-sheet-row.active .lang-radio-circle {
  border-color: var(--gold-3);
  background: var(--gold-3);
}

.lang-radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFF;
}

/* Rotating Big Gold Ring Page Switch Loader - Completely Transparent Background (Zero Black Shadow & Large Size) */
.page-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  pointer-events: none;
}

.spinning-gold-ring {
  width: 110px;
  height: 110px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  border: none;
}

.spinning-gold-ring svg.ring {
  width: 100%;
  height: 100%;
  animation: rotateLoader 0.85s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.65));
}

.spinning-gold-ring .ring-logo-img {
  position: absolute;
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5));
}

@keyframes rotateLoader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fade-fast-enter-active, .fade-fast-leave-active {
  transition: opacity 0.2s ease;
}
.fade-fast-enter-from, .fade-fast-leave-to {
  opacity: 0;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}

.modal-dialog {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 410px;
  overflow: hidden;
  animation: popIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Form Controls */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.form-input {
  width: 100%;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #FCFBF9;
  padding: 0 14px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: all 0.2s ease;
}
.form-input:focus {
  border-color: var(--gold-2);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Sleek Modern Floating Capsule Toast Notification */
.toast-container {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999;
  width: auto;
  max-width: 90%;
  pointer-events: none;
}

.toast-pill {
  pointer-events: auto;
  background: rgba(26, 24, 20, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border-radius: 30px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
}

.toast-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-pill-text {
  font-size: 13px;
  font-weight: 700;
  color: #FAF7F0;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-pill.toast-error {
  border-color: rgba(220, 38, 38, 0.6);
  background: rgba(35, 15, 15, 0.94);
}
.toast-pill.toast-success {
  border-color: rgba(212, 175, 55, 0.6);
}

.toast-fade-enter-active {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-fade-leave-active {
  transition: all 0.2s cubic-bezier(0.4, 0, 1, 1);
}
.toast-fade-enter-from {
  opacity: 0;
  transform: translateY(-12px) scale(0.95);
}
.toast-fade-leave-to {
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
}

/* Dedicated SPA Subpages & Headers */
.page-subpage-view, .page-auth-view {
  min-height: 100vh;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
}

.subpage-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.subpage-back-btn {
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.subpage-back-btn:hover {
  background: var(--bg-subtle);
}

.subpage-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.3px;
}

/* Stylish Guest Engagement & Notification Permission Modal */
.guest-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 15, 10, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
}

.guest-modal-card {
  width: 100%;
  max-width: 390px;
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  border: 1.5px solid var(--gold-2);
  animation: guestPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

@keyframes guestPopIn {
  from { transform: scale(0.88); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.guest-modal-header {
  background: var(--gold-gradient);
  padding: 24px 16px 20px;
  text-align: center;
  position: relative;
  color: #14120E;
}

.guest-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  color: #14120E;
  transition: all 0.2s ease;
}

.guest-close-btn:hover {
  background: #FFFFFF;
}

.guest-modal-avatars {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

.guest-modal-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  object-fit: cover;
  background: #FFF;
}

.guest-modal-bonus {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--gold-2);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 900;
  color: var(--gold-3);
  margin-bottom: 8px;
}

.guest-modal-body {
  padding: 20px 18px 22px;
}

.guest-notif-box {
  background: #FAF7F0;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.guest-notif-btn {
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 800;
  color: #14120E;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--gold-glow);
  transition: all 0.2s ease;
}

.guest-notif-btn:hover {
  transform: translateY(-1px);
}

/* ============ DESKTOP LAYOUT (PC, min-width 768px) - v1.4 2026-12-03 ============ */
@media (min-width: 768px) {
  :root {
    --max-width: 1180px; /* desktop content column (was 430px phone column) */
  }
  .app-header {
    padding: 0 24px;
  }
  /* Bottom language sheet stays phone-sized and centered on desktop */
  .lang-sheet-container {
    max-width: 480px;
    border-radius: 20px;
    margin-bottom: 24px;
  }
}