body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

:root {
    --primary-color: #8B0000; /* Dark Red / Bordeaux */
    --secondary-color: #A52A2A; /* Brown / Lighter Bordeaux */
    --light-bordeaux: #fdf0f0;
    --text-color: #333;
    --light-text-color: #666;
    --white: #fff;
    --dark-overlay: rgba(0, 0, 0, 0.6);
}

/* Global styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.bg-light-bordeaux {
    background-color: var(--light-bordeaux);
}

.section-title {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Age Restriction Banner */
.age-restriction-banner {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.85rem;
}

/* Header */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.navbar-brand .site-name {
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.offcanvas-header {
    background-color: var(--primary-color);
    color: var(--white);
}

.offcanvas-title {
    color: var(--white);
}

.offcanvas-body {
    background-color: var(--white);
}

.offcanvas .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.offcanvas .nav-link:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero-section {
    background-image: url('visuals/graphics/hero-background_271.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
    min-height: 500px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--dark-overlay);
}

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

.hero-section h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Our Platform Block */
#about h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

#about h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--secondary-color);
}

/* Rating Grid Block (Recommended Platforms) */
.platform-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.platform-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.platform-logo {
    max-width: 150px;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
}

.platform-details h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.platform-details p {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.platform-details strong {
    color: var(--text-color);
}

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

.platform-details .text-secondary {
    color: #ccc !important; /* Grey for empty stars */
}

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

.platform-details a:hover {
    text-decoration: underline;
}

.btn-ouvrir {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
}

/* Why Choose Our Platform Block */
#why-choose-us h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--secondary-color);
}

#why-choose-us .bi {
    color: var(--primary-color);
}

/* Responsible Gaming / Safety Block */
#safety h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--secondary-color);
}

#safety .bi {
    color: var(--primary-color);
}

/* FAQ Block */
.accordion-item {
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--text-color);
    background-color: var(--white);
    padding: 1rem 1.25rem;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--light-bordeaux);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.accordion-body {
    padding: 1.25rem;
    background-color: var(--white);
    color: var(--light-text-color);
}

/* Contact Form Block */
#contact .card {
    border: none;
    border-radius: 10px;
}

#contact .form-label {
    font-weight: 500;
    color: var(--text-color);
}

#contact .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(139, 0, 0, 0.25);
}

.btn-lg {
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

/* Disclaimer Block */
#disclaimer-section {
    background-color: #f0f0f0; /* Light grey background */
}

.disclaimer-box {
    border: 1px solid #ffcc00; /* Yellowish border */
    background-color: #fff8e1; /* Light yellow background */
    color: #616161; /* Dark grey text */
}

.disclaimer-box h3 {
    color: #ff9800; /* Orange for warning title */
}

.disclaimer-box p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer .site-name {
    color: var(--white);
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer ul {
    padding-left: 0;
    list-style: none;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.25rem 0;
    display: inline-block;
}

.footer ul li a:hover {
    color: var(--white);
}

.footer-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px; /* Fixed width for logos */
    height: auto;
    padding: 5px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-partner-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-18-plus-icon {
    background-color: #dc3545; /* Red background */
    color: var(--white);
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 60px;
}

/* Responsive Typography */
@media (max-width: 1023.98px) {
    .navbar-brand .site-name {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
    }
    .section-title {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }
    .hero-section h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .hero-section p {
        font-size: clamp(1rem, 2vw, 1.15rem);
    }
    #about h3, #why-choose-us h3, #safety h3 {
        font-size: clamp(1.1rem, 3vw, 1.4rem);
    }
    .accordion-button {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    }
}

@media (max-width: 767.98px) {
    .navbar-brand .site-name {
        font-size: 1.25rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    #about h3, #why-choose-us h3, #safety h3 {
        font-size: 1.1rem;
    }
    .platform-card .card-body {
        flex-direction: column;
        text-align: center;
    }
    .platform-logo-link {
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
    }
    .platform-details {
        width: 100%;
    }
    .btn-ouvrir {
        width: 100%;
    }
    .footer-partner-logo {
        width: 100px;
    }
    .footer .row > div {
        text-align: center;
    }
    .footer .navbar-brand {
        justify-content: center;
    }
    .footer ul {
        display: inline-block;
        text-align: left;
    }
    .footer .d-flex.flex-wrap {
        justify-content: center !important;
    }
}
/* New stock styles for common elements within .regShieldWrap */

.regShieldWrap {
    /* Container padding */
    padding: 2rem 1.5rem; /* Top/bottom 2rem, left/right 1.5rem */
}

.regShieldWrap h1 {
    /* Heading 1 styles */
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.regShieldWrap h2 {
    /* Heading 2 styles */
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.regShieldWrap h3 {
    /* Heading 3 styles */
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 1.6rem;
    margin-bottom: 0.7rem;
}

.regShieldWrap h4 {
    /* Heading 4 styles */
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
}

.regShieldWrap h5 {
    /* Heading 5 styles */
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

.regShieldWrap p {
    /* Paragraph styles */
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.regShieldWrap ul {
    /* Unordered list styles */
    list-style-type: disc; /* Default bullet style */
    margin-bottom: 1rem; /* Space after the list */
    padding-left: 1.5rem; /* Indent the list items */
}

.regShieldWrap li {
    /* List item styles */
    font-size: 1rem; /* Ensure list items have a readable size */
    line-height: 1.5;
    margin-bottom: 0.5rem; /* Space between list items */
}
