/*!*********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/dino-runner/dino.module.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************/
.dino_wrapper__7L_De {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  background: #f7f7f7;
  transition: background 0.5s;
}

.dino_wrapperNight__F6QSu {
  background: #1a1a1a;
}

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

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

.dino_titleBlock__NmxGS h1 {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  color: #535353;
  line-height: 1;
  transition: color 0.5s;
}

.dino_titleBlockNight__zZw1j h1 {
  color: #a0a0a0;
}

.dino_subtitle__228o5 {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: #757575;
  margin-top: 2px;
}

.dino_stats____3h3 {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

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

.dino_statLabel__B4Y_D {
  font-family: 'Courier New', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #757575;
}

.dino_statValue__XjoUv {
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: #535353;
  letter-spacing: 2px;
  transition: color 0.5s;
}

.dino_statValueNight__qy2gn {
  color: #a0a0a0;
}

/* Game area */
.dino_gameArea___RLgi {
  position: relative;
  width: 100%;
  max-width: 650px;
  height: 200px;
  background: #f7f7f7;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.5s;
}

.dino_gameAreaNight__PQyNC {
  background: #1a1a1a;
}

/* Ground */
.dino_ground__oOwS0 {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #535353;
  transition: background 0.5s;
}

.dino_groundNight__w9lLN {
  background: #a0a0a0;
}

.dino_groundTexture__Rh0qs {
  position: absolute;
  bottom: 22px;
  left: 0;
  width: 200%;
  height: 12px;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 3px,
    #535353 3px,
    #535353 4px,
    transparent 4px,
    transparent 20px
  );
  animation: dino_scrollGround__2vlnZ 0.3s linear infinite;
  transition: background 0.5s;
}

.dino_groundTextureNight__1KkB_ {
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 3px,
    #a0a0a0 3px,
    #a0a0a0 4px,
    transparent 4px,
    transparent 20px
  );
}

@keyframes dino_scrollGround__2vlnZ {
  from { transform: translateX(0); }
  to { transform: translateX(-20px); }
}

.dino_groundTexture__Rh0qs.dino_paused__EPYrs {
  animation-play-state: paused;
}

/* Dino */
.dino_dino__ZIYb_ {
  position: absolute;
  bottom: 22px;
  left: 50px;
  width: 44px;
  height: 47px;
  transition: transform 0.05s linear;
}

.dino_dinoDucking__AL48Y {
  width: 59px;
  height: 30px;
}

/* Pixel art dino using box shadows */
.dino_dinoSprite__Y5n4f {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #535353;
  transition: background 0.5s;
  /* Simple dino shape */
  clip-path: polygon(
    /* Head */
    60% 0%, 100% 0%, 100% 30%, 95% 30%, 95% 35%, 90% 35%, 90% 25%, 60% 25%,
    /* Body */
    60% 25%, 60% 45%, 25% 45%, 25% 55%, 0% 55%, 0% 75%, 15% 75%, 15% 85%, 0% 85%, 0% 100%,
    /* Back leg */
    15% 100%, 15% 85%, 25% 85%, 25% 75%, 35% 75%, 35% 100%,
    /* Front leg */
    55% 100%, 55% 75%, 65% 75%, 65% 85%, 75% 85%, 75% 100%, 85% 100%,
    /* Tail */
    85% 75%, 60% 75%, 60% 55%, 80% 55%, 80% 45%, 60% 45%
  );
}

.dino_dinoSpriteNight__2CWtw {
  background-color: #a0a0a0;
}

/* Simplified running animation via leg movement */
.dino_dinoLeg___Z3mm {
  position: absolute;
  bottom: 0;
  width: 10px;
  height: 20px;
  background: #535353;
  transition: background 0.5s;
}

.dino_dinoLegNight__5OYQq {
  background: #a0a0a0;
}

.dino_dinoLegLeft__fnZLZ {
  left: 8px;
  animation: dino_runLeft__G48Uh 0.1s steps(2) infinite;
}

.dino_dinoLegRight__UlNLf {
  left: 22px;
  animation: dino_runRight___fxi5 0.1s steps(2) infinite;
}

@keyframes dino_runLeft__G48Uh {
  0%, 50% { height: 20px; }
  51%, 100% { height: 12px; }
}

@keyframes dino_runRight___fxi5 {
  0%, 50% { height: 12px; }
  51%, 100% { height: 20px; }
}

.dino_dinoLeg___Z3mm.dino_paused__EPYrs {
  animation-play-state: paused;
}

/* Eye */
.dino_dinoEye__8w1RA {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  background: #f7f7f7;
  transition: background 0.5s;
}

.dino_dinoEyeNight__pkKs8 {
  background: #1a1a1a;
}

/* Cactus */
.dino_cactus__IXWxR {
  position: absolute;
  bottom: 22px;
  background: #535353;
  transition: background 0.5s;
}

.dino_cactusNight__jxrUD {
  background: #a0a0a0;
}

.dino_cactusSmall__1TVv7 {
  width: 17px;
  height: 35px;
  clip-path: polygon(
    35% 0%, 65% 0%, 65% 40%, 100% 40%, 100% 55%, 65% 55%, 65% 100%,
    35% 100%, 35% 55%, 0% 55%, 0% 40%, 35% 40%
  );
}

.dino_cactusTall__mlwU6 {
  width: 25px;
  height: 50px;
  clip-path: polygon(
    35% 0%, 65% 0%, 65% 30%, 100% 30%, 100% 45%, 65% 45%, 65% 100%,
    35% 100%, 35% 60%, 0% 60%, 0% 45%, 35% 45%
  );
}

.dino_cactusGroup__1GFA8 {
  width: 50px;
  height: 35px;
}

/* Pterodactyl */
.dino_pterodactyl__2mWxf {
  position: absolute;
  width: 46px;
  height: 40px;
}

.dino_pterodactylBody__kSzgY {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #535353;
  transition: background 0.5s;
  clip-path: polygon(
    /* Beak */
    0% 45%, 20% 40%, 20% 50%,
    /* Head and body */
    20% 35%, 35% 30%, 60% 30%, 80% 35%, 100% 40%,
    100% 55%, 80% 60%, 60% 60%, 35% 55%, 20% 50%
  );
}

.dino_pterodactylBodyNight__psMkQ {
  background: #a0a0a0;
}

.dino_pterodactylWing__BC22D {
  position: absolute;
  left: 25%;
  width: 50%;
  height: 20px;
  background: #535353;
  transition: background 0.5s;
  transform-origin: center bottom;
  animation: dino_flapWing__h_Het 0.2s ease-in-out infinite alternate;
}

.dino_pterodactylWingNight__uWPD1 {
  background: #a0a0a0;
}

.dino_pterodactylWingUp__GtHxF {
  top: 5px;
  clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
}

@keyframes dino_flapWing__h_Het {
  from { transform: scaleY(1); }
  to { transform: scaleY(-0.5); }
}

/* Clouds */
.dino_cloud__u5rVC {
  position: absolute;
  background: #e0e0e0;
  border-radius: 10px;
  transition: background 0.5s;
}

.dino_cloudNight__aQkKV {
  background: #3a3a3a;
}

/* Score display in game */
.dino_scoreDisplay__t2ex9 {
  position: absolute;
  top: 10px;
  right: 15px;
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: #535353;
  letter-spacing: 2px;
  transition: color 0.5s;
}

.dino_scoreDisplayNight__tBY4M {
  color: #a0a0a0;
}

/* High score flash */
.dino_hiScore__mBfbX {
  position: absolute;
  top: 10px;
  right: 100px;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #757575;
  letter-spacing: 1px;
}

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

.dino_controlBtn__w8TNN {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 16px;
  border: 2px solid #535353;
  border-radius: 4px;
  background: transparent;
  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: 70px;
}

.dino_controlBtn__w8TNN:active {
  background: rgba(83, 83, 83, 0.1);
}

.dino_controlIcon__SQ7w4 {
  font-size: 1.3rem;
}

.dino_controlLabel__bfG2k {
  font-family: 'Courier New', monospace;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #757575;
}

/* Start screen */
.dino_startScreen__CiEOi {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 100;
}

.dino_startDino__hs7mW {
  width: 44px;
  height: 47px;
  position: relative;
}

.dino_startText__l3Plb {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #535353;
  text-align: center;
}

/* Game over */
.dino_gameOverText__FL_0g {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: #535353;
  letter-spacing: 2px;
  z-index: 100;
  transition: color 0.5s;
}

.dino_gameOverTextNight__cppLK {
  color: #a0a0a0;
}

.dino_restartIcon__HwLMs {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 32px;
  border: 2px solid #535353;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  background: transparent;
  transition: border-color 0.5s;
}

.dino_restartIconNight__YbLK1 {
  border-color: #a0a0a0;
}

.dino_restartArrow__KTfXn {
  font-size: 1.2rem;
  color: #535353;
  transition: color 0.5s;
}

.dino_restartArrowNight__pjsoE {
  color: #a0a0a0;
}

/* Moon and stars for night mode */
.dino_moon__wjNDx {
  position: absolute;
  top: 20px;
  left: 50px;
  width: 20px;
  height: 20px;
  background: #a0a0a0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s;
}

.dino_moonVisible__U0vVf {
  opacity: 1;
}

.dino_star__BFJC2 {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #a0a0a0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s;
}

.dino_starVisible__sw3of {
  opacity: 1;
}

/* Instructions */
.dino_instructions__nGBl6 {
  margin-top: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: #757575;
  text-align: center;
}

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

  .dino_titleBlock__NmxGS h1 {
    font-size: 1.2rem;
  }

  .dino_gameArea___RLgi {
    height: 180px;
  }

  .dino_dino__ZIYb_ {
    left: 30px;
    width: 38px;
    height: 40px;
  }

  .dino_controlBtn__w8TNN {
    padding: 8px 12px;
    min-width: 60px;
  }

  .dino_controlIcon__SQ7w4 {
    font-size: 1.1rem;
  }

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

