body {
    font-family: 'Poppins', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: #1a1a2e;
    color: #e0e0e0;
}

.bg-dark {
    background-color: #16213e !important;
}

.bg-secondary-dark {
    background-color: #0f3460 !important;
}

.text-primary {
    color: #e94560 !important;
}

.btn-primary {
    background-color: #e94560;
    border-color: #e94560;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ff6a80;
    border-color: #ff6a80;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(233, 69, 96, 0.3);
}

.btn-outline-light {
    color: #e0e0e0;
    border-color: #e0e0e0;
}

.btn-outline-light:hover {
    color: #16213e;
    background-color: #e0e0e0;
}

.navbar-brand .site-logo {
    height: 40px;
}

.navbar-brand .site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e0e0e0;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: #e0e0e0 !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #e94560 !important;
}

.cart-icon-link {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-icon-link .ri-shopping-cart-line {
    font-size: 1.5rem;
}

.cart-count {
    position: absolute;
    top: 0px;
    right: 5px;
    font-size: 0.75rem;
    padding: 0.2em 0.5em;
    line-height: 1;
}

main {
    overflow-x: hidden;
}

.main-header {
    background-color: #16213e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1030;
}

.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-section h1 {
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p.lead {
    font-size: 1.25rem;
}

blockquote.blockquote {
    color: #fff;
}

p.customer-name {
    color: #a29999;
}

.category-card {
    background-color: rgba(23, 33, 62, 0.8);
    border: 1px solid rgba(233, 69, 96, 0.5);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.category-card:hover {
    background-color: rgba(233, 69, 96, 0.2);
    border-color: #e94560;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.category-card img {
    max-height: 80px;
    object-fit: contain;
    filter: brightness(1.2);
}

.category-card h3 {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    color: #e0e0e0;
}

#game-section .img-fluid {
    max-height: 450px;
    width: 100%;
    object-fit: cover;
}

#game-section ul li {
    margin-bottom: 0.5rem;
}

#game-section .text-success {
    color: #7FFF00 !important; /* Brighter green for discount */
}

.about-us-section {
    background-color: #f8f9fa;
    color: #212529;
}

.about-us-section p {
    line-height: 1.8;
}

.reviews-section {
    position: relative;
    overflow: hidden;
}

.reviews-slider-wrapper {
    padding: 0 50px;
}

.reviews-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-slide {
    flex: 0 0 100%;
    max-width: 100%;
    background-color: #0f3460;
    border: 1px solid #e94560;
    margin: 0 10px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.review-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.review-slide blockquote {
    border-left: 4px solid #e94560;
    padding-left: 1rem;
}

.review-slide .star-rating i {
    font-size: 1.2rem;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(233, 69, 96, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.slider-nav-btn:hover {
    background-color: #e94560;
}

.slider-prev-btn {
    left: 0;
}

.slider-next-btn {
    right: 0;
}

.payment-endorsement .testimonial-block {
    background-color: #0f3460;
    border: 1px solid #e94560;
}

.shipping-zones .shipping-list .h-100 {
    background-color: #0f3460;
    border: 1px solid #e94560;
}

.shipping-zones .shipping-list span {
    display: block;
}

.shipping-zones .shipping-list .region i {
    color: #e94560;
}

.delivery-sidebar {
    position: fixed;
    top: 100px; /* Adjust based on header height */
    right: 20px;
    width: 280px;
    z-index: 1020;
    background-color: #e94560 !important;
    border: 1px solid #ff6a80;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.delivery-sidebar ul li i {
    color: #16213e;
}

.site-footer {
    background-color: #0f3460 !important;
    border-top: 1px solid #16213e;
}

.site-footer .site-logo-footer {
    height: 30px;
}

.site-footer .site-name-footer {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e0e0e0;
}

.site-footer a {
    color: #a0a0a0;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #e94560;
}

.site-footer .payment-icons i {
    font-size: 2.5rem;
    margin-right: 0.5rem;
    color: #a0a0a0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.site-footer .payment-icons i:hover {
    color: #e94560;
    transform: scale(1.1);
}

/* Cart Modal Styles */
.modal-content {
    background-color: #16213e;
    border: 1px solid #e94560;
}

.modal-header {
    border-bottom-color: #0f3460 !important;
}

.modal-footer {
    border-top-color: #0f3460 !important;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #0f3460;
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 1rem;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-details h6 {
    margin-bottom: 0.25rem;
}

.cart-item-details .text-muted {
    font-size: 0.9rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-actions .form-select {
    width: 70px;
    background-color: #0f3460;
    color: #e0e0e0;
    border-color: #e94560;
}

.cart-item-actions .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    transition: all 0.3s ease;
}

.cart-item-actions .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-1px);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    z-index: 1050;
    background-color: #16213e !important;
    border: 1px solid #e94560;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default */
}

.cookie-consent-banner.show {
    display: block;
}

/* Adaptive Typography */
.display-3 {
    font-size: clamp(2rem, 5vw, 2.8rem);
}

.display-4 {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
}

.site-name {
    font-size: clamp(1.25rem, 3.5vw, 1.8rem);
}

.site-name-footer {
    font-size: clamp(1rem, 3vw, 1.5rem);
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: #e0e0e0;
}

/* Mobile Adaptation */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        background-color: #16213e;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        padding: 1rem 0;
    }
    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }
    .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    .cart-count {
        right: calc(50% - 30px); /* Center relative to icon */
        top: 8px;
    }
    .delivery-sidebar {
        position: static;
        width: auto;
        margin: 20px;
        right: auto;
        left: auto;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    .hero-section p.lead {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }
    .category-card {
        padding: 1rem;
    }
    .category-card img {
        max-height: 60px;
    }
    .category-card h3 {
        font-size: 0.9rem;
    }
    .reviews-slider-wrapper {
        padding: 0;
    }
    .slider-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    .slider-prev-btn {
        left: 5px;
    }
    .slider-next-btn {
        right: 5px;
    }
    .site-footer .payment-icons i {
        font-size: 2rem;
    }
    .cookie-consent-banner {
        bottom: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
}
/* Parent container for general content */
.regShieldWrap {
    margin-top: 2rem; /* Top margin for the wrapper */
    margin-bottom: 2rem; /* Bottom margin for the wrapper */
    margin-left: auto; /* Center the wrapper horizontally */
    margin-right: auto; /* Center the wrapper horizontally */
    max-width: 1000px; /* Limit content width for readability */
    padding: 0 1rem; /* Horizontal padding to prevent content from touching edges on smaller screens */
}

/* Heading 1 styles */
.regShieldWrap h1 {
    font-size: 2rem; /* Moderate font size for H1 */
    line-height: 1.2; /* Line height for readability */
    margin-top: 2rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    font-weight: 700; /* Bold font weight */
}

/* Heading 2 styles */
.regShieldWrap h2 {
    font-size: 1.75rem; /* Moderate font size for H2 */
    line-height: 1.3; /* Line height for readability */
    margin-top: 1.75rem; /* Top margin for spacing */
    margin-bottom: 0.8rem; /* Bottom margin for spacing */
    font-weight: 600; /* Semi-bold font weight */
}

/* Heading 3 styles */
.regShieldWrap h3 {
    font-size: 1.5rem; /* Moderate font size for H3 */
    line-height: 1.4; /* Line height for readability */
    margin-top: 1.5rem; /* Top margin for spacing */
    margin-bottom: 0.7rem; /* Bottom margin for spacing */
    font-weight: 600; /* Semi-bold font weight */
}

/* Heading 4 styles */
.regShieldWrap h4 {
    font-size: 1.25rem; /* Moderate font size for H4 */
    line-height: 1.4; /* Line height for readability */
    margin-top: 1.25rem; /* Top margin for spacing */
    margin-bottom: 0.6rem; /* Bottom margin for spacing */
    font-weight: 500; /* Medium font weight */
}

/* Heading 5 styles */
.regShieldWrap h5 {
    font-size: 1.1rem; /* Moderate font size for H5 */
    line-height: 1.5; /* Line height for readability */
    margin-top: 1rem; /* Top margin for spacing */
    margin-bottom: 0.5rem; /* Bottom margin for spacing */
    font-weight: 500; /* Medium font weight */
}

/* Paragraph styles */
.regShieldWrap p {
    font-size: 1rem; /* Standard font size for paragraphs */
    line-height: 1.6; /* Line height for readability */
    margin-top: 0; /* No top margin for paragraphs by default */
    margin-bottom: 1rem; /* Bottom margin to separate paragraphs */
}

/* Unordered list styles */
.regShieldWrap ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1rem; /* Top margin for list */
    margin-bottom: 1rem; /* Bottom margin for list */
    padding-left: 2rem; /* Indentation for bullet points */
}

/* List item styles */
.regShieldWrap li {
    font-size: 1rem; /* Standard font size for list items */
    line-height: 1.6; /* Line height for readability */
    margin-bottom: 0.5rem; /* Space between list items */
}
