/*==================================================
    OLD FRIV GAMES
    STYLE V2
==================================================*/

/*==================================================
    GOOGLE FONT
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap');

/*==================================================
    ROOT VARIABLES
==================================================*/

:root{

    --bg:#2d0b52;
    --bg-light:#3b1475;
    --panel:#4a1d8a;
    --panel-hover:#5c28ad;

    --primary:#6f2cff;
    --primary-hover:#8450ff;

    --yellow:#ffd400;
    --yellow-hover:#ffea61;

    --white:#ffffff;
    --text:#ececec;
    --muted:#b9a9d8;

    --border:rgba(255,255,255,.08);

    --radius:14px;

    --shadow:
        0 10px 25px rgba(0,0,0,.30);

    --transition:.25s ease;

}

/*==================================================
    RESET
==================================================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;
    width:100%;

overflow-x:hidden;

}

body{

    background:
        linear-gradient(
            180deg,
            #2d0b52 0%,
            #3b1475 100%
            
        );

    font-family:'Fredoka',sans-serif;

    color:var(--white);

    overflow-x:hidden;
    
    min-width:320px;

    line-height:1.6;

}

/*==================================================
    COMMON
==================================================*/

img{

    max-width:100%;
    display:block;

}

a{

    color:inherit;
    text-decoration:none;

}

button{

    font-family:inherit;

}

input{

    font-family:inherit;

}

ul{

    list-style:none;

}

/*==================================================
    CONTAINER
==================================================*/

.container{

width:100%;

max-width:1600px;

margin:auto;

padding:0 20px;

}

.container-fluid{

    width:100%;

    margin:0;

    padding:0;

}

/*==================================================
    SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#2a0b50;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-hover);

}

/*==================================================
    HEADER
==================================================*/

.header{

    position:sticky;

    top:0;

    z-index:999;

    background:rgba(44,10,82,.96);

    backdrop-filter:blur(10px);

    border-bottom:1px solid var(--border);

    box-shadow:var(--shadow);

}

/*==================================================
    HEADER WRAPPER
==================================================*/

.header-wrapper{

    height:82px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

/*==================================================
    LOGO
==================================================*/

.logo{

    display:flex;

    align-items:center;

}

.logo img{

    height:60px;

    width:auto;

}

.logo-text{

    font-size:32px;

    font-weight:700;

    color:var(--yellow);

    letter-spacing:1px;

}

/*==================================================
    MENU
==================================================*/

.menu{

    display:flex;

    align-items:center;

    gap:30px;

}

.menu a{

    color:#fff;

    font-size:17px;

    font-weight:600;

    transition:var(--transition);

    position:relative;

}

.menu a:hover{

    color:var(--yellow);

}

.menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--yellow);

    transition:var(--transition);

}

.menu a:hover::after{

    width:100%;

}

/*==================================================
    HEADER RIGHT
==================================================*/

.header-right{

    display:flex;

    align-items:center;

    gap:18px;

    position:relative;

}

/*==================================================
    SEARCH
==================================================*/

.search-wrapper{

    position:relative;

    width:300px;

    flex-shrink:0;

}

.search-box{

    display:flex;

    align-items:center;

    width:100%;

    height:46px;

    background:#fff;

    border-radius:12px;

    overflow:hidden;

}

.search-box input{

    flex:1;

    width:240px;

    min-width:0;

    padding:13px 15px;

    border:none;

    outline:none;

    font-size:15px;

    color:#333;

    background:#fff;

}

#searchResults{
    position:absolute;
    top:calc(100% + 6px);
    left:0;
    width:100%;
    background:#fff;
    border-radius:12px;
    border:1px solid #ddd;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    max-height:420px;
    overflow-y:auto;
    display:none;
    z-index:99999;
}

.search-box button{

    width:54px;

    height:46px;

    border:none;

    background:var(--primary);

    color:#fff;

    cursor:pointer;

    transition:var(--transition);

}

.search-box button:hover{

    background:var(--primary-hover);

}

.search-item{

display:flex;
align-items:center;
gap:10px;
padding:10px;
text-decoration:none;
color:#333;
border-bottom:1px solid #eee;

}

.search-item:last-child{

    border-bottom:none;

}

.search-item:hover{

background:#f7f7f7;

}
.search-item img{

    width:60px;

    height:60px;

    border-radius:8px;

    object-fit:cover;

    flex-shrink:0;

}

.search-item span{

    font-size:15px;

    font-weight:600;

    line-height:1.4;

}

.search-empty{

padding:15px;
text-align:center;

}

/*==================================================
    FAVORITE BUTTON
==================================================*/

.favorite{

    display:flex;

    align-items:center;

    justify-content:center;

    width:44px;

    height:44px;

    border-radius:12px;

    background:var(--panel);

    color:#fff;

    transition:var(--transition);

}

.favorite:hover{

    background:var(--primary);

}

/*==================================================
    MAIN LAYOUT
==================================================*/

.main-layout{

    width:100%;

}

.left-content{

    min-width:0;

}

.right-sidebar{

    display:flex;

    flex-direction:column;

    gap:20px;

}
/*==================================================
    HOMEPAGE SECTION
==================================================*/

.homepage-section{

    margin-bottom:40px;

}

.homepage-section h2{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:20px;

    font-size:26px;

    font-weight:700;

    color:var(--yellow);

}

/*==================================================
    FRIV GAMES GRID
==================================================*/

.games{

    display:flex;

    flex-wrap:wrap;

    gap:14px;

    align-items:flex-start;

}

/*==================================================
    GAME CARD
==================================================*/

.card{

    flex:0 0 120px;

    width:120px;

    min-height:170px;

    background:#53258f;

    border:2px solid rgba(255,255,255,.08);

    border-radius:14px;

    overflow:hidden;

    transition:.25s;

}

.card:hover{

    transform:translateY(-4px);

    border-color:#FFD54F;

}

/*==================================================
    GAME IMAGE
==================================================*/

.card img{

    display:block;

    width:100%;

    aspect-ratio:1/1;

    object-fit:cover;

}

/*==================================================
    GAME TITLE
==================================================*/

.card span{

    display:block;

    padding:10px 8px;

    font-size:15px;

    font-weight:700;

    text-align:center;

    line-height:1.3;

    overflow:hidden;

    white-space:nowrap;

    text-overflow:ellipsis;

}

@media (max-width:1200px){

.card{

    flex:0 0 115px;
    width:115px;

}

}

@media (max-width:768px){

.card{

    flex:0 0 105px;
    width:105px;

}

}

@media (max-width:480px){

.card{

    flex:0 0 calc(33.333% - 10px);

    width:auto;

}

}

/*==================================================
    OPTIONAL GAME INFO
==================================================*/

.game-info{

    padding:8px;

}

.game-title{

    display:block;

    font-size:11px;

    text-align:center;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}

/*==================================================
    BADGES
==================================================*/

.badge{

    position:absolute;

    top:6px;

    left:6px;

    padding:3px 7px;

    border-radius:20px;

    font-size:10px;

    font-weight:700;

    color:#fff;

    z-index:10;

}

.badge-new{

    background:#16a34a;

}

.badge-hot{

    background:#ef4444;

}

.badge-featured{

    background:#f59e0b;

    color:#000;

}

/*==================================================
    BUTTONS
==================================================*/

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 24px;

    border:none;

    border-radius:12px;

    background:var(--primary);

    color:#fff;

    font-weight:600;

    cursor:pointer;

    transition:var(--transition);

}

.btn:hover{

    background:var(--primary-hover);

}

.btn-yellow{

    background:var(--yellow);

    color:#000;

}

.btn-yellow:hover{

    background:var(--yellow-hover);

}

/*==================================================
    LOAD MORE
==================================================*/

.load-more {
    width: 100%;
    text-align: center;
    margin: 40px 0 60px;
}

.load-more a{

    display:inline-block;

    padding:14px 34px;

    background:var(--primary);

    color:#fff;

    border-radius:14px;

    font-weight:700;

    transition:var(--transition);

}

.load-more a:hover{

    background:var(--primary-hover);

}

.load-more button {
    border: 0;
    outline: 0;
    background: #7028ff;
    color: #fff;
    padding: 16px 34px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}

.load-more button:hover {
    transform: translateY(-2px);
}

.load-more button:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

/*==================================================
    ADVERTISEMENT
==================================================*/

.ad-box{

    background:rgba(255,255,255,.05);

    border:2px dashed rgba(255,255,255,.15);

    border-radius:14px;

    padding:35px 20px;

    text-align:center;

    font-size:18px;

    color:#d6c7ff;

    margin:30px 0;

}

/*==================================================
    SMALL AD
==================================================*/

.ad-small{

    padding:20px;

    font-size:15px;

}

.header-ad-box{
    max-width:760px;
    margin:20px auto 30px;
    padding:15px;
    background:#4b1f84;
    border:2px solid rgba(255,255,255,.08);
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
    text-align:center;
}

.header-ad-label{
    display:inline-block;
    margin-bottom:12px;
    padding:4px 12px;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    color:#FFD54F;
    background:rgba(255,255,255,.08);
    border-radius:30px;
    letter-spacing:1px;
}

/*==================================================
    PANEL
==================================================*/

.panel{

    background:var(--panel);

    border-radius:14px;

    padding:20px;

    border:1px solid rgba(255,255,255,.08);

}

/*==================================================
    PANEL TITLE
==================================================*/

.panel-title{

    font-size:22px;

    font-weight:700;

    color:var(--yellow);

    margin-bottom:18px;

}

/*==================================================
    HOVER EFFECTS
==================================================*/

.scale:hover{

    transform:scale(1.05);

}

.shadow:hover{

    box-shadow:0 12px 30px rgba(0,0,0,.35);

}

/*==================================================
    UTILITIES
==================================================*/

.text-center{

    text-align:center;

}

.mt-20{

    margin-top:20px;

}

.mt-30{

    margin-top:30px;

}

.mb-20{

    margin-bottom:20px;

}

.mb-30{

    margin-bottom:30px;

}
/*==================================================
    SIDEBAR
==================================================*/

.sidebar-box{

    background:var(--panel);

    border:1px solid var(--border);

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

}

.sidebar-title{

    padding:15px 18px;

    background:var(--primary);

    color:#fff;

    font-size:18px;

    font-weight:700;

}

/*==================================================
    CATEGORY LIST
==================================================*/

.category-list li{

    border-bottom:1px solid rgba(255,255,255,.06);

}

.category-list li:last-child{

    border-bottom:none;

}

.category-list a{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 18px;

    transition:var(--transition);

}

.category-list a:hover{

    background:var(--panel-hover);

    padding-left:24px;

}

.category-count{

    font-size:13px;

    opacity:.75;

}

/*==================================================
    LATEST / POPULAR LIST
==================================================*/

.latest-games{

    padding:12px;

}

.latest-item{

    display:flex;

    align-items:center;

    gap:12px;

    padding:10px;

    border-radius:12px;

    transition:var(--transition);

}

.latest-item:hover{

    background:rgba(255,255,255,.06);

}

.latest-item img{

    width:60px;

    height:60px;

    border-radius:10px;

    object-fit:cover;

}

.latest-item h4{

    font-size:14px;

    margin-bottom:4px;

    color:#fff;

}

.latest-item span{

    font-size:12px;

    color:var(--muted);

}

/*==================================================
    PAGINATION
==================================================*/

.pagination{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:10px;

    margin:45px 0;

}

.pagination a{

    min-width:45px;

    padding:12px 16px;

    text-align:center;

    background:var(--panel);

    border-radius:10px;

    transition:var(--transition);

}

.pagination a:hover{

    background:var(--primary);

}

.pagination .active{

    background:var(--yellow);

    color:#000;

    font-weight:700;

}

/*==================================================
    GAME PAGE
==================================================*/

.game-page{

    margin:25px 0;

}

.game-player{

    position:relative;

    width:100%;

    aspect-ratio:16/9;

    overflow:hidden;

    border-radius:16px;

    background:#000;

    box-shadow:var(--shadow);

}

.game-player iframe{

    width:100%;

    height:100%;

    border:none;

}

.game-description{

    margin-top:30px;

    background:var(--panel);

    padding:25px;

    border-radius:16px;

}

.game-description h2{

    margin-bottom:15px;

    color:var(--yellow);

}

.game-description p{

    color:var(--text);

    line-height:1.8;

}

/*==================================================
    RELATED GAMES
==================================================*/

.related-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(120px,1fr));

    gap:12px;

    margin-top:25px;

}

/*==================================================
    CATEGORY HEADER
==================================================*/

.category-header{

    margin-bottom:30px;

    text-align:center;

}

.category-header h1{

    font-size:42px;

    color:var(--yellow);

    margin-bottom:10px;

}

.category-header p{

    color:var(--muted);

    font-size:18px;

}

/*==================================================
    SEARCH PAGE
==================================================*/

.search-header{

    margin-bottom:25px;

}

.search-header h1{

    font-size:34px;

    color:var(--yellow);

}

.search-header p{

    margin-top:10px;

    color:var(--muted);

}

/*==================================================
    BREADCRUMB
==================================================*/

.breadcrumb{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

    margin-bottom:20px;

    font-size:14px;

}

.breadcrumb a{

    color:var(--yellow);

}

.breadcrumb span{

    color:var(--muted);

}

/*==================================================
    FOOTER
==================================================*/

.footer{

    margin-top:60px;

    background:#22063f;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:35px;

    padding:50px 0;

}

.footer h3{

    color:var(--yellow);

    margin-bottom:15px;

}

.footer p{

    color:var(--muted);

    line-height:1.8;

}

.footer a{

    display:block;

    margin-bottom:10px;

    color:var(--muted);

    transition:var(--transition);

}

.footer a:hover{

    color:#fff;

}

.copyright{

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

    padding:20px;

    color:var(--muted);

}

/*==================================================
    ANIMATIONS
==================================================*/

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-5px);

    }

    100%{

        transform:translateY(0);

    }

}

.float{

    animation:float 3s ease-in-out infinite;

}
/*==================================================
FOOTER FIX
==================================================*/

.site-footer{

    width:100%;

    background:#24073f;

    margin-top:70px;

}

.footer-top{

    width:100%;

    max-width:1600px;

    margin:0 auto;

    padding:60px 20px;

    display:grid;

    grid-template-columns:1.3fr 1fr 1fr 1.2fr;

    gap:40px;

}

.footer-widget img{

    max-width:180px;

    margin-bottom:20px;

}

.footer-widget h3{

    color:var(--yellow);

    font-size:24px;

    margin-bottom:18px;

}

.footer-widget p{

    color:var(--muted);

    line-height:1.8;

}

.footer-links{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.footer-links a{

    color:var(--muted);

    transition:.25s;

}

.footer-links a:hover{

    color:#fff;

}

.social-links{

    display:flex;

    gap:12px;

    margin-top:18px;

}

.social-links a{

    width:42px;

    height:42px;

    border-radius:50%;

    background:var(--primary);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

}

.social-links a:hover{

    background:var(--yellow);

    color:#000;

}

.newsletter{

    display:flex;

    margin-top:18px;

}

.newsletter input{

    flex:1;

    height:48px;

    border:none;

    outline:none;

    padding:0 15px;

    border-radius:10px 0 0 10px;

}

.newsletter button{

    border:none;

    padding:0 20px;

    background:var(--primary);

    color:#fff;

    cursor:pointer;

    border-radius:0 10px 10px 0;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

    padding:22px 0;

    color:var(--muted);

}

@media(max-width:992px){

.footer-top{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.footer-top{

    grid-template-columns:1fr;

}

.newsletter{

    flex-direction:column;

    gap:10px;

}

.newsletter input{

    border-radius:10px;

}

.newsletter button{

    height:48px;

    border-radius:10px;

}

}
.footer-logo{

    max-height:60px;

    width:auto;

    display:block;

    margin:0 auto 15px;

}
@media(max-width:768px){

.footer-logo{

    max-height:45px;

}

}
.footer-pages{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:18px;

    margin-top:20px;

    padding:0;

    list-style:none;

}

.footer-pages li a{

    color:#ddd;

    text-decoration:none;

    transition:.3s;

}

.footer-pages li a:hover{

    color:#fff;

}
#favoriteBtn.active{

    background:#ff2d55;

    color:#fff;

    border-color:#ff2d55;

}

/*======================================
CATEGORY PAGE V4
======================================*/

.category-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:22px;

}

.category-card{

    background:#34105d;

    border:2px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:22px;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    align-items:center;

    text-align:center;

    min-height:220px;

    transition:.25s;

}

.category-card:hover{

transform:translateY(-6px);

border-color:#FFD54F;

box-shadow:0 15px 35px rgba(0,0,0,.35);

}

.category-top{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:15px;

    width:100%;

}

.cat-icon{

width:70px;

height:70px;

border-radius:18px;

background:#6f2cff;

display:flex;

align-items:center;

justify-content:center;

font-size:30px;

color:#fff;

flex-shrink:0;

}

.cat-info{

    text-align:center;

    width:100%;

}

.cat-info h3{

font-size:24px;

margin:0 0 6px;

color:#fff;

}

.cat-info p{

margin:0;

font-size:15px;

color:#bfb8dc;

}

.category-divider{

height:1px;

background:rgba(255,255,255,.08);

margin:20px 0;

}

.category-bottom{

display:flex;

justify-content:center;

align-items:center;

gap:10px;

font-size:17px;

font-weight:700;

color:#c68cff;

}

.category-card:hover .category-bottom{

color:#FFD54F;

}

@media(max-width:1400px){

.category-grid{

grid-template-columns:repeat(4,1fr);

}

}

@media(max-width:1100px){

.category-grid{

grid-template-columns:repeat(3,1fr);

}

}

@media(max-width:768px){

.category-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:520px){

.category-grid{

grid-template-columns:1fr;

}

}

.menu-toggle{

display:none;

width:46px;

height:46px;

border:none;

background:#6f2cff;

color:#fff;

border-radius:12px;

font-size:20px;

cursor:pointer;

}

.mobile-menu{

position:fixed;

top:0;

right:-320px;

width:300px;

max-width:85vw;

height:100vh;

background:#2b084a;

z-index:999999;

transition:right .3s ease;

overflow-y:auto;

padding:20px;

box-sizing:border-box;

}

.mobile-menu-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.mobile-menu-header h3{
    color:#fff;
    font-size:22px;
    font-weight:700;
}

.menu-close{
    width:42px;
    height:42px;
    border:none;
    border-radius:10px;
    background:#6f2cff;
    color:#fff;
    cursor:pointer;
    font-size:20px;
}

.mobile-menu.active{

right:0;

}

.mobile-menu nav{

display:flex;

flex-direction:column;

gap:18px;

margin-top:25px;

}

.mobile-menu a{

font-size:18px;

font-weight:600;

}

.mobile-search form{

display:flex;

}

.mobile-search input{

flex:1;

height:46px;

border:none;

padding:0 15px;

border-radius:10px 0 0 10px;

}

.mobile-search button{

width:52px;

border:none;

background:#6f2cff;

color:#fff;

border-radius:0 10px 10px 0;

}

#menuOverlay{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,.55);

display:none;

z-index:999998;

}

#menuOverlay.active{

display:block;

}

@media(max-width:768px){

.menu{

display:none;

}

.search-wrapper{

display:none;

}

.menu-toggle{

display:flex;

align-items:center;

justify-content:center;

}

.header-wrapper{

height:80px;

}

}

/* ==========================================
   HOMEPAGE ABOUT
========================================== */

.homepage-about{
    width:100%;
    padding:50px 0;
}

.homepage-content-box{
    width:100%;
    padding:35px 40px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.10);
    border-radius:18px;
}

.homepage-content-box h2{
    margin:0 0 18px;

    color:#ffd600;

    font-size:28px;
    line-height:1.3;
}

.homepage-content-text{
    color:#d9cdea;

    font-size:16px;
    line-height:1.9;
}

.homepage-content-text p{
    margin:0 0 15px;
}


/* MOBILE */

@media (max-width:768px){

    .homepage-about{
        padding:30px 0;
    }

    .homepage-content-box{
        padding:24px 20px;
        border-radius:14px;
    }

    .homepage-content-box h2{
        font-size:22px;
        margin-bottom:14px;
    }

    .homepage-content-text{
        font-size:15px;
        line-height:1.8;
    }

}

/* ==================================================
   HOMEPAGE FAQ
================================================== */

.homepage-faq{
    width:100%;
    padding:10px 0 60px;
}

.faq-wrapper{
    width:100%;
}

.faq-heading{
    margin:0;
    text-align:center;

    color:#ffd600;

    font-size:30px;
    line-height:1.3;
}

.faq-subtitle{
    margin:10px 0 30px;

    text-align:center;

    color:#cdbde2;
    font-size:15px;
}


/* FAQ LIST */

.faq-list{
    width:100%;
    max-width:1000px;

    margin:0 auto;

    display:flex;
    flex-direction:column;
    gap:12px;
}


/* FAQ CARD */

.faq-item{
    width:100%;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.10);

    border-radius:14px;

    overflow:hidden;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.faq-item:hover{
    border-color:rgba(125,50,255,.55);
}

.faq-item.active{
    background:rgba(255,255,255,.06);
    border-color:#7130ff;
}


/* QUESTION */

.faq-question{
    width:100%;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    padding:20px 22px;

    border:0;
    outline:0;

    background:transparent;

    color:#fff;

    font-family:inherit;
    font-size:17px;
    font-weight:700;

    text-align:left;

    cursor:pointer;
}

.faq-question span:first-child{
    flex:1;
}


/* + ICON */

.faq-icon{
    width:34px;
    height:34px;

    flex:0 0 34px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#7130ff;

    color:#fff;

    font-size:23px;
    font-weight:400;
    line-height:1;

    transition:transform .25s ease;
}

.faq-item.active .faq-icon{
    transform:rotate(45deg);
}


/* ANSWER */

.faq-answer{
    max-height:0;

    overflow:hidden;

    transition:max-height .3s ease;
}

.faq-answer-inner{
    padding:0 22px 22px;

    color:#d4c7e4;

    font-size:15px;
    line-height:1.8;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width:768px){

    .homepage-faq{
        padding:5px 0 40px;
    }

    .faq-heading{
        font-size:23px;
    }

    .faq-subtitle{
        font-size:14px;
        margin-bottom:22px;
    }

    .faq-question{
        padding:17px 16px;

        font-size:15px;

        gap:12px;
    }

    .faq-icon{
        width:30px;
        height:30px;

        flex-basis:30px;

        font-size:20px;
    }

    .faq-answer-inner{
        padding:0 16px 18px;

        font-size:14px;
        line-height:1.7;
    }

}

/* ==========================================
   GAME COMMENTS
========================================== */

.game-comments {
    margin-top: 35px;

    background: #fff;

    border: 1px solid #e7e7ed;
    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 5px 20px rgba(0,0,0,.035);
}


/* HEADER */

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px 22px;

    border-bottom: 1px solid #ededf2;
}

.comments-header h3 {
    margin: 0;

    color: #292929;

    font-size: 20px;
}

.comments-header p {
    margin: 5px 0 0;

    color: #888;

    font-size: 12px;
}

.comments-count {
    padding: 7px 11px;

    background: #f1e5ff;

    color: #6500b8;

    border-radius: 7px;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;
}


/* ==========================================
   MESSAGES
========================================== */

.comment-message {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: 18px 22px 0;
    padding: 13px 15px;

    border-radius: 9px;
}

.comment-message.success {
    background: #eaf8f0;

    border: 1px solid #c6ead4;

    color: #16824b;
}

.comment-message.error {
    background: #fff1f2;

    border: 1px solid #ffd0d5;

    color: #cf3741;
}

.comment-message-icon {
    width: 27px;
    height: 27px;
    min-width: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.7);

    border-radius: 50%;

    font-weight: 800;
}

.comment-message strong,
.comment-message div > span {
    display: block;
}

.comment-message strong {
    font-size: 12px;
}

.comment-message div > span {
    margin-top: 2px;

    font-size: 10px;
}


/* ==========================================
   COMMENTS LIST
========================================== */

.comments-list {
    padding: 4px 22px;
}

.comment-item {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    padding: 18px 0;

    border-bottom: 1px solid #eeeeF2;
}

.comment-item:last-child {
    border-bottom: 0;
}

.comment-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1e5ff;

    color: #6500b8;

    border-radius: 50%;

    font-size: 15px;
    font-weight: 800;
}

.comment-body {
    flex: 1;

    min-width: 0;
}

.comment-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;
}

.comment-top strong {
    color: #333;

    font-size: 13px;
}

.comment-top time {
    color: #aaa;

    font-size: 10px;
}

.comment-body p {
    margin: 7px 0 0;

    color: #666;

    font-size: 12px;
    line-height: 1.65;

    overflow-wrap: anywhere;
}


/* EMPTY */

.comments-empty {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 35px 15px;

    text-align: center;
}

.comments-empty > div {
    margin-bottom: 8px;

    font-size: 25px;
}

.comments-empty strong {
    color: #444;

    font-size: 13px;
}

.comments-empty span {
    margin-top: 4px;

    color: #999;

    font-size: 10px;
}


/* ==========================================
   COMMENT FORM
========================================== */

.comment-form-card {
    margin: 5px 22px 22px;

    background: #fafafd;

    border: 1px solid #e5e5ec;
    border-radius: 11px;
}

.comment-form-heading {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 16px 18px;

    border-bottom: 1px solid #e7e7ed;
}

.comment-form-icon {
    width: 37px;
    height: 37px;
    min-width: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1e5ff;

    color: #6500b8;

    border-radius: 8px;

    font-size: 17px;
    font-weight: 700;
}

.comment-form-heading h4 {
    margin: 0;

    color: #333;

    font-size: 14px;
}

.comment-form-heading p {
    margin: 3px 0 0;

    color: #999;

    font-size: 10px;
}

.comment-form {
    padding: 18px;
}

.comment-form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 14px;
}

.comment-field {
    min-width: 0;
}

.comment-field-full {
    margin-top: 15px;
}

.comment-field label {
    display: block;

    margin-bottom: 7px;

    color: #444;

    font-size: 11px;
    font-weight: 700;
}

.comment-field label span {
    color: #d83242;
}

.comment-field input,
.comment-field textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 11px 12px;

    background: #fff;

    border: 1px solid #dddde5;
    border-radius: 8px;

    color: #333;

    font-family: inherit;
    font-size: 12px;

    outline: none;

    transition: .2s;
}

.comment-field input {
    height: 44px;
}

.comment-field textarea {
    min-height: 125px;

    resize: vertical;

    line-height: 1.5;
}

.comment-field input:focus,
.comment-field textarea:focus {
    border-color: #6500b8;

    box-shadow:
        0 0 0 3px rgba(101,0,184,.06);
}

.comment-field > small {
    display: block;

    margin-top: 5px;

    color: #999;

    font-size: 9px;
}


/* CHARACTER COUNT */

.comment-form-help {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 6px;

    color: #999;
}

.comment-form-help small {
    font-size: 9px;
}


/* FOOTER */

.comment-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 17px;
}

.comment-moderation-note {
    color: #888;

    font-size: 10px;
}

.comment-moderation-note span {
    margin-right: 4px;
}

.comment-submit-btn {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 17px;

    background: #6500b8;

    border: 0;
    border-radius: 8px;

    color: #fff;

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s;
}

.comment-submit-btn:hover {
    background: #520096;
}


/* HONEYPOT */

.comment-website-field {
    position: absolute !important;

    left: -99999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    .comments-header {
        align-items: flex-start;
    }

    .comment-form-row {
        grid-template-columns: 1fr;
    }

    .comment-form-footer {
        flex-direction: column;

        align-items: stretch;
    }

    .comment-submit-btn {
        width: 100%;
    }

}


@media (max-width: 480px) {

    .comments-header,
    .comments-list {
        padding-left: 15px;
        padding-right: 15px;
    }

    .comment-form-card {
        margin-left: 15px;
        margin-right: 15px;
    }

    .comment-top {
        flex-direction: column;

        align-items: flex-start;

        gap: 3px;
    }

}

/* ==========================================
   GAME ACTION BUTTONS
========================================== */

.game-action-buttons {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

.game-action-buttons .btn {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 12px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    box-sizing: border-box;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;

    text-align: center;
    text-decoration: none;
    white-space: nowrap;

    border-radius: 8px;

    cursor: pointer;
}

/* Tablet */

@media (max-width: 900px) {

    .game-action-buttons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* Mobile */

@media (max-width: 600px) {

    .game-action-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .game-action-buttons .btn {
        min-height: 42px;
        padding: 9px 7px;
        font-size: 12px;
        white-space: normal;
    }

}


/* Very small mobile */

@media (max-width: 360px) {

    .game-action-buttons {
        grid-template-columns: 1fr;
    }

}

.game-action-buttons .btn i {
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

/* Previous / Next Game Navigation */

.game-navigation {
    width: 100%;
    margin-top: 25px;
    margin-bottom: 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.game-navigation .btn {
    min-width: 125px;
    min-height: 48px;
    padding: 12px 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin: 0 !important;
    border-radius: 10px;
    font-weight: 600;
}

/* Mobile */

@media (max-width: 576px) {

    .game-navigation {
        margin-top: 20px;
        gap: 10px;
    }

    .game-navigation .btn {
        min-width: 0;
        width: auto;
        min-height: 44px;
        padding: 10px 15px;
        font-size: 13px;
    }
}

/* ==========================================
   RELATED GAMES
========================================== */

.related-games-section {
    margin-top: 30px;
    margin-bottom: 35px;
}

.related-games-title {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 700;
}

.related-games {
    width: 100%;
}

/* ==========================================
   GAME VIEW COUNTER
========================================== */

.game-views {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;

    width: fit-content;
    padding: 8px 13px;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    color: #fff;
}

.game-views-icon {
    width: 27px;
    height: 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.12);
    border-radius: 7px;
}

.game-views-icon i {
    font-size: 12px;
}

.game-views-count {
    font-weight: 700;
}

.game-views-label {
    opacity: 0.8;
}

@media (max-width: 576px) {

    .game-views {
        padding: 7px 10px;
        gap: 6px;
        font-size: 12px;
        margin-bottom: 14px;
    }

    .game-views-icon {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================
   FOOTER NEWSLETTER - MOBILE FIX
========================================== */

@media (max-width: 768px) {

    .site-footer .newsletter {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .site-footer .newsletter input[type="email"] {
        display: block;
        width: 100% !important;
        height: 50px !important;
        min-height: 50px;
        padding: 0 16px !important;
        margin: 0 !important;

        box-sizing: border-box;
        border-radius: 10px !important;

        font-size: 15px;
        line-height: normal;
    }

    .site-footer .newsletter button {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100% !important;
        height: 50px !important;
        min-height: 50px;

        padding: 0 18px !important;
        margin: 0 !important;

        box-sizing: border-box;
        border-radius: 10px !important;

        font-size: 15px;
        font-weight: 600;
    }
}

.restore-info{

margin-top:15px;

padding:14px 16px;

background:#e8f7ee;

border:1px solid #b8e5c6;

border-radius:10px;

color:#1f6b37;

font-size:14px;

display:flex;

align-items:center;

gap:10px;

}

.restore-info i{

font-size:18px;

}