/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #0A192F;
    color: #E0E0E0;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS animations */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #00C2CB; /* Accent color for headings */
}

a {
    color: #00C2CB;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00E6EE;
}

.btn-primary {
    background-color: #00C2CB;
    border-color: #00C2CB;
    color: #0A192F;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #00E6EE;
    border-color: #00E6EE;
    color: #0A192F;
    transform: translateY(-2px);
}

.btn-outline-light {
    color: #E0E0E0;
    border-color: #E0E0E0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: #E0E0E0;
    color: #0A192F;
    border-color: #E0E0E0;
    transform: translateY(-2px);
}

.card {
    background-color: #1A3A5F;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #E0E0E0;
}

.card-title {
    color: #00C2CB;
}

/* Navbar */
.navbar {
    background-color: #0A192F;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1030;
}

.navbar-brand {
    color: #E0E0E0 !important;
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

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

.navbar-brand .logo-text {
    color: #00C2CB;
    margin-left: 5px;
}

.navbar-nav .nav-link {
    color: #E0E0E0 !important;
    font-weight: 400;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #00C2CB !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #00C2CB;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 70%;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), url('assets/content/online-entertainment-platforms.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    color: #E0E0E0;
    padding-top: 80px; /* Adjust for fixed navbar */
}

.hero-section h1 {
    color: #00C2CB;
    font-size: 3.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: #BBBBBB;
}

.hero-image {
    max-width: 80%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .hero-image {
        margin-top: 3rem;
    }
}

/* Rating List */
.rating-list {
    background-color: #0A192F;
    padding: 60px 0;
}

.rating-card {
    background-color: #1A3A5F;
    border: 1px solid rgba(0, 194, 203, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 194, 203, 0.2);
}

.rating-card .card-img-link {
    display: block;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.rating-card .rating-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.rating-score {
    color: #FFD700;
    font-size: 1.2rem;
    font-weight: 600;
}

.rating-score .bi-star-fill, .rating-score .bi-star-half {
    color: #FFD700;
}

.pros-list li, .cons-list li {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.pros-list .bi-check-lg {
    color: #28a745;
}

.cons-list .bi-x-lg {
    color: #dc3545;
}

/* Comparison Table */
.comparison-table {
    background-color: #0A192F;
    padding: 60px 0;
}

.comparison-table-custom {
    background-color: #1A3A5F;
    color: #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table-custom thead th {
    background-color: #00C2CB;
    color: #0A192F;
    font-weight: 700;
    border-color: rgba(0, 0, 0, 0.2);
}

.comparison-table-custom tbody tr {
    transition: background-color 0.3s ease;
}

.comparison-table-custom tbody tr:hover {
    background-color: #2a4e7a;
}

.comparison-table-custom tbody th {
    background-color: #1A3A5F;
    color: #00C2CB;
    font-weight: 600;
    border-color: rgba(255, 255, 255, 0.1);
}

.comparison-table-custom tbody td {
    border-color: rgba(255, 255, 255, 0.1);
}

.comparison-table-custom .badge {
    font-size: 0.9em;
    padding: 0.5em 0.7em;
}

/* Rating Criteria */
.rating-criteria {
    background-color: #1A3A5F;
    padding: 60px 0;
}

.criteria-card {
    background-color: #0A192F;
    border: 1px solid rgba(0, 194, 203, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 194, 203, 0.2);
}

.criteria-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.criteria-icon {
    font-size: 3rem;
    color: #00C2CB;
}

.progress {
    height: 20px;
    background-color: #2a4e7a;
    border-radius: 5px;
}

.progress-bar {
    border-radius: 5px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 5px;
    padding-left: 10px;
}

/* Articles Block */
.articles-block {
    background-color: #0A192F;
    padding: 60px 0;
}

.article-card {
    background-color: #1A3A5F;
    border: 1px solid rgba(0, 194, 203, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 194, 203, 0.2);
}

.article-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 194, 203, 0.2);
}

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

.review-card {
    background-color: #1A3A5F;
    border: 1px solid rgba(0, 194, 203, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 194, 203, 0.15);
}

.review-card .avatar-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #00C2CB;
}

.review-card .text-warning .bi-star-fill, .review-card .text-warning .bi-star-half {
    color: #FFD700;
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: #0A192F;
    padding: 60px 0;
}

.disclaimer-content {
    background-color: #2a4e7a;
    border: 2px solid #dc3545;
    padding: 2rem;
    border-radius: 10px;
    color: #E0E0E0;
    position: relative;
    overflow: hidden;
}

.disclaimer-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(220, 53, 69, 0.1), rgba(0, 0, 0, 0));
    z-index: 0;
    opacity: 0.5;
}

.disclaimer-content h4 {
    color: #dc3545;
    position: relative;
    z-index: 1;
}

.disclaimer-content p {
    position: relative;
    z-index: 1;
    color: #BBBBBB;
}

.disclaimer-content a {
    color: #00C2CB;
    text-decoration: underline;
}

.disclaimer-content a:hover {
    color: #00E6EE;
}

/* Footer */
.footer {
    background-color: #071320;
    color: #BBBBBB;
    padding: 4rem 0 2rem;
}

.footer-brand {
    color: #E0E0E0 !important;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-brand {
        justify-content: flex-start;
    }
}

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

.footer-brand .footer-logo-text {
    color: #00C2CB;
    margin-left: 5px;
}

.footer h5 {
    color: #00C2CB;
    font-weight: 600;
}

.footer-nav li a {
    color: #BBBBBB;
    transition: color 0.3s ease;
}

.footer-nav li a:hover {
    color: #00C2CB;
}

.footer-partners {
    margin-top: 2rem;
    gap: 15px;
}

.footer-partners .footer-logo {
    max-width: 120px; /* Adjust based on number of images */
    height: auto;
    object-fit: contain;
    filter: brightness(0.8) contrast(1.2);
    transition: filter 0.3s ease;
}

.footer-partners .footer-logo:hover {
    filter: brightness(1) contrast(1.2);
}

.footer-partners .age-icon {
    max-width: 50px;
    filter: none; /* Keep 18+ icon colorful */
}

.footer-partners .age-icon:hover {
    filter: none;
}

/* Age Verification Modal */
.age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-verification-modal.show {
    opacity: 1;
    visibility: visible;
}

.age-verification-modal .modal-content {
    background-color: #1A3A5F;
    color: #E0E0E0;
    border: 1px solid #00C2CB;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 194, 203, 0.3);
}

.age-verification-modal .modal-title {
    color: #00C2CB;
    font-weight: 700;
}

.age-verification-modal .btn-primary {
    background-color: #00C2CB;
    border-color: #00C2CB;
    color: #0A192F;
}

.age-verification-modal .btn-primary:hover {
    background-color: #00E6EE;
    border-color: #00E6EE;
}

.age-verification-modal .btn-secondary {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #E0E0E0;
}

.age-verification-modal .btn-secondary:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Cookie Consent Modal */
.cookie-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-consent-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-modal .modal-content {
    background-color: #1A3A5F;
    color: #E0E0E0;
    border: 1px solid #00C2CB;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 194, 203, 0.3);
}

.cookie-consent-modal .modal-header {
    border-bottom: 1px solid rgba(0, 194, 203, 0.2);
}

.cookie-consent-modal .modal-title {
    color: #00C2CB;
    font-weight: 600;
}

.cookie-consent-modal .modal-body {
    padding: 1.5rem;
}

.cookie-consent-modal .form-check-input:checked {
    background-color: #00C2CB;
    border-color: #00C2CB;
}

.cookie-consent-modal .form-check-label {
    color: #BBBBBB;
}

.cookie-consent-modal .modal-footer {
    padding: 25px;
    border-top: 1px solid rgba(0, 194, 203, 0.2);
}

.cookie-consent-modal .btn-outline-secondary {
    color: #BBBBBB;
    border-color: #BBBBBB;
}

.cookie-consent-modal .btn-outline-secondary:hover {
    background-color: #BBBBBB;
    color: #1A3A5F;
}

.cookie-consent-modal .btn-primary {
    background-color: #00C2CB;
    border-color: #00C2CB;
    color: #0A192F;
}

.cookie-consent-modal .btn-primary:hover {
    background-color: #00E6EE;
    border-color: #00E6EE;
}

.cookie-consent-modal .btn-secondary {
    background-color: #2a4e7a;
    border-color: #2a4e7a;
    color: #E0E0E0;
}

.cookie-consent-modal .btn-secondary:hover {
    background-color: #3b6090;
    border-color: #3b6090;
}
/* New styles for content within .termsCaveBox */

/* Wrapper for terms and conditions or similar content blocks */
.termsCaveBox {
    background-color: #1A3A5F; /* Medium dark blue, similar to card backgrounds */
    color: #E0E0E0; /* Light grey for general text */
    padding: 3rem 2.5rem; /* Top/bottom padding, left/right padding */
    margin: 2.5rem auto; /* Center the box horizontally and add vertical margin */
    max-width: 960px; /* Maximum width for improved readability of long text */
    border-radius: 10px; /* Rounded corners for the box */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
    line-height: 1.7; /* Default line height for text within the box */
}

/* Headings within the content box */
.termsCaveBox h1 {
    font-size: 2.2rem; /* Moderately sized for a content heading */
    font-weight: 700;
    color: #00C2CB; /* Accent color for primary headings */
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.termsCaveBox h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00C2CB; /* Accent color */
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.termsCaveBox h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00C2CB; /* Accent color */
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.termsCaveBox h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #E0E0E0; /* Light grey for secondary headings */
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.termsCaveBox h5 {
    font-size: 1rem; /* Similar to body text size, but bold */
    font-weight: 600;
    color: #E0E0E0; /* Light grey */
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

/* Paragraphs within the content box */
.termsCaveBox p {
    font-size: 1rem; /* Standard body text size */
    margin-bottom: 1rem; /* Space below paragraphs */
    line-height: 1.7; /* Good line height for readability */
    color: #E0E0E0; /* Light grey text color */
}

/* Unordered lists within the content box */
.termsCaveBox ul {
    list-style-type: disc; /* Standard disc bullets */
    margin-left: 1.5rem; /* Indentation for list items */
    margin-bottom: 1rem;
    padding-left: 0; /* Reset default padding */
}

/* List items within the content box */
.termsCaveBox li {
    font-size: 1rem;
    margin-bottom: 0.5rem; /* Space between list items */
    line-height: 1.7;
    color: #E0E0E0; /* Light grey text color */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .termsCaveBox {
        padding: 2rem 1.5rem; /* Reduce padding on smaller screens */
        margin: 1.5rem 1rem; /* Adjust margins for better fit */
    }

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

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

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

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

    .termsCaveBox h5,
    .termsCaveBox p,
    .termsCaveBox li {
        font-size: 0.95rem; /* Slightly smaller text for mobile readability */
    }

    .termsCaveBox ul {
        margin-left: 1rem; /* Adjust list indentation */
    }
}
