/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-padding-top: 2rem;
}
.swiper-pagination-bullet {
    background: white;
}

/* Variables */
:root {
    --main-color: #fa5353;
    /* Second Color Choice */
    /*--main-color:#fa5353*/
    --dark-color: #1b182b;
    --light-color: #322f40;
    --text-color: hsl(0, 0%, 91%);
}

::selection {
    color: var(--text-color);
    background: var(--main-color);
}
section {
    padding: 4rem 0 3rem;
}

img {
    width: 100%;
}

body {
    color: var(--text-color);
    background: var(--dark-color);
}

.container {
    max-width: 1068px;
    margin: auto;
    width: 100%;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--dark-color);
    z-index: 100;
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}

/* Logo */
/* Increase Logo Size */
.logo {
    font-size: 2rem; /* Increase font size */
    font-weight: 700; /* Make it bold */
    color: var(--text-color);
    text-transform: uppercase;
    margin: 0 auto 0 0;
    letter-spacing: 1px; /* Improve spacing */
}

/* Highlight 'FIRE IDS' in Red */
.logo span {
    color: var(--main-color);
    font-size: 2.2rem; /* Slightly larger than the rest */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }
    .logo span {
        font-size: 2rem;
    }
}


.logo span {
    color: var(--main-color);
}

/* Nav Icons */
.nav-icons {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.nav-icons .bx {
    font-size: 20px;
    height: 44px;
    width: 44px;
    display: grid;
    place-items: center;
    color: var(--text-color);
    background: var(--light-color);
    border-radius: 50%;
    cursor: pointer;
}

#bell-icon {
    position: relative;
}

#bell-icon span {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--main-color);
    position: absolute;
    top: 10px;
    right: 14px;
}

/* Menu Icon */
.menu-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 5px;
    height: 44px;
    width: 44px;
    border-radius: 50%;
    background: var(--light-color);
    cursor: pointer;
    z-index: 200;
    transition: 0.3s;
}

.menu-icon div {
    display: block;
    background: var(--text-color);
    height: 2px;
    width: 25px;
    transition: 0.3s;
}

/* Menu Icon Cross Animation */
.menu-icon.active .line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.active .line2 {
    opacity: 0;
}

.menu-icon.active .line3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Menu */
.menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 14, 0.9);
    z-index: 106;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.5s;
    clip-path: circle(0% at 100% 0%);
}
.menu.active {
    clip-path: circle(144% at 100% 0%);
}
.menu img {
    max-width: 700px;
}
.navbar{
    display: grid;
    row-gap: 1rem;
    text-align: right;
    padding-right: 2rem;
}
.navbar a{
    font-size: 1.6rem;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.2s;
}
.navbar a:hover{
    border-bottom: 4px solid var(--main-color);
    font-size: 1.8rem;
}
/* Notification */
.notification {
    position: absolute;
    top: 110%;
    right: 5rem;
    background: var(--light-color);
    width: 300px;
    height: 350px;
    border-radius: 0.5rem; 
    padding: 10px;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    clip-path: circle(0% at 100% 0%);
}
.notification.active {
    clip-path: circle(144% at 100% 0%);
    transition: 0.3s;
}
.notification-box {
    display: flex;
    align-items: baseline;
    column-gap: 1rem;
    border-radius: 0.5rem;
    background: var(--dark-color);
    padding: 10px;
}
.notification-box .bx {
    color: #faf102;
}
.box-color {
    background: hsl(0,0%,100%,0.4);
}
.box-color .bx {
    color: var(--main-color);
}
/* Cart Box */
.cart-box {
    position: fixed;
    top: 110px;
    right: 20px;
    width: 300px;
    background: #322f40;
    color: var(--text-color);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    max-height: 300px; /* Fixed height */
    overflow-y: auto;  /* Scroll enable */
}

/* Custom Scrollbar Styling */
.cart-box::-webkit-scrollbar {
    width: 6px;
}

.cart-box::-webkit-scrollbar-thumb {
    background: #fa5353;
    border-radius: 5px;
}

.cart-box::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.cart-box.active {
    display: block;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.cart-item button {
    background: #fa5353;
    color: var(--text-color);
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 5px;
}
#clear-cart {
    background: #fa5353;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    font-size: 16px;
    margin-top: 10px;
}

#clear-cart:hover {
    background: #d43f3f;
}
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

#close-cart {
    font-size: 24px;
    cursor: pointer;
    color: #fa5353;
}

#close-cart:hover {
    color: #d43f3f;
}


/* Home */
.home {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 4rem !important;
}
/* Reduce Home Image Size */
.home {
    position: relative;
    min-height: 400px; /* Reduce height */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 4rem !important;
}

.home img {
    width: 90%;  /* Reduce width */
    height: auto; /* Maintain aspect ratio */
    max-height: 350px; /* Set max height */
    object-fit: cover;
    border-radius: 1.2rem;
    filter: brightness(1.1) contrast(1.2);
    transition: transform 0.4s ease-in-out;
}
/* Hover Effect */
.home img:hover {
    transform: scale(1.03);
    filter: brightness(1.15) contrast(1.25);
}
.video-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    width: 100%;
    height: 70%; /* Adjust height as needed */
    overflow: hidden;
    margin: 70px auto;
}

.video-container video {
    width: 100%; /* Make it responsive */
    max-width: 900px; /* Adjust max size */
    height: auto;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}


/* Responsive Image Size */
@media (max-width: 768px) {
    .home {
        min-height: 300px;
    }
    .home img {
        max-height: 250px;
        width: 95%;
    }
}

.btn {
    background: var(--main-color);
    padding: 15px 20px;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 500;
    clip-path: polygon(0 0, 100% 0%,100%  100%, 10% 100%, 0% 68%);
}
.btn:hover {
    background: var(--light-color);
    transition: 0.3s all linear;
}
/* Free Fire ID Card Box Styling */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.card {
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    text-align: center;
    width: 250px;
    transition: 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.card h3 {
    font-size: 1.2rem;
    color: var(--main-color);
    margin-bottom: 5px;
}

.card p {
    font-size: 1rem;
    color: var(--text-color);
}

.buy-btn {
    margin-top: 10px;
    padding: 10px 15px;
    background: var(--main-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: 0.3s;
}

.buy-btn:hover {
    background: #1b182b;
}
/* Display Block For Deafault */
html::-webkit-scrollbar {
    display: none;
}
/* ✅ ID Details Scroll Fix */
.id-details {
    width: 90%;
    max-height: 300px; /* ✅ Fixed height */
    overflow-y: auto;  /* ✅ Scroll enabled */
    padding: 15px;
    border: 3px solid white;
    background: #322f40;
    color: var(--text-color);
    border-radius: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* ✅ Custom Scrollbar */
.id-details::-webkit-scrollbar {
    width: 6px;
}

.id-details::-webkit-scrollbar-thumb {
    background: #fa5353;
    border-radius: 5px;
}

.id-details::-webkit-scrollbar-track {
    background: #1b182b;
}

/* ✅ Full Page Scroll Fix */
html, body {
    overflow-y: auto !important;  /* ✅ Forcefully scroll enable */
    height: 100%;
}
/* ✅ Purchase Button Styling */
#purchase-btn {
    background: #fa5353; /* Red */
    padding: 12px 20px;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 15px;
    transition: all 0.3s ease-in-out;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ✅ Hover Effect */
#purchase-btn:hover {
    background: #1b182b; /* Dark Color */
    color: #ffffff;
    border: 1px solid #fa5353;
}

/* ✅ Popup Style */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    width: 320px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

/* ✅ Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fa5353;
}

.close-btn:hover {
    color: #1b182b;
}

/* ✅ Confirm Button */
.popup-content button {
    background: #fa5353;
    padding: 10px 15px;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
}

/* ✅ Hover Effect */
.popup-content button:hover {
    background: #322f40;
}

/* ✅ Default Hidden */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1b182b;
    padding: 20px;
    width: 300px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

/* ✅ Popup Content */
.popup-content {
    position: relative;
}

/* ✅ Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fa5353;
}

.close-btn:hover {
    color: #1b182b;
}
h1, #purchase-btn, #checkout-details {
    text-align: center; /* Center text */
}

#purchase-btn {
    display: block; /* Block element banayen */
    margin: 10px auto; /* Center horizontally */
    padding: 12px 24px;
    background-color: #fa5353; /* Button color */
    color: var(--text-color);
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

#purchase-btn:hover {
    background-color: #322f40; /* Hover effect */
}


/* ✅ Button Styling */
.btn {
    background: #fa5353; /* Red */
    padding: 10px 15px;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
}

/* ✅ Hover Effect */
.btn:hover {
    background: #1b182b;
    color: #ffffff;
    border: 1px solid #fa5353;
}


/* Custom Scroll Bar */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 300;
}
.progress-bar {
    height: 4px;
    background: var(--main-color);
    width: 0%
}
/* Making Responsive / BreakPoints */
@media (max-width: 1080px) {
    .container {
        margin: 0 auto;
        width: 90%;
    }
    .nav {
        padding: 10px 0;
    }
    .notification {
        right: 4rem;
    }
    .menu img {
        max-width: 500px;
    }
    section {
        padding: 3rem 0 2rem;
    }
    .home {
        margin-top: 4rem !important;
        min-height: 440px;
    }
    .home img {
        border-radius: 1rem;
    }
    .new-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    }
    .video-contaner {
        margin-top: 5rem !important;
    }
}
/* For Medium Devices */
@media (max-width: 774px) {
        .notification {
            right: 1rem;
        }
        .menu img {
            max-width: 400px;
        }
        .home {
            min-height: 300px;
        }
        .home-text h1 {
            font-size: 2rem;
        }
        .btn {
            padding: 12px 17px;
        }
        .screenshots-content {
            grid-template-columns: repeat(auto-fit, minmax(250px, auto));
        }  
    }
    @media (max-width: 560px) {
        .menu img {
            display: none;
        } 
        .menu {
            justify-content: flex-end;
        }
        .nav {
            padding: 8px 0;
        }
        .nav-icons .bx, 
        .menu-icon {
            height: 40px;
            width: 40px;
        }
        .home {
            min-height: 240px;
        }
        .home-text {
            padding-right: 1rem;
        }
        p {
            font-size: 0.875rem;
        }
        .download-links {
            grid-template-columns: 1fr;
        }
    }
    /* For Small Devices */
    @media (max-width:360px) {
        .logo {
            font-size: 1.2rem;
        }
    }
