:root {
    --primary-color: #6a0dad; /* Deep Purple */
    --secondary-color: #ffd700; /* Gold */
    --accent-color: #00ff7f; /* Spring Green */
    --dark-bg: #1a1a2e; /* Dark Blue-Purple */
    --dark-bg-light: #2c2c4d; /* Slightly lighter dark */
    --text-color-light: #e0e0e0;
    --text-color-dark: #333;
    --card-bg: #2c2c4d;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color-light);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS */
}

/* General Styles */
.container {
    max-width: 1200px;
}

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

p {
    color: var(--text-color-light);
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #5a0ca0;
    border-color: #5a0ca0;
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-bg);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-success:hover {
    background-color: #00e673;
    border-color: #00e673;
    transform: translateY(-2px);
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-bg);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-warning:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem var(--shadow-color) !important;
}

/* Navbar */
.navbar {
    background-color: rgba(26, 26, 46, 0.95); /* Semi-transparent dark background */
    box-shadow: 0 2px 10px var(--shadow-color);
    padding: 1rem 0;
    transition: background-color 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--text-color-light);
    font-weight: 600;
    margin-left: 20px;
    transition: color 0.3s ease;
}

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

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

.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");
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px var(--shadow-color);
}

.hero-section p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.hero-illustration {
    max-height: 450px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 15px rgba(0, 255, 127, 0.5));
}

/* Why Choose Us / Benefits Section */
.benefits-section {
    background-color: var(--dark-bg-light);
    padding: 80px 0;
}

.benefit-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.benefit-item .icon-large {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Top Offers / Ranking Section */
.offers-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
}

.offer-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-7px) scale(1.02);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.offer-card .card-img-top {
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

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

.offer-card .card-title {
    font-size: 1.7rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.offer-card .rating i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.offer-card .card-text {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.offer-card .btn {
    font-weight: 600;
    padding: 10px 20px;
}

/* Featured Offer Slider */
.featured-slider {
    background-color: var(--dark-bg-light);
    padding: 80px 0;
}

.carousel-item {
    border-radius: 15px;
    overflow: hidden;
}

.carousel-img {
    height: 450px;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 0 0 15px 15px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    transform: translateY(0);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.carousel-caption h5 {
    font-size: 2rem;
    color: var(--secondary-color);
}

.carousel-caption p {
    font-size: 1.1rem;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: drop-shadow(0 0 5px var(--primary-color));
}

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

/* Call to Action Section */
.cta-section {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

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

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-section .form-floating > .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-color-light);
}

.cta-section .form-floating > label {
    color: rgba(255, 255, 255, 0.7);
}

.cta-section .form-floating > .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

.cta-section .form-floating > .form-control:focus ~ label {
    color: var(--secondary-color);
}

.cta-section .max-width-input {
    max-width: 400px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
}

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--card-bg);
    color: var(--text-color-light);
    font-weight: 600;
    padding: 18px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    background-color: var(--dark-bg-light);
    color: var(--text-color-light);
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* Contact Section */
.contact-section {
    background-color: var(--dark-bg-light);
    padding: 80px 0;
}

.contact-section form {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 10px;
}

.contact-section .form-label {
    color: var(--text-color-light);
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-section .form-control {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color-light);
    padding: 12px 15px;
}

.contact-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-section .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 255, 127, 0.25);
    color: var(--text-color-light);
}

.contact-section .invalid-feedback {
    color: #ff6b6b; /* A soft red for error messages */
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 40px 0;
    background-color: var(--dark-bg);
}

.disclaimer-box {
    background-color: #3a1a4d; /* A distinct darker purple for the disclaimer */
    border: 2px solid var(--primary-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.disclaimer-icon {
    font-size: 3rem;
    color: var(--secondary-color); /* Gold warning icon */
    margin-bottom: 15px;
}

.disclaimer-title {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.disclaimer-box p {
    color: var(--text-color-light);
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #111122 !important; /* Even darker for footer */
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.logo-img-footer {
    height: 35px;
    margin-right: 8px;
}

.logo-text-footer {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

footer h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

footer ul {
    padding-left: 0;
}

footer ul li {
    margin-bottom: 10px;
    color: var(--text-color-light);
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-legal-links .list-inline-item {
    margin-right: 15px;
}

.footer-legal-links .list-inline-item:last-child {
    margin-right: 0;
}

.responsible-gaming-logos {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    margin-bottom: 80px;
}

.footer-logo {
    max-width: 130px; /* Adjusted based on number of logos */
    height: auto;
    object-fit: contain;
    margin: 0 15px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.text-danger {
    color: #ff4d4d !important;
}

/* Cookie Consent Banner */
.cookie-banner {
    background-color: rgba(0, 0, 0, 0.9); /* Dark, slightly transparent background */
    border-top: 1px solid var(--primary-color);
    box-shadow: 0 -2px 10px var(--shadow-color);
    z-index: 1050;
    padding: 15px 0;
}

.cookie-banner p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-color-light);
}

.cookie-banner a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-banner .btn {
    font-size: 0.85rem;
    padding: 8px 15px;
}

/* Cookie Settings Modal */
.modal-content {
    background-color: var(--dark-bg-light);
    color: var(--text-color-light);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    color: var(--secondary-color);
}

.modal-body p, .modal-body small {
    color: var(--text-color-light);
}

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

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(106, 13, 173, 0.25);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
        text-align: center;
    }

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

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

    .hero-illustration {
        max-height: 300px;
        margin-top: 40px;
    }

    .offer-card .card-img-top {
        height: 150px;
    }

    .carousel-img {
        height: 300px;
    }

    .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

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

    .cta-section form {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-section .max-width-input {
        max-width: 100%;
    }

    .disclaimer-title {
        font-size: 1.5rem;
    }

    .footer-brand, .footer-legal-links {
        text-align: center;
        justify-content: center;
    }

    .footer-legal-links li {
        display: block;
        margin-bottom: 5px;
    }

    .responsible-gaming-logos {
        flex-direction: column;
        gap: 15px;
    }

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

    .cookie-banner p {
        font-size: 0.8rem;
    }

    .cookie-banner .btn {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
        padding: 120px 0 80px;
    }

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

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

    .benefit-item {
        padding: 20px;
    }

    .benefit-item h3 {
        font-size: 1.3rem;
    }

    .offer-card .card-title {
        font-size: 1.5rem;
    }

    .carousel-img {
        height: 250px;
    }

    .carousel-caption {
        padding: 10px;
    }

    .carousel-caption h5 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        display: none;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 0.9rem;
    }

    .contact-section form {
        padding: 25px;
    }

    .disclaimer-box {
        padding: 20px;
    }

    .disclaimer-title {
        font-size: 1.3rem;
    }

    .footer-legal-links .list-inline-item {
        margin-right: 10px;
        margin-left: 10px;
    }

    .responsible-gaming-logos {
        gap: 10px;
    }

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

    .cookie-banner p {
        font-size: 0.8rem;
    }

    .cookie-banner .btn {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}/* Base styles for the content container */
.lawMatrixNode {
    padding: 60px 20px; /* Top/bottom padding and side padding */
    margin: 0 auto; /* Center the block */
    max-width: 900px; /* Limit content width for readability */
    color: var(--text-color-light); /* Ensure text color inherits from root */
}

/* Heading styles */
.lawMatrixNode h1 {
    font-size: 2.2rem; /* Moderate size for main headings */
    margin-bottom: 1.2em; /* Spacing below heading */
    line-height: 1.2;
    color: var(--secondary-color); /* Highlight main headings */
}

.lawMatrixNode h2 {
    font-size: 1.8rem; /* Slightly smaller for sub-sections */
    margin-bottom: 1em;
    line-height: 1.3;
    color: var(--primary-color); /* Primary color for sub-headings */
}

.lawMatrixNode h3 {
    font-size: 1.5rem; /* For smaller titles within sections */
    margin-bottom: 0.8em;
    line-height: 1.4;
    color: var(--accent-color); /* Accent color for specific titles */
}

.lawMatrixNode h4 {
    font-size: 1.2rem; /* For minor headings or strong emphasis */
    margin-bottom: 0.6em;
    line-height: 1.5;
    color: var(--text-color-light);
}

.lawMatrixNode h5 {
    font-size: 1rem; /* Smallest heading, often used for captions or minor labels */
    margin-bottom: 0.5em;
    line-height: 1.6;
    color: var(--text-color-light);
}

/* Paragraph styles */
.lawMatrixNode p {
    font-size: 1rem; /* Standard paragraph text size */
    line-height: 1.7; /* Good line height for readability */
    margin-bottom: 1em; /* Spacing between paragraphs */
    color: var(--text-color-light); /* Ensure consistency */
}

/* Unordered list styles */
.lawMatrixNode ul {
    list-style: disc; /* Default disc bullet points */
    padding-left: 25px; /* Indent list items */
    margin-bottom: 1em; /* Spacing after the list */
}

/* List item styles */
.lawMatrixNode li {
    font-size: 1rem; /* Consistent font size with paragraphs */
    line-height: 1.6; /* Good line height for list items */
    margin-bottom: 0.5em; /* Spacing between list items */
    color: var(--text-color-light); /* Ensure consistency */
}
.text-muted {
    color:#fff !important;
}
footer a {
    color:#fff !important;
}
footer p {
    color:#fff !important;
}
footer .text-white-50 {
     color:#fff !important;
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .lawMatrixNode {
        padding: 40px 15px; /* Adjust padding for smaller screens */
    }

    .lawMatrixNode h1 {
        font-size: 1.8rem;
    }

    .lawMatrixNode h2 {
        font-size: 1.5rem;
    }

    .lawMatrixNode h3 {
        font-size: 1.3rem;
    }

    .lawMatrixNode h4 {
        font-size: 1.1rem;
    }

    .lawMatrixNode h5 {
        font-size: 0.95rem;
    }

    .lawMatrixNode p,
    .lawMatrixNode li {
        font-size: 0.95rem;
    }

    .lawMatrixNode ul {
        padding-left: 20px; /* Slightly less indent on small screens */
    }
    .responsible-gaming-logos {
        margin-bottom: 120px;
    }
    .logo-text {
        font-size: 16px;
    }
}
