html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}



.title {
    font-weight: 500;
    border-radius: 30px;
    display:inline;
}

.logo {
    display: inline;
    padding-top: 127px;
}


.logo {
    margin: 0;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 5px;
    display: inline-block;
}


.main-menu {
    display: inline-block;
    vertical-align: middle;
}

    .main-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
    }

    .main-menu li {
        margin-right: 15px;
    }

    .main-menu a {
        text-decoration: none;
        color: #000;
    }
        



    *,
*:before,
*:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #080710;
}

.background {
    width: 430px;
    height: 520px;
    position: relative;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

.background .shape {
    height: 200px;
    width: 200px;
    position: relative;
    border-radius: 50%;
}

.shape:first-child {
    background: linear-gradient( #1845ad, #23a2f6 );
    left: -80px;
    top: -80px;
}

.shape:last-child {
    background: linear-gradient( to right, #ff512f, #f09819 );
    right: -30px;
    bottom: -80px;
}

.form1 {
    height: 540px;
    width: 400px;
    background-color: rgba(255,255,255,0.13);
    margin: auto;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(8,7,16,0.6);
    padding: 50px 35px;
}


.form2 {
    height: 910px;
    width: 510px;
    background-color: rgba(255,255,255,0.13);
    margin: auto;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(8,7,16,0.6);
    padding: 50px 35px;
}



    form * {
        font-family: 'Poppins',sans-serif;
        
        letter-spacing: 0.5px;
        outline: none;
        border: none;
    }

form h3 {
    font-size: 32px;
    font-weight: 500;
    line-height: 42px;
    text-align: center;
}

label {
    display: block;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 500;
}

input {
    display: block;
    height: 50px;
    width: 100%;
    background-color: rgba(255,255,255,0.07);
    border-radius: 3px;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
}

::placeholder {
    color: #e5e5e5;
}

button {
    margin-top: 50px;
    width: 100%;
    background-color: #ffffff;
    color: #080710;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}

.social {
    margin-top: 30px;
    display: flex;
}

.social div {
    background: red;
    width: 150px;
    border-radius: 3px;
    padding: 5px 10px 10px 5px;
    background-color: rgba(255,255,255,0.27);
    color: #eaf0fb;
    text-align: center;
}

.social div:hover {
    background-color: rgba(255,255,255,0.47);
}

.social .fb {
    margin-left: 25px;
}

.social i {
    margin-right: 4px;
}


/* Styles for the overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

/* Styles for the popup */
.popup {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


.hidden-content {
    display: none;
}

.popups {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

    .popups button {
        display: block;
        /* Center the button horizontally */
        text-align: center; /* Center the text within the button */
        height: auto;
        border-radius: 50%;
    }


.white-link {
    color: white;
}

.nav ul li a{
    color:aliceblue;
}



/* Navbar container */
.dropdown {
    position: relative;
    display: inline-block;
    z-index: 9999;
}

/* Style for the transparent button */
.transparent-button {
    background-color: rgba(0, 0, 0, 0); /* Transparent background */
    border: 0px solid #ccc; /* Add border for better visibility */
    padding: 5px 10px; /* Decrease padding to decrease button size */
    font-size: 14px; /* Decrease font size */
    color: #333; /* Text color */
    cursor: pointer;
    z-index: 9999;
}

/* Style for the dropdown menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index:9999;
}

/* Show the dropdown menu on button click */
.dropdown.clicked .dropdown-content {
    display: block;
    z-index: 9999;
}

/* Style for dropdown menu items */
.dropdown-content a {
    color: #333;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    z-index: 9999;
}

    /* Style for hover effect on dropdown menu items (optional) */
    .dropdown-content a:hover {
        background-color: #ddd;
    }


.form-check-input{

    block-size: 20px;
    display:inline;


}

.link-content {

    display: none;
    position: relative;
    z-index: 9999;
    display: block;

}

.hidden {
    display: none;
}

input[type=file]::file-selector-button {
    margin-right: 20px;
    border: none;
    background: #084cdf;
    padding: 10px 20px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease-in-out;
}

    input[type=file]::file-selector-button:hover {
        background: #0d45a5;
    }


.my-btn {
    background-color: #00cc66;
    border: none;
    box-shadow: none;
    color: aliceblue;
}

    .my-btn:hover {
        color: #fff;
        background-color: #00b359;
        border-color: #16afb2;
    }


.my-btn2 {
    background-color: #D8D8D8;
    border: none;
    box-shadow: none;
    color: aliceblue;
}

    .my-btn2:hover {
        color: #fff;
        background-color: #A4A4A4;
        border-color: #16afb2;
    }


.my-btn3 {
    background-color: #FF0404;
    border: none;
    box-shadow: none;
    color: aliceblue;
}

    .my-btn3:hover {
        color: #fff;
        background-color: #990303;
        border-color: #16afb2;
    }


.image-container {
    width: 160px;
    height: 130px;
    display: inline-block;
    position: relative;
    z-index: 0;
}

.form-pics {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    padding-bottom: 50px;
}

.remove-button {
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 2;
    background-color: transparent;
    padding-left: 65px;
    color: aliceblue;
    border-radius: 50%;
    border: 2px solid black;
    width: 4px;
    font-size: 12px;
    padding: 3px 7px;
    padding-right:15px;
    padding-top:5px;
    
}


.remove-button2 {
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 2;
    background-color: transparent;
    padding-left: 65px;
    color: black;
    border-radius: 50%;
    border: 2px solid black;
    width: 4px;
    font-size: 12px;
    padding: 3px 7px;
    padding-right: 15px;
    padding-top: 5px;
}



.videobox{
    width:100%;
    height:85%;
    padding-left:0;
    padding-right:0;
}


.descrip{

    color:goldenrod;

}

.whitetext{
    color:aliceblue;
}

.rating {
    display: flex;
    justify-content: center;
}

    .rating input {
        display: none;
    }

    .rating label {
        font-size: 2em;
        color: #ddd;
        cursor: pointer;
        transition: color 0.2s;
    }

    .rating input:checked ~ label {
        color: #ddd;
    }

        .rating input:checked ~ label,
        .rating input:checked ~ label ~ label {
            color: #f7d106;
        }

    .rating label:hover,
    .rating label:hover ~ label {
        color: #f7d106;
    }


.description {
    font-size: clamp(10px,2vw,16px);
    color: aliceblue;
}

.links {
    font-size: clamp(12px,2vw,18px);
    color: aliceblue;
}

.linkimg{
    height:15px;
    width:15px;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-gap:30px;
}

.gallery img{
    width:100%;
}

.star {
    color: gold;
    font-size: clamp(14px,2vw,20px);
}

.linksbase{
    color:gold;
}

    .linksbase:hover{
        color:darkgoldenrod;
    }

.mysec{
    position: relative;
    display:flex;
    flex-direction:column;
    padding-top:5%;
}

.mysectop {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 2%;
}

.grey {
    background-color: #424242;
}

.white {
    background-color: #f5e2bf;
}

.orange {
    background-color: #FFA726;
}

.red{
    background-color:darkred;
}

.mywave1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .mywave1 svg {
        position: relative;
        display: block;
        width: calc(152% + 1.3px);
        height: 132px;
    }

    .mywave1 .shape-fill {
        fill: #f5e2bf;
    }


.mywave2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .mywave2 svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 75px;
    }

    .mywave2 .shape-fill {
        fill: #424242;
    }


.mywave3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .mywave3 svg {
        position: relative;
        display: block;
        width: calc(202% + 1.3px);
        height: 152px;
    }

    .mywave3 .shape-fill {
        fill: #FFA726;
    }



/* Default: Hide mobile-only and show desktop-only */
.desktop-only {
    display: inline-block;
}

.mobile-only {
    display: none !important;
}

/* Mobile View: Show mobile-only and hide desktop-only */
@media (max-width: 768px) {
    .desktop-only {
        display: none ;
    }

    .mobile-only {
        display: list-item !important;
    }
}

/* Styling for the Login | Signup link in orange */
.orange-link {
    color: #ffb320;
    text-decoration: none;
    font-weight: bold;
}

    .orange-link:hover {
        color: #ffffff;
    }




.all-games-section {
    padding: 60px 0;
}

.game-item {
    margin-bottom: 30px;
    text-align: center;
    background: #1b1b1b;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .game-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    }

.game-cover {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-content {
    padding: 15px;
}

.release-date {
    display: block;
    font-size: 14px;
    color: #ffb320;
    margin-top: 10px;
}


.pagination .page-link {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%; /* Makes the buttons circular */
    background-color: #001f3f; /* Navy blue background */
    color: #ffffff; /* White text */
    text-align: center;
    border: none; /* Removes border */
    margin: 0 5px; /* Adds spacing between circles */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pagination .page-link:hover {
        background-color: #0056b3; /* Lighter navy for hover effect */
        color: #ffffff;
        text-decoration: none;
    }

.pagination .page-item.active .page-link {
    background-color: #004080; /* A slightly darker navy for active state */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Adds shadow to the active item */
}

.pagination .page-item {
    margin: 0;
}


.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

.card-title {
    font-size: 1.25rem;
    text-transform: capitalize;
}

.card-img-top {
    height: 200px;
    object-fit: cover; /* Ensures the image fits nicely */
}

.btn-outline-primary {
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .btn-outline-primary:hover {
        background-color: #001f3f; /* Navy blue */
        color: #ffffff; /* White text */
    }

.card.bg-dark {
    background-color: #343a40; /* Bootstrap dark background color */
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card.bg-dark:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    }

.card-title {
    font-size: 1.5rem;
}

.btn-outline-light {
    transition: all 0.3s ease;
}

    .btn-outline-light:hover {
        background-color: #ffffff;
        color: #343a40; /* Dark text on hover */
    }



.image-container {
    position: relative;
    width: 100%;
    height: 200px; /* Adjust based on your image size */
    overflow: hidden;
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out; /* Smooth fade-in/out over 2 seconds */
}

    .slideshow-image.active {
        opacity: 1;
    }

.game-card:hover .slideshow-image {
    opacity: 1;
}


.dropdown {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Stretch the dropdown across the screen */
    padding: 0;
}

#categoryDropdown {
    width: calc(100% - 20px); /* Full width minus space on left and right */
    margin: 0 10px; /* Add space on the left and right */
    padding: 10px 15px; /* Adjust padding for better visuals */
    background-color: #00001a; /* Dark blue background */
    color: #ffffff; /* White text */
    border: 2px solid #FFD700; /* Golden border */
    border-radius: 4px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor */
    text-align: left; /* Align text to the left */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

    #categoryDropdown:hover {
        background-color: #002244; /* Slightly darker blue on hover */
        color: #FFD700; /* Golden text on hover */
    }

.dropdown-menu {
    position: absolute;
    top: 100%; /* Position the menu below the button */
    left: 10px; /* Leave space on the left */
    right: 10px; /* Leave space on the right */
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: rgba(0, 0, 26, 0.8); /* Semi-transparent dark blue background */
    border: 2px solid #FFD700; /* Golden border */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    z-index: 1000; /* Ensure it appears above other elements */
    backdrop-filter: blur(4px); /* Optional: Adds a blurred effect for a modern look */
    max-height: 300px; /* Limit the maximum height of the dropdown */
    overflow-y: auto; /* Allow scrolling if content exceeds max height */
}


.dropdown-item {
    font-size: 12px; /* Smaller font size */
    padding: 8px 12px; /* Reduced padding for smaller height */
    text-decoration: none; /* Remove underline */
    color: #ffffff !important; /* Keep text fully opaque and white */
    display: block; /* Ensure the link takes up full width */
    background-color: transparent; /* Ensure no background on items */
}

    .dropdown-item:hover {
        background-color: rgba(255, 215, 0, 0.8); /* Semi-transparent golden background on hover */
        color: #000; /* Black text for contrast */
    }


.active-category {
    background-color: #002244; /* Dark blue background */
    color: #FFD700; /* Golden text */
    font-weight: bold;
}


.star-score {
    position: absolute;
    width: 70px; /* Increased size */
    height: 70px;
    top: -35px;
    left: 20px; /* Adjusted position */
    font-size: 18px;
    font-weight: 700; /* Bold text for visibility */
    color: #fff;
    text-align: center;
    z-index: 1;
}

    .star-score::before {
        content: '\2605'; /* Unicode for star */
        font-size: 80px; /* Larger star size */
        line-height: 70px; /* Align text vertically */
        color: #ffb320; /* Yellow star color */
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Optional glow effect */
        position: absolute;
        left: 50%; /* Center star */
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: -1; /* Ensure text appears on top of the star */
    }

    .star-score span {
        position: relative; /* Needed for proper layering */
        z-index: 1; /* Ensure text is above the star */
        display: block;
        line-height: 70px; /* Vertically align text inside */
    }
