/* tokens.css */
:root {
  --color-white: #ffffff;
  --color-black : #000000;
  --color-primary: #4a90e2;
  --color-secondary: #FF0044;
  --color-ash-theme: #EBEBEB;

  --space-xxs: 4px;
  --space-xl5: 5px;
  --space-sm: 8px;
  --space-xs: 10px; /* added reusable 10px token */
  --space-md: 16px;
  --space-2xs: 20px;
  --space-xl: 22px;
  --space-lg: 24px;
  --space-xl: 32px;
  --font-base: "Arial", sans-serif;
  --radius-md: 8px;
/* FONT SIZES */
  --font-size-sm: 12px;
  --font-size-xs: 14px;
  --font-size-md: 16px;    
  --font-size-base: 18px; 
  --font-size-lg: 20px;
  --font-size-xl: 24px;
  --font-size-2xl: 30px;
  --font-size-3xl: 36px;
  
  /* font weight */

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}


/* COMMON CSS FOR ALL PAGES */
.font-size-30{font-size: 30px;}
.fw-800{font-weight: 700;}
.games-title-line-wrap h2,
.games-title-line-wrap h2 span{
    font-size: var(--font-size-base) !important;
}
h1{font-size: var(--font-size-2xl) !important; font-weight: var(--font-weight-bold) !important; color: var(--color-black);}
 h2{font-size: var(--font-size-2xl) !important; font-weight: var(--font-weight-bold) !important; color: var(--color-black);}
 h6{
  font-size: var(--font-size-xs) !important;
  font-weight: var(--font-weight-medium) !important;
  color: var(--color-black) !important;
}
 
 body{overflow-x: hidden; font-size: var(--font-size-md);}
 .text-right{text-align: right;}
 .sub_heading{font-size: var(--font-size-lg);font-weight: var(--font-weight-semibold);color: var(--color-black);}
.header {background: var(--color-white);padding: var(--space-md);}
.header--hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.new_container{max-width: 1200px; margin:auto;}
.search-icon{padding: 0;position: absolute;right: var(--space-md); top: var(--space-xxs);}
.search-bar,.search-bar:hover,.search-bar:focus{background-color: #EBEBEB;border-radius: 32px;border: 0;box-shadow: none;outline: 0;font-size: 14px;}
.w-40{width: 40%;}
.game-list li{padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-xs);}
.game-list li a, .game-list li a:hover{font-size: var(--font-size-xs);background-color: var(--color-secondary);color:var(--color-white);border-radius: var(--space-xl);padding: var(--space-xl5)var(--space-2xs);}
.footer-bg{background-color: var(--color-ash-theme);}

.desktop-ads {width: 100%;height: 250px;}
.left-rail-ads{position: sticky;top: 10px;z-index: 99;}
.new_card{background-color: #EDEDED;border-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;}
.desktop-bottom-ad{
  width: 728px;
  height: 90px;
  margin: 0 auto;
      position: fixed;
    bottom: 0;
    z-index: 999;
}
.search-bottom-ad{
 width: 728px;
  height: 90px;
  position: fixed;
  bottom: 0;
  left: 40%;
  transform: translateX(-50%);
  z-index: 9999;
}


/* Play overlay on game card image (hover) */
.new_card > div:first-child {
  position: relative;
  overflow: hidden;
}

/* dark overlay */
.new_card > div:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 220ms ease;
  border-radius: inherit;
  pointer-events: none;
  border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* play button */
.new_card > div:first-child::after {
  content: "Play";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.96);
  background: rgba(255,255,255,0.12);
  color: #ff973b;
  border: 1.5px solid #ff973b;
  padding: 8px 22px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: .2px;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: auto;
  z-index: 5;
  backdrop-filter: blur(4px);
}

/* reveal on hover / focus (keyboard accessible) */
.new_card:hover > div:first-child::before,
.new_card:focus-within > div:first-child::before {
  opacity: 1;
}
.new_card:hover > div:first-child::after,
.new_card:focus-within > div:first-child::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* make sure image covers area nicely */
.new_card .card-img-top {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Disable hover overlay on small/touch screens */
@media (max-width: 991.98px) {
  .new_card > div:first-child::before,
  .new_card > div:first-child::after {
    display: none;
  }
}
.header{
  top: 0; left: 0; width: 100%; z-index: 1000;
  position: fixed;
    transition: .5s ease;
   border-bottom: .1px solid rgba(0,0,0,0.1);
}
.mt-100{ margin-top: 100px; }

.new_card .flex-grow-1 {
    flex-grow: 0 !important;
}



/* category bar design start here  */
    .category-wrapper {
        position: relative;
background: linear-gradient(90deg, rgb(2, 62, 138) 0%, rgb(0, 119, 182) 100%);
    border-radius: 20px;
    }
    .category-bar {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        gap: 12px;
        padding: 10px 0;
    }
    .cat-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
        height: 80px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 10px rgba(46, 139, 250, .15);
        text-decoration: none;
        transition: .3s;
    }

    .cat-card:hover {
        transform: scale(1.08);
        background: #eaf3ff;
    }

    .cat-img {
        width: 36px;
        height: 36px;
        margin-bottom: 6px;
    }

    .cat-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .cat-name {
        font-size: 14px;
        text-align: center;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #000;
        font-weight: 700;
    }

    .more-btn {
        background: #f2f7ff;
        cursor: pointer;
    }

    #moreCategories {
        display: none;
        position: absolute;
        top: 120% !important;
        left: 0;
        width: 100%;
        /* FIXED */
        z-index: 999999;
        background: #fff;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
    }

    #moreCategories.open {
        display: block;
    }

    #moreCategories .category-bar {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        gap: 12px;
    }

    .card-img-top1 {
        width: 100%;
        height: 100px !important;
        object-fit: cover;
        max-width: none !important;
    }



.footer-item .nav-link{
    color: #000;
    font-size: 16px;
    font-weight: 700;
}

.footer-item .nav-link:hover{
    color: #000;
    font-size: 16px;
    font-weight: 700;
}
.games-heading-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    margin-bottom:20px;
    width:100%;
}

.games-heading-left{
    display:flex;
    align-items:flex-start;
    gap:12px;
    width:100%;
}

.games-heading-icon{
    width:40px;
    height:40px;
    object-fit:contain;
    flex-shrink:0;
}

.games-title-line-wrap{
    width:100%;
}

.games-title-line-wrap h2{
    margin:0;
    font-size:22px;
    font-weight:700;
    line-height:1.2;
}

.games-title-line-wrap h2 span{
    position:relative;
    display:inline-block;
    padding-bottom:10px;
}

/* BLACK LINE AUTO MATCHES TEXT WIDTH */
.games-title-line-wrap h2 span::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:4px;
    background:#000;
    border-radius:20px;
}

/* FULL GRAY LINE */
.gray-line{
    width:100%;
    height:1px;
    background:#d9d9d9;
    margin-top:-3px;
}

.games-more-btn{
    text-decoration:none;
    color:#000;
    font-weight:600;
    white-space:nowrap;
    font-size:16px;
    margin-top:5px;
}

.games-more-btn span{
    color:#ff7a00;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

 /*====================================
Category Description
====================================*/

.category-description-section{
    margin:60px 0 20px;
}

.category-description-card{
    background:#fff7e8;
    border-radius:14px;
    padding:30px;
    box-shadow:0 4px 20px rgba(0,0,0,.05);
}

.category-badge{
    display:inline-block;
    background:#ffbf00;
    color:#222;
    font-size:13px;
    font-weight:600;
    padding:6px 14px;
    border-radius:50px;
    margin-bottom:15px;
}

.category-description-title{
    font-size:32px;
    font-weight:700;
    color:#222;
    margin-bottom:20px;
    line-height:1.3;
}

.category-description-content{
    font-size:16px;
    line-height:1.9;
    color:#555;
}

.category-description-content p{
    margin-bottom:18px;
}

.category-description-content p:last-child{
    margin-bottom:0;
}

.category-description-content h2,
.category-description-content h3,
.category-description-content h4{
    color:#222;
    font-weight:700;
    margin:25px 0 15px;
}

.category-description-content ul,
.category-description-content ol{
    padding-left:22px;
    margin-bottom:18px;
}

.category-description-content li{
    margin-bottom:10px;
}




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

.site-footer{
    background:#fff7e8;
    border-top:2px solid #ffbf00;
    margin-top:70px;
    overflow:hidden;
}

.site-footer .container{
    max-width:1200px;
    margin:auto;
    padding:10px 10px 10px;
}

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

.footer-logo{
    text-align:center;
    max-width:650px;
    margin:0 auto;
}

.footer-logo img{
    max-width:180px;
    width:100%;
    height:auto;
    margin-bottom:20px;
}

.footer-logo h2{
    color:#222;
    margin-bottom:15px;
    font-size:32px;
    font-weight:700;
}

.footer-logo p{
    color:#555;
    font-size:16px;
    line-height:1.8;
    margin:0;
}

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

.footer-nav{
    margin:15px 0 10px;
}

.footer-link{
    color:#222;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    position:relative;
    display:inline-block;
    transition:.3s;
}

.footer-link::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#ffbf00;
    transition:.3s;
}

.footer-link:hover{
    color:#ffbf00;
}

.footer-link:hover::after{
    width:100%;
}

/*=========================================
        SOCIAL ICONS
=========================================*/

.footer-social{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:16px;
    margin-bottom:40px;
}

.footer-social a{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#fff;
    color:#ffbf00;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    font-size:18px;
    border:1px solid #ffbf00;
    transition:background-color .3s ease, color .3s ease;
}

.footer-social a:hover{
    background:#ffbf00;
    color:#fff;
}

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

.footer-bottom{

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

    padding-top:22px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;

    gap:15px;

}

.footer-bottom span{

    color:#555;
    font-size:14px;

}

.footer-bottom a{

    color:#222;
    text-decoration:none;
    font-weight:600;

    transition:.3s;

}

.footer-bottom a:hover{

    color:#ffbf00;

}

.playstore-badge{
    display: inline-flex;
    align-items: center;
}

.playstore-badge img{
    width: 100px;
    height: auto;
    display: block;
}



@media (max-width: 768px){

    .footer-bottom{
        flex-direction: column;
        text-align: center;
    }

    .playstore-badge{
        margin-top: 15px;
    }

    .playstore-badge img{
        width: 140px;
    }

}












/* ==========================================
   GAMEINTH SEARCH DRAWER
========================================== */

.search-drawer{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    backdrop-filter:blur(4px);
    opacity:0;
    visibility:hidden;
    transition:.35s ease;
    z-index:999999;
}

.search-drawer.active{
    opacity:1;
    visibility:visible;
}

.search-panel{
    position:absolute;
    top:0;
    right:0;
    width: 600px;
    max-width:100%;
    height:100vh;
    overflow-y:auto;
    transform:translateX(100%);
    transition:.35s ease;
    background:linear-gradient(180deg,#FFD200 0%,#F7971E 100%);
    box-shadow:-15px 0 40px rgba(0,0,0,.25);
    padding:22px;
}

.search-drawer.active .search-panel{
    transform:translateX(0);
}

/* Header */

.search-header{
    display:flex;
    align-items:center;
    width:100%;
    gap:16px;
}

.back-btn{
    width:52px;
    height:52px;
    min-width:52px;

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

    border:2px solid #FFD200;
    border-radius:50%;

    background:#fff;
    color:#F7971E;

    font-size:28px;
    font-weight:700;
    line-height:1;

    cursor:pointer;
    transition:.25s ease;

    flex-shrink:0;
}

.back-btn:hover{
    
    background:#fff;
    color:#F7971E;
}

.back-btn:active{
    transform:scale(.95);
}
.drawer-search-form{
    flex:1;
    display:flex;
    margin:0;
}

.search-input-wrap{
    position:relative;
    width:100%;
    display:flex;
}

.drawer-search-form input{
    width:100%;
    height:58px;
    border:none;
    outline:none;
    border-radius:40px;
    padding:0 22px 0 55px;
    font-size:16px;
    background:#fff;
    display:block;
}

/* Search */

.drawer-search-form{
    flex:1;
    display:flex;
    width:100%;
}

.search-input-wrap{
    position:relative;
    width:100%;
}

.search-input-wrap{

    position:relative;

}

.search-icon{

    position:absolute;
    left:20px;
    top:50%;
    transform:translateY(-50%);
    width:20px;
    opacity:.7;

}

.drawer-search-form input{

    width:100%;
    height:58px;
    border:none;
    outline:none;
    border-radius:50px;
    padding:0 60px;
    font-size:17px;
    background:#fff;
    color:#212529;
    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.drawer-search-form input:focus{

    box-shadow:
    0 0 0 4px rgba(255,210,0,.30);

}



/* Title */

.drawer-title{

    font-size:28px;
    font-weight:700;
    color:#212529;
    margin-bottom:20px;

}

/* Categories */

.drawer-categories{

    margin-bottom:25px;

}

.drawer-categories .category-bar{

    display:flex;
    flex-wrap:wrap;
    gap:14px;

}

.drawer-categories .cat-card{

    width:90px;
    text-decoration:none;
    background:#fff;
    border-radius:18px;
    padding:12px 10px;
    text-align:center;
    transition:.25s;
    box-shadow:0 6px 16px rgba(0,0,0,.08);

}

.drawer-categories .cat-card:hover{

    transform:translateY(-4px);

}

.drawer-categories .cat-img{

    width:48px;
    height:48px;
    margin:auto;

}

.drawer-categories .cat-img img{

    width:100%;
    height:100%;
    object-fit:contain;

}

.drawer-categories .cat-name{

    margin-top:10px;
    color:#212529;
    font-size:14px;
    font-weight:600;

}

/* Games */

.search-games{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;

}

.search-game{

    text-decoration:none;
    color:#212529;

}

.search-game img{

    width:100%;
    border-radius:18px;
    transition:.25s;
    display:block;

}



.search-game h6{

    margin-top:10px;
    font-size:15px;
    text-align:center;
    font-weight:600;

}

/* Scroll */

.search-panel::-webkit-scrollbar{

    width:8px;

}

.search-panel::-webkit-scrollbar-thumb{

    background:#F7971E;
    border-radius:20px;

}

/* Mobile */


/* LIVE SEARCH */

.live-search-results{
    margin-top:20px;
}


/* Section */

.live-search-section{

    margin-bottom:25px;

}


.live-search-section h5{

    font-size:18px;

    margin-bottom:12px;

    font-weight:700;

}



/* Category */

.live-category{

    display:inline-block;

    padding:8px 16px;

    background:#fff7e8;

    border-radius:25px;

    color:#222;

    text-decoration:none;

    font-size:14px;

    font-weight:600;

    margin:5px;

}



/* Games */

.live-game{

    display:flex;

    align-items:center;

    gap:15px;

    padding:12px;

    margin-bottom:12px;

    background:#fff;

    border-radius:15px;

    text-decoration:none;

    color:#222;

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

}



.live-game img{

    width:70px;

    height:70px;

    object-fit:cover;

    border-radius:12px;

}



.live-game span{

    font-size:16px;

    font-weight:600;

}

.search-btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.search-category-wrapper {
    overflow-x: auto;
    
    /* Firefox */
    scrollbar-width: none;

    /* IE & Edge (Legacy) */
    -ms-overflow-style: none;
}

/* Chrome, Safari, Edge */
.search-category-wrapper::-webkit-scrollbar {
    display: none;
}





