/* Custom CSS for PlateformesVerifiees */

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f0fc; /* Light purple background */
    color: #333; /* Standard text color */
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #4a0072; /* Darker purple for headings */
}

a {
    color: #6a0dad; /* Primary purple for links */
    text-decoration: none;
}

a:hover {
    color: #8a2be2; /* Lighter purple on hover */
}

.btn-primary {
    background-color: #6a0dad; /* Primary button color */
    border-color: #6a0dad;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #8a2be2;
    border-color: #8a2be2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #9370DB; /* Medium purple for secondary actions */
    border-color: #9370DB;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #a787ed;
    border-color: #a787ed;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.text-primary {
    color: #6a0dad !important;
}

.text-warning {
    color: #FFD700 !important; /* Gold for stars */
}

.text-success {
    color: #28a745 !important;
}

/* Navbar */
#mainNav {
    background-color: rgba(74, 0, 114, 0.95); /* Darker purple with transparency */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#mainNav .navbar-brand .logo-img {
    height: 35px;
    width: auto;
}

#mainNav .navbar-brand .brand-text {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(74, 0, 114, 0.9), rgba(106, 13, 173, 0.9)), url('uploads/pics/subtle-purple-texture.jpg') no-repeat center center/cover; /* Dark purple gradient overlay on a subtle texture */
    min-height: 100vh;
    padding-top: 100px; /* Adjust for fixed navbar */
    position: relative;
    overflow: hidden;
}

.hero-section .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: #fff;
}

.hero-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-image {
    max-height: 500px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .hero-image {
        margin-bottom: 2rem;
        max-height: 300px;
    }
}

/* Rating Criteria Section */
.rating-criteria {
    background-color: #f0e6fa; /* Lighter purple background */
}

.rating-criteria h2 {
    color: #4a0072;
}

.criteria-card {
    background-color: #fff;
    border: 1px solid #e0cffc;
    transition: all 0.3s ease;
    height: 100%;
}

.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
    border-color: #6a0dad;
}

.criteria-card i {
    color: #6a0dad;
}

/* Top Platforms List Section */
.rating-list {
    background-color: #fff;
}

.rating-list h2 {
    color: #4a0072;
}

.platform-card {
    background-color: #fff;
    border: 1px solid #e0cffc;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
    border-color: #6a0dad;
}

.platform-card .platform-logo {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.platform-card .platform-logo-link:hover .platform-logo {
    transform: scale(1.05);
}

.platform-card h3 {
    color: #4a0072;
    font-size: 1.75rem;
}

.platform-card .rating-stars i {
    font-size: 1.2rem;
}

.advantages-list li {
    margin-bottom: 0.5rem;
    color: #555;
}

.advantages-list i {
    font-size: 1rem;
}

/* Platform Comparison Table Section */
.comparison-table {
    background-color: #f0e6fa;
}

.comparison-table h2 {
    color: #4a0072;
}

.comparison-table-custom {
    min-width: 700px; /* Ensure table is wide enough for comparison */
}

.comparison-table .table thead th {
    background-color: #4a0072;
    color: #fff;
    border-color: #6a0dad;
    font-weight: 600;
}

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

.comparison-table .table tbody tr:hover {
    background-color: #e0cffc;
}

.comparison-table .table tbody td {
    border-color: #e0cffc;
}

.form-check-label {
    color: #4a0072;
    font-weight: 500;
}

/* User Reviews Section */
.user-reviews {
    background-color: #fff;
}

.user-reviews h2 {
    color: #4a0072;
}

.review-card {
    background-color: #fff;
    border: 1px solid #e0cffc;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

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

.review-card h5 {
    color: #4a0072;
}

.review-card .rating-stars i {
    font-size: 1rem;
}

.review-feedback .btn-outline-success {
    color: #28a745;
    border-color: #28a745;
}

.review-feedback .btn-outline-success:hover {
    background-color: #28a745;
    color: #fff;
}

.review-feedback .btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}

.review-feedback .btn-outline-danger:hover {
    background-color: #dc3545;
    color: #fff;
}

.review-vote-btn {
    transition: all 0.2s ease;
}

.review-vote-btn:active {
    transform: scale(0.95);
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #e0cffc; /* Distinct light purple background */
    padding: 3rem 0;
}

.disclaimer-content {
    background-color: #fff;
    border: 2px solid #ffc107; /* Warning border color */
    color: #333;
}

.disclaimer-content h3 {
    color: #dc3545; /* Red for warning heading */
    font-weight: 700;
}

.disclaimer-content i {
    color: #ffc107; /* Warning icon color */
}

/* Footer */
.site-footer {
    background-color: #4a0072; /* Dark purple footer */
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.site-footer .navbar-brand .logo-img {
    height: 30px;
}

.site-footer .navbar-brand .brand-text {
    color: #fff;
    font-size: 1.3rem;
}

.site-footer h5 {
    color: #fff;
    font-weight: 600;
}

.site-footer .footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.site-footer .footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

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

.site-footer .footer-img {
    max-width: 120px; /* Adjusted max-width for uniformity */
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

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

.site-footer .age-icon-18plus {
    background-color: #dc3545; /* Red background for 18+ icon */
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    min-height: 40px;
}

.site-footer .age-icon-18plus i {
    margin-right: 5px;
}

/* Sticky Mobile Footer Bar */
.mobile-footer-bar {
    background-color: rgba(74, 0, 114, 0.95); /* Dark purple, semi-transparent */
    color: #fff;
    z-index: 500; /* Above other content, below modals */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-footer-bar .mobile-footer-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-footer-bar .mobile-footer-item:hover {
    color: #fff;
    transform: translateY(-2px);
}

.mobile-footer-bar .mobile-footer-item i {
    font-size: 1.5rem;
}

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

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

.age-verification-content {
    background-color: #4a0072; /* Dark purple background */
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.age-verification-modal.show .age-verification-content {
    transform: translateY(0);
    opacity: 1;
}

.age-verification-content h2 {
    color: #fff;
    font-size: 1.5rem;
}

.age-verification-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    max-width: 90%;
    background-color: #fff;
    border-radius: 8px;
    z-index: 1050; /* Above mobile footer, below main modals */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.5s ease-out;
}

.cookie-consent-banner.show {
    transform: translateX(0);
}

.cookie-consent-banner .card-title {
    color: #4a0072;
    font-weight: 600;
}

.cookie-consent-banner .card-text {
    font-size: 0.9rem;
    color: #555;
}

/* Cookie Customization Modal */
#cookieCustomizationModal .modal-content {
    border-radius: 10px;
}

#cookieCustomizationModal .modal-header {
    background-color: #f0e6fa;
    border-bottom: 1px solid #e0cffc;
}

#cookieCustomizationModal .modal-title {
    color: #4a0072;
}

#cookieCustomizationModal .form-check-label {
    color: #4a0072;
}

#cookieCustomizationModal .form-text {
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

#cookieCustomizationModal .form-check-input:checked {
    background-color: #6a0dad;
    border-color: #6a0dad;
}

/* Responsive adjustments for cookie banner */
@media (max-width: 575.98px) {
    .cookie-consent-banner {
        bottom: 100px; /* Adjust for mobile footer bar */
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 95%;
    }
    .cookie-consent-banner.show {
        transform: translateX(-50%);
    }
}
/* New styles for content within the .infoGuardBlock container */

/* Container for protected information block */
.infoGuardBlock {
    padding-top: 3rem;    /* Top padding for the block */
    padding-left: 1.5rem; /* Left padding for the block */
    padding-right: 1.5rem;/* Right padding for the block */
}

/* Responsive padding for .infoGuardBlock on larger screens */
@media (min-width: 768px) {
    .infoGuardBlock {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Heading 1 styles within .infoGuardBlock */
.infoGuardBlock h1 {
    font-size: 2.5rem;      /* Moderate size for main section titles */
    margin-top: 0;          /* Remove top margin if it's the first element in the block */
    margin-bottom: 1.5rem;  /* Spacing below the heading */
    color: #4a0072;         /* Dark purple, consistent with theme */
    line-height: 1.2;       /* Improved readability */
}

/* Heading 2 styles within .infoGuardBlock */
.infoGuardBlock h2 {
    font-size: 2rem;        /* Moderate size for sub-section titles */
    margin-top: 2rem;       /* Spacing above the heading */
    margin-bottom: 1.2rem;  /* Spacing below the heading */
    color: #4a0072;
    line-height: 1.25;
}

/* Heading 3 styles within .infoGuardBlock */
.infoGuardBlock h3 {
    font-size: 1.6rem;      /* Moderate size for minor headings */
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    color: #4a0072;
    line-height: 1.3;
}

/* Heading 4 styles within .infoGuardBlock */
.infoGuardBlock h4 {
    font-size: 1.3rem;      /* Moderate size for sub-minor headings */
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #4a0072;
    line-height: 1.4;
}

/* Heading 5 styles within .infoGuardBlock */
.infoGuardBlock h5 {
    font-size: 1.15rem;     /* Moderate size for small headings */
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    color: #4a0072;
    line-height: 1.5;
}

/* Paragraph styles within .infoGuardBlock */
.infoGuardBlock p {
    font-size: 1rem;        /* Standard paragraph font size */
    margin-bottom: 1rem;    /* Spacing below paragraphs */
    color: #333;            /* Standard text color */
    line-height: 1.6;       /* Standard line height for body text */
}

/* Unordered list styles within .infoGuardBlock */
.infoGuardBlock ul {
    margin-top: 1rem;       /* Spacing above the list */
    margin-bottom: 1rem;    /* Spacing below the list */
    padding-left: 25px;     /* Indentation for list items */
    list-style-type: disc;  /* Default disc style */
    color: #333;
}

/* List item styles within .infoGuardBlock */
.infoGuardBlock ul li {
    font-size: 1rem;        /* Standard list item font size */
    margin-bottom: 0.5rem;  /* Spacing between list items */
    line-height: 1.5;       /* Line height for list items */
}

/* Ensure last element in the block doesn't have extra bottom margin */
.infoGuardBlock *:last-child {
    margin-bottom: 0;
}
.site-footer p {
    color: #f0e6fa !important;
}
#cookieConsentBanner {
    z-index: 1000;
}
.rating-criteria .row {
justify-content: center !important;
}
.hidden {
     display: none !important;
}