:root {
    --primary-color: #4ECDC4; /* Elegant Turquoise */
    --secondary-color: #F7DC6F; /* Warm Gold */
    --dark-text: #343a40; /* Dark Gray for main text */
    --light-text: #f8f9fa; /* Light Gray for text on dark backgrounds */
    --bg-light: #f8f9fa; /* Light background */
    --bg-dark: #212529; /* Dark background */
    --accent-color: #FF6B6B; /* Complementary coral for highlights */
    --star-color: #FFD700; /* Gold for stars */
}

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

/* General Styles */
.section-title {
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.bg-light-gradient {
    background: linear-gradient(145deg, var(--bg-light) 0%, #e9ecef 100%);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #38a7a0; /* Darker turquoise */
    border-color: #38a7a0;
    transform: translateY(-2px);
}

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

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

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

a:hover {
    color: #38a7a0;
    text-decoration: underline;
}

/* Header */
.header-main {
    background-color: rgba(var(--bg-dark-rgb, 33, 37, 41), 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    padding: 0 !important;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-brand .brand-name {
    color: var(--light-text);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--light-text) !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.25rem;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.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='%234ECDC4' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

button.navbar-toggler {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px; /* Adjust for fixed header */
}

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

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

.hero-section p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
}

/* Main Ratings Overview */
.platform-card-row {
    background-color: var(--light-text);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.platform-logo-lg {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.star-rating i {
    color: var(--star-color);
    font-size: 1.2rem;
}

.offer-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.platform-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

/* About Us Section */
.about-section {
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px; /* Adjust for fixed header */
}

.about-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--dark-text-rgb, 52, 58, 64), 0.85); /* Darker overlay */
}

.about-section h2 {
    color: var(--secondary-color) !important;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Editor's Detailed Rating Breakdown */
.progress {
    height: 28px;
    background-color: #e9ecef;
    border-radius: 0.5rem;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--primary-color);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: var(--light-text);
    font-weight: 600;
    padding-right: 10px;
    border-radius: 0.5rem;
    transition: width 1s ease-out;
}

.progress-bar span {
    opacity: 0;
    transition: opacity 0.5s ease 0.5s;
}

.progress-bar.animated span {
    opacity: 1;
}

/* Rating Criteria Explanation */
.bg-dark-overlay-img {
    background-size: cover;
    background-position: center;
    position: relative;
}

.bg-dark-overlay-img .overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--bg-dark-rgb, 33, 37, 41), 0.8);
}

.accordion-item {
    background-color: rgba(var(--light-text-rgb, 248, 249, 250), 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 10px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--primary-color);
    color: var(--light-text);
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #38a7a0; /* Darker turquoise when open */
    color: var(--light-text);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

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

.accordion-body {
    background-color: var(--light-text);
    color: var(--dark-text);
    padding: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* FAQ Section */
#faq .accordion-button {
    background-color: var(--light-text);
    color: var(--dark-text);
    border-bottom: 1px solid #e9ecef;
}

#faq .accordion-button:not(.collapsed) {
    background-color: var(--secondary-color);
    color: var(--dark-text);
}

#faq .accordion-button::after {
    filter: none;
}

#faq .accordion-body {
    background-color: var(--light-text);
}

/* Disclaimer Block */
.disclaimer-section {
    background-color: #FFF8E1; /* Light yellow/cream background */
    padding: 3rem 0;
    border-top: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.disclaimer-content {
    background-color: #fff;
    border: 1px solid #ffe082; /* Lighter gold border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.disclaimer-icon {
    font-size: 3rem;
    color: var(--accent-color); /* Coral for warning icon */
}

.disclaimer-title {
    color: var(--dark-text);
    font-weight: 700;
}

/* Footer */
.footer-main {
    background-color: var(--bg-dark);
    color: var(--light-text);
}

.footer-brand .logo-img {
    height: 35px;
    width: auto;
}

.footer-brand .brand-name {
    color: var(--light-text);
    font-weight: 600;
    font-size: 1.3rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary-color) !important;
    text-decoration: none;
}

.age-icon {
    height: 50px;
    width: auto;
    vertical-align: middle;
}

.footer-logos {
    gap: 15px; /* Adjust gap between logos */
}

.footer-logo {
    max-width: 120px; /* Adjusted based on requirements (100-150px) */
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.2s ease-in-out;
}

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

/* Cookie Consent Banner */
.cookie-banner {
    background-color: var(--bg-dark);
    color: var(--light-text);
    max-width: 350px;
    z-index: 1040;
    border: 1px solid rgba(var(--primary-color-rgb, 78, 205, 196), 0.5);
}

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

.cookie-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-link:hover {
    color: #38a7a0;
}

/* Cookie Customization Modal */
.modal-content {
    background-color: var(--bg-light);
    color: var(--dark-text);
}

.modal-header {
    border-bottom-color: #e9ecef;
}

.modal-footer {
    border-top-color: #e9ecef;
}

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

/* Age Verification Modal */
.age-verification-modal-content {
    background-color: var(--bg-dark);
    color: var(--light-text);
    border: 1px solid var(--primary-color);
}

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

.age-verification-modal-content .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.age-verification-modal-content .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Sticky Mobile Footer Bar */
.mobile-footer-bar {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(var(--primary-color-rgb, 78, 205, 196), 0.3);
    z-index: 1020;
    height: 60px;
}

.mobile-footer-bar .footer-bar-item {
    color: rgba(var(--light-text-rgb, 248, 249, 250), 0.7);
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.mobile-footer-bar .footer-bar-item i {
    font-size: 1.3rem;
    margin-bottom: 3px;
}

.mobile-footer-bar .footer-bar-item:hover {
    color: var(--primary-color);
}

@media (min-width: 992px) {
    .mobile-footer-bar {
        display: none !important;
    }
}

/* General responsiveness adjustments */
@media (max-width: 767.98px) {
    .platform-card-row .row {
        flex-direction: column;
    }
    .platform-card-row .col-md-4, .platform-card-row .col-md-8 {
        text-align: center;
    }
    .platform-logo-lg {
        margin-bottom: 1.5rem;
    }
    .hero-section {
        min-height: 60vh;
        padding-top: 60px;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p {
        font-size: 0.95rem;
    }
    .about-section .row {
        flex-direction: column-reverse; /* Image below text on mobile */
    }
    .about-section .col-lg-6 {
        text-align: center;
    }
    .footer-main .text-md-start, .footer-main .text-md-end {
        text-align: center !important;
    }
    .footer-brand {
        justify-content: center !important;
    }
    .footer-logos {
        justify-content: center;
    }
    .cookie-banner {
        max-width: 90%;
        left: 5%;
        right: 5%;
        margin: 1rem auto !important;
    }
}
/* New styles for content wrapped in .rightsCloudWrap */
.rightsCloudWrap {
    padding-top: 3rem; /* Top padding for the content wrapper */
    padding-left: 1.5rem; /* Left padding for the content wrapper */
    padding-right: 1.5rem; /* Right padding for the content wrapper */
    padding-bottom: 3rem; /* Bottom padding for the content wrapper */
    max-width: 1200px; /* Max width for content readability */
    margin-left: auto; /* Center the content wrapper */
    margin-right: auto; /* Center the content wrapper */
}

.rightsCloudWrap h1 {
    font-size: 2.2rem; /* Moderate size for main heading */
    margin-top: 2.5rem; /* Spacing above heading */
    margin-bottom: 1.5rem; /* Spacing below heading */
    line-height: 1.2; /* Line height for readability */
    color: var(--dark-text); /* Heading color */
    font-weight: 700; /* Bold font weight */
}

.rightsCloudWrap h2 {
    font-size: 1.8rem; /* Slightly smaller heading */
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    color: var(--dark-text);
    font-weight: 600;
}

.rightsCloudWrap h3 {
    font-size: 1.5rem; /* Sub-heading size */
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--dark-text);
    font-weight: 600;
}

.rightsCloudWrap h4 {
    font-size: 1.3rem; /* Smaller heading */
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    color: var(--dark-text);
    font-weight: 500;
}

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

.rightsCloudWrap p {
    font-size: 1rem; /* Standard paragraph text size */
    margin-bottom: 1rem; /* Spacing below paragraph */
    line-height: 1.7; /* Line height for readability */
    color: var(--dark-text); /* Paragraph text color */
}

.rightsCloudWrap ul {
    list-style-type: disc; /* Default disc bullet points */
    margin-top: 1rem; /* Spacing above list */
    margin-bottom: 1rem; /* Spacing below list */
    padding-left: 1.5rem; /* Indentation for list items */
    color: var(--dark-text); /* List color */
}

.rightsCloudWrap ol {
    list-style-type: decimal; /* Default decimal numbering */
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--dark-text);
}

.rightsCloudWrap li {
    font-size: 1rem; /* List item text size */
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.7; /* Line height for readability */
    color: var(--dark-text); /* List item text color */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .rightsCloudWrap {
        padding-top: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 2rem;
    }

    .rightsCloudWrap h1 {
        font-size: 1.8rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .rightsCloudWrap h2 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .rightsCloudWrap h3 {
        font-size: 1.3rem;
        margin-top: 1.2rem;
        margin-bottom: 0.7rem;
    }

    .rightsCloudWrap h4 {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.6rem;
    }

    .rightsCloudWrap h5 {
        font-size: 1rem;
        margin-top: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .rightsCloudWrap p,
    .rightsCloudWrap li {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
        line-height: 1.6;
    }

    .rightsCloudWrap ul,
    .rightsCloudWrap ol {
        padding-left: 1rem;
    }
}
