/* ========================================================
   DESI CARDS ROYALE v2 — Modern Glassmorphic Design System
   Adapted from ADDA v2 (adda-v2/css/v2.css)
   Mobile-first, dark glassmorphism, responsive console cards, zero scroll
   ======================================================== */

:root {
  --bg-main: #080912;
  --bg-surface: #0f1222;
  --bg-surface-elevated: #161a30;
  --bg-glass: rgba(18, 22, 40, 0.78);
  --bg-glass-card: rgba(22, 27, 50, 0.75);
  --bg-glass-card-hover: rgba(32, 40, 72, 0.92);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.18);
  --border-focus: #7c5cff;
  --border-gold: rgba(255, 215, 0, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-primary: #7c5cff;
  --accent-primary-hover: #6a46f6;
  --accent-gradient: linear-gradient(135deg, #7c5cff 0%, #ff4d8d 100%);
  --accent-gold-gradient: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  --accent-emerald-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --accent-cyan-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);

  --font-display: 'Sora', 'Rozha One', system-ui, sans-serif;
  --font-desi: 'Rozha One', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 24px -4px rgba(124, 92, 255, 0.45);
  --shadow-glow-gold: 0 0 24px -4px rgba(255, 215, 0, 0.35);
}

/* Base Body */
body.v2 {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body.v2 * {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

/* Ambient glow orbs */
.landing-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}
.glow-a {
  top: -120px;
  left: -80px;
  background: #7c5cff;
}
.glow-b {
  bottom: -60px;
  right: -80px;
  background: #ff4d8d;
}

/* ========================================================
   1. LANDING PAGE VIEW (100vh Compact / Zero Scrolling)
   ======================================================== */
.landing {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 16px 14px;
  max-width: 620px;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 2;
}
@media (min-height: 700px) and (max-width: 600px) {
  .landing {
    height: 100dvh;
    overflow: hidden;
  }
}

.landing-nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0 8px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #fff 40%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.brand-icon-box {
  font-size: 1.4rem;
  line-height: 1;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(255, 77, 141, 0.15));
  border: 1px solid rgba(124, 92, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 11px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.toffee-chip {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fde68a;
}
.gold-pro-btn {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(245, 158, 11, 0.25));
  border-color: rgba(255, 215, 0, 0.5);
  color: #ffd700;
}
.pill-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--border-active);
  transform: translateY(-1px);
}

/* ========================================================
   2. LANDING HERO (High-Impact Console Header)
   ======================================================== */
.landing-hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 6px 8px;
  margin: 0 auto;
  width: 100%;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #c7d2fe;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.35);
  padding: 3px 11px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #fff;
}
.hero-title em {
  font-style: normal;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(0.78rem, 2vw, 0.88rem);
  line-height: 1.38;
  color: var(--text-muted);
  margin: 0 0 12px;
  max-width: 440px;
}

/* Side-by-Side Action Controls */
.hero-actions-row {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  align-items: stretch;
}

.btn-create-room {
  flex: 1;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(124, 92, 255, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn-create-room:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(124, 92, 255, 0.6);
}

.join-inline {
  flex: 1.15;
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3px 5px;
  transition: border-color 0.2s ease;
}
.join-inline:focus-within {
  border-color: var(--border-focus);
}
.join-inline input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 8px;
  outline: none;
  min-width: 0;
}
.join-inline input::placeholder {
  color: var(--text-dim);
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
}
.btn-join-room {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-join-room:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ========================================================
   3. THE 8 TACTILE GAME TILES (Console/Mobile App Style)
   ======================================================== */
.landing-games {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 6px 0 10px;
  padding: 0;
  width: 100%;
}
@media (max-width: 580px) {
  .landing-games {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.lg-card {
  background: rgba(18, 22, 38, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}
.lg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0.85;
}
.lg-card[data-game="dehlapakad"]::before { background: linear-gradient(90deg, #10b981, #059669); }
.lg-card[data-game="lakdi"]::before { background: linear-gradient(90deg, #8b5cf6, #6366f1); }
.lg-card[data-game="bluff"]::before { background: linear-gradient(90deg, #ef4444, #f43f5e); }
.lg-card[data-game="satte"]::before { background: linear-gradient(90deg, #ffd700, #f59e0b); }
.lg-card[data-game="teenpatti"]::before { background: linear-gradient(90deg, #ec4899, #d946ef); }
.lg-card[data-game="bhabhi"]::before { background: linear-gradient(90deg, #f97316, #ef4444); }
.lg-card[data-game="seep"]::before { background: linear-gradient(90deg, #eab308, #84cc16); }
.lg-card[data-game="twentytwenty"]::before { background: linear-gradient(90deg, #06b6d4, #3b82f6); }

.lg-card:hover, .lg-card:active {
  transform: translateY(-2px);
  border-color: #7c5cff;
  background: rgba(30, 36, 62, 0.95);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(124, 92, 255, 0.3);
}
.lg-emoji {
  font-size: 1.65rem;
  line-height: 1;
  margin-bottom: 2px;
}
.lg-card b {
  font-size: 0.86rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.15;
}
.lg-card small {
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.1;
}

/* Bottom Action Dock */
.landing-dock {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 4px 0 6px;
}
.dock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.dock-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: var(--border-active);
  transform: translateY(-1px);
}

.landing-foot {
  position: relative;
  z-index: 2;
  padding-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.7rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 2px;
}

/* ========================================================
   4. STAGE ONE: GAME SETUP SHEET / MODAL
   ======================================================== */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-active);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 440px;
  padding: 16px 20px 24px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.7);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.sheet-backdrop.open .sheet {
  transform: translateY(0);
}

@media (min-width: 600px) {
  .sheet-backdrop {
    align-items: center;
    padding: 20px;
  }
  .sheet {
    border-radius: 24px;
    border-bottom: 1px solid var(--border-active);
    transform: scale(0.94);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .sheet-backdrop.open .sheet {
    transform: scale(1);
    opacity: 1;
  }
}

.sheet-grabber {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  margin: 0 auto 14px;
}
@media (min-width: 600px) {
  .sheet-grabber { display: none; }
}

.sheet-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.sheet-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.setup-header-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}
.setup-game-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.setup-header-text h2 {
  font-size: 1.22rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
  line-height: 1.2;
}
.setup-header-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 2px 0 0;
  line-height: 1.2;
}

/* 1-Row Profile Bar */
.setup-profile-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px 10px;
  margin-bottom: 10px;
}
.setup-avatar-pill {
  font-size: 1.4rem;
  cursor: pointer;
  padding: 2px;
  border-radius: 6px;
  line-height: 1;
  transition: transform 0.15s ease;
}
.setup-avatar-pill:hover {
  transform: scale(1.15);
}
.setup-name-field {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  outline: none;
  min-width: 0;
}

/* Avatar Drawer */
.avatar-drawer {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px;
  margin-bottom: 10px;
}
.avatar-grid-compact {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.avatar-grid-compact::-webkit-scrollbar { display: none; }
.avatar-grid-compact .avatar-chip {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}
.avatar-grid-compact .avatar-chip.active {
  border-color: var(--accent-primary);
  background: rgba(124, 92, 255, 0.25);
}

/* Variant Strip */
.variant-strip-compact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.variant-strip-compact .variant-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #e2e8f0;
  cursor: pointer;
}
.variant-strip-compact .variant-radio input { accent-color: var(--accent-primary); }

.setup-mode-prompt {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

/* The 2 Big Action Cards */
.setup-mode-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.mode-action-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  border: 1.5px solid var(--border-subtle);
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  font-family: var(--font-body);
}
.mode-action-card:hover {
  transform: translateY(-2px);
}
.mode-action-card.mode-single {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.15), rgba(0, 194, 168, 0.1));
  border-color: rgba(124, 92, 255, 0.4);
}
.mode-action-card.mode-single:hover {
  border-color: #7c5cff;
  box-shadow: 0 4px 22px rgba(124, 92, 255, 0.4);
}
.mode-action-card.mode-multi {
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.15), rgba(245, 197, 66, 0.1));
  border-color: rgba(255, 77, 141, 0.4);
}
.mode-action-card.mode-multi:hover {
  border-color: #ff4d8d;
  box-shadow: 0 4px 22px rgba(255, 77, 141, 0.4);
}
.mode-badge {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mode-single .mode-badge {
  background: rgba(124, 92, 255, 0.28);
  color: #c7d2fe;
}
.mode-multi .mode-badge {
  background: rgba(255, 77, 141, 0.28);
  color: #fbcfe8;
}
.mode-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mode-emoji {
  font-size: 1.8rem;
  line-height: 1;
}
.mode-info {
  flex: 1;
}
.mode-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.mode-desc {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}
.mode-arrow {
  font-size: 1.2rem;
  color: #fff;
}

.btn-show-rules-mini {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px;
  cursor: pointer;
  text-align: center;
  width: 100%;
}
.btn-show-rules-mini:hover {
  color: #fff;
}

/* ========================================================
   5. IN-GAME APP BAR & ARENA CONTAINER
   ======================================================== */
.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(14, 18, 32, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.room-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  color: #fff;
}
.room-chip b {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: #ffd700;
}

.btn-lobby-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124, 92, 255, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.4);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-lobby-pill:hover {
  background: var(--accent-gradient);
}

.app-bar-right {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Modal windows */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 16px;
}
.modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
.modal-window {
  background: var(--bg-surface-elevated);
  border: 1.5px solid var(--border-active);
  border-radius: var(--radius-xl);
  color: var(--text-main);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  backdrop-filter: blur(16px);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 600px) {
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .modal-window {
    border-radius: 24px 24px 0 0 !important;
    border-bottom: none !important;
    max-height: 88vh !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 20px 32px !important;
    animation: slideUpSheet 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ========================================================
   Dehla Pakad Cheating Freedom & Check Mechanic Styles
   ======================================================== */
.playable-bluff-card {
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  position: relative;
  opacity: 0.95;
}
.playable-bluff-card:hover {
  transform: translateY(-10px) scale(1.06);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.45);
  border-color: #f59e0b !important;
  z-index: 10;
}
.playable-bluff-card::after {
  content: '🃏';
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 0.65rem;
  opacity: 0.65;
  pointer-events: none;
}

.hud-checks {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-full);
  padding: 2px 7px;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  vertical-align: middle;
}

.raise-check-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px auto;
  z-index: 25;
  position: relative;
}

.btn-raise-check-pill {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  border: 1px solid #f87171;
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 800;
  font-family: var(--font-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.55), 0 0 14px rgba(239, 68, 68, 0.35);
  animation: checkPulse 1.8s infinite;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-raise-check-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(239, 68, 68, 0.8);
}
@keyframes checkPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.rc-badge-pulse {
  font-size: 1rem;
  line-height: 1;
}

.rc-count {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-full);
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fef08a;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cheating-modal-box {
  padding: 24px 22px;
  animation: popInBounce 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popInBounce {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

