@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Audiowide', sans-serif;
}
body{
    background-color: #333;
}

/* Header Css */
header{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
header .top-header{
    height: 120px;
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header .top-header a{
    text-transform: capitalize;
    text-decoration: none;
    color: #81d742;
    font-weight: 600;
    font-size: 30px;
    transition: 0.2s ease-in-out;
}
header .top-header a:hover{
    color: #67b82d;
}
.search-wrap{
    width: 30%;
}
#search-txt{
    font-size: 18px!important;
    color: #fff;
}
#search-form{
    position: relative;
}
.search-wrap input{
    background-color: #414141;
    border: 1px solid #5b5b5b;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 45px 8px 12px;
    text-transform: inherit;
    outline: none;
    width: 100%; 
    height: 36px;
    color: #fff;
}
.search-wrap input::placeholder{
    color: #fff;
    opacity: 0.8;
}

.search-wrap button{
    align-items: center;
    display: flex;
    height: 36px;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 36px;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
    color: #f7fdfc;
    background-color: #81d742;
    border: none;
    cursor: pointer;
    transition: ease-in-out 0.3s;
}
.search-wrap button:hover{
    background: #67b82d;
}

.search-wrap button i{
    font-size: 20px;
}

header nav{
    background-color: #414141;
    width: 70%;
    height: 70px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border: 1px solid #5b5b5b;
}
header nav ul{
    display: flex;
    gap: 30px;
}
header nav ul li{
    list-style: none;
}
header nav ul a{
    text-decoration: none;
    color: #fff;
    transition: 0.2s ease-in-out;
    font-size: 16px;
}
header nav ul a:hover{
    color: #81d742;
}
nav .menu-icon{
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 16px;
    display: none;
    cursor: pointer;
}
nav .menu-icon i{
    font-size: 20px;
}
/* Header Css End */


/* Upcoming Repacks Css */
.section-title{
    width: 70%;
    margin: 0 auto;
    margin-top: 60px;
}
.section-title h2{
    font-size: 17px;
    color: #c9c9c9;
}
.slider-container {
    position: relative;
    width: 70%;
    margin: 0 auto;
    overflow: hidden;
    background-color: #414141;
    border: 1px solid #5b5b5b;
    padding: 15px;
    margin-top: 25px;
    border-radius: 8px;
}
.upcoming {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}
.upcoming-card {
    min-width: 250px;
    height: 300px;
    flex-shrink: 0;
}
.upcoming-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.upcoming-thumb {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}
.upcoming-thumb:hover {
    transform: translateY(-5px);
}
.upcoming-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #81d742;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}
.slider-btn:hover {
    background: #4e9b18;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}
.prev-btn {
    left: 15px;
}
.next-btn {
    right: 15px;
}
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.dot.active {
    background: #81d742;
    transform: scale(1.2);
}
.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .upcoming-card {
        min-width: 200px;
        height: 250px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .prev-btn {
        left: -20px;
    }
    
    .next-btn {
        right: -20px;
    }
}
/* Upcoming Repacks Css End*/


/* Home posts Css */
.container{
    width: 70%;
    margin: 0 auto;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
}
.container .archive-container{
    width: 60%;
    margin-bottom: 60px;
}
.container .games{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.container .games .single-post{
    padding: 15px;
    border-radius: 8px;
    background-color: #414141;
    border: 1px solid #5b5b5b;
    width: 100%;
    position: relative;
    overflow: hidden;
    height: fit-content;
}
.container .games .single-post #post-link{
    display: block;
}
.container .games .single-post .thumb{
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    aspect-ratio: 6/9;
}
.container .games .single-post .thumb img{
    width: 100%;
    height: 100%;
    transition: 0.3s ease-in-out;
}
.container .games .single-post .thumb img:hover{
    -webkit-transform: scale(1.2);
-ms-transform: scale(1.2);
transform: scale(1.2);
}
.single-post .games-info{
    position: absolute;
    bottom: 0;
    z-index: 2;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgb(0 0 0 / 95%), rgb(0 0 0 / 66%), transparent);
    color: #fff;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.single-post.hovered .games-info {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
.container .games .single-post .games-info .games-info-cont{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: end;
    align-items: center;
}
.container .games .single-post .games-info .games-info-cont h2{
    color: #ffffff;
    font-size: 17px;
}
.container .games .single-post .games-info .games-info-cont p{
    color: #f0f0f0;
    font-size: 14px;
}

/* Home Posts Css End */

/* Sidebar Css */
.container .sidebar{
    width: 35%;
    padding: 15px;
    border-radius: 8px;
    background-color: #414141;
    border: 1px solid #5b5b5b;
    height: fit-content;
    flex-shrink: 0;
}
.container .sidebar .sidebar-title {
    height: 61px;
    display: flex;
    align-items: center;
    background: #333;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}
.container .sidebar .sidebar-title h2{
    color: #c9c9c9;
    font-size: 17px;
}
.container .sidebar .trending-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.container .sidebar .trend-thumb {
    width: 100px;
    height: 145px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.container .sidebar .trend-thumb img {
    width: 100%;
    height: 100%;
}
.container .sidebar .trending-post .trend-info{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.container .sidebar .trending-post .trend-info a{
    text-decoration: none;
    color: #fff;
    transition: 0.2s ease-in-out;
    font-size: 16px;
}
.container .sidebar .trending-post .trend-info a:hover{
    color: #81d742;
}
.container .sidebar .trending-post .trend-info p{
    color: #afafaf;
    font-size: 14px;
}
/* Sidebar Css End */


/* Main Content Css */
.main-content{
    width: 60%;
    padding: 30px;
    background-color: #414141;
    border: 1px solid #5b5b5b;
    border-radius: 8px;
    height: fit-content;
}
.main-content .post-title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}
.main-content .post-title h1{
    font-size: 18px;
    color: #fff;
    font-weight: 100;
}
.main-content .post-title p{
    font-size: 14px;
    color: #afafaf;
}
.main-content .post-header{
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.main-content .post-header .post-thumb{
    width: 40%;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 6 / 9;
    flex-shrink: 0;
}
.main-content .post-header .post-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main-content .post-info{
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.main-content .post-info .info-section{
    width: 100%;
    height: 40px;
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    transition: height 0.3s ease;
}
.main-content .post-info .info-section .info-section-title{
    padding: 0 15px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #414141;
    cursor: pointer;
}
.main-content .post-info .info-section .info-section-title h3{
    font-size: 15px;
    color: #fff;
    font-weight: 100;
}
.main-content .post-info .info-section .info-section-title i{
    font-size: 14px;
    color: #fff;
}
.main-content .post-info .info-section .info-section-text{
    padding: 15px;
}
.main-content .post-info .info-section .info-section-text p{
    font-size: 14px;
    color: #dfdfdf;
    line-height: 1.8;
}
.main-content .post-info .info-section .info-section-text li{
    font-size: 16px;
    color: #dfdfdf;
    list-style: none;
}
.main-content .post-info .info-section .info-section-text span{
    font-size: 16px;
    color: #81d742;
}
.main-content .game-desc{
    width: 100%!important;
    margin-top: 40px;
}

.main-content .post-content{
    margin-top: 40px;
    color : #fff;
}
.main-content .post-content a{
    text-decoration: none;
    color: #81d742;
}
.main-content .post-content a:hover{
    text-decoration: underline;
}
.main-content .post-content p{
    font-size: 16px;
    color: #fff;
    line-height: 1.8;
    font-weight: 100;
}
.main-content .post-content h1{
    color: #fff;
    line-height: 1.8;
    font-weight: 100;
    font-size: 30px;
}
.main-content .post-content h2{
    color: #fff;
    line-height: 1.8;
    font-weight: 100;
    font-size: 25px;
}
.main-content .post-content h3{
    color: #fff;
    line-height: 1.8;
    font-weight: 100;
    font-size: 20px;
}

.all-repacks{
    padding: 30px;
    background-color: #414141;
    border: 1px solid #5b5b5b;
    border-radius: 8px;
}
.all-repacks a{
    text-decoration: underline;
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    transition: 0.2s ease-in-out;
    display: block;
    width: fit-content;
}
.all-repacks a:hover{
    color: #81d742;
}
/* Main Content Css End*/


/* Errors Css*/
.container .games #error-message{
    color: #fff;
    font-size: 16px;
}
/* Errors Css End */


/* Pagination Css*/
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 0;
    font-family: 'Segoe UI', sans-serif;
    margin-top: 40px;
  }
  
  .pagination a,
  .pagination span.dots {
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #81d742;
    color: #81d742;
    transition: all 0.3s ease;
  }
  
  .pagination a:hover {
    background-color: #81d742;
    color: white;
  }
  
  .pagination a.active {
    background-color: #81d742;
    color: white;
    pointer-events: none;
    font-weight: bold;
  }
  
  .pagination .prev,
  .pagination .next {
    font-weight: bold;
  }
  
  .pagination span.dots {
    border: none;
    color: #666;
    padding: 10px 12px;
  }
/* Pagination Css End*/

/* Pages Container Css */
.pages-container{
    background-color: #414141;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #5b5b5b;
}
.pages-container h3{
    color: #81d742;
    line-height: 3.5;
    font-size: 18px;
}
.pages-container p{
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
}
.pages-container ul{
    padding: 0 15px;
}
.pages-container ul li{
    color: #fff;
    font-size: 16px;
    line-height: 2.6;
}
.pages-container a{
    color: #414bd6;
}
.faq-item {
    background: #414141;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #5b5b5b;
}
.faq-question {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    transition: background-color 0.3s ease;
}
.faq-question:hover {
    background: #333
}
.faq-question.active {
    background: #414141;
}
.faq-icon {
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}
.faq-question.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}
.faq-answer.active {
    max-height: 200px;
}
.faq-answer-content {
    padding: 20px;
    color: #666;
    line-height: 1.6;
    border-top: 1px solid #eee;
}
#contact-form{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}
#contact-form input{
    border: 1px solid #434343;
    background: #313131;
    outline: none;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    width: 100%;
}
#contact-form input::placeholder {
    color: #797979; 
}
#contact-form textarea{
    border: 1px solid #434343;
    background: #313131;
    outline: none;
    padding: 20px;
    border-radius: 8px;
    height: 250px;
    color: #fff;
    font-size: 14px;
    width: 100%;
}
#contact-form textarea::placeholder {
    color: #797979; 
}
#contact-form button{
    border: none;
    outline: none;
    padding: 14px 29px;
    color: #333;
    font-size: 16px;
    transition: ease-in 0.2s;
    background-color: #81d742;
    border: none;
    border-radius: 8px;
}
#contact-form button:hover{
    cursor: pointer;
    background-color: #64b42a;
}
.contact-msg{
    width: 100%;
    height: 60px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    background-color: #2f795e;
    margin-bottom: 15px;
}
.contact-msg p{
    color: #fff;
    font-size: 16px;
}
/* Pages Container Css End */




/* Responsive Css */
@media (max-width: 991px) {
    header .top-header{
        width: 95%;
    }
    header nav{
        width: 95%;
    }
    .container{
        flex-direction: column;
        width: 95%;
    }
    .container .archive-container{
        width: 100%;
    }
    .container .sidebar{
        width: 100%;
        margin-top: 20px;
    }
    nav{
        justify-content: center;
    }
    nav .mobile-menu-open{
        display: flex;
    }
    header nav ul{
        position: absolute;
        width: 95%;
        border-radius: 8px;
        z-index: 100;
        flex-direction: column;
        padding: 15px;
        top: 195px;
        background-color: #414141;
        border:1px solid #5b5b5b;
        display: none;
    }
    .upcoming{
        width: 95%;
    }
    .section-title{
        width: 95%;
    }
    .slider-container{
        width: 95%;
    }
    .main-content{
        width: 100%;
    }
  }
/* Responsive Css End */





/* Footer Css */
.footer {
    background: #414141;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 1rem 1rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links a {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }

    .footer {
        padding: 1.5rem 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        gap: 0.5rem;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .copyright {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}
/* Footer Css End */