/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 600;
}

a {
    color: #8be9fd;
    text-decoration: none;
}

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

.container {
    max-width: 1200px;
}
.navbar-brand{
    color: #8be9fd!important;
    display: flex;
    align-items: center;
    gap: 7px;
}
.section-title {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #8be9fd;
    border-radius: 2px;
}

.bg-darker-gradient {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
}

/* Header */
header {
    background-color: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1030;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    padding-top: 56px; /* Adjust for fixed header */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(15, 15, 26, 0.8));
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.8rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    background: linear-gradient(45deg, #8be9fd, #bd93f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p.lead {
    font-size: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Rating Grid Section */
.rating-card {
    background-color: #2e2e4a;
    border: 1px solid #44446a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.rating-card-img-link img {
    border-radius: 8px;
    object-fit: contain;
    max-height: 120px;
    width: auto;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8be9fd;
}

.rating-stars .bi-star-fill, .rating-stars .bi-star-half {
    color: #ffc107;
}

.features-list li {
    color: #cccccc;
    margin-bottom: 5px;
}

.features-list li i {
    color: #28a745;
}

.btn-primary {
    background-color: #8be9fd;
    border-color: #8be9fd;
    color: #1a1a2e;
    font-weight: 500;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #bd93f9;
    border-color: #bd93f9;
    color: #1a1a2e;
}

/* Editor's Rating Section */
.editor-card {
    background-color: #2e2e4a;
    border: 1px solid #44446a;
    color: #e0e0e0;
}

.editor-card .card-title {
    color: #ffffff;
}

.progress {
    height: 10px;
    background-color: #44446a;
}

.progress-bar {
    transition: width 1s ease-in-out;
}

/* Rating Criteria Section */
.accordion-item {
    background-color: #2e2e4a;
    border: 1px solid #44446a;
    margin-bottom: 10px;
}

.accordion-button {
    background-color: #2e2e4a;
    color: #ffffff;
    font-weight: 500;
    border-bottom: 1px solid #44446a;
}

.accordion-button:not(.collapsed) {
    color: #8be9fd;
    background-color: #3a3a5a;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    color: #cccccc;
    background-color: #24243a;
}

/* User Reviews Section */
.review-card {
    background-color: #2e2e4a;
    border: 1px solid #44446a;
    color: #e0e0e0;
}

.review-card h6 {
    color: #ffffff;
}

.review-card .rating-stars .bi-star-fill {
    color: #ffc107;
}

.read-more-btn {
    color: #8be9fd;
    padding: 0;
    border: none;
    background: none;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.875em;
}

.review-text.expanded .truncated-text {
    display: inline;
}

.review-text .truncated-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-text.expanded .read-more-btn::before {
    content: 'Moins';
}

.review-text .read-more-btn::before {
    content: 'Lire la suite';
}

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

.disclaimer-content {
    background-color: #2a2a40;
    border: 2px solid #bd93f9;
    color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.disclaimer-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: rgba(189, 147, 249, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.disclaimer-content::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: rgba(139, 233, 253, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.disclaimer-content > * {
    position: relative;
    z-index: 1;
}

.disclaimer-icon {
    font-size: 3rem;
    color: #ffcc00;
}

.disclaimer-title {
    color: #bd93f9;
    font-size: 2rem;
}

.disclaimer-contacts a {
    color: #8be9fd;
    text-decoration: underline;
}

.disclaimer-contacts a:hover {
    color: #bd93f9;
}

/* Footer */
.footer {
    background-color: #0f0f1a;
    border-top: 1px solid #2e2e4a;
    color: #cccccc;
}

.footer h5 {
    color: #ffffff;
}

.footer a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.accordion-button::after{
    background-color: white;
}

.footer a:hover {
    color: #8be9fd;
    text-decoration: underline;
}

.trust-badges .badge {
    font-size: 0.85em;
    padding: 0.5em 0.8em;
    border-radius: 0.3rem;
}
.trust-badges{
    display: flex;
    gap: 7px;
        flex-wrap: wrap;
    justify-content: end;
}
@media (max-width:767px) {
    .trust-badges{
        justify-content: center;
    }
}
.trust-badges .badge.bg-primary {
    background-color: #8be9fd !important;
    color: #1a1a2e !important;
}

.trust-badges .badge.bg-info {
    background-color: #bd93f9 !important;
    color: #1a1a2e !important;
}

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

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

.footer-logo-18plus {
    max-width: 50px;
    height: auto;
    object-fit: contain;
}

/* Age Verification Splash Screen */
.age-verification-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    color: #e0e0e0;
    display: flex;
}

.age-verification-splash.d-none {
    display: none !important;
}

.splash-content {
    background-color: #2a2a40;
    border: 1px solid #44446a;
    max-width: 500px;
    animation: fadeInScale 0.5s ease-out forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.age-verification-splash h2 {
    color: #8be9fd;
    font-weight: 700;
}

.age-verification-splash .btn-primary {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.age-verification-splash .btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.age-verification-splash .btn-secondary {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

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

/* Cookie Banner */
.cookie-banner {
    background-color: #2e2e4a;
    color: #e0e0e0;
    border-top: 1px solid #44446a;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    animation: slideInUp 0.5s ease-out forwards;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner .btn-primary {
    background-color: #8be9fd;
    border-color: #8be9fd;
    color: #1a1a2e;
}

.cookie-banner .btn-primary:hover {
    background-color: #bd93f9;
    border-color: #bd93f9;
}

.cookie-banner .btn-outline-secondary {
    color: #8be9fd;
    border-color: #8be9fd;
}

.cookie-banner .btn-outline-secondary:hover {
    background-color: #8be9fd;
    color: #1a1a2e;
}

/* Cookie Modal */
.modal-content {
    background-color: #2e2e4a;
    color: #e0e0e0;
    border: 1px solid #44446a;
}

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

.modal-title {
    color: #ffffff;
}

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

.form-check-input:checked {
    background-color: #8be9fd;
    border-color: #8be9fd;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 233, 253, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .rating-card {
        flex-direction: column;
    }

    .rating-card-img-link {
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
    }

    .rating-card-body {
        text-align: center !important;
    }

    .d-flex.justify-content-md-start {
        justify-content: center !important;
    }

    .footer .text-md-start, .footer .text-md-end {
        text-align: center !important;
    }

    .footer-logos {
        flex-direction: row;
        justify-content: center;
    }

    .cookie-banner .container {
        flex-direction: column;
    }

    .cookie-banner .btn-group {
        width: 100%;
    }

    .cookie-banner .btn {
        width: 100%;
    }
}
/* Styles for the securePolicyGrid container */
.securePolicyGrid {
    padding: 60px 30px; /* Top/bottom and left/right padding */
    background-color: #1a1a2e; /* Background color matching the body */
    color: #e0e0e0; /* Default text color */
}

/* Heading 1 styles within securePolicyGrid */
.securePolicyGrid h1 {
    font-size: 2.4rem; /* Font size for H1 */
    margin-bottom: 1.5rem; /* Bottom margin for spacing */
    color: #ffffff; /* White color for headings */
    font-weight: 600; /* Semi-bold font weight */
}

/* Heading 2 styles within securePolicyGrid */
.securePolicyGrid h2 {
    font-size: 2rem; /* Font size for H2 */
    margin-bottom: 1.2rem; /* Bottom margin for spacing */
    color: #ffffff; /* White color for headings */
    font-weight: 600; /* Semi-bold font weight */
}

/* Heading 3 styles within securePolicyGrid */
.securePolicyGrid h3 {
    font-size: 1.7rem; /* Font size for H3 */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    color: #ffffff; /* White color for headings */
    font-weight: 600; /* Semi-bold font weight */
}

/* Heading 4 styles within securePolicyGrid */
.securePolicyGrid h4 {
    font-size: 1.4rem; /* Font size for H4 */
    margin-bottom: 0.8rem; /* Bottom margin for spacing */
    color: #ffffff; /* White color for headings */
    font-weight: 600; /* Semi-bold font weight */
}

/* Heading 5 styles within securePolicyGrid */
.securePolicyGrid h5 {
    font-size: 1.2rem; /* Font size for H5 */
    margin-bottom: 0.6rem; /* Bottom margin for spacing */
    color: #ffffff; /* White color for headings */
    font-weight: 600; /* Semi-bold font weight */
}

/* Paragraph styles within securePolicyGrid */
.securePolicyGrid p {
    font-size: 1.1rem; /* Standard font size for paragraphs */
    line-height: 1.8; /* Line height for readability */
    margin-bottom: 1rem; /* Bottom margin for spacing between paragraphs */
    color: #cccccc; /* Light gray color for paragraph text */
}

/* Unordered list styles within securePolicyGrid */
.securePolicyGrid ul {
    list-style: disc; /* Default disc list style */
    padding-left: 25px; /* Indentation for list items */
    margin-bottom: 1.5rem; /* Bottom margin for spacing after the list */
}

/* Ordered list styles within securePolicyGrid (optional, but good practice) */
.securePolicyGrid ol {
    list-style: decimal; /* Default decimal list style */
    padding-left: 25px; /* Indentation for list items */
    margin-bottom: 1.5rem; /* Bottom margin for spacing after the list */
}

/* List item styles within securePolicyGrid */
.securePolicyGrid li {
    margin-bottom: 0.8rem; /* Bottom margin for spacing between list items */
    color: #cccccc; /* Light gray color for list item text */
}
