@-webkit-keyframes animLand {
   0% {
      background-position: 0px 0px;
   }

   100% {
      background-position: -335px 0px;
   }
}

@-moz-keyframes animLand {
   0% {
      background-position: 0px 0px;
   }

   100% {
      background-position: -335px 0px;
   }
}

@-o-keyframes animLand {
   0% {
      background-position: 0px 0px;
   }

   100% {
      background-position: -335px 0px;
   }
}

@keyframes animLand {
   0% {
      background-position: 0px 0px;
   }

   100% {
      background-position: -335px 0px;
   }
}

@-webkit-keyframes animSky {
   0% {
      background-position: 0px 100%;
   }

   100% {
      background-position: -275px 100%;
   }
}

@-moz-keyframes animSky {
   0% {
      background-position: 0px 100%;
   }

   100% {
      background-position: -275px 100%;
   }
}

@-o-keyframes animSky {
   0% {
      background-position: 0px 100%;
   }

   100% {
      background-position: -275px 100%;
   }
}

@keyframes animSky {
   0% {
      background-position: 0px 100%;
   }

   100% {
      background-position: -275px 100%;
   }
}

@-webkit-keyframes animBird {
   from {
      background-position: 0px 0px;
   }

   to {
      background-position: 0px -96px;
   }
}

@-moz-keyframes animBird {
   from {
      background-position: 0px 0px;
   }

   to {
      background-position: 0px -96px;
   }
}

@-o-keyframes animBird {
   from {
      background-position: 0px 0px;
   }

   to {
      background-position: 0px -96px;
   }
}

@keyframes animBird {
   from {
      background-position: 0px 0px;
   }

   to {
      background-position: 0px -96px;
   }
}

@-webkit-keyframes animPipe {
   0% {
      left: 900px;
   }

   100% {
      left: -100px;
   }
}

@-moz-keyframes animPipe {
   0% {
      left: 900px;
   }

   100% {
      left: -100px;
   }
}

@-o-keyframes animPipe {
   0% {
      left: 900px;
   }

   100% {
      left: -100px;
   }
}

@keyframes animPipe {
   0% {
      left: 900px;
   }

   100% {
      left: -100px;
   }
}

@-webkit-keyframes animCeiling {
   0% {
      background-position: 0px 0px;
   }

   100% {
      background-position: -63px 0px;
   }
}

@-moz-keyframes animCeiling {
   0% {
      background-position: 0px 0px;
   }

   100% {
      background-position: -63px 0px;
   }
}

@-o-keyframes animCeiling {
   0% {
      background-position: 0px 0px;
   }

   100% {
      background-position: -63px 0px;
   }
}

@keyframes animCeiling {
   0% {
      background-position: 0px 0px;
   }

   100% {
      background-position: -63px 0px;
   }
}


*,
*:before,
*:after {
   /* border box */
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
   /* gpu acceleration */
   -webkit-transition: translate3d(0, 0, 0);
   /* select disable */
   -webkit-touch-callout: none;
   -webkit-user-select: none;
   -khtml-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   user-select: none;
}

html,
body {
   height: 100%;
   overflow: hidden;
   font-family: monospace;
   font-size: 12px;
   color: #fff;
}

#gamecontainer {
   position: relative;
   width: 100%;
   height: 100%;
   min-height: 525px;
}

/*
Screen - Game
*/
#gamescreen {
   position: absolute;
   width: 100%;
   height: 100%;
}

#sky {
   position: absolute;
   top: 0;
   width: 100%;
   height: 80%;
   background-image: url('../assets/sky.png');
   background-repeat: repeat-x;
   background-position: 0px 100%;
   background-color: #4ec0ca;

   -webkit-animation: animSky 7s linear infinite;
   animation: animSky 7s linear infinite;
}

#flyarea {
   position: absolute;
   bottom: 0;
   height: 420px;
   width: 100%;
}

#ceiling {
   position: absolute;
   top: -16px;
   height: 16px;
   width: 100%;
   background-image: url('../assets/ceiling.png');
   background-repeat: repeat-x;

   -webkit-animation: animCeiling 481ms linear infinite;
   animation: animCeiling 481ms linear infinite;
}

#land {
   position: absolute;
   bottom: 0;
   width: 100%;
   height: 20%;
   background-image: url('../assets/land.png');
   background-repeat: repeat-x;
   background-position: 0px 0px;
   background-color: #ded895;

   -webkit-animation: animLand 2516ms linear infinite;
   animation: animLand 2516ms linear infinite;
}

#bigscore {
   position: absolute;
   top: 20px;
   left: 150px;
   z-index: 100;
}

#bigscore img {
   display: inline-block;
   padding: 1px;
}

#splash {
   position: absolute;
   opacity: 0;
   top: 75px;
   left: 65px;
   width: 188px;
   height: 170px;
   background-image: url('../assets/splash.png');
   background-repeat: no-repeat;
}

#scoreboard {
   position: absolute;
   display: none;
   opacity: 0;
   top: 64px;
   left: 43px;
   width: 236px;
   height: 280px;
   background-image: url('../assets/scoreboard.png');
   background-repeat: no-repeat;

   z-index: 1000;
}

#medal {
   position: absolute;
   opacity: 0;
   top: 114px;
   left: 32px;
   width: 44px;
   height: 44px;
}

#currentscore {
   position: absolute;
   top: 105px;
   left: 107px;
   width: 104px;
   height: 14px;
   text-align: right;
}

#currentscore img {
   padding-left: 2px;
}

#highscore {
   position: absolute;
   top: 147px;
   left: 107px;
   width: 104px;
   height: 14px;
   text-align: right;
}

#highscore img {
   padding-left: 2px;
}

#replay {
   position: absolute;
   opacity: 0;
   top: 205px;
   left: 61px;
   height: 115px;
   width: 70px;
   cursor: pointer;
}

.boundingbox {
   position: absolute;
   display: none;
   top: 0;
   left: 0;
   width: 0;
   height: 0;
   border: 1px solid red;
}

#player {
   left: 60px;
   top: 200px;
}

.bird {
   position: absolute;
   width: 34px;
   height: 24px;
   background-image: url('../assets/bird.png');

   -webkit-animation: animBird 300ms steps(4) infinite;
   animation: animBird 300ms steps(4) infinite;
}

.pipe {
   position: absolute;
   left: -100px;
   width: 52px;
   height: 100%;
   /* z-index: 10; */
   z-index: 0;
   -webkit-animation: animPipe 7500ms linear;
   animation: animPipe 7500ms linear;
}

.pipe_upper {
   position: absolute;
   top: 0;
   width: 52px;
   background-image: url('../assets/pipe.png');
   background-repeat: repeat-y;
   background-position: center;
}

.pipe_upper:after {
   content: "";
   position: absolute;
   bottom: 0;
   width: 52px;
   height: 26px;
   background-image: url('../assets/pipe-down.png');
}

.pipe_lower {
   position: absolute;
   bottom: 0;
   width: 52px;
   background-image: url('../assets/pipe.png');
   background-repeat: repeat-y;
   background-position: center;
}

.pipe_lower:after {
   content: "";
   position: absolute;
   top: 0;
   width: 52px;
   height: 26px;
   background-image: url('../assets/pipe-up.png');
}

#footer {
   position: absolute;
   bottom: 3px;
   left: 3px;
}

#footer a,
#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
   display: block;
   padding: 2px;
   text-decoration: none;
   color: #fff;
}


.connect-button,
.wallet-information {
   background-color: #54cd64;
   display: flex;
   position: absolute;
   z-index: 100;
   top: 15px;
   right: 20px;
   border-radius: 5px;
   justify-content: center;
   align-items: center;
   padding: 10px 30px;
   cursor: pointer;
   border: 1px solid #9ae9a5;
   box-shadow: 0px 3px 7px #35a5af;
}

.wallet-information {
   display: none;
}

.connect-button>span {
   font-size: 16px;
}

#wallet-info {
   display: flex;
}

.line {
   margin-left: 10px;
   border-left: 1px solid #fff;
   padding-left: 10px;
   margin-left: 10px;
}

.disconnect-wallet {
   margin-left: 10px;
   background-color: #93f5a0;
   padding: 7px 15px;
   border-radius: 20px;
}

#disconnect-wallet>span {
   color: #378d42;
}

#deposit-withdraw {
   position: absolute;
   padding: 10px;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   border-radius: 5px;
   background-color: #9bcdd1;
   border: 2px solid #c2f8fd;
   display: none;
   z-index: 1000;
}
.convert-title {
   font-size: 20px;
   text-transform: uppercase;
   text-align: center;
}

.row {
   display: flex;
   flex-direction: column;
   margin: 10px 10px;
   padding: 10px 0px;
}

.row>input {
   padding: 10px 10px;
   margin-top: 10px;
   border-radius: 5px;
   border: none;
}
.row>input:focus {
   border: none;
}

#btn-convert {
   padding: 10px;
   border-radius: 5px;
   border: 1px solid #fff;
   font-weight: bold;
}
#processing {
   color: #e15b5b;
   margin-bottom: 10px;
   font-style: italic;
   display: none;
}
.btn-wrapper {
   border-top: none;
}

@media only screen and (max-width: 400px) {
   .wallet-information {
      flex-direction: column;
      left: 10px;
      top: 5px;
      right: 10px;
      margin: 0px auto;
   }
   .btn-wrapper {
      display: flex;
      justify-content: space-between;
      width: 100%;
      margin-top: 10px;
      border-top: 1px solid #fff;
      padding-top: 10px;
  }
 }
.ui-widget-header {
   align-items: flex-end;
    display: flex;
    justify-content: flex-end;
}
 #dialog {
   background: white;
   border-radius: 8px;
   padding: 10px;
   color: black;
   box-shadow: 0px 1px 5px #999;
   border: 1px solid #999;
   align-items: center;
   display: flex;
   justify-content: center;
   width: 100% !important;
   flex-direction: column;
 }

 #a-transactionHash {
   display: block;
   background: #4ec0ca;
   color: white;
   padding: 10px 20px;
   font-size: 14px;
   border-radius: 5px;
   margin-top: 10px;   
   text-decoration: none;
}

.claim-reward-modal {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.7);
   display: none;
   justify-content: center;
   align-items: center;
   z-index: 1000;
}

.claim-reward-content {
   background: linear-gradient(135deg, #00b09b, #96c93d);
   padding: 20px;
   border-radius: 10px;
   text-align: center;
   color: white;
   max-width: 300px;
   width: 90%;
}

.claim-reward-spinner {
   border: 4px solid rgba(255, 255, 255, 0.3);
   border-radius: 50%;
   border-top: 4px solid white;
   width: 40px;
   height: 40px;
   margin: 10px auto;
   animation: spin 1s linear infinite;
}

@keyframes spin {
   0% { transform: rotate(0deg); }
   100% { transform: rotate(360deg); }
}

.claim-reward-message {
   margin-top: 15px;
   font-size: 16px;
}

.claim-reward-success {
   color: #4CAF50;
   font-weight: bold;
}

.claim-reward-error {
   color: #f44336;
   font-weight: bold;
}

.airdrop-banner {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(0, 176, 155, 0.9), rgba(150, 201, 61, 0.9));
    padding: 15px 30px;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 99;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 90%;
    width: auto;
}

.airdrop-banner strong {
    color: #FFD700;
    font-weight: bold;
}

@media only screen and (max-width: 600px) {
    .airdrop-banner {
        font-size: 14px;
        padding: 10px 20px;
    }
}

.game-instructions {
   position: absolute;
   top: 90px; /* Position below the airdrop banner */
   left: 50%;
   transform: translateX(-50%);
   background: linear-gradient(135deg, rgba(0, 176, 155, 0.9), rgba(150, 201, 61, 0.9));
   padding: 15px 30px;
   border-radius: 10px;
   color: white;
   font-size: 14px;
   text-align: left;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   z-index: 99;
   backdrop-filter: blur(5px);
   border: 1px solid rgba(255, 255, 255, 0.2);
   max-width: 90%;
   width: auto;
}

.game-instructions h3 {
   color: white;
   margin: 0 0 10px 0;
   text-align: center;
   font-size: 16px;
}

.game-instructions ul {
   list-style: none;
   padding: 0;
   margin: 0;
}

.game-instructions li {
   margin: 8px 0;
   color: white;
   font-size: 14px;
   display: flex;
   align-items: center;
   gap: 8px;
}

.game-instructions strong {
   color: #FFD700;
   font-weight: bold;
}

@media only screen and (max-width: 600px) {
    .game-instructions {
        font-size: 12px;
        padding: 10px 15px;
        top: 80px;
    }
    
    .game-instructions h3 {
        font-size: 14px;
    }
    
    .game-instructions li {
        font-size: 12px;
    }
}