/* momen.evil - Exact Ludo Club Style with Dark Table Background (لودو كلوب الأصلية) */

:root {
  --ludo-red: #ea4335;
  --ludo-green: #1e8e3e;
  --ludo-yellow: #fbbc04;
  --ludo-blue: #1a73e8;
  --ludo-grid-line: #cbd5e1;
  --ludo-board-frame: #0f172a;
}

/* Master Game Container - Luxury Dark Table Background */
.ludo-game-root {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  background-color: #0c0805;
  background-image: 
    radial-gradient(circle at center, rgba(16, 10, 6, 0.45) 0%, rgba(6, 4, 2, 0.9) 100%),
    url('/assets/ludo/ludo_walnut_table.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  user-select: none;
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #fff;
}

/* Top HUD */
.ludo-top-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  z-index: 25;
  flex-shrink: 0;
}

.ludo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ludo-brand-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid #fbc02d;
  object-fit: cover;
}

.ludo-brand-text h1 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
}

.ludo-brand-text span {
  color: #fbc02d;
  font-size: 0.82rem;
}

.ludo-turn-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: rgba(0, 0, 0, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ludo-turn-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 6px currentColor;
}

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

.ludo-hud-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.ludo-hud-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Arena Layout & Stage */
.ludo-arena {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px 14px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.ludo-arena-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(56vh, 84vw, 490px);
  max-width: 100%;
  direction: ltr !important;
}

/* Corner Widgets Rows (Top & Bottom) */
.ludo-corners-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  direction: ltr !important;
}

/* Strict corner yard anchoring across all player counts (1v1, 3-players, 4-players) */
.ludo-corner-widget.corner-red,
.ludo-corner-widget.corner-blue {
  margin-right: auto !important;
  margin-left: 0 !important;
}

.ludo-corner-widget.corner-green,
.ludo-corner-widget.corner-yellow {
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* Board Outer Rounded Frame */
.ludo-board-wrapper {
  position: relative;
  width: min(56vh, 84vw, 490px);
  height: min(56vh, 84vw, 490px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  border-radius: 22px;
  background: var(--ludo-board-frame);
  border: 7px solid var(--ludo-board-frame);
  box-sizing: border-box;
  direction: ltr !important;
  overflow: visible;
}

/* 15x15 Geometric Ludo Grid */
.ludo-board {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  grid-template-rows: repeat(15, 1fr);
  background: #ffffff;
  direction: ltr !important;
}

/* 4 Corner Yards (6x6 each) - Exact Ludo Club Geometry */
.ludo-yard {
  position: absolute;
  width: 40%;
  height: 40%;
  box-sizing: border-box;
  padding: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.ludo-yard.red { 
  top: 0; left: 0; 
  background: var(--ludo-red); 
  border-bottom: 2px solid var(--ludo-grid-line); 
  border-right: 2px solid var(--ludo-grid-line); 
  border-top-left-radius: 17px;
}
.ludo-yard.green { 
  top: 0; right: 0; 
  background: var(--ludo-green); 
  border-bottom: 2px solid var(--ludo-grid-line); 
  border-left: 2px solid var(--ludo-grid-line); 
  border-top-right-radius: 17px;
}
.ludo-yard.yellow { 
  bottom: 0; right: 0; 
  background: var(--ludo-yellow); 
  border-top: 2px solid var(--ludo-grid-line); 
  border-left: 2px solid var(--ludo-grid-line); 
  border-bottom-right-radius: 17px;
}
.ludo-yard.blue { 
  bottom: 0; left: 0; 
  background: var(--ludo-blue); 
  border-top: 2px solid var(--ludo-grid-line); 
  border-right: 2px solid var(--ludo-grid-line); 
  border-bottom-left-radius: 17px;
}

/* Inactive Yard Styling for 1v1 */
.ludo-yard.yard-inactive {
  opacity: 0.72;
}
.ludo-yard.yard-inactive .ludo-yard-spot {
  background: #cbd5e1 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

.ludo-yard-inner {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Clean Minimal Yard Label (Image 3) */
.ludo-yard-clean-label {
  position: absolute;
  top: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
  pointer-events: none;
  z-index: 6;
}

.ludo-yard-bases {
  width: 80%;
  height: 80%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

/* Circular Grey Sockets inside Yards (Exact match to Ludo Club screenshot) */
.ludo-yard-spot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 1.5px solid #b8bec8;
  justify-self: center;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s ease;
}

/* Common Track Cells */
.ludo-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 0.5px solid var(--ludo-grid-line);
  background: #ffffff;
}

/* Home Columns */
.ludo-cell.home-col-red { background: var(--ludo-red) !important; border-color: rgba(0,0,0,0.12); }
.ludo-cell.home-col-green { background: var(--ludo-green) !important; border-color: rgba(0,0,0,0.12); }
.ludo-cell.home-col-yellow { background: var(--ludo-yellow) !important; border-color: rgba(0,0,0,0.12); }
.ludo-cell.home-col-blue { background: var(--ludo-blue) !important; border-color: rgba(0,0,0,0.12); }

/* Start Chevron SVGs */
.ludo-chevron-svg {
  width: 65%;
  height: 65%;
  pointer-events: none;
  display: block;
}

/* Star Icons on Safe Squares */
.ludo-star-svg {
  width: 65%;
  height: 65%;
  pointer-events: none;
  display: block;
}

/* Center Home Triangle (Clean Triangles - NO CROWN!) */
.ludo-center-home {
  position: absolute;
  top: 40%;
  left: 40%;
  width: 20%;
  height: 20%;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 6;
  border: 1px solid var(--ludo-grid-line);
}

.ludo-center-triangles {
  width: 100%;
  height: 100%;
  position: relative;
}

.ludo-center-tri-red {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  clip-path: polygon(0 0, 50% 50%, 0 100%);
  background: var(--ludo-red);
}

.ludo-center-tri-green {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  clip-path: polygon(0 0, 50% 50%, 100% 0);
  background: var(--ludo-green);
}

.ludo-center-tri-yellow {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  clip-path: polygon(100% 0, 50% 50%, 100% 100%);
  background: var(--ludo-yellow);
}

.ludo-center-tri-blue {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  clip-path: polygon(0 100%, 50% 50%, 100% 100%);
  background: var(--ludo-blue);
}

/* ═══════════════════════════════════════════════════════════
   LUDO CLUB GLOSSY 3D BOWLING PIN PAWNS (قطع لودو كلوب)
   ═══════════════════════════════════════════════════════════ */
.ludo-pawn-wrapper {
  position: absolute;
  width: 23px;
  height: 35px;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
}

.ludo-pawn-wrapper:hover {
  transform: translateX(-50%) translateY(-4px) scale(1.1);
}

/* Movable Turn Pulsing Halo & Excited Bounce */
.ludo-pawn-wrapper.movable {
  z-index: 20;
  animation: ludoClubPawnBounce 0.85s infinite alternate cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes ludoClubPawnBounce {
  0% {
    transform: translateX(-50%) translateY(0);
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.35)) drop-shadow(0 0 6px #fde047);
  }
  100% {
    transform: translateX(-50%) translateY(-6px);
    filter: drop-shadow(0 5px 8px rgba(0,0,0,0.45)) drop-shadow(0 0 12px #fde047);
  }
}

/* Multi-Pawn Stacking Offsets */
.ludo-pawn-wrapper.stack-0 { transform: translateX(-50%) translate(-2px, -2px) scale(0.85); }
.ludo-pawn-wrapper.stack-1 { transform: translateX(-50%) translate(2px, 2px) scale(0.85); }
.ludo-pawn-wrapper.stack-2 { transform: translateX(-50%) translate(-2px, 2px) scale(0.85); }
.ludo-pawn-wrapper.stack-3 { transform: translateX(-50%) translate(2px, -2px) scale(0.85); }

/* Hopping Arc Animation (150ms per cell leap) */
.ludo-pawn-wrapper.pawn-hop {
  animation: ludoPawnHopArc 0.15s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
  z-index: 60 !important;
}

@keyframes ludoPawnHopArc {
  0% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(-16px) scale(1.15); }
  100% { transform: translateX(-50%) translateY(0) scale(1); }
}

/* Yard Exit Leap */
.ludo-pawn-wrapper.pawn-leap-yard {
  animation: ludoPawnLeapYard 0.24s ease-out forwards;
}

@keyframes ludoPawnLeapYard {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.2) translateY(-16px); }
  100% { transform: translateX(-50%) scale(1) translateY(0); }
}

/* Captured Victim Hit & Reverse Rewind Trail */
.ludo-pawn-wrapper.pawn-captured-hit {
  animation: ludoPawnCapturedHit 0.22s ease-out;
}

@keyframes ludoPawnCapturedHit {
  0% { transform: translateX(-50%) scale(1); filter: drop-shadow(0 0 8px #ff1744); }
  35% { transform: translateX(-50%) translateY(-10px) scale(1.18) rotate(-12deg); }
  70% { transform: translateX(-50%) translateY(-3px) scale(1.08) rotate(6deg); }
  100% { transform: translateX(-50%) translateY(0) scale(1) rotate(0deg); }
}

.ludo-pawn-wrapper.pawn-rewinding {
  filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.9)) drop-shadow(0 4px 6px rgba(0,0,0,0.5));
  opacity: 0.95;
  transition: all 0.075s ease-out;
  z-index: 60 !important;
}

/* Landing back into Yard Base Socket */
.ludo-pawn-wrapper.pawn-yard-land {
  animation: ludoPawnYardLand 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes ludoPawnYardLand {
  0% { transform: translateX(-50%) translateY(-26px) scale(1.28); opacity: 0.85; }
  60% { transform: translateX(-50%) translateY(3px) scale(0.92, 1.08); }
  80% { transform: translateX(-50%) translateY(-3px) scale(1.04, 0.96); }
  100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   LUDO CLUB CORNER PLAYER & DICE WIDGETS (Image 2 & 3 Exact Match)
   ═══════════════════════════════════════════════════════════ */
.ludo-corner-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  border: 2px solid rgba(250, 204, 21, 0.45);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  min-width: 0;
  box-sizing: border-box;
  flex-shrink: 0;
}

.ludo-corner-widget.corner-red {
  border-color: rgba(234, 67, 53, 0.65);
}
.ludo-corner-widget.corner-green {
  border-color: rgba(30, 142, 62, 0.65);
}
.ludo-corner-widget.corner-yellow {
  border-color: rgba(251, 188, 4, 0.65);
}
.ludo-corner-widget.corner-blue {
  border-color: rgba(26, 115, 232, 0.65);
}

.ludo-corner-widget.active-turn {
  border-color: #facc15 !important;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.8), inset 0 0 8px rgba(250, 204, 21, 0.35) !important;
  animation: ludoCornerPulse 1.6s infinite ease-in-out;
}

@keyframes ludoCornerPulse {
  0%, 100% {
    box-shadow: 0 0 14px rgba(250, 204, 21, 0.6), inset 0 0 6px rgba(250, 204, 21, 0.25);
  }
  50% {
    box-shadow: 0 0 24px rgba(250, 204, 21, 0.95), inset 0 0 12px rgba(250, 204, 21, 0.5);
  }
}

.ludo-corner-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ludo-corner-pin {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ludo-pin-svg {
  width: 24px;
  height: 30px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.ludo-corner-info {
  display: flex;
  flex-direction: column;
}

.ludo-corner-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  max-width: 175px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25;
}

.ludo-corner-team {
  font-size: 0.68rem;
  font-weight: 700;
  color: #facc15;
}

.ludo-corner-dice-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Orange Turn Arrow pointing towards dice (Image 2) */
.ludo-corner-arrow {
  display: none;
  align-items: center;
  justify-content: center;
}

.ludo-corner-widget.active-turn .ludo-corner-arrow {
  display: flex;
}

.ludo-corner-arrow.arrow-pointing-left {
  animation: ludoArrowBounceLeft 0.8s infinite alternate ease-in-out;
}

.ludo-corner-arrow.arrow-pointing-right {
  animation: ludoArrowBounceRight 0.8s infinite alternate ease-in-out;
}

@keyframes ludoArrowBounceLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-6px); }
}

@keyframes ludoArrowBounceRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(6px); }
}

.ludo-arrow-svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 4px rgba(249, 115, 22, 0.6));
}

/* Authentic Moonfrog Frog Paw Icon on Idle Dice (Image 3) */
.ludo-dice-idle-paw {
  grid-column: 1 / span 3;
  grid-row: 1 / span 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ludo-dice-paw-img {
  width: 26px;
  height: 29px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

/* 3D Corner Dice Button */
.corner-dice-btn {
  width: 44px;
  height: 44px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 60%, #e2e8f0 100%);
  border-radius: 12px;
  box-shadow: 
    0 4px 0 #0f172a,
    0 6px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px #fff,
    inset 0 -2px 3px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 5px;
  box-sizing: border-box;
  cursor: default;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  border: 1.5px solid #cbd5e1;
  position: relative;
}

.corner-dice-btn.can-roll {
  cursor: pointer;
  border-color: #facc15;
  animation: ludoCornerDicePulse 1s infinite alternate;
}

.corner-dice-btn.can-roll:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 0 #0f172a, 0 8px 16px rgba(250, 204, 21, 0.6);
}

.corner-dice-btn:active,
.corner-dice-btn.pressed {
  transform: translateY(3px) scale(0.96);
  box-shadow: 0 1px 0 #0f172a, 0 3px 6px rgba(0, 0, 0, 0.4);
}

@keyframes ludoCornerDicePulse {
  0% { box-shadow: 0 4px 0 #0f172a, 0 6px 12px rgba(0,0,0,0.4), 0 0 8px rgba(250,204,21,0.4); }
  100% { box-shadow: 0 4px 0 #0f172a, 0 8px 16px rgba(0,0,0,0.5), 0 0 18px rgba(250,204,21,0.9); }
}

/* Black Dice Pips */
.ludo-dice-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e293b;
  box-shadow: inset 0 1.5px 1.5px rgba(0, 0, 0, 0.85);
  justify-self: center;
  align-self: center;
}

/* Mid-Air 3D Tumble Roll with Motion Blur */
.corner-dice-btn.rolling {
  animation: ludoCornerDiceRoll 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  pointer-events: none;
}

@keyframes ludoCornerDiceRoll {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    filter: blur(0);
  }
  25% {
    transform: translateY(-22px) rotate(-180deg) scale(1.3);
    filter: blur(1px);
  }
  50% {
    transform: translateY(-32px) rotate(-360deg) scale(1.35);
    filter: blur(1.5px);
  }
  75% {
    transform: translateY(-10px) rotate(-540deg) scale(1.1);
    filter: blur(0.5px);
  }
  90% {
    transform: translateY(2px) rotate(-705deg) scale(0.96);
    filter: blur(0);
  }
  100% {
    transform: translateY(0) rotate(-720deg) scale(1);
    filter: blur(0);
  }
}

/* Event Toasts & Celebrations */
.ludo-event-toast-container {
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 50;
  pointer-events: none;
}

.ludo-event-toast {
  background: rgba(15, 23, 42, 0.92);
  border: 1.5px solid #fbc02d;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  animation: ludoToastIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), ludoToastOut 0.3s ease 2.2s forwards;
}

@keyframes ludoToastIn {
  0% { transform: translateY(-20px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes ludoToastOut {
  0% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10px); }
}

/* Victory Modal */
.ludo-victory-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.ludo-victory-card {
  background: #0f172a;
  border: 2.5px solid #fbc02d;
  border-radius: 22px;
  padding: 26px 30px;
  box-shadow: 0 0 35px rgba(251, 192, 45, 0.5), 0 20px 40px rgba(0, 0, 0, 0.85);
  text-align: center;
  max-width: 380px;
  width: 90%;
}

.ludo-victory-trophy {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.ludo-victory-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fef08a;
  margin-bottom: 16px;
}

.ludo-rankings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.ludo-rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(251, 192, 45, 0.25);
  border-radius: 10px;
}

.ludo-victory-btn {
  background: linear-gradient(135deg, #fbc02d, #f57f17);
  border: none;
  color: #000;
  font-weight: 900;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 127, 23, 0.5);
  transition: all 0.2s ease;
}

.ludo-victory-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 127, 23, 0.7);
}

/* Discord Activity Viewport Optimizations */
@media (max-width: 600px) {
  .ludo-board-wrapper {
    width: min(92vw, 52vh);
    height: min(92vw, 52vh);
    border-width: 6px;
  }
  .ludo-3d-dice-btn {
    width: 52px;
    height: 52px;
    padding: 6px;
  }
  .ludo-dice-pip {
    width: 7.5px;
    height: 7.5px;
  }
  .ludo-player-hub-box {
    width: 46px;
    height: 46px;
  }
}
