
/* ----------------------- CAROUSEL ------------------------ */
@font-face {
    font-family: Naroapp ;
    src: url(/assests/Naroapp-medium.ttf);
}
*{
    font-family: ur;
}
/* ================= DARK / LIGHT MODE TOGGLE ================= */
.theme-toggle {
    position: absolute;
    right: 460px; /* perfectly left of download box */
    top: 0;
    bottom: 0;
    margin: auto;
    width: 55px;
    height: 55px;
    border: 2px solid #9F00FF;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    font-size: 23px;
}
.theme-toggle {
    background-color: var(--card-bg);
}

.theme-toggle:hover {
    box-shadow: 0 0 15px #9F00FF;
    background-color: #9F00FF33;
}

.light-mode {
    --bg: #f1f1f1;
    --text: #000;
    --box: #ffffff;
}

.dark-mode {
    --bg: #141414;
    --text: #ffffff;
    --box: #1e1e1e;
}

/* Apply variables */
body {
    color: var(--text);
    transition: 0.4s;
}

.footer, .gn-feature-box {
    background: var(--box) !important;
}
/* Fix text not visible in light mode */
.light-mode * {
    color: #111111 !important;
}


.light-mode .content-one a {
    border-color: #9F00FF !important;
}

/* Fix dark boxes in light mode */
.light-mode .heading,
.light-mode .footer,
.light-mode .gn-feature-box,
.light-mode .stat-box {
    background: #ffffff !important;
}

/* Fix tab colors */
.light-mode .tab {
    background: #eee !important;
    color: #222 !important;
}

.light-mode .tab.active {
    background: #9F00FF !important;
    color: #fff !important;
}

/* Fix header text */
.light-mode .heading h4 {
    color: #111 !important;
}

/* Fix carousel overlay */
.light-mode .slide-content {
    background: #ffffff !important;
}

/* Fix footer text */
.light-mode .footer p,
.light-mode .footer a {
    color: #222 !important;
}

/* Always keep purple visible */
.tab.active,
.heading .dl,
.content-one a:hover,
.gn-feature-box:hover {
    color: #fff !important;
}
.popup-box {
    color: #ffffff !important;
}

.popup-box h3,
.popup-box p,
.popup-box li,
.popup-box .patchy {
    color: #ffffff !important;
}
.closePopup{
    color: #ffffff !important;
}
#gn-chat-fullscreen,
#gn-chat-fullscreen * {
    background: #0e0e0e !important;
    color: #ffffff !important;
}

#gn-chat-launcher,
#gn-chat-launcher * {
    background: #9F00FF !important;
    color: #ffffff !important;
}

* {
    box-sizing: border-box;
    font-family: Naroapp;
    color: aliceblue;
    font-weight: bolder;
}

body {
    background-color: var(--bg);
    color: var(--text);
    transition: 0.3s;
    margin: 0;
    padding: 0;
}
/* ====== FLOATING PARTICLES BACKGROUND ====== */
/* Particles canvas container (full-bleed, behind everything) */
#gn-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 500vw !important;
    height: 500vh !important;
    pointer-events: none;
    z-index: 0 !important;
}
/* Optional: reduce intensity on small screens */
@media (max-width: 600px) {
  #gn-particles { opacity: 0.7; }
}

/* darker in dark mode, lighter in light mode */
body.dark-mode #gn-particles {
    opacity: 1;
}

body.light-mode #gn-particles {
    opacity: 1;
}

.page-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.footer {
    margin-top: auto;
}


::-webkit-scrollbar {
    display: none;
}

/* ----------------------- HEADER ------------------------ */

.heading {
    font-size: 25px;
    position: fixed;
    background-color: #141414de;
    backdrop-filter: blur(10px);
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    border-radius: 0px 0px 20px 20px;
    margin: auto;
    width: 96%;
    height: 120px;
    text-align: center;
    animation: scale-in-ver-top 0.5s;
}

.heading h4 {
    position: absolute;
    left: 16%;
    margin-top: 15px;
    font-size: 45px;
    font-weight: bolder;
    letter-spacing: 2px;
}

.heading h4::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -10px;
    background-color: #9F00FF;
    border-radius: 50px;
    width: 60%;
    height: 5px;
}

.heading .logo {
    width: 100px;
    position: absolute;
    left: 10%;
    top: 0px;
    bottom: 0;
    margin: auto;
    margin-top: -5px;
}
@media (min-width:1400px) {
    .heading .logo{
        margin-top:  5px !important; 
    }
}

.heading ul {
    position: absolute;
    left: 0 ;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.heading li {
    display: inline-block;
    margin-right: 20px;
}

.heading li a {
    text-decoration: none;
    transition: 0.4s;
    font-size: 20px;
    letter-spacing: 1px;
}

.heading li a:hover {
    color: #e3f2fd;
    padding: 10px;
    background-color: #9F00FF;
    border-radius: 10px;
    color: white !important;
}

.heading .dl {
    position: absolute;
    right: 2%;
    text-decoration: none;
    background-color: #9F00FF;
    width: 300px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: 0.4s;
}

.heading .dl:hover {
    box-shadow: 1px 1px 15px #9F00FF;
}

.heading .dl i {
    margin-right: 10px;
    color: #e3f2fd;
}

.heading .dl::before {
    content: "";
    background-color: #e3f2fd;
    position: absolute;
    width: 5px;
    border-radius: 50px;
    height: 100%;
    left: -25px;
}
.footer {
    background: #000000;
    padding: 40px 0;
    border-top: 2px solid #9F00FF55;
    margin-top: auto; /* THIS MAKES IT STICK AT THE BOTTOM ONLY AFTER SCROLL */
    margin-bottom: -100px;
}

.footer-container {
    width: 85%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    width: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer h3 {
    font-size: 30px;
    margin-bottom: 15px;
    color: #9F00FF;
}

.footer p,
.footer a {
    font-size: 20px;
    line-height: 30px;
    color: #dcdcdc;
    text-decoration: none;
}

.footer a:hover {
    color: #9F00FF;
    text-shadow: 0 0 8px #9F00FF;
}

.footer-social {
    margin-top: 15px;
    display: flex;
    gap: 20px;
}

.footer-social a {
    font-size: 30px;
    transition: 0.3s;
    border: 1px solid #9F00FF;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-social a:hover {
    color: #9F00FF;
    background-color: #9F00FF;
    text-shadow: 0 0 15px #9F00FF;

    i{
        color: white !important;
    }
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #9F00FF33;
    font-size: 18px;
    color: #bfbfbf;
}

@media(max-width: 900px){
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
}

/* Prevent footer overlap using bottom padding */
body {
    padding-bottom: 100px;
}
@media(max-width: 900px){
    .fixed-footer-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .fixed-footer-links a {
        margin: 10px;
        display: inline-block;
    }
}

.gn-carousel {
    width: 95vw;
    max-width: 100vw;
    height: 850px;
    margin: 100px auto 50px auto;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #100909;
}

.gn-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 1s ease;
}

.gn-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.gn-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center -95px;
    border: none;
    outline: none;
}
/* slide overlay content */
.slide-content {
    position: absolute;
    width: 300px;
    height: 200px;
    right: 0;
    border-radius: 20PX 0PX 0PX 20PX;
    background-color: #141414;
    bottom: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;

}

.slide-content h5 {
    font-size: 30px;
    margin-bottom: 20px;
}

.slide-content a {
    text-decoration: none;
    background-color: #9F00FF;
    padding: 15px;
    width: 80%;
    margin-left: 5PX;
    text-align: center;
    border-radius: 20px;
    transition: 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

.slide-content a:hover {
    box-shadow: 1px 1px 15px #9F00FF;
}

/* navigation buttons */
.gn-prev, .gn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #9F00FF;
    border: none;
    padding: 12px 16px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 0 15px #9F00FF;
    z-index: 10;
}

.gn-prev { left: 18px; }
.gn-next { right: 18px; }

.gn-prev:hover, .gn-next:hover {
    background: #b82bff;
}

/* ----------------------- DOWNLOAD GRID ------------------------ */

.container {
    width: 95%;
    margin: 0 auto 100px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    gap: 60px;
    padding-top: 40px;
}
.container.filtered {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    justify-content: center;
}
.list-one, .list-two, .list-three, .list-four {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* item cards */
.content-one {
    width: 100%;
    height: 150px;
    background-color: aliceblue;
    border-radius: 5px;
    position: relative;
    transition: 0.4s;
    display: flex;
    align-items: center;
       padding-left: 160px;
    padding-right: 20px;
}

.content-one:hover {
    transform: translateY(-5px);
    box-shadow: 1px 1px 15px #9F00FF;
}

/* item image */
.content-one img {
    height: 120px;
    width: 120px;
    object-fit: contain;
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

/* text + download button */
.content-one .tet {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

.content-one .tet h5 {
    color: #000000;
    font-size: 22px;
    margin: 0;
    margin-top: 25px;
}

.content-one .tet a {
    text-align: center;
    border: 1px solid #9F00FF;
    color: #000000;
    height: 50px;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    text-decoration: none;
    position: absolute;
    bottom: 15px;
    padding: 10px;
    transition: 0.4s;

}
.content-one {
    min-width: 350px;
}
.content-one .tet a:hover {
    background-color: #9F00FF;
    color: white;
    box-shadow: 1px 1px 15px #9F00FF;
}

/* ----------------------- RESPONSIVE ------------------------ */

@media (max-width: 1300px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .container {
        grid-template-columns: 1fr;
    }
    .content-one {
        width: 90%;
        position: relative;

        left: 0;
        right: 0;
        margin: auto;
    }

    .heading ul, h4 { display: none; 
    
    

    }
    .logo{
        left: 150px;
    }
}

/* ----------------------- ANIMATIONS ------------------------ */

@keyframes scale-in-ver-top {
    0% {
        transform: scaleY(0);
        transform-origin: 100% 0%;
        opacity: 1;
    }
    100% {
        transform: scaleY(1);
        transform-origin: 100% 0%;
        opacity: 1;
    }
}
/*------POP UP Message*/
.popup {
    position: fixed ;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-box {
    width: 50%;
    color: #e0e0e0;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 20px #9F00FF;

    ul{
        margin-top: 0;
        position: relative;
        top: -25px;

    }
    li{
        text-align: start;
        letter-spacing: 1px;
    }
}
.patchy{
    font-size: 25px;
    margin-top: 0;
    color: #e0e0e0;
}
.popup-box h3 {
    margin: 0;
    font-size: 26px;
    font-weight: bolder;
    
}

.popup-box p {
    margin: 10px 0 20px;
    color: #e0e0e0;
}

.popup-box button {
    padding: 10px 25px;
    border: none;
    background: #9F00FF;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    width: 150px;
    font-size: 18px;
    transition: 0.3s;
}

.popup-box button:hover {
    box-shadow: 0 0 15px #9F00FF;
    
}
/* TABS AREA */
.tabs {
    width: 95%;
    margin: 50px auto 20px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tab {
    background: #1e1e1e;
    padding: 12px 25px;
    border: 2px solid #9F00FF;
    color: #fff;
    cursor: pointer;
    border-radius: 12px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.tab i {
    font-size: 18px;
}

.tab:hover {
    background: #9F00FF33;
    box-shadow: 0 0 10px #9F00FF;

    
}

.tab.active {
    background: #9F00FF;
    box-shadow: 0 0 20px #9F00FF;
    i{
        color: white !important;
    }
}
/*Footer*/
.page-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
/* STATUS BAR */
/* =================== STATS BAR =================== */
.stats-bar {
    margin: 30px auto;
    width: 95%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.stat-box {
    flex: 1;
    background: #1b1b1b;
    border: 2px solid #9F00FF;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 0 12px #9F00FF22;
}

.stat-box h2 {
    color: #9F00FF;
    font-size: 48px;
    margin: 0;
}

.stat-box p {
    color: #e0e0e0;
    font-size: 20px;
}
/* ================= FEATURE HIGHLIGHTS BLOCK ================= */
.gn-features {
    width: 95%;
    margin: 80px auto;
    text-align: center;
}

.gn-features-title {
    font-size: 40px;
    margin-bottom: 40px;
    color: #e3f2fd;
}

.gn-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.gn-feature-box {
    background: #1a1a1a;
    padding: 35px;
    border: 2px solid #9F00FF55;
    border-radius: 18px;
    transition: 0.4s;
    box-shadow: 0 0 5px #9F00FF22;
}

.gn-feature-box:hover {
    transform: translateY(-10px);
    border-color: #9F00FF;
    box-shadow: 0 0 20px #9F00FF88;
}

.gn-feature-box i {
    font-size: 45px;
    color: #9F00FF;
    margin-bottom: 20px;
}

.gn-feature-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #e3f2fd;
}

.gn-feature-box p {
    color: #cfcfcf;
    font-size: 18px;
    line-height: 28px;
}
/* ===================== FULLSCREEN SEARCH ===================== */
/* SEARCH BUTTON */
.gn-search-btn {
    position: absolute;
    right: 390px;      /* left of download box */
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 55px;
    height: 55px;
    background: var(--search-btn-bg) !important;
    border: 2px solid #9F00FF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
    z-index: 10001;   /* must be above the header */
}

.gn-search-btn i {
    color: white;
}

.gn-search-btn:hover {
    background: #9F00FF33;
    box-shadow: 0 0 10px #9F00FF;
}

.gn-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.726);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding-top: 150px;
    z-index: 999999;
    animation: fadeIn 0.3s ease;
}

/* Search bar wrapper */
.gn-search-wrapper {
    width: 60%;
    max-width: 650px;
    min-width: 300px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 25px rgba(0,0,0,0.25);
    animation: zoomIn 0.25s ease;
}

/* Search Icon */
.search-icon {
    font-size: 22px;
    color: #ffffffdd  !important;
}

/* Search Input */
#gn-search-input {
    flex: 1;
    padding: 10px 5px;
    background: transparent;
    border: none;
    overflow: hidden;
    outline: none;
    font-size: 22px;
    color: white !important;
}

/* Placeholder */
#gn-search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

/* Close Button */
.close-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.25s;
}

.close-btn i {
    font-size: 20px;
    color: white;
}

.close-btn:hover {
    background: rgba(255,255,255,0.35);
    transform: scale(1.1);
}

/* Search results box */
.gn-search-results {
    margin-top: 25px;
    width: 60%;
    max-width: 650px;
}

/* Result item style */
.search-result-item {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 15px 22px;
    border-radius: 14px;
    color: white;
    margin-bottom: 12px;
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: 0.25s;
    font-size: 20px;
}

.search-result-item:hover {
    background: rgba(255,255,255,0.3);
    transform: translateX(6px);
}

/* Highlight matched text */
mark {
    background: #9F00FF;
    color: white;
    padding: 2px 4px;
    border-radius: 4px;
}

/* No results */
.search-result-none {
    padding: 20px;
    color: white;
    text-align: center;
    font-size: 20px;
    opacity: 0.8;
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
/* FORCE white card inside search overlay */
.gn-search-results .content-one {
    background: #ffffff !important;
    border: 2px solid #9F00FF !important;
    color: #000 !important;
}

/* Fix title text inside the card */
.gn-search-results .content-one h5 {
    color: #000 !important;
}

/* Fix download button */
.gn-search-results .content-one a {
    color: #000 !important;
    background: #fff !important;
    border: 2px solid #9F00FF !important;
}

.gn-search-results .content-one a:hover {
    background: #9F00FF !important;
    color: #fff !important;
}

/* Keep wrapper glass effect */
.search-card-wrapper {
    padding: 12px;
    border-radius: 18px;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    transition: 0.2s;
}

.search-card-wrapper:hover {
    transform: scale(1.02);
}
.download-info {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    background: #1c1c1c;
    border: 1px solid #9F00FF55;
    border-radius: 10px;
    color: #e3e3e3;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: .5px;
    box-shadow: 0 0 10px #9F00FF44;
}

.light-mode .download-info {
    background: white !important;
    border-color: #9F00FF !important;
    color: #333 !important;
}
.light-mode .search-result-item {
    background: #ffffff !important;
    color: #111 !important;
}
/* Fix search icon not clickable */
#gn-search-btn {
    pointer-events: auto !important;
    z-index: 99999999 !important;
}

/* Prevent header glass from blocking clicks */
.heading {
    pointer-events: none;
}
.heading * {
    pointer-events: auto;
}
/* Search result items */
.search-result-item {
    background: white;
    color: black;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.search-result-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

.search-result-item img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.search-info h4 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: black;
}

.search-info p {
    margin: 4px 0 0;
    font-size: 14px;
    opacity: 0.7;
}

/* No results */
.no-result {
    padding: 20px;
    background: white;
    color: black;
    text-align: center;
    border-radius: 12px;
}
/* Fix layout of cloned cards inside search overlay */
.gn-search-results .content-one {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    height: auto !important;
    padding: 25px !important;
    gap: 25px !important;
    position: relative !important;
}

/* Fix image */
.gn-search-results .content-one img {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    margin: 0 !important;
    width: 110px !important;
    height: 110px !important;
    object-fit: contain !important;
}

/* Text container */
.gn-search-results .content-one .tet {
    position: relative !important;
    margin: 0 !important;
}

/* Title */
.gn-search-results .content-one .tet h5 {
    color: black !important;
    margin-bottom: 15px !important;
    font-size: 24px !important;
}

/* Download button */
.gn-search-results .content-one .tet a {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 200px !important;
    height: 55px !important;
    font-size: 18px !important;
}
@keyframes gnSearchFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* Search result card layout fix + animation */
.gn-search-results .content-one {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    height: auto !important;
    padding: 25px !important;
    gap: 25px !important;
    position: relative !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 0 20px #9F00FF55 !important;
    transition: 0.3s ease !important;
    animation: gnSearchFadeIn 0.35s ease forwards !important;
}

/* Hover animation */
.gn-search-results .content-one:hover {
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 0 30px #9F00FFaa !important;
}
.gn-search-results .content-one img {
    position: relative !important;
    width: 110px !important;
    height: 110px !important;
    object-fit: contain !important;
    margin: 0 !important;
}

.gn-search-results .content-one .tet {
    position: relative !important;
    margin: 0 !important;
}

.gn-search-results .content-one .tet h5 {
    color: #111 !important;
    margin-bottom: 12px !important;
    font-size: 23px !important;
}

.gn-search-results .content-one .tet a {
    position: relative !important;
    bottom: 0 !important;
    width: 200px !important;
    height: 55px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 18px !important;
}
/* Allow page scroll inside overlay */
#gn-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    padding-top: 150px;

    overflow-y: auto !important; /* <-- ENABLE SCROLL */
    overflow-x: hidden;
}

/* Make results scrollable */
#gn-search-results {
    width: 60%;
    max-width: 650px;

    max-height: 70vh;            /* limit height */
    overflow-y: auto !important; /* <-- ENABLE SCROLL */
    padding-bottom: 50px;
}

/* Scrollbar styling (Firefox + Chrome) */
#gn-search-results::-webkit-scrollbar {
    width: 8px;
}
#gn-search-results::-webkit-scrollbar-thumb {
    background: #9F00FF;
    border-radius: 10px;
}
#gn-search-results::-webkit-scrollbar-track {
    background: transparent;
}
/* Minimal layout guard for other divs (stats, features) to avoid reflow */
.stats-bar, .gn-features {
  contain: layout style;
  will-change: auto;
}
/* ------------------ OPTIMIZED STATS BOXES ------------------ */

.stats-container {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: stretch;
    margin: 40px auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.stat-box {
    background: #0d0d0d;
    border: 2px solid rgba(159, 0, 255, 0.75);
    padding: 32px 36px;
    border-radius: 22px;
    width: 180px;
    text-align: center;
    box-shadow: 0 0 24px rgba(159, 0, 255, 0.25);
    transition: transform .25s ease, box-shadow .25s ease;
    will-change: transform, box-shadow;
}

.stat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 32px rgba(159, 0, 255, 0.45);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #b720ff, #8f00ff);
    -webkit-background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 18px;
    color: #d4d4d4;
    opacity: 0.85;
}

/* smaller screens */
@media (max-width: 680px) {
    .stat-box {
        width: 100%;
        max-width: 240px;
        padding: 26px;
    }
    .stat-number {
        font-size: 40px;
    }
    .stat-label {
        font-size: 17px;
    }
}

/* ========================= FLOATING PARTICLES ========================= */
/* ---------- SAFE MOBILE HEADER + HAMBURGER (MOBILE/TABLET ONLY) ---------- */

/* hide by default */
.gn-hamburger, #gn-mobile-nav { display: none; }

/* Mobile / Tablet */
@media (max-width: 1435px) {

  /* Only hide the desktop nav items that should move into the mobile menu */
  .heading ul,
  .heading h4,
  .heading .dl,    /* top download button */
  #gn-search-btn,
  .theme-toggle {
    display: none !important;
  }

  /* Keep logo centered */
  .heading .logo {
    left: 16px; /* keep original left offset for logo in your design, adjust if needed */
    top: 8px;
    width: 72px;
  }

  /* Hamburger button (fixed right) */
  .gn-hamburger {
    display: flex;
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 210000;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #141414;
    border: 2px solid #9F00FF;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  }

  .gn-ham-box { width: 28px; height: 20px; position: relative; }
  .gn-ham-inner, .gn-ham-inner::before, .gn-ham-inner::after {
    background: #fff;
    height: 3px;
    width: 28px;
    border-radius: 3px;
    position: absolute; left: 0;
    transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s;
  }
  .gn-ham-inner { top:50%; transform: translateY(-50%); }
  .gn-ham-inner::before { content:""; top:-8px; }
  .gn-ham-inner::after  { content:""; top:8px; }

  .gn-hamburger.open .gn-ham-inner { transform: rotate(45deg); }
  .gn-hamburger.open .gn-ham-inner::before { opacity: 0; transform: translateX(-6px); }
  .gn-hamburger.open .gn-ham-inner::after { transform: rotate(-90deg); top:0; }

  /* Mobile nav overlay */
  #gn-mobile-nav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 209000;
    pointer-events: none;
  }
  .gn-mobile-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.62);
    opacity: 0; transition: opacity .28s;
    pointer-events: none;
  }
  .gn-mobile-panel {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: min(360px, 86%);
    background: linear-gradient(180deg, rgba(18,18,18,0.99), rgba(12,12,12,0.99));
    padding: 22px;
    transform: translateX(110%);
    transition: transform .33s cubic-bezier(.2,.9,.2,1);
    display: flex;
    flex-direction: column;
    gap: 14px;
    pointer-events: auto;
    border-left: 1px solid rgba(159,0,255,0.06);
    box-shadow: -12px 0 40px rgba(0,0,0,0.6);
  }
  #gn-mobile-nav.open .gn-mobile-backdrop { opacity: 1; pointer-events: auto; }
  #gn-mobile-nav.open .gn-mobile-panel { transform: translateX(0); }

  /* Mobile menu elements */
  .gn-mobile-btn {
    display:flex;gap:12px;align-items:center;
    padding:12px;border-radius:12px;
    background: rgba(255,255,255,0.02);
    border: 2px solid rgba(159,0,255,0.08);
    color: #fff; font-size:16px;
  }

  .gn-mobile-links {
    list-style:none;padding:0;margin:6px 0; display:flex;flex-direction:column; gap:10px;
  }
  .gn-mobile-links a {
    display:block;padding:12px;border-radius:12px;
    background:#111;border:2px solid rgba(159,0,255,0.06);
    color:#fff;text-decoration:none;font-size:18px;
  }

  .gn-mobile-download {
    margin-top:auto;padding:14px;border-radius:12px;
    background: linear-gradient(90deg,#9F00FF,#B72BFF);
    color:white;text-align:center;font-weight:700;text-decoration:none;
    box-shadow: 0 8px 22px rgba(159,0,255,0.16);
  }

  /* keep everything responsive in very small screens */
  @media (max-width: 360px) {
    .gn-mobile-panel { width: 92%; }
    .gn-hamburger { right: 12px; width:48px; height:48px; }
  }
}

#gn-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 300vw;   /* wide area for smooth floating */
    height: 300vh;
    pointer-events: none;
    z-index: -1;    /* stays behind everything */
    opacity: 0.45;  /* default for dark mode */
}

/* Lighter effect in light mode */
.light-mode #gn-particles {
    opacity: 0.22;
}

/* Optional: smoother fade on theme change */
body {
    transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}
@media (max-width: 1435px) {

  /* Hide desktop header elements */
  .heading ul,
  .heading h4,
  .heading .dl,
  #gn-search-btn,
  .theme-toggle {
    display: none !important;
  }

  /* Center logo */
  .heading .logo {
    left: 16px;
    top: 8px;
    width: 72px;
  }

  /* Show hamburger */
  .gn-hamburger {
    display: flex;
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 210000;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #141414;
    border: 2px solid #9F00FF;
    align-items: center;
    justify-content: center;
  }

  /* … keep the rest of your mobile hamburger + menu css the same … */

}
@media (min-width: 1436px) {
  .gn-hamburger,
  #gn-mobile-nav {
    display: none !important;
  }

  /* All desktop header elements remain visible */
}
/* Prevent UL from colliding with icons on desktop */
@media (max-width: 1600px) {

    /* reduce nav font size */
    .heading ul li a {
       font-size: 20px;
    }

    /* shift logo left */
    .heading .logo {
        left: 35px !important;
        top: 10px !important;
        transform: none !important;

    }
    .heading h4{
        left: 170px;
    }
    /* give right-space so nav won't collide */
    .heading ul {
        padding-right: 140px !important;
    }
}
@media (min-width: 1601px) and (max-width: 1800px) {

    /* slightly shrink nav */
    .heading ul li a {
        font-size: 18px !important;
        
    }

    /* small shift of logo */
    .heading .logo {
        left: 50px !important;
        transform: none !important;
    }
    .heading h4{
        left: 170px;
    }
    /* moderate spacing for right icons */
    .heading ul {
        padding-right: 220px !important;
    }

}
/* brand container: logo + text aligned together */
.heading .brand {
    position: absolute;
    top: 10px;          /* adjust as needed */
    left: 20px;         /* logo hugs the left */
    display: flex;
    align-items: center;
    gap: 12px;          /* space between logo and text */
}

/* make logo normal inside flex */
.heading .brand .logo {
    position: static !important;
    transform: none !important;
    margin: 0;
}

/* make text align with logo */
.heading .brand h4 {
    position: static !important;
    margin: 0;
    font-size: 26px;     /* adjust to match your style */
    font-weight: 600;
}
/* ============================================================
   REAL LIGHT-MODE FIX (CURATED FOR YOUR VARIABLE SYSTEM)
   Fixes: search box, theme button, menu links, icons, backdrop.
   ============================================================ */

.light-mode #gn-mobile-nav .gn-mobile-panel {
    background: var(--box) !important;
    border-left: 1px solid rgba(0,0,0,0.15) !important;
}

.light-mode #gn-mobile-nav .gn-mobile-links a {
    background: var(--box) !important;
    color: var(--text) !important;
    border: 2px solid #9F00FF33 !important;
}

.light-mode #gn-mobile-nav .gn-mobile-links a:hover {
    background: #e9e9e9 !important;
}

.light-mode #gn-mobile-nav .gn-mobile-btn {
    background: var(--box) !important;
    color: var(--text) !important;
    border: 2px solid #9F00FF !important;
}

.light-mode #gn-mobile-nav .gn-mobile-btn i {
    color: var(--text) !important;
}

.light-mode .gn-hamburger {
    background: var(--box) !important;
    border-color: #9F00FF !important;
}

.light-mode .gn-hamburger .gn-ham-line,
.light-mode .gn-hamburger .gn-ham-line::before,
.light-mode .gn-hamburger .gn-ham-line::after {
    background: var(--text) !important;
}

.light-mode #gn-mobile-nav .gn-mobile-download {
    background: linear-gradient(90deg, #9F00FF, #B72BFF) !important;
    color: #fff !important;
}

.light-mode #gn-mobile-nav .gn-mobile-backdrop {
    background: rgba(0,0,0,0.40) !important;
}
/* ---------------- LIGHT MODE FIX: HAMBURGER ICON ---------------- */

.light-mode .gn-hamburger {
    background: var(--box) !important;
    border-color: #9F00FF !important;
}

/* Make lines black in light mode */
.light-mode .gn-ham-inner,
.light-mode .gn-ham-inner::before,
.light-mode .gn-ham-inner::after {
    background: #000 !important;
}
/* ---- Center Hamburger Vertically inside Header ---- */

@media (max-width: 1435px) {
    .heading {
        height: 80px; /* or your actual height */
    }
    .gn-hamburger {
        top: 40px !important; /* half of header height */
        transform: translateY(-50%) !important;
    }
    /* ============================================================
   SEARCH RESULT CARDS FIX (SAFE & MATCHES MOBILE STYLE)
   ============================================================ */
/* ------------------- OPTIMIZED CAROUSEL + LAYOUT HELPERS ------------------- */
/* Add to end of style.css */

/* Use GPU-friendly transforms and hint at expected changes */
.gn-carousel,
.gn-carousel * {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* Responsive height using clamp to avoid huge reflows */
.gn-carousel {
  height: clamp(450px, 45vh, 850px); /* scales smoothly across viewports */
  overflow: hidden;
  position: relative;
}

/* Use flex-track with hardware-accelerated transforms */
.gn-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 600ms cubic-bezier(.22,.9,.3,1); /* smooth easing */
  /* avoid layout reflow by not animating width or left/top */
  will-change: transform;
}

/* Slide basis and image style */
.gn-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  pointer-events: auto;
  user-select: none;
  overflow: hidden;
}

/* Images: use cover and lazy-friendly defaults */
.gn-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Light DOM indicators to reduce repaints */
.gn-prev, .gn-next {
  will-change: transform, opacity;
  transition: transform .18s ease, opacity .18s ease;
}

/* Small interactive improvements */
.gn-prev:active, .gn-next:active {
  transform: scale(.96);
}

/* Reduce repaint area for slide-content; paint on compositor */
.slide-content {
  position: absolute;
  right: 0;
  bottom: 15%;
  width: 300px;
  height: auto;
  padding: 20px;
  border-radius: 16px;
  background: rgba(20,20,20,0.96);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  transition: transform 300ms ease, opacity 300ms ease;
  will-change: transform, opacity;
}

/* Make the navigation arrows small on very narrow screens */
@media (max-width: 520px) {
  .gn-prev, .gn-next {
    padding: 10px;
    font-size: 20px;
  }
  .slide-content { width: calc(100% - 40px); right: 20px; bottom: 8%; }
}

/* If user prefers reduced motion, respect that */
@media (prefers-reduced-motion: reduce) {
  .gn-carousel-track { transition: none !important; }
  .gn-prev, .gn-next { transition: none !important; }
}

/* Performance helper: ensure only visible slide has heavy box-shadow */
.gn-slide:not(.is-visible) .slide-content {
  opacity: 0;
  transform: translateY(8px) scale(.99);
  pointer-events: none;
}



.gn-search-results .content-one {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 18px !important;
    padding: 20px !important;
color: #111 !important;
    width: 100% !important;
    max-width: 360px !important;

    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 0 18px #9F00FF55 !important;

    margin: 14px auto !important;
}

.gn-search-results .content-one img {
    width: 75px !important;
    height: 75px !important;
    object-fit: contain !important;
}

.gn-search-results .content-one .tet h5 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
    color: #111 !important;
}

.gn-search-results .content-one .tet a {
    width: 160px !important;
    height: 45px !important;

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

    border-radius: 10px !important;
    font-size: 15px !important;
}

}
/* Move search bar slightly up inside mobile menu */
#gn-mobile-nav .gn-mobile-panel {
    padding-top: 14px !important; /* default is probably around 25px */
}
/* ================== SEARCH BAR FIXES ================== */

/* Move search bar slightly upward */

/* Keep search close button inside the bar */
.close-btn {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(255,255,255,0.25) !important;
}

/* ==========================================
   FIX SEARCH RESULTS GETTING CUT OFF
   ========================================== */

/* Allow results to fully show */
#gn-search-overlay {
    overflow-y: auto !important;
}

/* Make results container full-width */
#gn-search-results {
    width: 100% !important;
    padding: 0 16px !important;
    overflow: visible !important;
}

/* Make search result cards responsive */
.gn-search-result-card {
    width: 100% !important;
    max-width: 360px !important; /* prevents stretching too wide */
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Prevent clipping inside card container */
.gn-search-result-card * {
    overflow: visible !important;
}
/* ============================================================
   MAIN PAGE CONTENT ONE — MOBILE-FRIENDLY FIX
   (Does NOT affect search results)
   ============================================================ */

@media (max-width: 780px) {

    .content-one{
        margin-bottom: -15px;
    }

    /* Main container card */
   .container .content-one {
        display: flex; 
        flex-direction: row !important;
        align-items: center !important;

        height: auto !important;
        padding: 20px !important;
        gap: 10px !important;

        width: 92% !important;

        background: #ffffff !important;
        border-radius: 16px !important;
        box-shadow: 0 0 16px #9F00FF44 !important;
    }

    /* Image inside card */
    .container .content-one img {
        position: relative !important;
        left: 0 !important;
        width: 80px !important;
        height: 80px !important;
        object-fit: contain !important;
        margin: 0 !important;
    }

    /* Text wrapper */
    .container .content-one .tet {
        position: relative !important;
        margin: 0 !important;
    }

    /* Title text */
    .container .content-one .tet h5 {
        font-size: 25px !important;
        margin-bottom: 10px !important;
        color: #111 !important;
    }

    /* Download button */
    .container .content-one .tet a {
        position: relative !important;
        width: 160px !important;
        height: 45px !important;
        bottom: 0px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
        font-size: 15px !important;
    }
}
/* --- FIX SEARCH RESULT TITLE DISAPPEARING UNDER 820px --- */
@media (max-width: 850px) {

    .search-result-item {
        align-items: center !important;
        min-height: 90px !important;
    }

    .search-result-item img {
        width: 55px !important;
        height: 55px !important;
        flex-shrink: 0 !important;
    }

    .search-info {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-height: 55px !important;
        padding-left: 10px !important;
        overflow: visible !important;
    }

    .search-info h4 {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 17px !important;
        display: block !important;
        color: var(--text-primary) !important;
    }

    .search-info p {
        margin-top: 3px !important;
        font-size: 13px !important;
        opacity: 0.8 !important;
        display: block !important;
        white-space: nowrap !important;
    }
} 
/* ----------------------------------------------
   DARK MODE: FIX WHITE SEARCH RESULT CARDS
---------------------------------------------- */

body.dark-mode .search-result-item {
    background: var(--gn-bg-alt, #1a1a1a) !important;
    /* Fallback if var missing => #1a1a1a */
    color: var(--gn-text, #fff) !important;
}

/* Make sure text stays readable */
body.dark-mode .search-result-item h4,
body.dark-mode .search-result-item p {
    color: var(--gn-text, #fff) !important;
    opacity: 1 !important;
}
/* ---------------------------------------------------
   FIX: Mobile Search Input Overflow / Text Going Out
---------------------------------------------------- */

.gn-search-bar {
    display: flex;
    align-items: center;
    overflow: hidden !important;
}

.gn-search-bar input {
    flex: 1 1 auto !important;        /* allow shrinking */
    min-width: 0 !important;          /* CRITICAL FIX */
    width: 100% !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;          /* show "..." instead of overflow */
}

.gn-search-clear {
    flex-shrink: 0 !important;        /* prevent X button from shrinking */
    margin-left: 8px;
}
/* ===================== MOBILE FOOTER OPTIMIZATION ===================== */
@media (max-width: 600px) {
    .footer {
        padding: 30px 0;
        margin-bottom: -150px !important;
        border-radius: 0;
    }

    .footer-container {
        width: 92%;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-col {
        width: 100% !important;
        min-width: unset;
        margin-bottom: 10px;
    }

    .footer h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .footer p,
    .footer a {
        font-size: 16px !important;
        line-height: 22px !important;
    }

    .footer-social {
        justify-content: center;
        gap: 12px;
    }

    .footer-social a {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .footer-bottom {
        font-size: 14px;
        margin-top: 10px;
        padding-top: 15px;
    }
}
/* =====================================================
   FINAL FIX: Prevent mobile search text overflowing
   (X button stays inside, input shrinks correctly)
===================================================== */

.gn-search-bar {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gn-search-bar input {
    flex: 1 1 auto !important;      /* allow shrinking */
    min-width: 0 !important;        /* CRITICAL */
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width:900px) {
    .heading{
        max-height: 85px !important;
    }
}
.search-result-item {
    background: white; /* Problematic default */
    color: black;
    /* ... */
}

/* From header.css/style.css: Dark Mode fix attempt */
body.dark-mode .search-result-item {
    background: var(--gn-bg-alt, #1a1a1a) !important;
    color: var(--gn-text, #fff) !important;
}
/* ================= MOBILE DROPDOWN FILTER (FIXED) ================= */

/* Default: Hide on desktop */
.mobile-filter-container {
    display: none; 
}

/* Dropdown Styling */
#mobile-category-dropdown {
    width: 90%;
    margin: 20px auto;
    display: block;
    padding: 15px 20px;
    
    /* ✅ THEME FIX: Use variables instead of fixed colors */
    background-color: var(--box); 
    color: var(--text);
    
    border: 2px solid #9F00FF;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    
    /* Ensure it sits above background particles */
    position: relative;
    z-index: 100;

    /* Remove default system styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Custom Purple Arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239F00FF'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 18px;
    
    /* Smooth transition for theme switch */
    transition: background-color 0.3s, color 0.3s;
}

/* Mobile View: Switch from Tabs to Dropdown */
@media (max-width: 800px) {
    .tabs {
        display: none !important; 
    }
    .mobile-filter-container {
        display: block !important; 
    }
}
/* ==================== 1. APP BADGES & META INFO ==================== */
.content-one {
    position: relative; /* Needed for badge positioning */
}

/* The Badge (Hot, New, Updated) */
.gn-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.badge-hot { background: #ff0055; box-shadow: 0 0 15px #ff005588; }
.badge-new { background: #00e676; box-shadow: 0 0 15px #00e67688; color: #000; }
.badge-updated { background: #2979ff; box-shadow: 0 0 15px #2979ff88; }

/* Small Info (Version • Size) */
.app-meta {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    font-weight: 500;
}
.light-mode .app-meta { color: #555; }

/* ==================== 2. HOT & UPDATED SECTION ==================== */
.section-title {
    text-align: center;
    font-size: 32px;
    margin: 60px 0 30px 0;
    color: #e3f2fd;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.light-mode .section-title { color: #111; }

/* ==================== 3. NEWSLETTER SUBSCRIBE ==================== */
.gn-newsletter {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px dashed #9F00FF;
    border-radius: 20px;
    padding: 60px;
    width: 90%;
    max-width: 1500px;
    margin: 80px auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(159, 0, 255, 0.15);
}

.gn-newsletter h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #fff;
}

.gn-newsletter p {
    color: #ccc;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-input {
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid #333;
    background: rgba(255,255,255,0.05);
    color: white;
    width: 300px;
    outline: none;
    font-size: 16px;
}

.newsletter-btn {
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    background: #9F00FF;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-btn:hover {
    box-shadow: 0 0 15px #9F00FF;
    transform: scale(1.05);
}

/* Light Mode Fixes */
.light-mode .gn-newsletter { background: #fff; border-color: #ccc; }
.light-mode .gn-newsletter h3 { color: #111; }
.light-mode .gn-newsletter p { color: #555; }
.light-mode .newsletter-input { background: #f1f1f1; border-color: #ddd; color: #000; }
/* ==========================================
   CUSTOM SUBSCRIBE POPUP STYLES
   ========================================== */

.gn-subscribe-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gn-subscribe-popup.show {
    opacity: 1;
}

.gn-subscribe-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid #9F00FF;
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 60px rgba(159, 0, 255, 0.5);
    animation: popupZoomIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popupZoomIn {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.gn-subscribe-box .popup-icon {
    font-size: 70px;
    margin-bottom: 20px;
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.gn-subscribe-box .popup-icon .fa-circle-check {
    color: #00e676;
    filter: drop-shadow(0 0 15px #00e676);
}

.gn-subscribe-box .popup-icon .fa-circle-exclamation {
    color: #ff6b6b;
    filter: drop-shadow(0 0 15px #ff6b6b);
}

.gn-subscribe-box h3 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.gn-subscribe-box p {
    font-size: 16px;
    color: #d0d0d0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.popup-close-btn {
    padding: 14px 40px;
    border: none;
    background: linear-gradient(90deg, #9F00FF, #B72BFF);
    color: white;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(159, 0, 255, 0.3);
}

.popup-close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(159, 0, 255, 0.5);
}

.popup-close-btn:active {
    transform: translateY(0);
}

/* Light Mode Support */
.light-mode .gn-subscribe-box {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-color: #9F00FF;
}

.light-mode .gn-subscribe-box h3 {
    color: #111;
}

.light-mode .gn-subscribe-box p {
    color: #555;
}

/* Mobile Responsive */
@media (max-width: 500px) {
    .gn-subscribe-box {
        padding: 40px 25px;
    }
    
    .gn-subscribe-box .popup-icon {
        font-size: 55px;
    }
    
    .gn-subscribe-box h3 {
        font-size: 24px;
    }
    
    .gn-subscribe-box p {
        font-size: 14px;
    }
    
    .popup-close-btn {
        padding: 12px 35px;
        font-size: 15px;
    }
}
/* ================== STORE.HTML OS LIST STYLING (PROFESSIONAL LIST) ================== */

.gn-os-title {
    /* Title Style from Admin Panel */
    text-align: center;
    font-size: 32px;
    margin: 60px 0 30px 0;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.gn-os-title i {
    margin-right: 12px;
}

.gn-os-master-container {
    width: 95%;
    max-width: 1700px;
    margin: 40px auto;
    padding: 0 20px;
}

.gn-os-category-wrapper {
    margin-bottom: 50px;
    padding-top: 20px;
}

.gn-os-category-header {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    border-bottom: 2px solid #9F00FF;
    padding-bottom: 10px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.gn-os-category-header i {
    margin-right: 12px;
}

/* Category Specific Colors */
.gn-os-category-header.windows i { color: #0078D4; }
.gn-os-category-header.linux i { color: #ff9900; }
.gn-os-category-header.android i { color: #3DDC84; }

/* Horizontal Scrolling Container */
.gn-os-list-container {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Enable horizontal scrolling */
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

/* Individual OS Card - Clean List Item */
.os-list-item {
    flex: 0 0 350px; /* Consistent width for scrolling */
    min-height: 150px;
    background: var(--box, #1E1E1E);
    border: none; /* Removed border, using shadow for elevation */
    border-radius: 12px;
    padding: 15px;
    
    display: flex;
    align-items: center; 
    justify-content: space-between; /* Spread items */
    gap: 15px;
    
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
    scroll-snap-align: start;
}

.os-list-item:hover {
    box-shadow: 0 4px 15px rgba(159, 0, 255, 0.3);
    transform: translateY(-2px);
}

.os-list-item img {
    width: 104px; /* Slightly larger logo */
    height: 104px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 20px; /* Slight rounding for the logo */
}

.os-list-details {
    flex-grow: 1;
    text-align: left;
    /* Ensure name and version stack vertically */
    display: flex;
    gap: 10px;
    padding-left: 10px;
    flex-direction: column;
    justify-content: center;
    /* Name and release date are cleaner */
}
.gn-os-list-wrapper {
    position: relative;
    margin-top: 15px; /* Adjust spacing as needed */
}

/* Control buttons shared style */
.gn-os-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #9F00FF;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    opacity: 0.85;
    box-shadow: 0 0 15px rgba(159, 0, 255, 0.4);
}

.gn-os-scroll-btn:hover {
    opacity: 1;
    background: #B72BFF;
}

.gn-os-scroll-btn.left {
    left: -20px;
}

.gn-os-scroll-btn.right {
    right: -20px;
}

/* Hide buttons on mobile/tablet (non-PC/touchscreen view) */
/* This re-uses the existing 1435px break point for mobile hamburger menu */
@media (max-width: 1435px) {
    .gn-os-scroll-btn {
        display: none !important;
    }
    .gn-os-list-wrapper {
        margin-top: 0; /* Remove extra margin when buttons are hidden */
    }
}
.os-list-details h4 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.os-list-details p {
    font-size: 13px;
    color: #A0A0A0;
    margin: 2px 0 0 0;
}

/* Download Icon/Button for OS List */
.os-list-item a {
    flex-shrink: 0;
    background: #9F00FF;
    color: white !important;
    padding: 10px 12px; /* Larger click area */
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}
.os-list-item a:hover {
    background: #7A00CC;
}
/* Loader for list */
.gn-list-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100px;
}