/* ==========================================================================
   Funny's Snack — Oyna Kazan (Çilek hangi bardakta?)
   ========================================================================== */

.game {
  padding-bottom: 140px;
}

.game-card {
  padding: 40px 48px 44px;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  text-align: center;
}

.game-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.game-card__eyebrow {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.game-card__title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 30px;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--c-red);
}

.game-card__text {
  max-width: 460px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.game-card__text strong {
  font-weight: 500;
  color: #000;
}

.game-card__rights {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--c-bg);
  font-size: 14px;
  white-space: nowrap;
}

.game-card__rights strong {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 900;
  font-size: 18px;
  color: var(--c-red);
}

/* Board
   ========================================================================== */

.game-board {
  --cup-w: 150px;
  --gap: 56px;
  position: relative;
  width: calc(var(--cup-w) * 3 + var(--gap) * 2);
  max-width: 100%;
  height: 230px;
  margin: 36px auto 0;
}

/* Bardaklar "slot"a göre konumlanır; karıştırırken sadece --slot değişir */
.cup {
  --slot: 0;
  position: absolute;
  bottom: 0;
  left: calc((100% - var(--cup-w)) / 2 * var(--slot));
  width: var(--cup-w);
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  transition: left .32s ease-in-out;
}

.game-board.is-fast .cup {
  transition-duration: .22s;
}

.cup:not(:disabled) {
  cursor: pointer;
}

.cup__body {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  transition: transform .4s cubic-bezier(.3, 1.4, .5, 1);
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .15));
}

.cup__prize {
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 60px;
  transform: translateX(-50%);
}

/* Kaldırılmış bardak */
.cup.is-up .cup__body {
  transform: translateY(-78px) rotate(-6deg);
}

/* Seçim sırasında üzerine gelinen bardak: kalkmaz (çilek görünmesin), hafif büyür */
.cup__body {
  transform-origin: 50% 100%;
}

.game-board.is-picking .cup:hover .cup__body,
.game-board.is-picking .cup:focus-visible .cup__body {
  transform: scale(1.05);
  filter: drop-shadow(0 14px 14px rgba(234, 71, 82, .35));
}

.cup:focus-visible {
  outline: 3px solid var(--c-navy);
  outline-offset: 6px;
  border-radius: 12px;
}

.cup.is-wrong .cup__body {
  animation: cup-shake .4s ease;
}

@keyframes cup-shake {
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* Status & button
   ========================================================================== */

.game-card__status {
  min-height: 1.5em;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 400;
}

.game-card__status.is-win {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--c-red);
  animation: game-pop .4s ease;
}

.game-card__status.is-lose {
  font-weight: 500;
  color: #000;
}

@keyframes game-pop {
  from { opacity: 0; transform: scale(.8); }
}

.game-card__btn {
  margin-top: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .cup,
  .cup__body {
    transition-duration: .01s;
  }
}

/* Responsive
   ========================================================================== */

@media (max-width: 767px) {
  .game {
    padding-bottom: 80px;
  }

  .game-card {
    padding: 28px 18px 32px;
  }

  .game-card__head {
    flex-direction: column;
    gap: 14px;
  }

  .game-card__title {
    font-size: 22px;
  }

  .game-board {
    --cup-w: 92px;
    --gap: 14px;
    height: 160px;
  }

  .cup__prize {
    width: 40px;
  }

  .cup.is-up .cup__body {
    transform: translateY(-52px) rotate(-6deg);
  }

  .game-card__btn {
    width: 100%;
  }
}
