.links,
.sticky {
    position: sticky
}

@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@500&family=Orbitron:wght@400..900&display=swap');.image-overlay,
.lorem {
    font-family: "Baloo Bhai 2";
    /* font-optical-sizing: auto; */
    /* font-style: normal; */
    /* font-weight: bold; */
    gap: 0px;
}
.image-wrapper:hover{
       filter: drop-shadow(0px 0px 15px rgb(30 180 180 / 51%));
    transform: scale(1.05);
}

.hover-image-wrapper,
.image-wrapper {
    border-radius: 10px;
    /* box-shadow: 0 4px 10px rgb(0 0 0 / 48%); */
    overflow: hidden
}
/* .hover-image-wrapper{
     filter: drop-shadow(0px 0px 15px rgba(0, 255, 255, 1));
    transform: scale(1.05);
} */

#PVPGaming::after,
#PVPGaming::before {
    z-index: -1;
    width: 255px;
    position: absolute
}

#PVPGaming:hover,
.hover-image-wrapper:hover img,
.image-wrapper:hover img {
    transform: scale(1.1)
}

body {
    font-family: segoe UI, sans-serif;
    display: flow-root;
    background-color: #000;
    color: #e9e3e3;
}

#PVPGaming,
h3 {
    text-align: center;
    font-family: Minecraft, segoe UI, sans-serif;
    justify-self: center;
    
}

#PVPGaming {
    color: rgb(2252 114 0);
    font-weight: bolder;
    text-shadow: 0 0 15px #ff0;
    display: flex;
    justify-content: center;
    width: 210px;
    margin: auto;
    height: 6.5vh;
    /* text-shadow: 0px 0px 10px rgba(255, 140, 0, 0.8); */
}

.Logo,
.links {
    /* flex-wrap: wrap; */
    display: flex;
    justify-content: center;
    /* box-shadow: 0 0 5px rgb(255 0 0 / 96%), 0 0 10px rgb(255 0 0); */
    /* border-radius: 50%; */
    /* position: relative; */
    /* opacity: 0; */
}

h3 {
    display: flex;
    color: #2dcd2dd6;
    text-shadow: 0 0 11px #0ede50;
    margin-top: 19px;
    position: relative;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

.sticky {
    top: 0
}

.links {
    flex-direction: column;
    align-items: flex-end;
    float: right;
    z-index: 1;
}

* {
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
    /* justify-content: center; */
    /* justify-content: end; */
}

.image-wrapper {
    position: relative;
    display: inline-block;
    height: 140px;
    width: 140px;
    flex: 1;
    /* Har image ko equal width milega */
    max-width: 120px;
    /* Adjust for smaller screen */
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    /* Square shape maintain */
    /* box-shadow: 3px 2px 2px 4px #00000059; */
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.7));
    transition: all 0.3s ease-in-out;
}

.hover-image-overlay,
.image-overlay {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    opacity: 0
}

.image-wrapper img {
    display: block;
    /* width: auto; */
    /* height: 150px; */
    /* object-fit: cover; */
    transition: transform .5s;
    width: 100%;
    /* Har screen pe fit ho */
    height: 100%;
    object-fit: cover;
    /* Image cut hone ke bajaye fit ho */
}

.image-overlay {
    top: 0;
    height: 100%;
    background: rgb(0 0 0 / 45%);
    color: #0cddc1d0;
    font-weight: bolder;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity .5s;
    font-size: 1.5rem;
    padding: 10px
}

#PVPGaming:hover::before,
.download-icon:hover,
.image-wrapper:hover .image-overlay,
[aos].aos-animate {
    opacity: 1
}

.lorem {
    color: #08f3fb;
    filter: drop-shadow(0px 0px 5px #08f3fb);
    font-size: large;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 30px
}

#PVPGaming:active,
.hover-image-overlay {
    font-weight: 700;
    color: #000
}

.hover-image-wrapper {
    display: flexbox;
    margin: 10px;
    float: left;
    justify-items: center;
    align-items: center;
    /* box-shadow: 6px 3px 9px 3px rgb(230 230 230); */
    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px rgb(255 255 255 / 0%);
}

.hover-image-wrapper img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure full image is visible */
    border-radius: 10px;
    max-height: 200px; /* Avoid too much stretching */
}

.hover-image-overlay {
    bottom: 0;
    background: rgba(255, 255, 255, .6);
    padding: 10px 0;
    transform: translateY(100%);
    transition: .5s;
    font-size: 1rem
}

.boundary,
.hover-image-wrapper,
.main,
.material,
.secImg,
.secImg img {
    position: relative
}

.dark-mode,
body.dark-mode {
    background-color: #ffffff;
    color: #000000
}

#PVPGaming::before,
.download-btn,
.download-icon {
    transition: opacity .3s ease-in-out
}

.hover-image-wrapper:hover .hover-image-overlay {
    opacity: 1;
    transform: translateY(0)
}

.images {
    height: auto;
    /* border-top: 5px solid #0f0; */
    overflow: hidden;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 25px
}

.images22 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Responsive columns */
    gap: 5px;
    justify-content: center;
    padding: 5px;
}

/* 📱 Mobile View: Ensure minimum 3 images */
@media (max-width: 1024px) {
    .images22 {
        /* FONT-VARIANT: JIS04; */
        grid-template-columns: repeat(4, 1fr); /* Fix 3 images per row */
    }
}

/* 📲 Smaller Mobile (below 500px) */
@media (max-width: 500px) {
    .images22 {
        grid-template-columns: repeat(3, 1fr); /* 2 images per row for very small screens */
    }
}

/* 🖥️ Larger Screens (Desktop) */
@media (min-width: 1025px) {
    .images22 {
        grid-template-columns: repeat(auto-fit ,minmax(150px ,1fr)); /* Adjust size automatically */
    }
}

.main {
    background-image: url(Untitled\ design\ \(1\).png);
    height: 100vh;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overflow-x: hidden;

}
@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: -10px -10px; }
}
.material {
    z-index: 10
}

.first {
    display: flex;
    justify-content: center;
    max-width: 70vw;
    margin: auto;
    align-items: center
}

.secImg img {
    width: 525px;
    z-index: 10;
    height: 340px
}

.secImg iframe {
    position: absolute;
    top: 47px;
    right: 0;
    width: 328px;
    height: 175px;
    padding-top: 17px;
    padding-right: 98.5px;
    z-index: 11
}

@media screen and (max-width: 1450px) {
    .first {
        flex-wrap: wrap
    }
}

#PVPGaming::before {
    content: "";
    background-color: #eaeaea00;
    border: none;
    border-radius: 10px;
    contain: "";
    background: linear-gradient(45deg, #0ef, #44d6ae, #388217, #cc3232, #15da67);
    background-size: 800%;
    height: 6vh;
    filter: blur(15px);
    opacity: 0;
    animation: 20s linear infinite glowing
}

@keyframes glowing {

    0%,
    100% {
        background-position: 0 0
    }

    50% {
        background-position: 400% 0
    }
}

#PVPGaming::after {
    content: "";
    background-color: #000;
    height: 51px;
    border-radius: 10px;
    /*     height: 7.2vh; */
    width: 234px;
    /* margin: auto; */
    margin-left: -6px;
    /* margin-bottom: 49px; */
}

#PVPGaming:active::after {
    background: 0 0
}

.boundary {
    animation: 2s infinite alternate glow-border;
    width: auto;
    border: 4px solid transparent;
    border-radius: 20px;
    background-image: linear-gradient (#911b1b, #f04a4a), linear-gradient(to right, #0ff, #0f0);
    background-origin: border-box;
    background-clip: padding-box, border-box
}

@keyframes glow-border {

    0%,
    100% {
        border-image: linear-gradient(to right, #00eeff, #44d6ae, #388217, #cc3232, #15da67) 2
    }

    50% {
        border-image: linear-gradient(to right, #ff2200, #d644d1, #178266, #ccb032, #9cda15) 2
    }
}

.download-btn {
    position: absolute;
    top: 0;
    right: 5px;
    display: none;
    z-index: 10
}

.hover-image-wrapper:hover .download-btn {
    display: block
}

.download-icon {
    width: 20px;
    height: 20px;
    opacity: .8;
    max-width: 39px
}

.search-container {
    text-align: right;
    margin-bottom: 15px;
    padding-top: 10px
}

#imageSearch {
    padding: 12px;
    border-radius: 100px;
    box-shadow: 0 0 15px rgb(20 230 234 / 51%);
    font-size: 18px;
    width: 220px;
    background-color: #1a1a1a;
    color: #fff;
    outline: 0;
    backdrop-filter: blur(10px);
    font-family: Minecraft, sans-serif;
    text-transform: uppercase;
    transition: .4s ease-in-out;
    padding: 12px 20px;
    font-weight: bold;
    letter-spacing: 1px;

}

#imageSearch::placeholder {
    color: #19dad3;
    opacity: 0.7;
    text-shadow: 0px 0px 5px cyan;
}

#imageSearch:focus {
    width: 300px;
    box-shadow: 0 0 25px #0f0;
    border-color: #0f0;
}

#imageSearch:focus::placeholder {
    color: #0f0 !important;
    opacity: 1;

}

.dark-mode {
    position: relative
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

#PVPGaming:hover {
    transition: transform .3s
}

#darkModeToggle {
    position: relative;
    background: rgba(0, 0, 0, 0);
    border: rgba(255, 255, 255, 0);
    padding: 0;
    z-index: 10
}

.imgsearch {
    border-top: 3px solid #0f0
}

[aos] {
    opacity: 0;
    transition: opacity .8s ease-in-out
}

.hello {
    box-shadow: 0 0 5px rgb(0 251 255 / 43%), 0 0 10px rgb(0 255 205 / 60%);
    border-radius: 100px;
    border-bottom: outset;
    margin-bottom: 10px;
}

.glow-button {
    display: inline-block;
    padding: 7px 9px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #0f0;
    border-radius: 50px;
    background: linear-gradient(90deg, #0f0, #00f, #f0f, #0f0);
    background-size: 400%;
    animation: glowing 8s linear infinite;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.7);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: system-ui;
    text-shadow: 5px 5px 5px rgb(0 0 0);
    font-weight: bold;
}

.glow-button:hover {
    background-position: 100%;
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.9);
}

.glow-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.glow-button:hover::before {
    opacity: 1;
}

@keyframes glowing {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 0%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.gallery-button-container {
    position: absolute;
    top: 60px;
    /* Dark mode button ke neeche spacing */
    left: 7px;
    /* Agar left me chaiye to */
    width: 100px;
    /* Full width, center karne ke liye */
    display: flex;
    /* justify-content: center;  */
    z-index: 10;
}

.image-container {
    display: flex;
    justify-content: center;
    gap: 5px;
    /* Thoda gap between images */
    overflow: hidden;
    flex-wrap: nowrap;
    /* Important - wrap nahi hone dena */
    max-width: 100%;
    /* box-shadow: 2px 2px 2px 2px black; */
}

@media (max-width: 400px) {
    .image-wrapper {
        max-width: 90px;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');
.galleryHeader {
    font-family: "Orbitron";
    /* font-size: 56px; */
    color: #00ff00;
    /* text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 40px #00ff00; */
    text-align: center;
    padding: 10px 30px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 255, 0, 0.6);
    border-radius: 15px;
    backdrop-filter: blur(8px);
    animation: pulseGlow 2s infinite alternate;
    display: flex;
    justify-self: center;
    /* align-items: center; */
    justify-content: center;
    width: 170px;
    top: 5px;
    position: relative;
    font-size: 50px; /* Increase Size */
    text-shadow: 0 0 10px #0f0, 0 0 20px #0f0; /* Extra Glow */
}

@keyframes pulseGlow {
    from {
        transform: scale(1);
        text-shadow: 0 0 15px #00ff00;
    }

    to {
        transform: scale(1.05);
        text-shadow: 0 0 30px #00ff00;
    }
}

.glow-bar {
    width: 60%;
    height: 5px;
    background: linear-gradient(90deg, #ff0000, #ff7300, #48ff00, #00fff7);
    margin: 24px auto;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    animation: glow-bar-animation 5s infinite alternate;
}

@keyframes glow-bar-animation {
    from { transform: scaleX(1); }
    to { transform: scaleX(1.2); }
}


.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Responsive columns */
    /* gap: 10px; */
    padding: 10px;
    justify-content: center;
    align-items: center;
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); */
    /* gap: 15px; */
}

.gallery-image img {
    width: 100%; /* Full width of the grid cell */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px;
    object-fit: cover; /* Ensure full image is visible */
    aspect-ratio: 1 / 1; /* Ensure square images */    
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10; /* Ye main trick hai - particles ko bilkul neeche bhej diya */
    pointer-events: none; /* Isse particles pe click nahi hoga */
    opacity: 0.8;
    filter: blur(2px);
}
.images{
    position: relative;  /* Ensure it respects z-index */
    z-index: 10;         /* Gallery particles se upar dikhega */
    
}

/* .galleryHeader {
    font-family: 'Minecraft', sans-serif;
    font-size: 56px;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 40px #00ff00;
    text-align: center;
    padding: 10px 30px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 255, 0, 0.6);
    border-radius: 15px;
    backdrop-filter: blur(8px);
    animation: pulseGlow 2s infinite alternate;
    display: inline-block; /* Box jitna text hai utna space lega */
    /* margin: 20px auto; Center align */

/* } */ 

@keyframes pulseGlow {
    from { transform: scale(1); text-shadow: 0 0 15px #00ff00; }
    to { transform: scale(1.05); text-shadow: 0 0 30px #00ff00; }
}
/* 🔥 Lightbox Styling */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 9999;
}

/* 🖼️ Lightbox Content (Image + Buttons) */
.lightbox-content {
    position: relative; /* ✅ Image aur buttons ek doosre se relative honge */
    display: flex;
    align-items: center;
    /* gap: 20px; */ /* Image aur buttons ke beech gap */
}

/* 🖼️ Lightbox Image */
#lightbox img {
    max-width: 80%;
    max-height: 80vh;
    border-radius: 8px;
}

/* ✅ Buttons Ko IMAGE ke top-right me chipka do */
.popup-buttons {
    position: absolute;
    top: 0;
    /* right: 0; */
    display: flex;
    flex-direction: column; /* ✅ Buttons ek ke neeche ek aayenge */
    /* gap: 10px; */
    background: rgb(0 0 0 / 0%); /* ✅ Transparent black background */
    padding: 9px;
    border-radius: 8px;
    padding-bottom: 0px;
}

/* 🔘 Buttons Styling */
.popup-buttons button {
    background: #00ffcc00;
    color: black;
    /* padding: 8px 12px; */
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.2s;
}

.popup-buttons button:hover {
    background: #00bfa600;
    transform: scale(1.1);
}

/* ✅ Open Lightbox */
#lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* ❌ Close Button */
#lightbox .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* 📱 Responsive Fix - Mobile Pe Buttons Neeche Center */
@media (max-width: 400px) {
    .lightbox-content {
        flex-direction: column; /* Mobile pe image aur buttons ek ke neeche ek aayenge */
        align-items: center;
        /* gap: 10px; */
    }

    .popup-buttons {
        position: static; /* ✅ Mobile me normal position pe aayenge */
        flex-direction: row; /* Buttons neeche ek line me aayenge */
        justify-content: center;
        background: transparent;
    }
}

