:root{
    --black: #000;
    --white: #fff;
    --pink: #FF00C2;
    --blue: #00C2FF;
    --yellow: #FAD400;
}

@font-face {
    font-family: 'cartoon';
    src: url(fonts/Cartoon\ Slam.ttf);
}

@font-face {
    font-family: 'red';
    src: url(fonts/RedHatDisplay-VariableFont_wght.ttf);
}

* {
    margin: 0;
    padding: 0;
    font-family: 'cartoon';
}

body{
    width: 1440px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--black);
}

main{
    position: relative;
    z-index: 3;
    width: 1440px;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

header{
    margin: 40px 60px 0 60px;
    position: fixed;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    width: 1320px;
    height: 70px;
    z-index: 99;
}

.logo{
    width: 112px;
    height: 70px;
    background-size: cover;
    background-image: url(assets/logo.png);
}

nav{
    width: 634px;
    height: 28px;
    padding: 20px 58px;
    background-color: var(--yellow);
    border-radius: 76px;
    border: 2px solid var(--black);
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

a{
    color: var(--black);
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    transition: all 0.3s ease;
}

.selected{
    color: var(--white);
}

a:hover{
    color: var(--white);
}

.scroll{
    width: 35px;
    height: 18.5px;
    background-image: url(assets/scroll.png);
    background-size: cover;
}

.popup-ad {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  position: relative;
  background: white;
  width: 420px;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  font-family: 'red', sans-serif;
  animation: popIn 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

.ad-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.watch-btn {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.watch-btn:hover {
  background: #222;
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-content h5 {
  margin: 10px 0;
}


.hero{
    width: 1440px;
    height: 878px;
    background-image: url(assets/hero.png);
    background-size: cover;
    position: fixed;
    z-index: -1;
}

.sec1{
    width: 1440px;
    height: 1356px;
    display: flex;
    align-items: center;
    flex-direction: column;
    float: left;
    margin-top: 131px;
    overflow: hidden;
}

.s1bg{
    width: 1519.472px;
    height: 1356px;
    background-image: url(assets/s1bg.png);
    background-size: cover;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 30px;
}

h1{
    width: 805px;
    color: var(--black);
    text-align: center;
    font-size: 60px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 493px;
}

button{
    color: var(--white);
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 12px 183px;
    border-radius: 68px;
    background: var(--yellow);
    border: none;
    transition: all 0.3s ease-in-out;
}

button:hover{
    background-color: var(--black);
    scale: 1.1;
}

.gap{
    height: 262px;
    width: 1440px;
    background-color: var(--black);
    margin-top: -380px;
    position: relative;
    top: 360px;
    z-index: -1;
}

.popular{
    width: 1199.128px;
    height: 632px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin-top: -280px;
}

.cards{
    width: 310px;
    height: 586px;
    padding: 23px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 19px;
    transition: all 0.3s ease;
}

.cards:hover{
    transform: translateY(-10px);
}

.cardimg{
    width: 310px;
    height: 505px;
    border-radius: 17px;
    border: 1px solid var(--black);
}

.stream{
    padding: 10px 63px;
    width: 184px;
    height: 39px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--white);
    border-radius: 17px;
    border: 1px solid var(--black);
    transition: all 0.3s ease;
}

.stream:hover{
    background-color: rgba(0, 0, 0, 0);
}

.streamtext{
    color: var(--black);
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.triangle{
    width: 26.5px;
    height: 30px;
    background-image: url(assets/triangle.png);
    background-size: cover;
}

.pink{
    background-color: var(--pink);
}

.blue{
    background-color: var(--blue);
}

.yellow{
    background-color: var(--yellow);
}

.sec2{
    width: 1440px;
    height: 1200px;
    background-color: var(--black);
    background-image: url(assets/about.png);
    background-size: cover;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 10px;
}

h2{
    font-size: 96px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--blue);
    margin-top: 690px;
    margin-right: 60px;
}

p{
    width: 891px;
    height: 384px;
    color: var(--white);
    text-align: right;
    font-family: 'red';
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.sec3{
    width: 1440px;
    height: auto;
    background-color: var(--black);
    display: flex;
    align-items: center;
    flex-direction: column;
}

.characters{
    width: 1320px;
    height: 216px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 134px;
}

.chartitle{
    margin: 0;
    color: var(--yellow);
}

.chartext{
    width: 100%;
    text-align: left;
}

.black{
    color: var(--black);
    margin: 110px 0;
}

.card-grid {
      display: grid;
      grid-template-columns: repeat(3, 359px);
      grid-template-rows: repeat(3, 495px);
      gap: 92px;
      justify-content: center;
      padding: 40px;
      margin-top: 58px;
}

.char {
      width: 359px;
      height: 495px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      display: flex;
      align-items: center;
      flex-direction: column;
      transition: all 0.3s ease;
}

.char:hover{
    transform: translateY(-10px);
}

.char:hover .charimg{
        scale: 1.05;
}

.charimg{
    width: auto;
    height: 316px;
    position: relative;
    z-index: 2;
          transition: all 0.3s ease;
}

.content{
    width: 359px;
    height: 337px;
    border-radius: 36px;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: -150px;
}

h3{
    color: var(--white);
    text-align: center;
    font-family: 'red';
    font-size: 36px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    margin-top: 188px;
}

h4{
    color: var(--white);
    text-align: center;
    font-family: 'red';
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 96.347%; 
    width: 293px;
}

.card1{
    background: linear-gradient(180deg, #A5D281 0%, #1B98CA 100%);
}

.card2{
    background: linear-gradient(180deg, #000 0%, #FEB825 100%);
}

.card3{
    background: linear-gradient(180deg, #FE9456 0%, #D53349 100%);
}

.card4{
    background: linear-gradient(180deg, #F89D00 0%, #554E9C 100%);
}

.card5{
    background: linear-gradient(180deg, #000 0%, #4BC5E4 100%);
}

.card6{
    background: linear-gradient(180deg, #000 0%, #FF8325 100%);
}

.card7{
    background: linear-gradient(180deg, #F2CA30 0%, #00ACEC 100%);
}

.card8{
    background: linear-gradient(180deg, #A33801 0%, #F19DD3 100%);
}

.card9{
    background: linear-gradient(180deg, #131B0E 0%, #2F797A 100%);
}

.black:hover{
    color: var(--black);
    background-color: var(--white);
}

.s4{
    width: 1440px;
    height: 899px;
    background-color: var(--black);
    position: relative;
    display: flex;
    align-items: center;
    z-index: 300;
    overflow: hidden;
}
.s4d1{
    width: 239px;
    height: 400.916px;
    flex-shrink: 0;
    margin-left: 139px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

}
.logo4{
    width: 179px;
height: 89.5px;
flex-shrink: 0;
aspect-ratio: 179.00/89.50;
background-image: url(assets/logo.png);
background-size: cover;
}
.logodes{
    color: var(--white);
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.on{
    color: #FFF;
font-family: 'red';
font-size: 32px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.prime{
    width: 140px;
height: 79px;
flex-shrink: 0;
aspect-ratio: 140/79;
background-image: url(assets/prime.png);
background-size: cover;
}
.subscribe{
    display: flex;
width: 239px;
height: 84.916px;
padding: 13px 15px;
justify-content: center;
align-items: center;
gap: 10px;
flex-shrink: 0;
background-color: var(--yellow);
color: var(--black);
font-family: 'red';
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: normal;
transition: all 0.3s ease;
}
.subscribe:hover{
    background-color: var(--blue);
    color: var(--white);
}
.maskimages{
    width: 1579.295px;
    height: 903.269px;
    flex-shrink: 0;
    background-image: url(assets/maskimagesss.png);
    background-size: contain;
}
footer{
    display: flex;
width: 1440px;
height: 541px;
padding: 2.162px 40px 0 40px;
flex-direction: column;
align-items: flex-start;
flex-shrink: 0;
background-color: var(--black);
    position: absolute;
    display: flex;
justify-content: center;
align-items: center;
border-top: 2.162px solid var(--yellow);
position: relative;
z-index: 3;
}
.fdiv {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 40px;
  padding: 40px;
  color: white;
}

.fd1 {
  grid-column: 1 / span 1; 
  display: flex;
  flex-direction: column;
  gap: 14px;
    height: 217px;
}

.fd2 {
  grid-column: 2 / span 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 217px;
}

.flogo {
  width: 130px;
  height: 80px;
  background: url(assets/logo.png) no-repeat center / contain;
}

.des1 {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'in';
  font-size: 10px;
  line-height: 15px;
  width: 196.036px;
flex-shrink: 0;
}


.footertextp {
  color: var(--yellow);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 8px;
}


.links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.80);
font-family: 'red';
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 15.135px; 
letter-spacing: -0.108px;
}

.links li a:hover {
  color: white;
}
.fd3 {
  grid-column: 3 / span 1; 
  display: flex;
  flex-direction: column;
  gap: 10px;
    height: 217px;
}
.fd4 {
  grid-column: 4 / span 1; 
  display: flex;
  flex-direction: column;
  gap: 10px;
    height: 217px;
}
.socialmedia{
    width: 159.279px;
    height: 31.712px;
    background-image: url(assets/sm.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.newsteller{
    color: rgba(255, 255, 255, 0.70);
font-family: 'in';
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 12.973px; 
margin-top: 0;
}
.emailbt{
    display: flex;
    height: 30.991px;
    width: 296.15px;
    padding: 7.207px 10.811px;
    align-items: center;
    flex-shrink: 0;
    align-self: stretch;
    border-radius: 5.766px;
    border: 0.721px solid #FAD400;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.40);
    font-family: 'in';
    font-size: 10.09px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.108px;
}
.fdiv2{
    display: flex;
height: 35.315px;
justify-content: space-between;
align-items: center;
flex-shrink: 0;
align-self: stretch;
border-top: 0.721px solid rgba(255, 255, 255, 0.10);
margin-top: 36px;
}
h6{
    color: rgba(255, 255, 255, 0.50);
font-family: 'red';
font-size: 8.649px;
font-style: normal;
font-weight: 400;
line-height: 12.973px; /* 150% */
}
.fdiv3{
    display: flex;
height: 12.973px;
align-items: flex-start;
gap: 21.622px;
}