body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #f8f9fa;
    line-height: 1.6;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

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

.bg-light-dark {
    background-color: #1a1a1a !important;
}

.bg-dark-red {
    background-color: #8b0000 !important; /* Darker red for contrast */
}

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

.hover-danger:hover {
    color: #dc3545 !important;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #dc3545;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

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

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

/* Header */
.header-logo {
    height: 40px;
    width: auto;
}

.navbar-brand .text-danger {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
}

.navbar-nav .nav-link {
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
    background-image: url('graphics/pics/casino-background_30.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

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

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

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
}

.hero-section ul {
    padding-left: 0;
}

.hero-section ul li {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    list-style: none;
}

/* Feature Cards (Block 1) */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Casino Cards (Block 2) */
.casino-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.casino-img {
    height: 150px;
    padding: 30px;
    object-fit: contain;
    width: 100%;
}

.card-text,
#casinos .card-body li,
#casinos .card-body li span,
#comparison li,
#comparison li span{
    color: #fff !important;
}

#comparison li ,
#casinos li{
    flex-wrap: wrap;
}

.casino-link {
    display: block;
    overflow: hidden;
}

.casino-link img {
    transition: transform 0.5s ease;
}

.casino-link:hover img {
    transform: scale(1.05);
}

.star-rating i {
    font-size: 1.1rem;
}

/* Responsible Gaming List (Block 3) */
.list-group-item {
    border-left: none;
    border-right: none;
    border-top: none;
    padding-left: 0;
}

.list-group-item:last-child {
    border-bottom: none !important;
}

/* Comparison Cards (Block 4) */
.comparison-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.comparison-card ul li {
    font-size: 0.95rem;
}

/* Review Cards (Block 6) */
.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.review-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #dc3545;
}

/* FAQ Accordion (Block 7) */
.accordion-item {
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #f8f9fa !important;
    background-color: #222222 !important;
    border-radius: 8px !important;
    padding: 1rem 1.25rem;
    transition: background-color 0.3s ease;
}

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

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

.accordion-body {
    background-color: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
}

/* Contact Form */
.form-label {
    font-weight: 600;
}

.form-control {
    background-color: #222222 !important;
    border-color: #444444 !important;
    color: #f8f9fa !important;
}

.form-control::placeholder {
    color: #aaaaaa;
}

.form-control:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

/* Disclaimer Section */
.disclaimer-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('graphics/pics/responsible-gaming-illustration_9.jpg');
    background-size: cover;
    background-position: center;
    border-top: 5px solid #dc3545;
    border-bottom: 5px solid #dc3545;
    padding-top: 80px;
    padding-bottom: 80px;
}

.disclaimer-section .h5 {
    color: #dc3545;
}

.disclaimer-section .bg-dark {
    background-color: rgba(18, 18, 18, 0.9) !important;
}

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

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-logo-link img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.footer-logo-18plus {
    max-width: 60px;
    height: auto;
    object-fit: contain;
}

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

/* Age Verification Modal */
#ageVerificationModal .modal-content {
    background-color: #1a1a1a !important;
    border: 1px solid #dc3545;
}

#ageVerificationModal .modal-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
}

#ageVerificationModal .btn {
    padding: 12px 25px;
    font-size: 1.1rem;
}

/* Cookie Consent Banner */
#cookieConsentBanner {
    background-color: #222222;
    border-top: 3px solid #dc3545;
}

#cookieConsentBanner p {
    font-size: 0.9rem;
}

#cookieConsentBanner .btn {
    font-size: 0.85rem;
    padding: 6px 15px;
}

/* Responsive Typography */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.4rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .navbar-brand .text-danger {
        font-size: 1.8rem;
    }
    .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
        font-size: inherit;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    h3 {
        font-size: 1.8rem;
    }
    h4 {
        font-size: 1.5rem;
    }
    h5 {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .navbar-brand .text-danger {
        font-size: 1.5rem;
    }
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.6rem;
    }
    h4 {
        font-size: 1.3rem;
    }
    h5 {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        text-align: center;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .navbar-brand .text-danger {
        font-size: 1.25rem;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    h4 {
        font-size: 1.2rem;
    }
    h5 {
        font-size: 1rem;
    }
    .hero-section ul {
        text-align: center;
    }
    .offcanvas-body .navbar-nav {
        align-items: center;
    }
    .offcanvas-body .nav-link {
        padding: 0.75rem 0;
    }
    .casino-card, .review-card, .comparison-card, .feature-card {
        margin-bottom: 1rem;
    }
    .disclaimer-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .footer-logo-link img {
        max-width: 80px;
    }
    .footer-logo-18plus {
        max-width: 40px;
    }
}

@media (min-width: 1100px) {
    .offcanvas-end {
        visibility: hidden !important;
    }
    .navbar-toggler {
        display: none;
    }
}

@media (max-width: 1099px) {
    .navbar-nav {
        display: none;
    }
    .navbar-toggler {
        display: block;
    }
}

/* Ensure buttons don't cut text */
.btn {
    white-space: normal;
    word-break: break-word;
    text-align: center;
    text-decoration: none !important;
}
/* Main container for policy content */
.policyOrbitalShell {
    padding-top: 1.5rem; /* Top padding for the container */
    padding-left: 1.5rem; /* Left padding for the container */
    padding-right: 1.5rem; /* Right padding for the container */
    padding-bottom: 1.5rem; /* Bottom padding for the container */
    max-width: 800px; /* Limit width for readability on large screens */
    margin: 0 auto; /* Center the container horizontally */
}

/* Heading 1 styles */
.policyOrbitalShell h1 {
    font-size: 1.8rem; /* Moderate font size for H1 */
    margin-top: 2rem; /* Space above H1 */
    margin-bottom: 1rem; /* Space below H1 */
    line-height: 1.2; /* Line height for better readability */
    font-weight: 600; /* Slightly less bold than default, but still prominent */
}

/* Heading 2 styles */
.policyOrbitalShell h2 {
    font-size: 1.6rem; /* Moderate font size for H2 */
    margin-top: 1.8rem; /* Space above H2 */
    margin-bottom: 0.9rem; /* Space below H2 */
    line-height: 1.25; /* Line height for better readability */
    font-weight: 600;
}

/* Heading 3 styles */
.policyOrbitalShell h3 {
    font-size: 1.4rem; /* Moderate font size for H3 */
    margin-top: 1.6rem; /* Space above H3 */
    margin-bottom: 0.8rem; /* Space below H3 */
    line-height: 1.3; /* Line height for better readability */
    font-weight: 600;
}

/* Heading 4 styles */
.policyOrbitalShell h4 {
    font-size: 1.2rem; /* Moderate font size for H4 */
    margin-top: 1.4rem; /* Space above H4 */
    margin-bottom: 0.7rem; /* Space below H4 */
    line-height: 1.35; /* Line height for better readability */
    font-weight: 600;
}

/* Heading 5 styles */
.policyOrbitalShell h5 {
    font-size: 1.1rem; /* Moderate font size for H5 */
    margin-top: 1.2rem; /* Space above H5 */
    margin-bottom: 0.6rem; /* Space below H5 */
    line-height: 1.4; /* Line height for better readability */
    font-weight: 600;
}

/* Paragraph styles */
.policyOrbitalShell p {
    font-size: 1em; /* Standard paragraph font size */
    line-height: 1.6; /* Generous line height for readability */
    margin-bottom: 1em; /* Space below each paragraph */
}

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

/* List item styles */
.policyOrbitalShell li {
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.6; /* Line height for list item text */
}

@media (max-width: 991px) {
    .navbar-nav {
        display: block;
    }
}

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