/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/cup-and-ball/cup-and-ball.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
.cup-and-ball_gameArea__bWNbL {
  position: relative;
  width: 100%;
  height: 280px;
  margin: 0 auto 2rem;
  perspective: 1200px;
}

@media (min-width: 640px) {
  .cup-and-ball_gameArea__bWNbL {
    height: 350px;
  }
}

.cup-and-ball_table__6DOCX {
  position: absolute;
  width: 100%;
  height: 200px;
  bottom: 0;
  background: linear-gradient(to bottom, #e9ecef, #dee2e6);
  border-radius: 8px;
  transform: rotateX(45deg);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #dee2e6;
}

/* Cup wrapper */
.cup-and-ball_cupWrapper__hQhlo {
  position: absolute;
  width: 90px;
  height: 130px;
  top: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, left;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 640px) {
  .cup-and-ball_cupWrapper__hQhlo {
    width: 120px;
    height: 160px;
    top: 60px;
  }
}

.cup-and-ball_cupWrapper__hQhlo:hover {
  transform: translateY(-10px);
}

.cup-and-ball_cupWrapper__hQhlo:active {
  transform: translateY(-6px);
}

/* Cup */
.cup-and-ball_cup__0Yr_0 {
  position: relative;
  width: 80px;
  height: 110px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center bottom;
}

@media (min-width: 640px) {
  .cup-and-ball_cup__0Yr_0 {
    width: 100px;
    height: 140px;
  }
}

.cup-and-ball_cupSide__VfXpn {
  position: absolute;
  background: var(--primary);
  border-radius: 0 0 50% 50% / 0 0 20% 20%;
  width: 80px;
  height: 110px;
  opacity: 0.9;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (min-width: 640px) {
  .cup-and-ball_cupSide__VfXpn {
    width: 100px;
    height: 140px;
  }
}

.cup-and-ball_cupFront__WCRvZ {
  transform: translateZ(40px);
}

@media (min-width: 640px) {
  .cup-and-ball_cupFront__WCRvZ {
    transform: translateZ(50px);
  }
}

.cup-and-ball_cupBack__lUs25 {
  transform: translateZ(-40px) rotateY(180deg);
}

@media (min-width: 640px) {
  .cup-and-ball_cupBack__lUs25 {
    transform: translateZ(-50px) rotateY(180deg);
  }
}

.cup-and-ball_cupRight__WRyVr {
  width: 80px;
  height: 110px;
  transform: rotateY(90deg) translateZ(40px);
}

@media (min-width: 640px) {
  .cup-and-ball_cupRight__WRyVr {
    width: 100px;
    height: 140px;
    transform: rotateY(90deg) translateZ(50px);
  }
}

.cup-and-ball_cupLeft__hoERs {
  width: 80px;
  height: 110px;
  transform: rotateY(-90deg) translateZ(40px);
}

@media (min-width: 640px) {
  .cup-and-ball_cupLeft__hoERs {
    width: 100px;
    height: 140px;
    transform: rotateY(-90deg) translateZ(50px);
  }
}

.cup-and-ball_cupTop__UFXjK {
  width: 80px;
  height: 80px;
  background: transparent;
  border: 5px solid var(--primary);
  border-radius: 50%;
  transform: rotateX(90deg) translateZ(-5px);
}

@media (min-width: 640px) {
  .cup-and-ball_cupTop__UFXjK {
    width: 100px;
    height: 100px;
  }
}

.cup-and-ball_cupBottom__pFlf2 {
  width: 55px;
  height: 55px;
  background: var(--primary-dark);
  border-radius: 50%;
  transform: rotateX(90deg) translateZ(110px) translateX(12px);
}

@media (min-width: 640px) {
  .cup-and-ball_cupBottom__pFlf2 {
    width: 70px;
    height: 70px;
    transform: rotateX(90deg) translateZ(140px) translateX(15px);
  }
}

/* Cup detail lines */
.cup-and-ball_cupSide__VfXpn::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
}

.cup-and-ball_cupSide__VfXpn::after {
  content: '';
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
}

.cup-and-ball_cupShine__R8_pk {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%);
  border-radius: 0 0 50% 50% / 0 0 20% 20%;
  pointer-events: none;
}

/* Ball */
.cup-and-ball_ball__5RQBv {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 90px;
  left: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd166, #f4a261);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: none;
}

@media (min-width: 640px) {
  .cup-and-ball_ball__5RQBv {
    width: 40px;
    height: 40px;
    top: 120px;
    left: 40px;
  }
}

/* Show state — lift cup and reveal ball */
.cup-and-ball_show__fJ91s .cup-and-ball_cup__0Yr_0 {
  transform: translateY(-80px);
}

.cup-and-ball_show__fJ91s .cup-and-ball_ball__5RQBv {
  display: block;
}

/* Confetti */
.cup-and-ball_confetti__1Ro1p {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

