/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./app/games/texas-holdem/texas-holdem.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
.texas-holdem_wrapper__r3B2q {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(145deg, #0d3320 0%, #071a0f 100%);
  color: white;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  position: relative;
  padding: 6px;
  gap: 4px;
}

/* ── HUD ── */
.texas-holdem_hud__gFmp8 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  width: 100%;
  max-width: 420px;
  flex-shrink: 0;
  gap: 8px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.texas-holdem_hudLeft__VWhjG {
  display: flex;
  gap: 16px;
  align-items: center;
}

.texas-holdem_statItem__LnAKM {
  text-align: center;
}

.texas-holdem_statLabel__NhFDj {
  font-size: 0.55rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
}

.texas-holdem_statValue__lYV83 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #d4af37;
  font-variant-numeric: tabular-nums;
}

.texas-holdem_newGameBtn__SnBKS {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.texas-holdem_newGameBtn__SnBKS:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

/* ── Table ── */
.texas-holdem_table__JgUg2 {
  position: relative;
  width: 100%;
  max-width: 420px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* ── Player Areas ── */
.texas-holdem_playerArea__UltoA {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.texas-holdem_playerActive__n2MmV {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.texas-holdem_playerFolded__OoBbe {
  opacity: 0.35;
}

.texas-holdem_playerEliminated__cqo1X {
  opacity: 0.2;
}

.texas-holdem_playerInfo__zr0zj {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.texas-holdem_playerName__J77dr {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.texas-holdem_playerChips__uLhwK {
  font-size: 0.6rem;
  color: #d4af37;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.texas-holdem_playerBet___5ffw {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
}

.texas-holdem_dealerChip__Sn8DU {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d4af37, #b8960c);
  color: #1a1a2e;
  font-size: 0.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ── Hole Cards ── */
.texas-holdem_holeCards__vT_Io {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

/* ── Cards ── */
.texas-holdem_card__VWkxU {
  width: 42px;
  height: 60px;
  border-radius: 4px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.texas-holdem_cardRed__G5mSW {
  color: #c0392b;
}

.texas-holdem_cardBlack__nEomO {
  color: #1a1a2e;
}

.texas-holdem_cardCorner__lVFvk {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.texas-holdem_cardCornerBottom__HpL5P {
  align-self: flex-end;
  transform: rotate(180deg);
}

.texas-holdem_cardRank__qp1wO {
  font-size: 0.6rem;
  font-weight: 800;
}

.texas-holdem_cardSuitSmall__3paK5 {
  font-size: 0.5rem;
  line-height: 1;
}

.texas-holdem_cardCenter__qzUey {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}

.texas-holdem_cardBack___ymc9 {
  background: linear-gradient(145deg, #1a3a6b, #0d2247);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.texas-holdem_cardBackPattern__A7VHo {
  position: absolute;
  inset: 3px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.03) 3px,
    rgba(255, 255, 255, 0.03) 6px
  );
}

.texas-holdem_cardSmall__2YNK5 {
  width: 34px;
  height: 50px;
}

.texas-holdem_cardSmall__2YNK5 .texas-holdem_cardRank__qp1wO {
  font-size: 0.5rem;
}

.texas-holdem_cardSmall__2YNK5 .texas-holdem_cardSuitSmall__3paK5 {
  font-size: 0.4rem;
}

.texas-holdem_cardSmall__2YNK5 .texas-holdem_cardCenter__qzUey {
  font-size: 0.8rem;
}

/* ── North Player (top) ── */
.texas-holdem_northArea__YEpQ1 {
  display: flex;
  justify-content: center;
  padding: 2px 0;
}

/* ── Middle Row (West, Center, East) ── */
.texas-holdem_middleRow__MBDmz {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-height: 0;
}

.texas-holdem_westArea__64Ta_ {
  flex-shrink: 0;
  width: 90px;
}

.texas-holdem_eastArea__DttHM {
  flex-shrink: 0;
  width: 90px;
}

/* ── Center (Community + Pot) ── */
.texas-holdem_centerArea__57Ica {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.texas-holdem_communityCards__Jrdtr {
  display: flex;
  gap: 3px;
  justify-content: center;
  min-height: 60px;
  align-items: center;
}

.texas-holdem_communitySlot__UMArf {
  width: 42px;
  height: 60px;
  border-radius: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.texas-holdem_potDisplay__lVjdV {
  text-align: center;
  padding: 3px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.texas-holdem_potLabel__YxMD4 {
  font-size: 0.5rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
}

.texas-holdem_potAmount__S0tN4 {
  font-size: 1rem;
  font-weight: 800;
  color: #d4af37;
  font-variant-numeric: tabular-nums;
}

/* ── South Player (bottom) ── */
.texas-holdem_southArea__qbJBI {
  display: flex;
  justify-content: center;
  padding: 2px 0;
}

.texas-holdem_southPlayerArea__ZoDyA {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Message ── */
.texas-holdem_message__oDjW9 {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  min-height: 20px;
  padding: 2px 0;
}

.texas-holdem_messageHighlight__BOoM7 {
  color: #d4af37;
}

/* ── Action Bar ── */
.texas-holdem_actionBar__TfeoA {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
  max-width: 420px;
  width: 100%;
  min-height: 44px;
  padding: 4px 0;
}

.texas-holdem_actionBtn__Jopbj {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.texas-holdem_actionBtn__Jopbj:hover {
  transform: translateY(-1px);
}

.texas-holdem_actionBtn__Jopbj:active {
  transform: translateY(0);
}

.texas-holdem_actionBtn__Jopbj:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none !important;
}

.texas-holdem_btnFold__FrTsG {
  background: linear-gradient(145deg, #e74c3c, #c0392b);
  color: white;
}

.texas-holdem_btnCheck__i_oI9 {
  background: linear-gradient(145deg, #3498db, #2471a3);
  color: white;
}

.texas-holdem_btnCall__NidgK {
  background: linear-gradient(145deg, #3498db, #2471a3);
  color: white;
}

.texas-holdem_btnRaise__1iIgB {
  background: linear-gradient(145deg, #27ae60, #1e8449);
  color: white;
}

.texas-holdem_btnAllIn__fmKDh {
  background: linear-gradient(145deg, #d4af37, #b8960c);
  color: #1a1a2e;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.texas-holdem_btnDeal__Rfkjq {
  padding: 10px 32px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(145deg, #d4af37, #b8960c);
  color: #1a1a2e;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.texas-holdem_btnDeal__Rfkjq:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.texas-holdem_btnDeal__Rfkjq:active {
  transform: translateY(0);
}

.texas-holdem_btnDeal__Rfkjq:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Raise Controls ── */
.texas-holdem_raiseControls__4EIcA {
  display: flex;
  align-items: center;
  gap: 6px;
}

.texas-holdem_raiseInput__YFxPX {
  width: 60px;
  padding: 6px 4px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.texas-holdem_raiseInput__YFxPX:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.5);
}

.texas-holdem_raisePreset__u1kiK {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.55rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.texas-holdem_raisePreset__u1kiK:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

/* ── Showdown ── */
.texas-holdem_showdownLabel__qUHch {
  font-size: 0.55rem;
  font-weight: 700;
  color: #d4af37;
  text-align: center;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.texas-holdem_winnerGlow__9dq2d {
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
  border-color: #d4af37 !important;
}

/* ── Result Overlay ── */
.texas-holdem_resultBadge__Fh_av {
  padding: 4px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
  animation: texas-holdem_resultPop__eZNCt 0.4s ease-out;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.texas-holdem_resultWin__RIdi8 {
  color: #ffd700;
}

.texas-holdem_resultLose__QGhiv {
  color: #e74c3c;
}

@keyframes texas-holdem_resultPop__eZNCt {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes texas-holdem_dealIn__FtPCs {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.texas-holdem_cardDeal__mytMy {
  animation: texas-holdem_dealIn__FtPCs 0.25s ease-out;
}

@keyframes texas-holdem_potPulse__JJT1F {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.texas-holdem_potPulse__JJT1F {
  animation: texas-holdem_potPulse__JJT1F 0.3s ease-in-out;
}

/* ── Game Over Overlay ── */
.texas-holdem_overlay__p9k6j {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 50;
  gap: 16px;
}

.texas-holdem_overlayTitle__Qz7fT {
  font-size: 1.8rem;
  font-weight: 900;
  color: #d4af37;
  text-align: center;
}

.texas-holdem_overlaySubtitle__u3ceX {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.texas-holdem_overlayBtn__0W53s {
  padding: 12px 40px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(145deg, #d4af37, #b8960c);
  color: #1a1a2e;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .texas-holdem_wrapper__r3B2q {
    padding: 4px;
    gap: 3px;
  }

  .texas-holdem_card__VWkxU {
    width: 36px;
    height: 52px;
  }

  .texas-holdem_cardRank__qp1wO {
    font-size: 0.5rem;
  }

  .texas-holdem_cardSuitSmall__3paK5 {
    font-size: 0.4rem;
  }

  .texas-holdem_cardCenter__qzUey {
    font-size: 0.85rem;
  }

  .texas-holdem_cardSmall__2YNK5 {
    width: 30px;
    height: 44px;
  }

  .texas-holdem_cardSmall__2YNK5 .texas-holdem_cardCenter__qzUey {
    font-size: 0.7rem;
  }

  .texas-holdem_communitySlot__UMArf {
    width: 36px;
    height: 52px;
  }

  .texas-holdem_westArea__64Ta_ {
    width: 76px;
  }

  .texas-holdem_eastArea__DttHM {
    width: 76px;
  }

  .texas-holdem_actionBtn__Jopbj {
    padding: 6px 10px;
    font-size: 0.65rem;
  }

  .texas-holdem_btnDeal__Rfkjq {
    padding: 8px 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .texas-holdem_card__VWkxU {
    width: 32px;
    height: 46px;
  }

  .texas-holdem_cardSmall__2YNK5 {
    width: 26px;
    height: 38px;
  }

  .texas-holdem_communitySlot__UMArf {
    width: 32px;
    height: 46px;
  }

  .texas-holdem_playerName__J77dr {
    font-size: 0.55rem;
  }

  .texas-holdem_playerChips__uLhwK {
    font-size: 0.5rem;
  }

  .texas-holdem_westArea__64Ta_ {
    width: 66px;
  }

  .texas-holdem_eastArea__DttHM {
    width: 66px;
  }
}

