* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

:root {
    --primary-color: #007bff; /* Blue */
    --secondary-color: #6c757d; /* Grey */
    --success-color: #28a745; /* Green */
    --danger-color: #dc3545; /* Red */
    --warning-color: #ffc107; /* Yellow */
    --info-color: #17a2b8; /* Cyan */
    --dark-color: #212529; /* Dark */
    --light-color: #f8f9fa; /* Light */
    --text-color-light: #f8f9fa;
    --text-color-dark: #212529;
    --bg-dark-accent: #343a40;
    --gradient-primary: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    --gradient-secondary: linear-gradient(90deg, #fcb045 0%, #fd1d1d 100%);
}

body {
    background-color: var(--dark-color);
    color: var(--text-color-light);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-color-light);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

h5 {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.15rem);
}

.site-name {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--text-color-light);
}

/* Links & Buttons */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--info-color);
}

.btn {
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
}

.btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: var(--text-color-dark);
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

.btn-outline-light {
    color: var(--text-color-light);
    border-color: var(--text-color-light);
}

.btn-outline-light:hover {
    background-color: var(--text-color-light);
    color: var(--dark-color);
}

.btn-info {
    background-color: var(--info-color);
    border-color: var(--info-color);
}

.btn-info:hover {
    background-color: #138496;
    border-color: #138496;
}

/* Header & Navigation */
.navbar {
    background-color: rgba(33, 37, 41, 0.95); /* Dark with transparency */
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1030;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-color-light);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, background-color 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.3rem;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.cart-icon-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.cart-icon-btn i {
    font-size: 1.25rem;
    color: var(--text-color-light);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 80px; /* Adjust for fixed header */
    overflow: hidden;
}

.hero-image {
    filter: brightness(0.6);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    z-index: 0;
}

.hero-section .container {
    max-width: 900px;
}

/* About Section */
.about-section {
    background-color: var(--dark-color);
    color: var(--text-color-light);
}

/* Products Section */
.products-section {
    background-color: var(--bg-dark-accent);
    color: var(--text-color-light);
}

.product-card {
    background-color: var(--dark-color);
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.product-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    color: var(--primary-color);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 0.75rem;
}

.product-card .card-text {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
}

.product-card .list-unstyled li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.product-price {
    font-size: 1.4rem;
    color: var(--warning-color);
}

/* Featured Games Showcase */
.showcase-section {
    background-color: var(--dark-color);
}

.carousel-img {
    height: 500px;
    filter: brightness(0.7);
    border-radius: 0.75rem;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    bottom: 1.25rem;
    left: 10%;
    right: 10%;
}

.carousel-caption h5 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--primary-color);
}

.carousel-caption p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: invert(1);
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
}

/* Call to Action */
.cta-section {
    min-height: 400px;
    background-color: var(--bg-dark-accent);
    overflow: hidden;
}

.cta-image {
    filter: brightness(0.4);
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 0;
}

.cta-section .container {
    max-width: 800px;
}

/* Footer */
.footer-section {
    background-color: var(--dark-color);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section .list-inline-item a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-section .list-inline-item a:hover {
    color: var(--primary-color);
}

/* Cookie Consent Modal */
#cookieConsentModal .modal-content {
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1050; /* Ensure it's above other modals if any */
}

#cookieConsentModal .modal-header, #cookieConsentModal .modal-footer {
    border-bottom: none;
    border-top: none;
}

#cookieConsentModal .form-check-label {
    color: rgba(255, 255, 255, 0.8);
}

#cookieConsentModal .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Cart Modal */
#cartModal .modal-content, #checkoutModal .modal-content, #orderConfirmationModal .modal-content {
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#cartModal .modal-body, #checkoutModal .modal-body, #orderConfirmationModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.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: 0.5rem;
    margin-right: 1rem;
}

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

.cart-item-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cart-item-price {
    font-weight: 500;
    color: var(--warning-color);
}

.cart-item-quantity select {
    width: 70px;
    background-color: var(--bg-dark-accent);
    color: var(--text-color-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.3rem;
    padding: 0.25rem 0.5rem;
}

.cart-item-total {
    min-width: 100px;
    text-align: right;
    font-weight: 600;
    color: var(--info-color);
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 1.2rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.remove-item-btn:hover {
    color: #a71d2a;
}

/* Checkout Form */
#checkoutForm .form-label {
    color: rgba(255, 255, 255, 0.8);
}

#checkoutForm .form-control, #checkoutForm .form-select {
    background-color: var(--bg-dark-accent);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
}

#checkoutForm .form-control:focus, #checkoutForm .form-select:focus {
    background-color: var(--bg-dark-accent);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    color: var(--text-color-light);
}

/* Animations */
.animate__fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
}

.animate__delay-0-2s {
    animation-delay: 0.2s;
}
.animate__delay-0-4s {
    animation-delay: 0.4s;
}
.animate__delay-0-6s {
    animation-delay: 0.6s;
}
.animate__delay-1s {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .navbar-nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }
    .navbar-nav .nav-item {
        flex-shrink: 0;
    }
    .navbar-collapse {
        background-color: rgba(33, 37, 41, 0.98);
        border-radius: 0.5rem;
        margin-top: 0.5rem;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        display: block;
    }
    .navbar-toggler {
        display: block;
    }
}

@media (max-width: 991px) {
    .hero-section h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    .hero-section p {
        font-size: clamp(1rem, 3vw, 1.25rem);
    }
    .navbar-brand .site-name {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        overflow-x: hidden;
    }
    .navbar-nav .nav-link {
        width: 100%;
        text-align: left;
    }
    .cart-icon-btn {
        width: 100%;
        text-align: left;
    }
    .products-section .row-cols-md-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .carousel-img {
        height: 350px;
    }
    .carousel-caption {
        left: 5%;
        right: 5%;
        padding: 0.75rem 1rem;
    }
    .carousel-caption h5 {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }
    .carousel-caption p {
        font-size: clamp(0.8rem, 2.5vw, 1rem);
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 60px;
    }
    .hero-section h1 {
        font-size: clamp(1.8rem, 10vw, 3rem);
    }
    .hero-section p {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }
    h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    h5 {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }
    .navbar-brand .logo-img {
        height: 30px;
    }
    .navbar-brand .site-name {
        font-size: clamp(1rem, 5vw, 1.25rem);
    }
    .products-section .row-cols-1 {
        grid-template-columns: 1fr;
    }
    .product-card img {
        height: 180px;
    }
    .product-price {
        font-size: 1.2rem;
    }
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .carousel-img {
        height: 250px;
    }
    .carousel-caption {
        display: none !important; /* Hide captions on very small screens */
    }
    .cta-section h2 {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }
    .cta-section p {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }
    .footer-section .list-inline-item {
        display: block;
        margin-bottom: 0.5rem;
    }
    .footer-section .list-inline-item:last-child {
        margin-bottom: 0;
    }
    .cart-item {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .cart-item-image {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    .cart-item-details, .cart-item-quantity, .cart-item-total {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    .remove-item-btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    #checkoutForm .row > div {
        margin-bottom: 1rem;
    }
    #checkoutForm .row > div:last-child {
        margin-bottom: 0;
    }
}
/* Parent container styling */
.rightsCloudWrap {
    padding-top: 30px; /* Top padding for the container */
    padding-bottom: 30px; /* Bottom padding for the container */
    padding-left: 20px; /* Left padding for the container */
    padding-right: 20px; /* Right padding for the container */
    /* You can add max-width, background-color, border, etc. here if needed for the container itself */
}

/* Heading styles */
.rightsCloudWrap h1 {
    font-size: 1.8em; /* Moderate size for H1 */
    line-height: 1.2;
    margin-top: 1.5em; /* Space above H1 */
    margin-bottom: 0.8em; /* Space below H1 */
    font-weight: 700; /* Bold */
}

.rightsCloudWrap h2 {
    font-size: 1.6em; /* Moderate size for H2 */
    line-height: 1.25;
    margin-top: 1.4em; /* Space above H2 */
    margin-bottom: 0.7em; /* Space below H2 */
    font-weight: 600;
}

.rightsCloudWrap h3 {
    font-size: 1.4em; /* Moderate size for H3 */
    line-height: 1.3;
    margin-top: 1.3em; /* Space above H3 */
    margin-bottom: 0.6em; /* Space below H3 */
    font-weight: 500;
}

.rightsCloudWrap h4 {
    font-size: 1.2em; /* Moderate size for H4 */
    line-height: 1.35;
    margin-top: 1.2em; /* Space above H4 */
    margin-bottom: 0.5em; /* Space below H4 */
    font-weight: 500;
}

.rightsCloudWrap h5 {
    font-size: 1.1em; /* Moderate size for H5, slightly larger than paragraph */
    line-height: 1.4;
    margin-top: 1.1em; /* Space above H5 */
    margin-bottom: 0.4em; /* Space below H5 */
    font-weight: 400; /* Regular weight */
}

/* Paragraph style */
.rightsCloudWrap p {
    font-size: 1em; /* Base font size for paragraphs */
    line-height: 1.6; /* Comfortable line height for readability */
    margin-bottom: 1em; /* Space after each paragraph */
}

/* Unordered list styles */
.rightsCloudWrap ul {
    list-style-type: disc; /* Default bullet points */
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 1.5em; /* Indentation for bullet points */
}

/* List item styles */
.rightsCloudWrap li {
    font-size: 1em; /* Inherit or explicitly set base font size for list items */
    line-height: 1.5; /* Line height for list items */
    margin-bottom: 0.5em; /* Space between individual list items */
}
