:root {
    --primary-color: #6a11cb; /* Deep Purple */
    --primary-color-light: #a777e3; /* Lighter Purple */
    --secondary-color: #250a40; /* Darker Purple */
    --dark-bg-color: #1a082c; /* Even Darker Purple */
    --dark-card-bg: #2d134a; /* Slightly lighter card background */
    --text-color: #e0e0e0; /* Light Gray */
    --text-color-muted: #b0b0b0; /* Muted Gray */
    --warning-color: #f7b731; /* Amber for disclaimer */
    --warning-text-color: #333333; /* Dark text for warning */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color-light);
}

/* General Section Styling */
section {
    padding: 80px 0;
}

.bg-dark-gradient {
    background: linear-gradient(135deg, var(--dark-bg-color) 0%, var(--secondary-color) 100%);
}

.bg-secondary-dark {
    background-color: var(--secondary-color);
}

.bg-dark-card {
    background-color: var(--dark-card-bg);
}

.text-primary-light {
    color: var(--primary-color-light) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

/* Navbar */
.navbar {
    background-color: var(--dark-bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar-brand .fw-bold {
    color: var(--primary-color-light);
}

.navbar-nav .nav-link {
    color: var(--text-color-muted);
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color-light);
}

.navbar-toggler {
    border-color: var(--primary-color-light);
}

.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='%23a777e3' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-image: url('uploads/uploads/hero-background_63.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

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

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-section p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-custom {
    background-color: var(--primary-color-light);
    border-color: var(--primary-color-light);
    color: var(--dark-bg-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #c091f0; /* Slightly lighter on hover */
    border-color: #c091f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(167, 119, 227, 0.4) !important;
}

.btn-secondary-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color-light);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: #3b1863; /* Slightly lighter on hover */
    border-color: #3b1863;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 10, 64, 0.4) !important;
}

/* About Section */
#about img {
    border: 3px solid var(--primary-color-light);
}

/* Game Showcase */
.game-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 0 3px var(--primary-color-light);
}

.game-card .game-img {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card .card-body {
    padding: 20px;
}

.game-card .card-title {
    margin-bottom: 10px;
}

.game-card .card-text {
    font-size: 0.95rem;
    color: var(--text-color-muted);
}

/* Feature Box */
.feature-box {
    border: 1px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Newsletter Form */
.newsletter-form {
    border: 1px solid var(--primary-color);
}

.newsletter-form .form-label {
    color: var(--primary-color-light);
    font-weight: 600;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
}

.newsletter-form .form-control::placeholder {
    color: var(--text-color-muted);
}

.newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color-light);
    box-shadow: 0 0 0 0.25rem rgba(167, 119, 227, 0.25);
}

.newsletter-form .form-text {
    font-size: 0.85rem;
}

.newsletter-form .invalid-feedback {
    color: var(--warning-color);
}

/* Disclaimer Block */
#disclaimer-block {
    background-color: var(--warning-color);
    color: var(--warning-text-color);
    border-top: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--primary-color);
    position: relative;
    z-index: 10;
}

#disclaimer-block h3 {
    color: var(--warning-text-color);
}

/* Footer */
footer {
    background-color: var(--dark-bg-color);
}

footer .hover-link {
    transition: color 0.3s ease;
}

footer .hover-link:hover {
    color: var(--primary-color-light) !important;
}

.footer-logos {
    gap: 20px;
    margin-top: 20px;
}

.footer-logo {
    max-width: 120px; /* Adjusted based on the number of images */
    height: auto;
    filter: brightness(0.8) grayscale(0.2);
    transition: filter 0.3s ease;
}

.footer-logo:hover {
    filter: none; /* No grayscale effect on hover */
}

.footer-logo-18plus {
    max-width: 50px;
    height: auto;
    filter: none;
}

/* Game Modal */
#gameModal .modal-content {
    background-color: var(--dark-card-bg);
}

#gameModal .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%); /* Make close button white */
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    border: 0;
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1050;
    border-top: 2px solid var(--primary-color-light);
}

.cookie-banner p a {
    font-weight: 600;
}

/* Cookie Settings Modal */
#cookieSettingsModal .modal-content {
    background-color: var(--dark-card-bg);
}

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

#cookieSettingsModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(167, 119, 227, 0.25);
}

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

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--dark-bg-color);
        padding: 15px;
        margin-top: 10px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
        text-align: center;
    }

    .hero-section {
        min-height: 80vh;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

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

    h2 {
        font-size: 2rem;
    }

    .feature-box {
        margin-bottom: 20px;
    }

    .cookie-banner .container {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .game-card .game-img {
        height: 180px;
    }

    .footer-logos {
        gap: 15px;
    }

    .footer-logo {
        max-width: 100px;
    }

    .footer-logo-18plus {
        max-width: 40px;
    }
}
/* Styles for the content block itself */
.rightsFieldUnit {
    padding-top: 60px;    /* Top padding for the content block */
    padding-bottom: 60px; /* Bottom padding for the content block */
    padding-left: 20px;   /* Left padding for the content block */
    padding-right: 20px;  /* Right padding for the content block */
    max-width: 900px;     /* Optional: Limit width for better readability of text-heavy content */
    margin-left: auto;    /* Center the block horizontally */
    margin-right: auto;   /* Center the block horizontally */
    color: var(--text-color-muted); /* Default text color for the block */
}

/* Heading 1 within the content block */
.rightsFieldUnit h1 {
    font-size: 2rem;        /* Relatively smaller H1 for content sections */
    font-weight: 700;       /* Bold font weight */
    margin-bottom: 1.5rem;  /* Space below H1 */
    color: var(--primary-color-light); /* Distinct color for primary headings */
}

/* Heading 2 within the content block */
.rightsFieldUnit h2 {
    font-size: 1.75rem;     /* H2 font size */
    font-weight: 600;       /* Semi-bold font weight */
    margin-top: 2rem;       /* Space above H2 to separate sections */
    margin-bottom: 1.2rem;  /* Space below H2 */
    color: var(--text-color); /* Standard text color */
}

/* Heading 3 within the content block */
.rightsFieldUnit h3 {
    font-size: 1.5rem;      /* H3 font size */
    font-weight: 600;       /* Semi-bold font weight */
    margin-top: 1.5rem;     /* Space above H3 */
    margin-bottom: 1rem;    /* Space below H3 */
    color: var(--text-color); /* Standard text color */
}

/* Heading 4 within the content block */
.rightsFieldUnit h4 {
    font-size: 1.25rem;     /* H4 font size */
    font-weight: 500;       /* Medium font weight */
    margin-top: 1.2rem;     /* Space above H4 */
    margin-bottom: 0.8rem;  /* Space below H4 */
    color: var(--text-color); /* Standard text color */
}

/* Heading 5 within the content block */
.rightsFieldUnit h5 {
    font-size: 1.1rem;      /* H5 font size */
    font-weight: 500;       /* Medium font weight */
    margin-top: 1rem;       /* Space above H5 */
    margin-bottom: 0.6rem;  /* Space below H5 */
    color: var(--text-color); /* Standard text color */
}

/* Paragraphs within the content block */
.rightsFieldUnit p {
    font-size: 1rem;        /* Standard paragraph font size */
    line-height: 1.7;       /* Improved readability for paragraphs */
    margin-bottom: 1rem;    /* Space between paragraphs */
    color: var(--text-color-muted); /* Muted text color for body */
}

/* Unordered lists within the content block */
.rightsFieldUnit ul {
    list-style-type: disc;  /* Default bullet style */
    padding-left: 25px;     /* Indentation for list items */
    margin-bottom: 1.5rem;  /* Space below the list */
    color: var(--text-color-muted); /* Muted text color for lists */
}

/* List items within unordered lists */
.rightsFieldUnit li {
    font-size: 1rem;        /* List item font size */
    line-height: 1.6;       /* Line height for list items */
    margin-bottom: 0.5rem;  /* Space between list items */
}

/* Optional: Basic link styling within the content block for consistency */
.rightsFieldUnit a {
    color: var(--primary-color-light); /* Link color */
    text-decoration: underline;        /* Underline links */
    transition: color 0.3s ease;       /* Smooth transition for hover */
}

.rightsFieldUnit a:hover {
    color: var(--primary-color);       /* Darker color on hover */
    text-decoration: none;             /* Remove underline on hover */
}
.modal-dialog{
    width: 100%!important;
    height: 80vh!important;
    max-width: 80%;
}
