*{
    font-family:Arial, Helvetica, sans-serif;
    color:white;
}
body{
    background-color:black;         
}

html,
body{
    margin:0;
    padding:0;
    overflow-y: auto;
    max-width: 100vw;
    max-height: 100vh;       
}


.body{
    background-image: url(game12.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow:inset -1px 20px 20px 1000px rgba(0, 0, 0, 0.5);
    width:100%;
    min-height:100vh;


}

nav{
    display: flex;
    justify-content: space-between;
    align-items:center;     
    background-color:#00000082;
    padding:0.5em;
    position:sticky;
    top:0;
}
nav logo img{
    height:3rem;
    width:4rem
}

nav ul{
    display:flex;
    gap:2rem;
    list-style:none;
}

nav ul li{
    background-color:#00000082;
}
nav ul li a{
    text-decoration:none;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    background-color:#00000082; 
}
nav ul li a:hover{
    text-decoration:underline;
    color:rgb(187, 183, 183);
}

.main p{
    font-size:0.9em;
    text-align:center;
    font-weight:400;
    margin:2.4rem;
    color:white;
}



main .main2{
    text-align:center;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display:flex;
    justify-content: space-between;

}
main{
    display:flex;
    font-size: 1.2rem;
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  
   

}

main h1{
    font-size:2.9em;
    font-weight: 700;
}

.main3 p{
    display: flex;
    flex-direction: column;
    gap: 0.7rem;

}

.main3 h1{
    display: flex;
    flex-direction: column;
}

.main3 h1 :nth-child(2) {
   color:#E53935;
}

.main3 h1 :nth-child(1) {
    color:#F5F5F5;
}

/* .main3 h1  */

main .img2 img{
    height: 60vh;
    width: 50vw;
}

main button{
    background-color: #00F0FF;
    color:black;
    height: 4.2em;
    width: 20rem;
    margin-top: 2rem;
}

.main2 p{
    font-weight: 400;
    color:#C7CCD6
}
main .button1{
    display: flex;
    gap: 2rem;
    margin: 1rem;
}
.main3{
    text-align:left;
    padding-left:21px;
    padding-top: 2em;
    text-shadow:20px 16px 4px black;
}

.main{
    text-decoration:wavy;
}
.curve{
    height: 19vh;
    width: 100%;
    border-top:2px solid #E53935;
    border-radius: 96%;
    margin-top:-21px;
    background-color: black;
}
body {
  background-color: black;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

.featured {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}



.header {
  text-align: center;
  margin-bottom: 28px;
}

.badge {
  color: #ff3344;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0;
  color: #ffffff;
}

.featured-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow:red -20px -8px 2000px 0px
}

.video-wrapper {
  width: 100%;
  background: #000000;
  line-height: 0;
}

.video-wrapper img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
filter:brightness(70%);
}

.video-wrapper img:hover{
  transform:scale(1.02)
}

.card {
  padding: 28px;
}
.featured{
  width:50vw;
  margin: auto;
}

.game1 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.game-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: #ff3344;
}

.developer {
  color: #a1a1aa;
  font-size: 0.9rem;
}

.ultimate {
  color: #e4e4e7;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.view {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.players,
.players1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

.sold,
.sold1 {
  font-size: 0.8rem;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

section.iigame{
  display:flex;
  justify-content: center;
  border:2px solid grey;
  border-radius:5%;
  width:50vw;
  margin:auto;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.cards{

  max-width: 900px;
  width: 100%;
}

.roblox-rank{
  text-align: center;
  margin:3em;
  display:flex;
  flex-direction: column;
  flex-wrap:nowrap;
  font-size:2.4em;
  font-weight:600;
  color:#ff3344;
  padding: 60px 20px;
  height:max-content;
}

.iigame img{
  width: 100%;
  max-height: 480px;
  object-fit: cover;

}
.iigame img:hover{
  transform:scale(1.02);
}

.iigame{
background-color: rgba(255, 255, 255, 0.04);

}
.descript{
  display:flex;
  align-items: baseline;
  gap:10px;
  margin:5px;
 
}
.descript p{
    color: #a1a1aa;
  font-size: 0.9rem;
}
.descript .para{
   color: #e4e4e7;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.iigame .player12{
  display:flex;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top:12px;
justify-content: space-around;  
}

.descript h1{
  color:#E53935
}
.para{
  text-align: start;
  text-align: center;
}

.other-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  row-gap: 32em;
  overflow-y: auto;
  white-space-collapse:nowrap;
  scroll-behavior: smooth;
  width:90%;
  height:100vh;
  margin: 12em auto;
  padding:1em;
}

#games{
  display: flex;
  justify-content: flex-end;
  margin: auto;
}

.more-games{
font-size: 4.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 9rem;
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    text-align: center;
}

.other-cards .popular img{
  width:20vw;
  max-width:400px;
  height:200px;
  border-radius:10%;
}



.other-cards .popular{
  border-radius:10%;
  width:100%;
  display: flex;
  flex-wrap: wrap; 
  background-color:rgba(255, 255, 255, 0.04);
  padding:2em;
  transition:ease-in-out;
  perspective: 1000px;
}

/* .other-cards .popular:hover{
  transform:scale(1.03);
  
} */

.other-cards .popular div.rank{
  display:flex;
  justify-content: center;
  text-align:center;
  font-size:large;
   font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
   font-weight: 100;
   width:100%;
}

.other-cards .popular img.change{
  width:20vw;
}

#games {
  padding: 40px 20px;
  background-color: #000000; 
  color: #ffffff;
}

.other-cards {
  display: grid;
  grid-template-columns:1fr 1fr;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.flip-card {
  height: 360px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.8s ease-in-out;
  border-radius: 16px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.popular,
.reveal-card {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  
  box-sizing: border-box;
}

.popular {
  background-color: #2b2b36; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rank {
  position: absolute;
  top: 15px;
  left: 10px;
  color: white;

}

.popular img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-top: 20px;
  margin-bottom: 15px;
  border: 3px solid #3a3a4c;
}

.popular h1 {
  font-size: 1.3rem;
  margin: 0;
  color: #f1f1f1;
}

.reveal-card {
  background-color: black; 
  color: #ffffff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 20px;
}

.reveal-card h1 {
  font-size: 1.4rem;
  margin: 0 0 5px 0;
  color: #ffffff;
}

.reveal-card > p {
  color: #a0a0ab;
  font-size: 0.9rem;
  margin: 0 0 20px 0;
}

/* Stats Layout inside Reveal Card */
.dikkat {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  background: #23232e;
  padding: 15px 10px;
  border-radius: 12px;
}

.pehla h1,
.doosra h1 {
  font-size: 1.2rem;
  color: #00d26a;
  margin: 0 0 4px 0;
}

.pehla p,
.doosra p {
  font-size: 0.75rem;
  color: #b3b3c1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --------------------------------------- */

footer{
  border-top:3px solid gray;
  background-color:rgb(0, 0, 0);
  width: 90%;
  margin: 4em auto;
  height:fit-content;
}

footer img{
  transform:scale(1.1);
  animation:throttle-shake 0.25s ease-in-out infinite;
  transform-origin: center;
}

footer .mail img{
  transform:scale(1.2);
}

footer .contact{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 23px;
}

footer .mail {
  height: fit-content;
  width: 12em;
  display:flex;
  flex-direction: row-reverse;
  gap: 2px;
  justify-content: center;
  align-items: center;
  border: 3px solid red;
  background-color: #00F0FF;
  color:black;
}

footer .contact a{
  text-decoration: none;
  color: black;
}
footer .contact a:hover{
  text-decoration: underline;
  font-size:1.4em;
}

footer .mail , .github:hover{
  transform:scale(1.0)
}

footer .github{
  display:flex;
  flex-direction: row-reverse;
  height: fit-content;
  width: 12em;
  gap:2px;
  justify-content: center;
  align-items: center;
  border:3px solid red;
  background-color: #00F0FF;
  color:black;
}

footer .contact{
  margin-bottom: 23px;
}


footer .text{
  text-align:center;
}

footer .links{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

footer .links ul li{
  list-style: none;

}

footer .links ul li{
  list-style: none;
  color:#a1a1aa
}

footer .text h5{
  color:#a1a1aa
}

div.links h2{
  color:#a1a1aa;
}

footer .links ul{
  display: flex;
  flex-direction: column;
  gap: 23px;
}

footer .links ul a{
  text-decoration: none;
}

footer .links ul a:hover{
  text-decoration: underline;
  color:#a1a1aa;
  font-size: larger;
}

footer .disclaimer p{
  color:#a1a1aa;
  text-align:center;
}



@keyframes throttle-shake{

  0% {
    transform:translate(0,0) rotate(0deg);
}  
  20%{
    tansform:translate(-2px,2px) rotate(-3deg)
  }

  40%{
    tansform:translate(-2px,2px) rotate(-3deg)
  }

  60%{
    tansform:translate(-1px,-2px) rotate(-1deg)
  }

  80%{
    tansform:translate(2px,1px) rotate(1deg)
  }

  100%{
    tansform:translate(0px,0px) rotate(0deg)
  }
}



@media screen and (max-width: 844px) {
   .body{
    background-image: url(mobile-background.png);
    width:100%;                                                            
   }
   .main3{
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align:center;
   }

  .main3{
    font-size:0.8em
  }

  main{
    display: flex;
    justify-content: center;
  }

  .button1{
    display: flex;
    justify-content: center;
  }
 
  .feature p{
    letter-spacing: 0px;
  }


}

@media screen and (max-width:842px) {
  .body{
    background-image:url(mobile-background2.0.png);
  }


  
}

@media screen and (max-width: 480px) {
    nav ul li{
        font-size:2px;

    }
    nav{
        display:flex;
        flex-direction:column;
        justify-content: center;
        margin: right 46px

    }

    
      
     
    }

    @media screen and (max-width: 425px) {
        .view{
        display: flex;
        justify-content: center;
        flex-direction: column;
  }
        .roblox-rank{
          font-size: 1.8em;
          text-align: center;

  }

  .main2 p{
    gap: 2px;
    overflow-y: auto;
    word-wrap: wrap ;
  }

  .more-games{
    font-size: 2.9em;
  }


  }
      @media screen and (max-width: 1024px) {
        .body{
        
        width:100%;                                                            
   }
}

@media screen and (min-width:2560px){
  .main,nav{
    font-size:40px;
  }
}

@media screen and (max-width:396px){
  .descript{
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .player12{
    font-size:10px;
  }
}

  

@media screen and (max-width:1232px){
  .other-cards
   .popular{
    width: 70%;
    max-width: 250px;
    justify-content: center;
    padding: 23px;
  }

  .other-cards{
    display: flex;
    flex-direction: column;
    margin-left: 5rem;
    justify-content:center;
  }

  .other-cards .reveal-card{
    margin-right: 500px;
    height: max-content;
  }

  .flip-card , .flip-card-inner{
    width: 70%;
    margin: 1rem auto;
    background-color: black;
    padding: 23px;
    justify-content: center;
    margin-right: 29px;
  }
  .other-cards .popular img{
    width: 20vw;
    overflow: auto;
  }
}
@media screen and (max-width:664px){   
    .other-cards .popular img{
    width: 35vw;
  }

}

@media screen and (max-width:564px){   
    .other-cards .popular img{
    width: 40vw;
  }

}

@media screen and (max-width:320px){   
    .other-cards .popular img{
    width: 30vw;
  }

 
}



@media screen and (max-width:976px){     
  .other-cards{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    margin: auto;
    justify-content:center;
    align-items: flex-start;
  }
}

@media screen and (max-width:639px){
 .links{
  display:flex;
  flex-direction:column;
  justify-content: center;
  justify-content: space-around;
 } 
}

@media screen and ( max-width:718px){
  .featu{
    box-sizing: border-box;
    margin: 12px;
    padding: 12px;
    width:60rem;
  }

  
}

@media screen and ( max-width:658px){

  .naman {
    display: flex;
    flex-direction: column;
    justify-content:left;
    color: white;
    height: 70vh;
    width: 60vh;
    max-width: 300px;
    overflow-x: hidden;
  }

  .flip-card , .flip-card-inner{
    width: 60vw;
  }
}

  

