* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* overflow-x: hidden;  */
  /* overflow-y: hidden; */
}

html, body {
  width: 100%;
  max-width: 100%;     
  overflow-x: hidden;
  /* overflow-y: hidden;  */
  font-family: sans-serif;
 
}
.hero{
    height: 100vh;
    width: 100%;
    background-image: url(https://cdn.eftm.com/wp-content/uploads/2018/01/AU-en-20171225-popsignuptwoweeks-perspective_alpha_website_large.jpg);
    background-position: center;
    background-size: cover;
    z-index: 4;
    /* padding: 50px; */
    position: relative;
    overflow: hidden;
}
.logo{
    color: red;
    fill: #E50914;        
    width: 150px;
    height: auto;
}
.gre{
    position: absolute;
    width: 100%;
    height: 100%;
    /* top: 0; */
    z-index: -2;
    /* left: 0; */
    background: linear-gradient(rgba(0, 0, 0, 0.762));
    padding-left: 140px;
    padding-top:20px;
    /* display: flex; */
}
.dropdown{
  position: absolute;
  right: 15%;
  top: 3%;
  border-radius: 5px;
  border: 2px solid snow;
}
.dropdown i{
  color: white;
  padding: 5px;
}
.drop{
  height: 30px;
  width: 100px;
  font-size: 17px;
  background-color: rgba(0, 0, 0, 0.588);
  color: whitesmoke;
  border: none;
}

.button{
  position: absolute;
  right: 9%;
  top: 3%;
  
}
.signin{
  height: 30px;
  width: 75px;
  background-color: #E50914;
  color: whitesmoke;
  border: none;
  border-radius: 5px;
  font-size: 15px;
}
.about{
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.about h1{
  font-size: 55px;
  padding-top: 15%;
  /* padding-left: 30%; */
}
.about p1{
  font-size: 20px;
  padding-top: 1%;
  /* padding-left: 30%; */
}
.about p2{
  font-size: 18px;
  padding-top: 2%;

}
.enter{
  height: 10vh;
  width: 80vw;
  padding: 30px;
  /* background-color: aliceblue; */
  margin-left: 30%;
  display: flex;
  gap: 8px;
}
.email{
  height: 7vh;
  width: 30%;
  font-size: 16px;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid gray;
  background-color: rgba(0, 0, 0, 0.414);
}
.start{
  height: 52px;
  width: 180px;
  border-radius: 5px;
  background-color: #E50914;
  color: white;
  border: none;
  font-size: 20px;
}

 .hero2 {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero2 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;  
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); 
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 4%;
  z-index: 2;
  max-width: 500px;
  color: white;
}

.genre {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  margin: 0 0 10px 0;
  line-height: 1.1;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.meta {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 12px;
}

.description {
  font-size: 15px;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 20px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
}

.buttons {
  display: flex;
  gap: 12px;
}

.play-btn {
  background: white;
  color: black;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
}

.play-btn:hover {
  background: rgba(255,255,255,0.8);
}

.info-btn {
  background: rgba(32, 31, 31, 0.6);
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.info-btn:hover {
  background: rgba(100,100,100,0.4);
}

.hero3 {
  background: #000;
  padding: 40px 0;
}

.hero3 h2 {
  color: white;
  font-size: 24px;
  padding-left: 40px;
  margin-bottom: 20px;
}

.top10-wrapper {
  overflow-x: auto;        
  overflow-y: visible;
  scrollbar-width: none;   
  padding: 20px 40px;
  cursor: grab;
}

.top10-wrapper::-webkit-scrollbar {
  display: none;          
}

.top10-track {
  display: flex;
  gap: 10px;                
  width: max-content;
}

.top10-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  /* flex-shrink: 0; */
  transition: transform 0.3s ease;
  border: none;
}

.top10-card:hover {
  transform: scale(1.05);
  z-index: 10;
}


.rank {
  gap: 35px;
  font-size: 120px;
  font-weight: 700;
  color: rgb(0, 0, 0);
  -webkit-text-stroke: 2px #ffffff;  
  /* line-height: 1; */
  margin-right: -40px;         
  z-index: 999;
  position: relative;
}

.top10-card img {
  width: 180px;
  height: 270px;
  object-fit: cover;
  border-radius: 10px;
  z-index: 2;
  position: relative;
}
.hero4 {
  background: #000;
  padding: 40px 0;
}

.hero4 h2 {
  color: white;
  font-size: 24px;
  padding-left: 40px;
  margin-bottom: 20px;
}
.popular-wrapper {
  overflow-x: auto;        
  overflow-y: visible;
  scrollbar-width: none;   
  padding: 20px 40px;
  cursor: grab;
}

.popular-wrapper::-webkit-scrollbar {
  display: none;          
}

.popular-track {
  display: flex;
  gap: 20px;                
  width: max-content;
}

.popular-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  /* flex-shrink: 0; */
  transition: transform 0.3s ease;
  border: none;
  width: 350px;
  height: 180px;
  /* gap: 100px; */
}

.popular-card:hover {
  transform: scale(1.05);
  z-index: 10;
}
.popular-card img {
  /* gap: 100px; */
  width: 350px;
  height: 180px;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  z-index: 2;
  position: relative;
}

.hero5 {
  background: #000;
  padding: 40px 0;
}

.hero5 h2 {
  color: white;
  font-size: 24px;
  padding-left: 40px;
  margin-bottom: 20px;
}
.trending-wrapper {
  overflow-x: auto;        
  overflow-y: visible;
  scrollbar-width: none;   
  padding: 20px 40px;
  cursor: grab;
}

.trending-wrapper::-webkit-scrollbar {
  display: none;          
}

.trending-track {
  display: flex;
  gap: 20px;                
  width: max-content;
}

.trending-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  /* flex-shrink: 0; */
  transition: transform 0.3s ease;
  border: none;
  width: 350px;
  height: 180px;
  /* gap: 100px; */
}

.trending-card:hover {
  transform: scale(1.05);
  z-index: 10;
}
.trending-card img {
  /* gap: 100px; */
  width: 350px;
  height: 180px;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  z-index: 2;
  position: relative;
}
.hero6{
    background: #000;
    padding: 40px 0;
 }
 
 .hero6 h2 {
   color: white;
   font-size: 24px;
   padding-left: 40px;
   margin-bottom: 20px;
  }
  .container{
    width: 100vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 30px;
    padding: 40px;
    height: 50vh;
  }
.box{
    border-radius: 20px;
    background:linear-gradient(160deg,rgb(9, 9, 61),rgb(49, 10, 49));
    /* backdrop-filter: blur; */
    padding-top: 20px;
    
}
.box h2{
  margin-left: -20px;
}
.box p{
  color: white;
  margin-left: 20px;
  font-size: 18px;
}
.b1{
  grid-column: 1/2;

}
.svg1{  
  position: relative;   
  bottom: -30%;
  right: -75%;
  z-index: 1;
}
.svg2{  
  position: relative;   
  bottom: -26%;
  right: -75%;
  z-index: 1;
}
.svg3{  
  position: relative;   
  bottom: -30%;
  right: -75%;
  z-index: 1;
}
.svg4{  
  position: relative;   
  bottom: -20%;
  right: -75%;
  z-index: 1;
}
.hero7{
  height: 110vh;
  width: 100vw;
  background-color: #000;
}

.container1{
  width: 100vw;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-gap: 30px;
  padding: 80px;
  height: 100vh;
}
.box1{
    
    background-color:rgba(143, 137, 137, 0.608);     
    padding: 20px;
    /* height: 10vh; */
    /* transition-duration: 0.5s; */
    
}

.hero7 h2 {
  color: white;
  font-size: 30px;
  padding-left: 40px;
  margin-bottom: 20px;
}
.box1 p{
  color: white;
  font-size: 25px;

}

.a1{
    color: white;
    border: none;
    transition-duration: 0.5s;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .a1 .icon{
    font-size: 30px;
    font-weight: 500;
  }
  /* .ans1{  
    border-top: 2px solid #000;
    color: white;
    border: none;
    transition-duration: 5s;
    display: none;    
    
    } */

 /* .box1:hover{
        .ans1{
          border-top: 2px solid black;
          display: block;
         
  }  
} */
 .ans1 {
  border-top: 2px solid #000;
  color: white;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 1s ease, opacity 0.5s ease;
}

.box1:hover .ans1 {
  max-height: 300px;
  opacity: 1;
}
                                                                                         

.hero8{
  height: 100vh;
  width: 100vw;
  z-index: 4;
  position: relative;
  background-color: #000;
}
.hero8 h2{
  color: white;
  font-size: 18px;
  padding-top: 80px;
  font-family: sans-serif;
  font-weight: 300;
  display: flex;
  justify-content: center;
  align-items: center;

}

.dropdown1{
  /* position: absolute;
  left: 6%;
  bottom: 25%; */
  
  border-radius: 5px;
  border: 2px solid snow;
}
.dropdown1 i{
  color: white;
  padding: 5px;
}
.drop1{
  height: 30px;
  width: 100px;
  font-size: 17px;
  background-color: rgba(0, 0, 0, 0.588);
  color: whitesmoke;
  border: none;
}

.container2{
    width: 100vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 30px;
    padding: 80px;
    height: 50vh;
  }

.box2{
    border-radius: 20px;
    /* background:linear-gradient(160deg,rgb(9, 9, 61),rgb(49, 10, 49)); */
    /* backdrop-filter: blur; */
    padding-top: 20px;
    
}

.box2 p{
  color: white;
  margin-left: 10px;
  font-size: 15px;
  
}
.s1{
  grid-column: 1/2;
  grid-row: 1/2;
  padding-left: 7px;
}
.s1 h1{
  /* padding: 1px; */
  font-weight: 200;
  color: gray;
}
.c1{
  grid-row:2/4 ;
}
.hero8 h1{
  color: white ;
  font-weight: 200;
  /* margin-left: 90px; */
  font-size: 16px;
  /* margin-top: 20px; */
  /* padding: 50px; */
  /* position: absolute; */
  /* top: 2px; */
  display: flex;
  /* justify-content: center; */
  align-items: center;
  
}
.hero8 p{
  color: rgb(139, 139, 139);
  font-weight: 200;
  position: absolute;
  /* margin-left: 90px; */
}

.s2{
  grid-column: 1/2;
  grid-row: 5/6;
  padding-left: 10px;
  width: 150px;
}

.s3{
  grid-column: 1/2;
  grid-row: 6/-1;
  padding: 10px;
  color: gray;
}
.s3 h1{

  font-size: 15px;
  /* padding: 10px; */
  margin-bottom: 30px;
}
.s3 p{
  color: gray;
  margin-left: 0px;
  /* padding: 10px; */
  font-size: 12px;
}
.s3 p span{
  color: rgb(100, 100, 246);
}

/* Large desktops (1200px+) - your current design works here */

/* Medium desktops / laptops (992px - 1200px) */
@media (max-width: 1200px) {
  .about h1 {
    font-size: 45px;
  }
  .container {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }
  .rank {
    font-size: 90px;
  }
}

/* Tablets (768px - 992px) */
@media (max-width: 992px) {
  .about h1 {
    font-size: 35px;
  }
  .enter {
    margin-left: 10%;
  }
  .container {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }
  .container1 {
    grid-template-rows: auto;
    height: auto;
    padding: 40px;
  }
  .container2 {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }
  .hero7 {
    height: auto;
  }
  .rank {
    font-size: 70px;
  }
  .top10-card img {
    width: 130px;
    height: 200px;
  }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  .about h1 {
    font-size: 28px;
    padding-top: 30%;
    text-align: center;
  }
  .about p1, .about p2 {
    font-size: 14px;
    text-align: center;
    padding: 10px;
  }
  .enter {
    margin-left: 0;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  .email {
    width: 90%;
  }
  .start {
    width: 90%;
  }
  .dropdown {
    right: 25%;
  }
  .container {
    grid-template-columns: 1fr;
    height: auto;
    padding: 20px;
  }
  .container1 {
    grid-template-rows: auto;
    height: auto;
    padding: 20px;
  }
  .container2 {
    grid-template-columns: 1fr 1fr;
    height: auto;
    padding: 20px;
  }
  .hero7 {
    height: auto;
  }
  .hero8 {
    height: auto;
    padding-bottom: 40px;
  }
  .hero-content h1 {
    font-size: 30px;
  }
  .rank {
    font-size: 60px;
  }
  .top10-card img {
    width: 100px;
    height: 160px;
  }
  .popular-card,
  .popular-card img {
    width: 250px;
    height: 140px;
  }
  .trending-card,
  .trending-card img {
    width: 250px;
    height: 140px;
  }
}