/* ===== STRIPPOKER ===== */
/* File: /games/strippoker/styles-strippoker.css */

/* ---------- Base ---------- */
#game-strippoker {
  width: 100%;
  height: 100%;
  background: #1a0510;
  overflow: hidden;
}

.strippoker-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 480px;
  background: radial-gradient(ellipse at 50% 0%, #3a0a20 0%, #1a0510 70%);
  font-family: 'Georgia', 'Times New Roman', serif;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  padding: 0 0 40px 0;
  box-sizing: border-box;
  overflow-x: visible;
  overflow-y: visible;
}

/* ---------- Header ---------- */
.strippoker-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 0;
  box-sizing: border-box;
}

.strippoker-title {
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 700;
  color: #ff8fb8;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  margin: 0;
}

.strippoker-mode-toggle {
  display: flex;
  gap: 6px;
}

.strippoker-mode-button {
  background: #2a0818;
  border: 2px solid #4a1430;
  border-radius: 8px;
  color: #c87aa0;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Arial Black', Arial, sans-serif;
  padding: 6px 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.15s;
}

.strippoker-mode-button.strippoker-mode-button-active {
  background: #4a1230;
  border-color: #e8336d;
  color: #ff8fb8;
}

.strippoker-mode-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ---------- Remaining Counter ---------- */
.strippoker-remaining {
  font-size: clamp(13px, 3vw, 16px);
  color: #c87aa0;
  font-family: Arial, sans-serif;
  padding: 10px 0 0;
  letter-spacing: 0.04em;
}

.strippoker-remaining strong {
  color: #ff8fb8;
}

/* ---------- Heart Scene ---------- */
.strippoker-scene {
  position: relative;
  width: min(340px, 90vw);
  margin: 16px auto 0;
  flex-shrink: 0;
}

/* Heart SVG container */
.strippoker-heart-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(160,0,60,0.5));
}

/* ---------- Lips Figure (pops up from the heart) ---------- */
.strippoker-lips-container {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 2;
  transition: top 0.05s;
}

.strippoker-lips-emoji {
  font-size: 64px;
  line-height: 1;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}

/* Lips pop animation */
@keyframes strippoker-pop-up {
  0%   { top: 65%; opacity: 0; transform: translateX(-50%) scale(0.5) rotate(-8deg); }
  40%  { top: 5%;  opacity: 1; transform: translateX(-50%) scale(1.18) rotate(4deg); }
  60%  { top: 1%;  transform: translateX(-50%) scale(1.05) rotate(-2deg); }
  80%  { top: 3%;  transform: translateX(-50%) scale(1.1) rotate(2deg); }
  100% { top: 5%;  transform: translateX(-50%) scale(1) rotate(0deg); }
}

.strippoker-lips-container.strippoker-lips-hidden {
  top: 65%;
  opacity: 0;
}

.strippoker-lips-container.strippoker-lips-popped {
  animation: strippoker-pop-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ---------- Finger Label ---------- */
.strippoker-slots-label {
  font-size: 12px;
  color: #a85878;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  margin: 6px 0 0;
  text-align: center;
}

/* ---------- Individual Slot (circular button) ---------- */
.strippoker-slot {
  position: absolute;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #2a0a18 0%, #1a0512 100%);
  border: 2px solid #4a1430;
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background 0.12s, border-color 0.12s, transform 0.08s;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.4);
  padding: 0;
  line-height: 1;
}

/* 24-slot mode: smaller buttons so the denser layout does not overlap */
.strippoker-slot.strippoker-slot-dense {
  width: 18px;
  height: 18px;
  border-width: 1px;
}

.strippoker-slot.strippoker-slot-dense .strippoker-slot-icon {
  font-size: 9px;
  width: 100%;
  text-align: center;
}

.strippoker-slot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.08), transparent);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}

.strippoker-slot:hover:not(.strippoker-slot-used):not(.strippoker-slot-popped) {
  background: linear-gradient(160deg, #4a1228 0%, #2a0a18 100%);
  border-color: #e8336d;
  transform: translate(-50%, -50%) scale(1.12);
}

.strippoker-slot:active:not(.strippoker-slot-used):not(.strippoker-slot-popped) {
  transform: translate(-50%, -50%) scale(0.9);
}

.strippoker-slot-icon {
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: transform 0.1s;
  position: relative;
  z-index: 1;
}

/* Used slot (finger poked in safely — button shrinks and fades) */
.strippoker-slot.strippoker-slot-used {
  background: linear-gradient(160deg, #1a0a14 0%, #100510 100%);
  border-color: #3a1228;
  cursor: default;
  opacity: 0.5;
  transition: background 0.32s, border-color 0.32s, opacity 0.32s, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translate(-50%, -50%) scale(0.82);
}

.strippoker-slot.strippoker-slot-used .strippoker-slot-icon {
  opacity: 0;
  transition: opacity 0.15s ease-out;
}

/* Popped slot (trigger finger — highlights red) */
.strippoker-slot.strippoker-slot-popped {
  background: linear-gradient(160deg, #5a0a30 0%, #2a0418 100%);
  border-color: #e8336d;
  cursor: default;
  opacity: 1;
  animation: strippoker-slot-shake 0.4s ease-out;
}

.strippoker-slot.strippoker-slot-popped .strippoker-slot-icon {
  opacity: 1;
}

@keyframes strippoker-slot-shake {
  0%, 100% { transform: translate(-50%, -50%); }
  20%       { transform: translate(-50%, -50%) translateX(-5px) rotate(-3deg); }
  40%       { transform: translate(-50%, -50%) translateX(5px) rotate(3deg); }
  60%       { transform: translate(-50%, -50%) translateX(-3px); }
  80%       { transform: translate(-50%, -50%) translateX(3px); }
}

/* ---------- Result Banner ---------- */
.strippoker-result-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 5, 16, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 200;
  gap: 16px;
  padding: 24px;
}

.strippoker-result-emoji {
  font-size: clamp(64px, 18vw, 110px);
  animation: strippoker-result-bounce 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes strippoker-result-bounce {
  from { transform: scale(0.3) rotate(-15deg); opacity: 0; }
  70%  { transform: scale(1.2) rotate(5deg); }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}

.strippoker-result-headline {
  font-size: clamp(22px, 6vw, 40px);
  font-weight: 700;
  color: #ff8fb8;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(232, 51, 109, 0.5);
  max-width: 360px;
}

.strippoker-result-button-row {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  margin-top: 8px;
}

.strippoker-result-button {
  flex: 1;
  background: #2a0818;
  border: 2px solid #4a1430;
  border-radius: 10px;
  color: #ff8fb8;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Arial Black', Arial, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}

.strippoker-result-button:active {
  background: #4a1230;
}

.strippoker-result-button-primary {
  background: linear-gradient(135deg, #a3134f 0%, #e8336d 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 18px rgba(232, 51, 109, 0.35);
}

.strippoker-result-button-primary:active {
  opacity: 0.85;
}


