/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/flappy-bird/flappy.module.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
.flappy_wrapper__aUgTs {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  background: linear-gradient(180deg, #87CEEB 0%, #98D8E8 50%, #B0E0E6 100%);
  overflow: hidden;
}

.flappy_container__1iddD {
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
.flappy_header__sgxqm {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}

.flappy_titleBlock__QiYpn h1 {
  font-family: var(--font-raleway, sans-serif);
  font-weight: 900;
  font-size: 1.5rem;
  color: #2d5a27;
  line-height: 1;
  text-shadow: 2px 2px 0 #fff;
}

.flappy_subtitle__i2XSx {
  font-size: 0.7rem;
  color: #4a7c43;
  margin-top: 2px;
}

.flappy_stats__IvL0u {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.flappy_stat__DCZWr {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.flappy_statLabel__fPOXt {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #4a7c43;
}

.flappy_statValue__jcPjX {
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d5a27;
  text-shadow: 1px 1px 0 #fff;
}

/* Game area */
.flappy_gameArea__HGsnH {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 0.6;
  background: linear-gradient(180deg, #4EC0CA 0%, #71C5CF 60%, #DED895 95%, #8B7355 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  touch-action: manipulation;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Ground */
.flappy_ground__LF53S {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12%;
  background: linear-gradient(180deg, #DED895 0%, #C4A76C 20%, #8B7355 100%);
  z-index: 50;
}

.flappy_groundPattern__eMp0c {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #90EE90 0px,
    #90EE90 20px,
    #228B22 20px,
    #228B22 40px
  );
  animation: flappy_scrollGround__kQD_H 0.5s linear infinite;
}

@keyframes flappy_scrollGround__kQD_H {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}

.flappy_groundPattern__eMp0c.flappy_paused__p3ijg {
  animation-play-state: paused;
}

/* Bird */
.flappy_bird__esTEX {
  position: absolute;
  width: 40px;
  height: 30px;
  z-index: 40;
  transition: transform 0.1s linear;
}

.flappy_birdBody__XhhmH {
  position: absolute;
  width: 34px;
  height: 26px;
  background: linear-gradient(180deg, #F7DC6F 0%, #F39C12 100%);
  border-radius: 50%;
  left: 0;
  top: 2px;
  box-shadow:
    inset -3px -3px 6px rgba(0, 0, 0, 0.2),
    inset 3px 3px 6px rgba(255, 255, 255, 0.3);
}

.flappy_birdWing__EfFKw {
  position: absolute;
  width: 16px;
  height: 10px;
  background: linear-gradient(180deg, #E67E22 0%, #D35400 100%);
  border-radius: 50%;
  left: 6px;
  top: 12px;
  transform-origin: right center;
  animation: flappy_flap__dzYHo 0.15s ease-in-out infinite alternate;
}

@keyframes flappy_flap__dzYHo {
  from { transform: rotate(-20deg); }
  to { transform: rotate(20deg); }
}

.flappy_birdWing__EfFKw.flappy_paused__p3ijg {
  animation-play-state: paused;
}

.flappy_birdEye__JUCJJ {
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  right: 4px;
  top: 5px;
}

.flappy_birdEye__JUCJJ::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: #1a1a1a;
  border-radius: 50%;
  right: 1px;
  top: 2px;
}

.flappy_birdBeak__CzSNC {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 12px solid #E74C3C;
  right: -8px;
  top: 10px;
}

/* Pipe */
.flappy_pipe__XNfC2 {
  position: absolute;
  width: 52px;
  z-index: 30;
}

.flappy_pipeBody__WLvL9 {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #2ECC71 0%, #27AE60 50%, #1E8449 100%);
  border: 3px solid #1a5d2e;
}

.flappy_pipeCap__qMrP7 {
  position: absolute;
  left: -4px;
  width: 60px;
  height: 24px;
  background: linear-gradient(90deg, #2ECC71 0%, #27AE60 50%, #1E8449 100%);
  border: 3px solid #1a5d2e;
  border-radius: 3px;
}

.flappy_pipeTop__zE1wZ .flappy_pipeCap__qMrP7 {
  bottom: -3px;
}

.flappy_pipeBottom__DHHck .flappy_pipeCap__qMrP7 {
  top: -3px;
}

/* Score display in game */
.flappy_scoreDisplay__2361f {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Courier New', monospace;
  font-size: 4rem;
  font-weight: 900;
  color: white;
  text-shadow:
    3px 3px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000;
  z-index: 60;
}

/* Controls */
.flappy_controls__2Uacx {
  display: flex;
  gap: 8px;
  margin-top: 0.75rem;
  width: 100%;
  max-width: 300px;
  justify-content: center;
}

.flappy_controlBtn__XMH9W {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 16px;
  border: 2px solid #2d5a27;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  transition: all 0.15s;
  flex: 1;
  min-width: 80px;
}

.flappy_controlBtn__XMH9W:active {
  background: #e8f5e9;
}

.flappy_controlIcon__cCc3k {
  font-size: 1.3rem;
}

.flappy_controlLabel__22rHD {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #4a7c43;
}

/* Start screen */
.flappy_startScreen__5lyO7 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 100;
}

.flappy_startTitle__i1Miu {
  font-family: var(--font-raleway, sans-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: #F7DC6F;
  text-shadow:
    3px 3px 0 #2d5a27,
    -1px -1px 0 #2d5a27,
    1px -1px 0 #2d5a27,
    -1px 1px 0 #2d5a27;
}

.flappy_startInstructions__WrDwy {
  color: white;
  font-size: 0.95rem;
  text-align: center;
  max-width: 280px;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.flappy_startBtn__tIRwL {
  background: linear-gradient(180deg, #F7DC6F 0%, #F39C12 100%);
  color: #2d5a27;
  border: 3px solid #2d5a27;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.2s;
  text-shadow: none;
}

.flappy_startBtn__tIRwL:hover {
  transform: scale(1.05);
}

/* Game over overlay */
.flappy_overlay__Iv9pn {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.flappy_modal__4h__j {
  background: linear-gradient(180deg, #87CEEB 0%, #71C5CF 100%);
  border: 4px solid #2d5a27;
  border-radius: 16px;
  padding: 32px;
  max-width: 320px;
  width: 90%;
  text-align: center;
}

.flappy_modal__4h__j h2 {
  font-family: var(--font-raleway, sans-serif);
  font-weight: 900;
  font-size: 2rem;
  color: #c0392b;
  margin-bottom: 8px;
  text-shadow: 2px 2px 0 #fff;
}

.flappy_modal__4h__j p {
  color: #2d5a27;
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.flappy_modalStats__iAbxN {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 20px;
}

.flappy_modalStat__AzSGL {
  text-align: center;
}

.flappy_modalStatValue__A6Qqm {
  font-size: 2.5rem;
  font-weight: 900;
  color: #2d5a27;
  text-shadow: 2px 2px 0 #fff;
}

.flappy_modalStatLabel__s2UdR {
  font-size: 0.75rem;
  color: #4a7c43;
  text-transform: uppercase;
  font-weight: 700;
}

.flappy_newRecord__trB7n {
  color: #f39c12;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 4px;
}

.flappy_btn__2fvbf {
  background: linear-gradient(180deg, #2ECC71 0%, #27AE60 100%);
  color: white;
  border: 3px solid #1a5d2e;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s;
  width: 100%;
}

.flappy_btn__2fvbf:hover {
  transform: scale(1.02);
}

/* Medal */
.flappy_medal__nJyx4 {
  font-size: 3rem;
  margin-bottom: 8px;
}

/* Clouds (decorative) */
.flappy_cloud__WzLRY {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  z-index: 5;
}

.flappy_cloud__WzLRY::before,
.flappy_cloud__WzLRY::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 450px) {
  .flappy_wrapper__aUgTs {
    padding: 0.25rem;
  }

  .flappy_titleBlock__QiYpn h1 {
    font-size: 1.3rem;
  }

  .flappy_gameArea__HGsnH {
    border-radius: 8px;
  }

  .flappy_bird__esTEX {
    width: 35px;
    height: 26px;
  }

  .flappy_birdBody__XhhmH {
    width: 30px;
    height: 22px;
  }

  .flappy_pipe__XNfC2 {
    width: 46px;
  }

  .flappy_pipeCap__qMrP7 {
    width: 54px;
    height: 20px;
  }

  .flappy_scoreDisplay__2361f {
    font-size: 3rem;
  }

  .flappy_controlBtn__XMH9W {
    padding: 8px 12px;
    min-width: 70px;
  }

  .flappy_controlIcon__cCc3k {
    font-size: 1.1rem;
  }

  .flappy_controlLabel__22rHD {
    font-size: 0.5rem;
  }
}

