/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  background-color: transparent;
  font-family: 'Phudu', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}


.page-container {
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../img/avbg3.png'); /* Your static image */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}



.home-btn {
  all: unset;
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 10;
}

.home-btn img {
  width: 100%;
  height: auto;
  display: block;
}

/* .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10vh 5vw;
  gap: 5vh;
  flex-grow: 1;
  text-align: center;
  color: #fff;
}

.aviator-title {
  max-width: 90%;
  width: clamp(200px, 40vw, 400px);
  height: auto;
  margin-bottom: -30px;
  margin-top: -154px;
}

.until {
  font-size: clamp(12px, 2vw, 18px);
  color: white;
  margin-top: -3vh;
}



/* Colons between boxes */
/*


.reward-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}

.reward-card {
  position: relative;
}

.glass-box {
    background-image: url(../img/glass4.png);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 30px;
    height: 130px;
    width: 81%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 35px;
}
.reward-title {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: bold;
}

.reward-bets {
  font-size: clamp(10px, 1.5vw, 14px);
  font-family: 'Arial Narrow', sans-serif;
  font-style: italic;
  color: #ccc;
  margin-top: 10px;
}
.txtbg {
    background-image: url(../img/txtbg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(12px, 2vw, 16px);
    font-weight: bold;
    color: white;
    margin-top: -73px;
    width: 88%;
    margin-left: 23px;
}
.title-beginner { color: #ffcc00;
    margin-top: -52px; }
.title-pro { color: #00e6e6;
    margin-top: -51px; }
.title-captain {     color: #ff6666;
    margin-top: -40px; }

.footer {
  background-color: rgba(5, 3, 3, 0.6);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 100;
  text-align: center;
  padding: 20px;
  font-size: clamp(10px, 2vw, 14px);
}

.plane-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.plane-img {
  width: 100%;
  animation: plane-wobble 4s ease-in-out infinite;
 margin-top: 17px;
}  */


/* Add colons between time-boxes */

/* Compact clock layout on screens < 375px */
/* @media screen and (max-width: 376px) {
  .countdown {
    transform: scale(0.85);
    gap: 3vw;
  }
} */




/* @keyframes plane-wobble {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-2px); }
  50% { transform: translateY(1px); }
  75% { transform: translateY(-1px); }
}

.wind-trail {
  position: absolute;
  width: 80px;
  height: 8px;
  background: linear-gradient(to right, rgba(255,255,255,0.5), transparent);
  border-radius: 50%;
  animation: trail-fade 1.2s linear infinite;
}

@keyframes trail-fade {
  0% { opacity: 0; transform: translateX(0); }
  30% { opacity: 0.8; }
  100% { opacity: 0; transform: translateX(40px); }
}


.trail-1 { top: 62px; left: 10px; animation-delay: 0s; }
.trail-2 { top: 75px; left: 47px; animation-delay: 0.6s; }
.trail-3 { top: 192px; left: 88%; animation-delay: 0s; }
.trail-4 { top: 179px; left: 83%; animation-delay: 0.3s; } */

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
}

.time-box {
  position: relative;
  margin: 0 12px;
}

.time-box:not(:last-child)::after {
  content: ":";
  position: absolute;
  right: -20px; 
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: bold;
  pointer-events: none;
}
 .time-box {
    width: clamp(72px, 12vw, 80px);
    height: clamp(65px, 15vh, 100px);
    background: #ffffff;
    color: #000000;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: clamp(20px, 2vw, 16px);
}


.number {
  font-weight: bold;
}

.label {
  font-size: 0.75em;
  color: #aaa;
  letter-spacing: 1px;
}

.header-img{
  display: flex;
  justify-content: center;
}

.header-img img{
  width: 90%;
  margin-top: 28px;
}

.aviator-game-info{
  padding: 0 30px;
  margin-top: 50px;
  display: flex;
  justify-content: space-around;
  gap: 25px;
  flex-direction: column;
}

.aviator-game-info-img{
  max-width: 100%;
  /* position: absolute; */
  z-index: -1;
}

.aviator-beginner{
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  /* height: 117px; */
}

.aviator-beginner-title{
  background: #DD3B15;
  background: radial-gradient(circle farthest-corner at center center, #DD3B15 5%, #F68A42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
  max-width: 164px;
  line-height: 22px;
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.pro-text{
  background: #A40505;
background: radial-gradient(circle farthest-corner at center center, #A40505 5%, #FF2424 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.cap-text{
  background: #CB700E;
background: radial-gradient(circle farthest-corner at center center, #CB700E 5%, #FEB022 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.game-more-info{
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-top: 7px;
  color: #c29e87;
  position: absolute;
  bottom: 10%;
}

@media screen and (max-width:425px) {
  .aviator-game-info{
    gap: 10px;
  }
    .aviator-beginner-title{
    transform: translateY(-77%);
  }
  .game-more-info{
    bottom: 16%;
  }
}

@media screen and (max-width:375px) {
  .aviator-game-info{
    gap: 10px;
  }
    .aviator-beginner-title{
    transform: translateY(-77%);
  }
  .game-more-info{
    bottom: 16%;
  }
}

@media screen and (max-width:320px) {
  .aviator-game-info{
    gap: 10px;
  }
  .aviator-beginner-title{
    transform: translateY(-77%);
  }
  .game-more-info{
    bottom: 16%;
  }
}

@media screen and (min-width:768px) {
  .header-img img{
    width: 50%;
  }
  .aviator-game-info{
    flex-direction: row;
  }
  .aviator-beginner{
      width: 33%;
  }
  .aviator-game-info {
    flex-wrap: wrap;
    justify-content: center;
  }
  .aviator-beginner-title{
    transform: translateY(-80%);
  }
  .game-more-info{
    bottom: 17%;
  }
}

@media screen and (min-width:992px) {
  .header-img img{
    width: 40%;
  }
}

@media screen and (min-width:1440px) {
  .header-img img{
    width: 20%;
  }
  .aviator-beginner-title{
    transform: translateY(-94%);
    font-size: 33px;
    line-height: 30px;
  }
  .aviator-game-info-img{
    max-width: 83%;
  }
  .game-more-info{
    font-size: 20px;
  }
  .beginner{
    align-items: flex-end;
  }
  .pro{
    align-items: flex-start;
  }
  .beginner .game-more-info{
    left: 41px;
  }
  .pro .game-more-info{
    left: -38px;
  }
  .beginner .aviator-beginner-title{
    left: 49%;
  }
  .pro .aviator-beginner-title{
    left: 33%;
  }
}

@media screen and (min-width:2560px) {
  .aviator-beginner-title{
    font-size: 61px;
    line-height: 51px;
    max-width: unset;
  }
}
