/*
Theme Name: Wifi4Games
Author: Ayoub Aj
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&display=swap');
*{
  font-family: 'Cairo', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
    background: #ccc!important;
}

nav{
    background: linear-gradient(to bottom,#dedede 0%,#e5e5e5 100%);
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    direction: rtl;
    position: relative;
}
nav .logo img{
    width: 40px;
    height: 40px;
}
nav .logo a{
  display: flex;
  align-items: center;
  justify-content: center;
}
nav .left-nav{
    display: flex;
    align-items: center;
    gap: 25px;
}
.search-wrap{
    width: 100%;
}
.search-wrap #search-txt{
    font-size: 18px!important;
    color: #fff;
}
.search-wrap #search-form{
    position: relative;
}
nav .search-wrap input{
    background-color: #ffffff;
    border: 1px solid #c7c7c7;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 400;
    padding: 8px 12px 8px 12px;
    text-transform: inherit;
    outline: none;
    height: 38px;
    color: #000000;
    width: 400px;
}
nav .search-wrap input::placeholder{
    color: #353535;
    opacity: 0.8;
}

nav .search-wrap button{
    align-items: center;
    display: flex;
    height: 35px;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 36px;
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
    color: #f7fdfc;
    background-color: #bd2525;
    border: none;
    cursor: pointer;
    transition: ease-in-out 0.3s;
}
nav .search-wrap button:hover{
    background: #d14141;
}

nav .search-wrap button i{
    font-size: 16px;
}
nav .right-nav{
    display: flex;
    align-items: center;
    gap: 10px;
}
nav .right-nav #ic-fa, #ic-tg{
  text-decoration: none;
  font-size: 25px;
  transition: ease-in-out 0.2s;
}
nav .right-nav #ic-fa{
  color: #1877F2;
}
nav .right-nav #ic-tg{
  color: #0088CC;
}
nav .right-nav :is(#ic-fa, #ic-tg):hover {
  color: #bd2525;
}
nav .right-nav button {
    color: #000000;
    width: 160px;
    height: 2.4em;
    line-height: 2.5em;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid #bd2525;
    transition: color 0.5s;
    z-index: 1;
    font-size: 16px;
    border-radius: 6px;
    font-weight: 500;
    background: #ededed;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  nav .right-nav button:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: #bd2525;
    height: 150px;
    width: 210px;
    border-radius: 50%;
  }
  
  nav .right-nav button:hover {
    color: #fff;
  }
  
  nav .right-nav button:before {
    top: 100%;
    left: 100%;
    transition: all 0.7s;
  }
  
  nav .right-nav button:hover:before {
    top: -30px;
    left: -30px;
  }
  
  nav .right-nav button:active:before {
    background: #e06464;
    transition: background 0s;
  }
  nav .drop-menu{
    position: absolute;
    width: 156px;
    border-radius: 6px;
    left: 20px;
    top: 60px;
    border: 2px solid #bd2525;
    background: #ededed;
    z-index: 99;
    display: none;
    opacity: 0;
  }
  nav .drop-menu.open {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
  }
  nav .drop-menu .drop-menu-links li{
    list-style: none;
  }
  nav .drop-menu .drop-menu-links{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 0px;
  }
  nav .drop-menu .drop-menu-links a{
    text-decoration: none;
    color: #000000;
    font-size: 16px;
  }
  nav .drop-menu .drop-menu-links a:hover{
    color: #bd2525;
  }


  .hero-title{
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 15px;
    display: flex;
    gap: 25px;
    direction: ltr;
  }
  .slider-title{
    width: 65%;
    overflow: hidden;
    direction: rtl;
  }
  .most-v-title{
    width: 35%;
    overflow: hidden;
    direction: rtl;
  }
  .hero-title h3{
    color: #000000;
    font-size: 18px;
  }
  .hero-title i{
    color: #000000;
    font-size: 18px;
  }

.hero-section{
  max-width: 1200px;
  width: 95%;
  height: 500px;
  margin: 0 auto;
  display: flex;
  gap: 25px;
  direction: ltr;
}
.most-v{
  height: 500px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 35%;
  overflow: hidden;
}
.most-v .post-card{
  direction: rtl;
  background-color: #f5f5f5;
  border-radius: 6px;
  overflow: hidden;
  transition: ease-in-out 0.2s;
}
.most-v .post-card:hover {
  background-color: #e6e6e6;
}
.most-v .post-card img{
  width: 85px;
  height: 115px;
}
.most-v .post-card a{
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  height: -webkit-fill-available;
}
.most-v .post-card h3, p{
  margin: 0;
}
.most-v .post-card h3{
  color: #333;
  font-size: 18px;
}
.most-v .post-card p{
  color: #777;
  font-size: 14px;
}
.slider{
  background-color: rgb(0, 0, 0);
  height: 500px;
  width: 65%;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.slider a{
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: -webkit-fill-available;
}
.slider .sl-title{
  position: absolute;
  z-index: 99;
  padding: 5px 15px;
  border: solid 2px #e6e6e6;
  border-radius: 6px;
}
.slider .sl-title h3{
  margin: 0;
  color: #e6e6e6;
  font-size: 18px;
}
.slider img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: 0.3s ease;
}
.slider img:hover{
  filter: brightness(1);
}
.slider .slides {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.slider .slide {
  min-width: 100%;
  position: relative;
}
.slider .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 0px 15px;
  cursor: pointer;
  font-size: 22px;
  border-radius: 50%;
  z-index: 10;
  transition: 0.3s;
}
.slider .arrow:hover {
  background: rgba(0,0,0,0.7);
}

.slider .prev { left: 10px; }
.slider .next { right: 10px; }

/* Dots */
.slider .dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

.slider .dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
}

.slider .dots .active {
  background: #fff;
}





.title-container{
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  margin-top: 60px;
  margin-bottom: 15px;
  direction: rtl;
}
.title-container h3{
  color: #000000;
  font-size: 18px;
}
.title-container i{
  color: #000000;
  font-size: 18px;
}


.container {
    max-width: 1200px;
    width: 95%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 0 auto;
}
.all-gc{
  margin-top: 60px;
}
.container .game-card {
  background: #f5f5f5;
  border-radius: 6px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.container .game-card:hover {
  transform: translateY(-3px);
}

/* Thumbnail */
.container .thumb {
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.container .thumb img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

/* Zoom effect */
.container .game-card:hover .thumb img {
  transform: scale(1.1);
}

/* Info */
.container .info {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: ltr;
}

.container .info h3 {
  font-size: 16px;
  color: #333;
}

.container .size {
  font-size: 12px;
  color: #777;
}
#show-more{
  display: block;
  padding: 10px;
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  margin-top: 25px;
  border-radius: 6px;
  text-align: center;
  background: #f5f5f5;
  color: #333;
  text-decoration: none !important;
  font-size: 16px;
  transition: ease-in-out 0.2s;
}
#show-more:hover{
  background: #e6e6e6;
}









.slider-c {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 25px;
}

.slider-c .slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-c .slide {
  min-width: 100%;
  height: 450px;
  object-fit: cover;
}
.slider-c .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 0px 15px;
  cursor: pointer;
  font-size: 22px;
  border-radius: 50%;
  z-index: 10;
  transition: 0.3s;
}

.slider-c .arrow:hover {
  background: rgba(0,0,0,0.7);
}

.slider-c .prev {
  left: 10px;
}

.slider-c .next {
  right: 10px;
}




.pagination{
  display:flex;
  justify-content:center;
  gap:10px;
  direction: rtl;
  padding: 10px;
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  margin-top:40px;
  border-radius: 6px;
  background: #f5f5f5;
  overflow: hidden;
}

.pagination a,
.pagination span{
  padding:5px 15px;
  background:#333;
  color:#fff;
  text-decoration:none;
  border-radius:8px;
}

.pagination .current{
  background:#bd2525;
  color:#fff;
}



.post-title{
  direction: rtl;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-title h1{
  font-size: 22px;
  color: #333;
}
.post-data{
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-data p{
  font-size: 16px;
  color: #333;
}
.post-data a{
  text-decoration: none;
  font-size: 16px;
  color: #333;
}
.post-data a:hover{
  text-decoration: underline;
}
.s-hero-title{
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 15px;
  display: flex;
  gap: 25px;
  direction: ltr;
}
.s-hero-title h3{
  color: #333;
  font-size: 18px;
}
.single-container{
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  margin-top: 40px;
}
.single-section{
  display: flex;
  gap: 25px;
  direction: ltr;
}
.d-section{
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 35%;
  overflow: hidden;
  height: fit-content;
}
.ct-section{
  width: 65%;
  overflow: hidden;
}
.txt-c{
  width: 100%;
  direction: rtl;
}
.down-btn{
  background-color: #ededed;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}
.down-btn .icon i{
  display: block;
  float: right;
  font-size: 25px;
}
.down-btn a{
  padding: 10px;
  background: -webkit-linear-gradient(#9fbf00,#80ab00);
  width: 100%;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
}
.down-btn a:hover{
  background: -webkit-linear-gradient(#9fbf00, #b3dd35);
}
.down-btn hr{
  border: 0 !important;
  height: 1px !important;
  background: #cfcfcf !important;
  background-image: linear-gradient(to right, #e1e1e1, #ccc, #e1e1e1) !important;
}
.sc-notes{
  direction: rtl;
}
.sc-notes p{
  font-size: 16px;
  color: #777;
}
.sys-req{
  background-color: #ededed;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sys-req p{
  font-size: 16px;
  color: #333;
}
.sys-title{
  direction: rtl;
}
.sys-title span{
  font-size: 16px;
  color: #333;
}

.comments-wrapper{
  width: 100%;
  direction: rtl;
  margin-top: 40px;
}





footer{
  background: #353535;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
}
footer .footer-data{
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.footer-menu-links{
  columns: 3;
  column-gap: 160px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-menu-links li{
  break-inside: avoid;
}
.footer-menu-links a{
  color: #fff;
  text-decoration: none;
  transition: .3s;
  font-size: 16px;
}
.footer-menu-links a:hover{
  color: #bd2525;
}
.footer-logo img{
  height: 260px;
  width: 260px;
}
.footer-copyr{
  background: #252525;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  direction: ltr;
}
.footer-copyr p{
  color: #a5a5a5;
  font-size: 15px;
}



/* Responsive Css */
@media (max-width: 991px) {
  .search-wrap {
    display: none;
}
  .container {
    max-width: 95%;
    grid-template-columns: repeat(1, 1fr);
}
.hero-title {
  display: none;
}

  .hero-section {
      max-width: 95%;
      display: block;
      height: auto;
      margin-top: 40px;
  }
  .most-v, .slider {
    width: 100%;
  }
  .slider {
    height: 350px;
    margin-top: 20px;
  }
  .s-hero-title {
    display: none;
  }
  .single-section {
    display: block;
    margin-top: 20px;
  }
  .d-section, .ct-section {
    width: 100%;
  }
  .d-section {
    margin-bottom: 20px;
  }
  .footer-logo {
    display: none;
  }
  .footer-menu-links {
    columns: 2;
    padding: 10px;
    column-gap: 90px;
  }
}
/* Responsive Css End */