/* Google Fonts (Poppins) initialization */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
}

/* Color Palette */
:root {
    --primary-dark-green: #1A3A3A;
    --secondary-green: #2C5D5D;
    --accent-green: #4CAF50; /* Brighter green for highlights */
    --text-light: #E0E0E0;
    --text-muted: #A0A0A0;
    --background-dark: #122B2B;
    --card-background: #204545;
    --disclaimer-bg: #3A1A1A; /* Dark reddish-brown for warning */
    --button-hover-green: #388E3C;
    --warning-star: #FFC107;
}

/* General Body and Text Styles */
body {
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
}

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

.site-title {
    font-weight: 700;
    color: var(--accent-green);
    font-size: 1.8rem;
}

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

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

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary-custom:hover {
    background-color: var(--button-hover-green);
    border-color: var(--button-hover-green);
    color: #fff;
}

.btn-outline-light {
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-dark-green);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 8rem;
    color: var(--text-light);
    overflow: hidden;
}

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

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p.lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* Rating List Section & Featured Items Section */
.rating-list-section, .featured-items-section, .user-reviews-section, .rating-criteria-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.platform-card, .featured-card, .review-card {
    background-color: var(--card-background);
    border-radius: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

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

.platform-card .card-img-top {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.platform-card .badge {
    font-weight: 600;
}

.platform-card ul li {
    margin-bottom: 0.5rem;
}

.platform-card ul li i {
    color: var(--accent-green);
}

/* User Reviews Section */
.avatar-small {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid var(--accent-green);
}

.review-card .bi-star-fill, .review-card .bi-star-half, .review-card .bi-star {
    color: var(--warning-star);
}

.helpful-btn {
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.helpful-btn .vote-count {
    margin-left: 5px;
}

/* Rating Criteria Section */
.criteria-list .list-group-item {
    background-color: var(--card-background);
    border: none;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.criteria-list .list-group-item h5 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.criteria-list .list-group-item p {
    color: var(--text-muted);
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: var(--disclaimer-bg);
    color: var(--text-light);
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 5px solid var(--warning-star);
    border-bottom: 5px solid var(--warning-star);
    text-align: justify;
}

.disclaimer-section h3 {
    color: var(--warning-star);
    font-weight: 700;
}

.disclaimer-section p, .disclaimer-section ul {
    font-size: 0.95rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-section ul li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--primary-dark-green);
    color: var(--text-light);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-green);
}

footer a:hover {
    color: var(--button-hover-green);
}

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

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-logo {
    max-width: 120px; /* Adjusted to fit more logos */
    height: auto;
    display: block;
    object-fit: contain;
}

.footer-logo-18plus {
    max-width: 60px; /* Smaller for 18+ icon */
    height: auto;
    display: block;
    object-fit: contain;
}

/* Modal Styling (Age Verification & Cookie Consent) */
.modal-content {
    border-radius: 1rem;
    background-color: var(--secondary-green);
}

.modal-header {
    border-bottom: none;
}

.modal-title {
    color: var(--accent-green);
    font-weight: 700;
}

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

.form-check-label {
    color: var(--text-light);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

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

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

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

    .display-4 {
        font-size: 2rem;
    }

    .footer-logos {
        gap: 1rem;
    }

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

@media (max-width: 576px) {
    .hero-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

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

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

    .btn-primary-custom, .btn-outline-light {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer-logos {
        gap: 0.75rem;
    }

    .footer-logo {
        max-width: 80px;
    }
    .footer-logo-18plus {
        max-width: 50px;
    }
}
/* Parent wrapper for content, providing spacing and centering */
.rightsCloudWrap {
    padding-top: 4rem; /* Top padding for the section */
    padding-bottom: 4rem; /* Bottom padding for the section */
    padding-left: 1.5rem; /* Left padding for the content */
    padding-right: 1.5rem; /* Right padding for the content */
    max-width: 1000px; /* Maximum width for content to prevent stretching */
    margin-left: auto; /* Center the wrapper horizontally */
    margin-right: auto; /* Center the wrapper horizontally */
}

/* Heading styles within .rightsCloudWrap */
.rightsCloudWrap h1 {
    font-size: 2.2rem; /* Moderate font size for main heading */
    margin-bottom: 1.5rem; /* Space below the heading */
    line-height: 1.2; /* Line height for readability */
    color: var(--text-light); /* Inherit from theme or specific color */
}

.rightsCloudWrap h2 {
    font-size: 1.8rem; /* Slightly smaller for sub-headings */
    margin-bottom: 1.2rem;
    line-height: 1.3;
    color: var(--text-light);
}

.rightsCloudWrap h3 {
    font-size: 1.5rem; /* Further reduced size */
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--text-light);
}

.rightsCloudWrap h4 {
    font-size: 1.25rem; /* Smaller heading */
    margin-bottom: 0.8rem;
    line-height: 1.5;
    color: var(--text-light);
}

.rightsCloudWrap h5 {
    font-size: 1.1rem; /* Smallest heading */
    margin-bottom: 0.6rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Paragraph styles within .rightsCloudWrap */
.rightsCloudWrap p {
    font-size: 1rem; /* Standard paragraph font size */
    margin-bottom: 1rem; /* Space between paragraphs */
    line-height: 1.7; /* Generous line height for readability */
    color: var(--text-light);
}

/* Unordered list styles within .rightsCloudWrap */
.rightsCloudWrap ul {
    list-style-type: disc; /* Default disc bullet points */
    margin-bottom: 1rem; /* Space after the list */
    padding-left: 1.5rem; /* Indentation for list items */
    color: var(--text-light);
}

/* List item styles within .rightsCloudWrap */
.rightsCloudWrap li {
    font-size: 1rem; /* Standard list item font size */
    margin-bottom: 0.5rem; /* Space between list items */
    line-height: 1.6; /* Line height for readability */
    color: var(--text-light);
}

/* Responsive adjustments for headings and paragraphs within .rightsCloudWrap */
@media (max-width: 768px) {
    .rightsCloudWrap {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .rightsCloudWrap h1 {
        font-size: 1.8rem;
    }
    .rightsCloudWrap h2 {
        font-size: 1.6rem;
    }
    .rightsCloudWrap h3 {
        font-size: 1.3rem;
    }
    .rightsCloudWrap h4 {
        font-size: 1.1rem;
    }
    .rightsCloudWrap h5 {
        font-size: 1rem;
    }
    .rightsCloudWrap p,
    .rightsCloudWrap ul,
    .rightsCloudWrap li {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .rightsCloudWrap {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .rightsCloudWrap h1 {
        font-size: 1.6rem;
    }
    .rightsCloudWrap h2 {
        font-size: 1.4rem;
    }
    .rightsCloudWrap h3 {
        font-size: 1.2rem;
    }
    .rightsCloudWrap h4 {
        font-size: 1rem;
    }
    .rightsCloudWrap h5 {
        font-size: 0.95rem;
    }
    .rightsCloudWrap p,
    .rightsCloudWrap ul,
    .rightsCloudWrap li {
        font-size: 0.9rem;
    }
}

.picLo{
    height: 120px;
    object-fit: contain;
    padding: 23px;
    width: 100%;
}

.list-group-item,
.review-card,
.platform-card{
    .text-muted{
        color: #ffffffc3 !important;
    }
}

.card h4, 
.card p {
    color: #fff !important;
}