:root {
    --primary-color: #A00000; /* Dark Red */
    --secondary-color: #2c0000; /* Darker Red/Burgundy for accents */
    --background-dark: #1A0000; /* Very dark red/black for main background */
    --text-light: #F0F0F0; /* Light grey for main text */
    --text-muted: #B0B0B0; /* Muted light grey */
    --accent-gold: #FFD700; /* Gold for highlights */
    --card-bg: #220000; /* Slightly lighter dark red for cards */
    --border-color: rgba(255, 255, 255, 0.1);
}

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

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

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: var(--text-light);
    color: var(--text-light);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-outline-light:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.badge {
    font-size: 0.8em;
    padding: 0.4em 0.8em;
}

.bg-success {
    background-color: #28a745 !important; /* Green for positive attributes */
}

.bg-info {
    background-color: #17a2b8 !important; /* Blue for informative attributes */
}

.bg-primary {
    background-color: var(--primary-color) !important; /* Red for general attributes */
}

.bg-warning {
    background-color: #ffc107 !important; /* Yellow for specific attributes */
}

/* Header */
header {
    background-color: rgba(26, 0, 0, 0.95); /* Semi-transparent dark red */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1030;
}

.logo-img {
    height: 50px; /* Adjust as needed */
    width: auto;
}

/* Hero Section */
.hero-section {
    background-image: url('assets/content/casino-background_3.jpg'); /* Placeholder for hero image */
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    position: relative;
    padding: 100px 0;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    background-image: linear-gradient(to top, rgba(26, 0, 0, 0.8), rgba(26, 0, 0, 0.2));
    z-index: 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-section .lead {
    font-size: 1.5rem;
    font-weight: 400;
}

/* Casino Rating Grid */
.casino-grid-section {
    background-color: var(--background-dark);
}

.casino-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.casino-card .casino-logo {
    height: 110px;
    width: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.casino-card .rating-score {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--accent-gold);
}

.casino-card .star-rating i {
    color: var(--accent-gold);
    font-size: 1.2em;
}

/* Editor's Detailed Rating */
.editor-rating-section {
    background-color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.editor-rating-section h4 {
    font-size: 1.25rem;
}

.progress {
    height: 10px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    background-color: var(--primary-color);
    transition: width 1s ease-out;
}

/* User Reviews Section */
.user-reviews-section {
    background-color: var(--background-dark);
}

.review-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.review-card .avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.review-card .star-rating i {
    color: var(--accent-gold);
    font-size: 1.1em;
}

.review-card .admin-reply {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--primary-color);
}

/* Informative Articles / Guides Block */
.articles-section {
    background-color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
}

.article-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

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

/* Disclaimer Block */
.disclaimer-block {
    background-color: #2c0000; /* Darker red */
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding: 40px 0;
}

.disclaimer-content {
    background-color: #3d0000; /* Even darker red for inner content */
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.disclaimer-content h3 {
    color: var(--accent-gold); /* Yellowish gold for warning */
}

.disclaimer-content p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: #0F0000; /* Very dark, almost black for footer */
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    height: 40px;
}

.footer a {
    color: var(--text-muted);
}

.footer a.hover-underline:hover {
    text-decoration: underline;
}

.footer .list-unstyled li i {
    color: var(--primary-color);
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Space between logos */
    justify-content: center; /* Center logos horizontally */
    align-items: center; /* Center logos vertically */
}

.footer-logo-item {
    width: auto;
    max-width: 120px; /* Limit width as requested */
    height: auto;
    max-height: 60px; /* Maintain aspect ratio, set max height */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.footer-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.footer-logo-item.18-plus-icon {
    max-width: 60px;
    max-height: 60px;
}

/* Cookie Consent Modal */
#cookieConsentModal .modal-content {
    background-color: var(--card-bg);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

#cookieConsentModal .modal-header, 
#cookieConsentModal .modal-footer {
    border-color: var(--border-color);
}

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

#cookieConsentModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), .25);
}

#cookieConsentModal a {
    color: var(--accent-gold);
}

#cookieConsentModal a:hover {
    color: var(--accent-gold);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section .lead {
        font-size: 1.2rem;
    }
    .logo-img {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 60vh;
        padding: 80px 0;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .casino-card .rating-score {
        font-size: 1.5em;
    }
    .casino-card .star-rating i {
        font-size: 1em;
    }
    .footer-logos {
        justify-content: center;
    }
}
/* Styles for the main content box for terms/privacy/etc. */
.termsCaveBox {
    padding-top: 60px; /* Top padding for the content box */
    padding-bottom: 60px; /* Bottom padding for the content box */
    padding-left: 15px; /* Left padding for the content box */
    padding-right: 15px; /* Right padding for the content box */
    max-width: 960px; /* Max width to keep content readable */
    margin-left: auto; /* Center the box horizontally */
    margin-right: auto; /* Center the box horizontally */
    background-color: var(--card-bg); /* Background color for the content box */
    border-radius: 10px; /* Slightly rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); /* Subtle shadow */
}

/* Heading styles within termsCaveBox */
.termsCaveBox h1 {
    font-size: 2.2rem; /* Moderate font size for main heading */
    margin-bottom: 1.5rem; /* Spacing below heading */
    color: var(--primary-color); /* Primary color for main heading */
    font-weight: 700; /* Bold font weight */
}

.termsCaveBox h2 {
    font-size: 1.8rem; /* Moderate font size for sub-headings */
    margin-top: 2rem; /* Spacing above sub-heading */
    margin-bottom: 1rem; /* Spacing below sub-heading */
    color: var(--text-light); /* Light text color for sub-headings */
    font-weight: 600;
}

.termsCaveBox h3 {
    font-size: 1.5rem; /* Smaller font size for tertiary headings */
    margin-top: 1.8rem; /* Spacing above heading */
    margin-bottom: 0.8rem; /* Spacing below heading */
    color: var(--text-light);
    font-weight: 600;
}

.termsCaveBox h4 {
    font-size: 1.3rem; /* Even smaller font size for quaternary headings */
    margin-top: 1.5rem; /* Spacing above heading */
    margin-bottom: 0.7rem; /* Spacing below heading */
    color: var(--text-muted); /* Muted text color */
    font-weight: 500;
}

.termsCaveBox h5 {
    font-size: 1.1rem; /* Smallest heading size */
    margin-top: 1.2rem; /* Spacing above heading */
    margin-bottom: 0.6rem; /* Spacing below heading */
    color: var(--text-muted);
    font-weight: 500;
}

/* Paragraph styles within termsCaveBox */
.termsCaveBox p {
    font-size: 1rem; /* Standard paragraph font size */
    margin-bottom: 1rem; /* Spacing below paragraph */
    line-height: 1.7; /* Improved readability for long texts */
    color: var(--text-muted); /* Muted text color for paragraphs */
}

/* Unordered list styles within termsCaveBox */
.termsCaveBox ul {
    list-style-type: disc; /* Standard disc bullets */
    margin-left: 20px; /* Indentation for list items */
    margin-bottom: 1rem; /* Spacing below the list */
    padding-left: 0; /* No extra padding on the list itself */
}

/* List item styles within termsCaveBox */
.termsCaveBox li {
    font-size: 1rem; /* Standard font size for list items */
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.6; /* Improved readability for list items */
    color: var(--text-muted); /* Muted text color for list items */
}

/* Responsive adjustments for termsCaveBox */
@media (max-width: 768px) {
    .termsCaveBox {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 10px;
        padding-right: 10px;
    }

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

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

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

@media (max-width: 576px) {
    .termsCaveBox {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .termsCaveBox h1 {
        font-size: 1.6rem;
    }

    .termsCaveBox h2 {
        font-size: 1.3rem;
    }

    .termsCaveBox h3 {
        font-size: 1.1rem;
    }

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