* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(to right, #0a0a0a, #330000, #0a0a0a);
}

header {
    width: 100%;
    height: 100vh;
}

.nav1 {
    width: 86%;
    height: 15%;
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10000;
}

.first-list ul {
    display: flex;
    justify-content: center;
}

.first-list ul li {
    position: relative;
    list-style: none;
}

.first-list ul li a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    text-transform: uppercase;
    transition: 0.5s;
    position: relative;
}

.first-list a:hover {
    background: white;
    border-radius: 5px;
    transform: scale(1.05);
    color: black;
}

.drop-down {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 15px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10000;
}

.first-list ul li:hover .drop-down {
    opacity: 1;
    visibility: visible;
    transform: translateX(-13px) translateY(10px);
}

.drop-down li {
    list-style: none;
}

.drop-down li {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.first-list ul li:hover .drop-down li {
    opacity: 1;
    transform: translateX(0);
}

.search-par {
    position: relative;
    width: 350px;
}

.search-par input {
    width: 100%;
    border: 0;
    padding: 10px 10px 10px 40px;
    border-radius: 10px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
}

.search-par i {
    position: absolute;
    top: 12px;
    left: 10px;
    color: gray;
    z-index: 100;
}

.icons1 {
    display: flex;
    gap: 30px;
}

.icons1 a {
    font-size: 18px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    cursor: pointer;
}

.icons1 a:hover {
    transform: scale(1.2);
}

.nav2 {
    width: 14%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: 5%;
}

.logo h1 {
    font-size: 20px;
    text-transform: uppercase;
    color: white;
}

.logo img {
    width: 38px;
    height: 38px;
    border-radius: 20px;
    background-color: white;
}

.second-list ul {
    list-style: none;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 35px;
    margin-top: 45px;
}

.second-list a {
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    padding: 8px 12px;
    display: block;
    transition: 0.5s;
    text-transform: uppercase;
}

.second-list a:hover {
    background: white;
    border-radius: 5px;
    transform: scale(1.05);
    color: black;
}

.main-slid {
    position: absolute;
    right: 5%;
    top: 18%;
}

.container {
    display: flex;
    gap: 20px;
}

.swiper {
    width: 750px;
    height: 440px;
    border-radius: 10px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbs {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 220px;
}

.thumb {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    transition: 0.3s;
}

.thumb:hover,
.thumb.active {
    background: rgba(255, 255, 255, 0.1);
}

.thumb img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.thumb-title {
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.game-info {
    width: 450px;
    position: absolute;
    bottom: 12%;
    left: 3%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.game-info strong {
    font-size: 30px;
    color: white;
    text-transform: uppercase;
}

.game-info span {
    font-size: 20px;
    color: white;
}

.buttons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.buttons button {
    padding: 10px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
    text-transform: uppercase;
}

.buy-btn {
    border: 0;
    background: white;
    color: black;
}

.buy-btn:hover {
    transform: translateY(-5px);
}

.wishlist-btn {
    background: transparent;
    color: #fff;
    border: 1px solid white;
}

.wishlist-btn:hover {
    background: white;
    color: black;
}


/* _________top-sellers__________ */

.top-sellers {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.section-head {
    width: 82%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    margin-right: 30px;
}

.title-box {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.section-head a {
    font-size: 25px;
    text-decoration: none;
    text-transform: capitalize;
    color: white;
}

.section-head span {
    font-size: 20px;
    color: white;
    cursor: pointer;
}

.title-box:hover {
    transform: translateY(-5px);
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 0;
    font-size: 15px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: 0.3s;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.topSellersSwiper {
    width: 84%;
    margin-right: 0;
    margin-left: auto;
}

.top-sellers .swiper {
    margin-left: auto !important;
    margin-right: 15px !important;
    justify-content: flex-end !important;
}


.card {
    max-width: 245px;
    height: 350px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px;
    color: #fff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.title {
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.price-box {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.old-price {
    font-size: 18px;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.4);
}

.discount {
    font-size: 20px;
    color: white;
}

.card {
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.action-buttons {
    width: 85%;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    display: flex;
    opacity: 0;
    transition: 0.35s;
}

.card:hover .action-buttons {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.action-btn {
    width: 100%;
    background: white;
    color: black;
    border: none;
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: scale(1.05);
}




/* ______________divded-section______________ */


.divded-section {
    width: 86%;
    height: 110vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    margin-right: 0;
    margin-left: auto;
}

.divided {
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.div-title {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 40px;
    margin-left: 8px;
    transition: 0.3s;
}

.div-title span {
    font-size: 20px;
    color: white;
}

.div-title a {
    font-size: 25px;
    text-decoration: none;
    text-transform: capitalize;
    color: white;
}


.div-title:hover {
    transform: translateY(-5px);
}

.thumb2 {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    transition: 0.3s;
    margin-bottom: 8px;
}

.thumb2:hover,
.thumb2.active {
    background: rgba(255, 255, 255, 0.1);
}

.thumb2 img {
    width: 150px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
}

.thumb2-title {
    font-size: 14px;
    font-weight: bold;
    color: white;
}



/* ______________Trending-Now____________ */


.Trending-Now {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin-top: 80px;
}

.toptrendingSwiper {
    width: 84%;
    margin-right: 0;
    margin-left: auto;
}

.Trending-Now .swiper {
    margin-left: auto !important;
    margin-right: 15px !important;
    justify-content: flex-end !important;
}


/* _______________message___________ */

#message-box {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 30px 60px;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 9999;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(50px);
}

#message-box.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.hidden {
    display: none;
}