/* Global Styles */
:root {
    --dark-purple: #3a0150;
    --dark-purple-light: #4a0260;
    --dark-purple-footer: #2a003a;
    --gold: #ffc107;
    --gold-light: #ffd700;
    --gold-dark: #cc9a00;
    --light-text: #f8f9fa;
    --modal-bg: #21002b;
    --disclaimer-bg: #2c003c;
    --input-bg: #300040;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--dark-purple);
    color: var(--light-text);
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--gold);
}

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

a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

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

.text-gold-light {
    color: var(--gold-light) !important;
}

.bg-dark-purple {
    background-color: var(--dark-purple) !important;
}

.bg-dark-purple-light {
    background-color: var(--dark-purple-light) !important;
}

.bg-dark-purple-footer {
    background-color: var(--dark-purple-footer) !important;
}

.bg-gold-dark {
    background-color: var(--gold-dark) !important;
}

.bg-modal-dark {
    background-color: var(--modal-bg) !important;
}

.bg-dark-purple-input {
    background-color: var(--input-bg) !important;
}

.border-gold-light {
    border-color: rgba(var(--gold-light), 0.3) !important;
    border-width: 1px !important;
    border-style: solid !important;
}

.border-bottom-gold-light {
    border-bottom: 1px solid rgba(var(--gold-light), 0.3) !important;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--dark-purple);
    border: 1px solid var(--gold);
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--gold-light);
    color: var(--dark-purple);
    border-color: var(--gold-light);
}

.btn-secondary-custom {
    background-color: #6c757d;
    color: var(--light-text);
    border: 1px solid #6c757d;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: #5a6268;
    color: var(--light-text);
    border-color: #545b62;
}

.custom-button {
    white-space: normal;
    word-break: break-word;
    text-align: center;
    display: inline-block;
}

.text-light-hover-gold {
    color: var(--light-text);
    transition: color 0.3s ease;
}

.text-light-hover-gold:hover {
    color: var(--gold) !important;
}

/* Header Top Bar */
.header-top-bar {
    position: relative;
}

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

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.navbar-toggler {
    border-color: var(--gold);
}

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

.offcanvas-header {
    border-bottom: 1px solid rgba(var(--gold), 0.2);
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
}

/* Hero Section */
.hero-section {
    background-image: url('static/graphics/hero-background_40.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0 !important;
}

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

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

.hero-advantages {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.hero-advantages li {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.max-w-800 {
    max-width: 800px;
}

/* Custom List (for advantages, features, etc.) */
.custom-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.custom-list li i {
    margin-top: 0.2rem;
}

/* Offer Cards */
.offer-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.offer-card .offer-logo {
    height: 200px;
    width: 100%;
    object-fit: contain;
    padding: 10px;
    margin: 1rem auto;
    display: block;
}

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

.offer-card .rating-number {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Feature Cards (Player's Choice) */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Review Cards */
.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.review-card .avatar-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--gold);
}

/* Accordion (FAQ) */
.accordion-item {
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-button {
    color: var(--gold) !important;
    font-weight: 600;
    background-color: var(--modal-bg) !important;
    border: none;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--dark-purple-light) !important;
    color: var(--gold-light) !important;
}

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

.accordion-body {
    background-color: var(--modal-bg);
    border-top: 1px solid rgba(var(--gold-light), 0.1);
}

/* Contact Form */
.contact-form-container {
    border-radius: 0.75rem !important;
}

.form-control {
    border-color: rgba(var(--gold), 0.3);
}

.form-control:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 0 0.25rem rgba(var(--gold), 0.25);
    background-color: var(--input-bg);
    color: var(--light-text);
}

.form-control::placeholder {
    color: rgba(var(--light-text), 0.6);
}

.email-break-all {
    word-break: break-all;
}

/* Disclaimer Block */
.bg-disclaimer {
    background-color: var(--disclaimer-bg);
    position: relative;
}

.disclaimer-box {
    border-width: 2px !important;
}

/* Footer */
.footer-logos {
    margin-top: 2rem;
}

.footer-logo-item {
    max-width: 120px;
    height: auto;
    object-fit: contain;
    filter: brightness(0.8) contrast(1.2);
}

.footer-logo-item.18-plus-icon-size {
    max-width: 60px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    z-index: 1100;
    border-radius: 0.75rem;
    display: none; /* Hidden by default */
}

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

.cookie-banner .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--gold), 0.25);
}

/* Cookie Customization Modal */
#cookieCustomizationModal {
    z-index: 1101; /* Higher than banner */
}

/* Responsive Typography */
/* Desktop */
@media (min-width: 1024px) {
    .site-title {
        font-size: 2.2rem;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    h3 {
        font-size: 1.8rem;
    }
    h4 {
        font-size: 1.5rem;
    }
    .hero-advantages li {
        font-size: 1.3rem;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .site-title {
        font-size: 2rem;
    }
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.6rem;
    }
    h4 {
        font-size: 1.4rem;
    }
    .hero-advantages li {
        font-size: 1.1rem;
    }
    .navbar-collapse {
        justify-content: flex-end;
    }
}

/* Mobile */
@media (max-width: 1199px) {
    .navbar-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-nav .nav-item {
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .site-title {
        font-size: 1.25rem;
    }
    h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.25rem;
    }
    h4 {
        font-size: 1.1rem;
    }
    .hero-advantages li {
        font-size: 1rem;
    }

    .hero-advantages {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .offer-card .row > div {
        text-align: center;
    }
    .offer-card .offer-logo {
        margin-bottom: 1rem;
    }
    .review-card .avatar-img {
        width: 50px;
        height: 50px;
    }
    .footer-logos {
        justify-content: center;
        gap: 1.5rem;
    }
    .footer-logo-item {
        max-width: 90px;
    }
    .footer-logo-item.18-plus-icon-size {
        max-width: 50px;
    }
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
    .header-top-bar p {
        font-size: 0.75rem !important;
    }
}

/* Modal Scroll for small screens */
@media (max-height: 600px) {
    .modal-body {
        max-height: calc(100vh - 200px);
        overflow-y: auto;
    }
}

/* Ensure buttons do not clip text */
.btn {
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

/* Comparison table specific styles */
.comparison-table {
    border-collapse: separate;
    border-spacing: 0 0.5rem; /* Add space between rows */
}

.comparison-table thead th {
    border-bottom: 2px solid var(--gold);
    padding: 1rem;
    text-align: left;
}

.comparison-table tbody tr {
    background-color: var(--modal-bg);
    border: 1px solid rgba(var(--gold-light), 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.comparison-table tbody tr:hover {
    background-color: var(--dark-purple-light);
    transform: translateY(-3px);
}

.comparison-table tbody td, .comparison-table tbody th {
    padding: 1rem;
    vertical-align: middle;
    border: none; /* Remove individual cell borders */
}

.comparison-table tbody th {
    color: var(--gold);
    font-weight: 600;
}

.comparison-table .rating i {
    font-size: 1rem;
}

@media (max-width: 767px) {
    .comparison-table thead {
        display: none;
    }
    .comparison-table tbody tr {
        display: block;
        margin-bottom: 1rem;
    }
    .comparison-table tbody td, .comparison-table tbody th {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(var(--gold-light), 0.1);
    }
    .comparison-table tbody td:last-child, .comparison-table tbody th:last-child {
        border-bottom: none;
    }
    .comparison-table tbody td::before, .comparison-table tbody th::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--gold);
        margin-right: 1rem;
    }
    .comparison-table tbody th[scope="row"]::before {
        content: "Plateforme";
    }
    .comparison-table tbody td:nth-of-type(1)::before { content: "Bonus Principal"; }
    .comparison-table tbody td:nth-of-type(2)::before { content: "Types de Jeux"; }
    .comparison-table tbody td:nth-of-type(3)::before { content: "Note Globale"; }
    .comparison-table tbody td:nth-of-type(4)::before { content: "Points Forts"; }
}
/* Main container styling for padding */
.policyOrbitalShell {
    padding: 2.5rem 1.5rem; /* Top/bottom and left/right padding for the content area */
    /* You might want to add a max-width and center it for better readability on large screens, e.g.: */
    /* max-width: 75ch; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Headings styles */
.policyOrbitalShell h1 {
    font-size: 1.8em; /* Slightly smaller than typical default H1, but still prominent */
    line-height: 1.2; /* Improved readability for headings */
    margin-top: 2.5rem; /* Space above the heading */
    margin-bottom: 1.5rem; /* Space below the heading */
    font-weight: 600; /* A bit less bold than default 700, but still strong */
}

.policyOrbitalShell h2 {
    font-size: 1.4em; /* Medium-large heading size */
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.policyOrbitalShell h3 {
    font-size: 1.2em; /* Medium heading size */
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 500; /* Slightly less bold */
}

.policyOrbitalShell h4 {
    font-size: 1.1em; /* Small-medium heading size */
    line-height: 1.5;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.policyOrbitalShell h5 {
    font-size: 1em; /* Close to body text size, but still distinct as a heading */
    line-height: 1.5;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Paragraph style */
.policyOrbitalShell p {
    font-size: 1rem; /* Base font size for paragraphs */
    line-height: 1.6; /* Improved readability for body text */
    margin-bottom: 1.2rem; /* Space between paragraphs */
}

/* Unordered list styles */
.policyOrbitalShell ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1rem; /* Space above the list */
    margin-bottom: 1.2rem; /* Space below the list */
    padding-left: 1.5rem; /* Indent for bullet points */
}

/* List item styles */
.policyOrbitalShell li {
    font-size: 1rem; /* Consistent font size with paragraphs */
    line-height: 1.6; /* Consistent line height with paragraphs */
    margin-bottom: 0.6rem; /* Space between individual list items */
}


#offers{
    .card {
        color: #fff !important;
    }
}

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

.offcanvas {
    z-index: 99999999;
}

@media (max-width: 575px){
    .custom-list li{
        display: block;
        text-align: left;
    }
}

.wr{
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    main{
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}