:root {
    --primary-color: #5d3a80; /* Dark Purple */
    --secondary-color: #ffd700; /* Gold */
    --text-color: #f8f9fa; /* Light text for dark backgrounds */
    --dark-background: #340a40; /* Even darker purple */
    --light-background: #6a4a90; /* Lighter purple */
    --dark-purple-lighter: #7b5fa0;
    --dark-purple-darker: #2a0833;
    --border-gold-subtle: rgba(255, 215, 0, 0.3);
}

* {
    box-sizing: border-box;
}

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

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

.text-gold {
    color: var(--secondary-color) !important;
}

.bg-dark-purple {
    background-color: var(--primary-color) !important;
}

.bg-light-purple {
    background-color: var(--light-background) !important;
}

.bg-dark-purple-lighter {
    background-color: var(--dark-purple-lighter) !important;
}

.bg-dark-purple-darker {
    background-color: var(--dark-purple-darker) !important;
}

.btn-gold {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

.btn-outline-gold {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    background-color: transparent;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.border-gold-subtle {
    border-color: var(--border-gold-subtle) !important;
}

.small-text {
    font-size: 0.875rem;
}

.word-break-all {
    word-break: break-all;
}

/* Top Info Bar */
.top-info-bar {
    font-size: 0.85rem;
}

/* Header */
.header-main {
    z-index: 1030;
}

.logo {
    height: 40px;
    width: auto;
}

.site-title {
    font-size: 2.2rem;
}

.nav-list .nav-link {
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-list .nav-link:hover {
    color: var(--secondary-color) !important;
}

.navbar-toggler {
    line-height: 1;
}

.offcanvas-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%); /* Makes the close button white */
}

.offcanvas-body .nav-link {
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
}

/* Hero Section */
.hero-section {
    background-image: url('static/content/dimensional-casino-item-three.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
}

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

.hero-section .container {
    z-index: 1;
}

.hero-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.15rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-list li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Section Titles */
.section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Block 1: About Our Platform */
.advantages-list li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

/* Block 2: Casino and Bookmaker List */
.platform-card {
    border: 1px solid var(--border-gold-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.platform-card .platform-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem;
}

.platform-card .rating .bi-star-fill, .platform-card .rating .bi-star-half {
    color: var(--secondary-color);
}

.platform-card .small-heading {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.platform-card .small-list li {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

/* Block 3: Comparison Table */
.comparison-table {
    border-color: var(--border-gold-subtle);
}

.comparison-table th, .comparison-table td {
    border-color: var(--border-gold-subtle);
    padding: 1rem;
}

.comparison-table thead th {
    background-color: var(--dark-purple-lighter);
    color: var(--secondary-color);
}

.comparison-table tbody tr:hover {
    background-color: rgba(255, 215, 0, 0.1) !important;
}

/* Block 4: How We Select Platforms */
.list-group-numbered .list-group-item {
    padding-left: 2.5rem;
    position: relative;
    counter-increment: list-counter;
    margin-bottom: 0.75rem;
}

.list-group-numbered .list-group-item::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Block 6: FAQ */
.accordion-item {
    border: 1px solid var(--border-gold-subtle);
}

.accordion-button {
    color: var(--text-color) !important;
    font-weight: 600;
    font-size: 1.1rem;
    background-color: var(--primary-color) !important;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--dark-purple-lighter) !important;
    color: var(--secondary-color) !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    background-color: var(--dark-purple-lighter);
    border-top: 1px solid var(--border-gold-subtle);
    padding: 1.5rem;
}

/* Block 7: Testimonials */
.testimonial-card {
    border: 1px solid var(--border-gold-subtle);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

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

/* Block 8: Contact Form */
.contact-form {
    border: 1px solid var(--border-gold-subtle);
}

.contact-form .form-label {
    font-weight: 600;
}

.contact-form .form-control {
    border: 1px solid var(--border-gold-subtle);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
    background-color: var(--dark-purple-lighter);
    color: var(--text-color);
}

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

.contact-form .invalid-feedback {
    color: #ff4d4d; /* A distinct error color */
}

/* Responsible Gaming Disclaimer */
.disclaimer-box {
    background-image: url('static/content/prize-gambling-and-victory-won-the-luck-of-text-winning-concept-and.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.disclaimer-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.disclaimer-box > * {
    position: relative;
    z-index: 2;
}

/* Footer */
.logo-footer {
    height: 35px;
    width: auto;
}

.site-title-footer {
    font-size: 1.5rem;
    font-weight: 600;
}

.policy-links li a {
    white-space: nowrap;
}

.policy-links li a:hover {
    color: var(--secondary-color) !important;
}

.footer-partners {
    gap: 1.5rem;
}

.partner-logo {
    max-height: 50px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

.partner-logo-18plus {
    max-height: 50px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
    display: block;
}

/* Age Verification Modal */
#ageVerificationModal .modal-content {
    border: 2px solid var(--secondary-color);
}

#ageVerificationModal .modal-title {
    font-size: 1.8rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    border-top: 1px solid var(--border-gold-subtle);
}

.cookie-banner.fade:not(.show) {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Typography */
@media (min-width: 1200px) {
    .site-title {
        font-size: 2.5rem;
    }
    .hero-section h2 {
        font-size: 3.5rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .site-title {
        font-size: 2.2rem;
    }
    .hero-section h2 {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .header-main {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .site-title {
        font-size: 1.8rem;
    }
    .hero-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .hero-section h2 {
        font-size: 2.2rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .features-list li {
        font-size: 0.95rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .platform-card .platform-logo {
        height: 60px;
    }
    .accordion-button {
        font-size: 1rem;
    }
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    .site-title-footer {
        font-size: 1.3rem;
    }
    .footer-partners {
        justify-content: center;
        gap: 1rem;
    }
    .partner-logo, .partner-logo-18plus {
        max-width: 100px;
        max-height: 40px;
    }
}

@media (max-width: 767.98px) {
    .site-title {
        font-size: 1.5rem;
    }
    .hero-section h2 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero-section .lead {
        font-size: 0.9rem;
    }
    .features-list li {
        font-size: 0.9rem;
    }
    .btn-gold, .btn-outline-gold {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .platform-card .small-heading {
        font-size: 1rem;
    }
    .platform-card .small-list li {
        font-size: 0.85rem;
    }
    .accordion-button {
        font-size: 0.95rem;
    }
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    .site-title-footer {
        font-size: 1.1rem;
    }
    .policy-links {
        flex-direction: column;
        align-items: center;
    }
    .policy-links li {
        margin-bottom: 0.5rem;
    }
    .disclaimer-box h3, .disclaimer-box h4 {
        font-size: 1.5rem;
    }
    .disclaimer-box p {
        font-size: 0.95rem;
    }
    .partner-logo, .partner-logo-18plus {
        max-width: 80px;
        max-height: 35px;
    }
}
/* Wrapper padding for top, bottom, and sides */
.rightsCloudWrap {
    padding: 2rem 1.5rem; /* 32px top/bottom, 24px left/right (assuming 1rem = 16px) */
    /* You might want to add max-width and margin: auto here for centering the content */
}

/* Heading 1 styles */
.rightsCloudWrap h1 {
    font-size: 2.25rem; /* Approximately 36px */
    line-height: 1.2;
    margin-top: 1.5rem; /* Top spacing */
    margin-bottom: 1rem; /* Bottom spacing */
    font-weight: bold;
}

/* Heading 2 styles */
.rightsCloudWrap h2 {
    font-size: 1.75rem; /* Approximately 28px */
    line-height: 1.3;
    margin-top: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

/* Heading 3 styles */
.rightsCloudWrap h3 {
    font-size: 1.5rem; /* Approximately 24px */
    line-height: 1.3;
    margin-top: 1rem;
    margin-bottom: 0.7rem;
    font-weight: bold;
}

/* Heading 4 styles */
.rightsCloudWrap h4 {
    font-size: 1.25rem; /* Approximately 20px */
    line-height: 1.4;
    margin-top: 0.8rem;
    margin-bottom: 0.6rem;
    font-weight: bold;
}

/* Heading 5 styles */
.rightsCloudWrap h5 {
    font-size: 1.125rem; /* Approximately 18px */
    line-height: 1.4;
    margin-top: 0.7rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

/* Paragraph styles */
.rightsCloudWrap p {
    font-size: 1rem; /* Base font size, approximately 16px */
    line-height: 1.6; /* For better readability */
    margin-bottom: 1rem; /* Space between paragraphs */
}

/* Unordered and Ordered List styles */
.rightsCloudWrap ul,
.rightsCloudWrap ol {
    margin-top: 1rem; /* Top spacing for lists */
    margin-bottom: 1rem; /* Bottom spacing for lists */
    padding-left: 1.5rem; /* Indentation for list markers (bullets/numbers) */
}

/* List Item styles */
.rightsCloudWrap li {
    font-size: 1rem; /* Inherit or explicitly set to base font size */
    line-height: 1.6; /* Matches paragraph line-height for consistency */
    margin-bottom: 0.5rem; /* Space between list items */
}
