@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
body {
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
}
.container {
    margin: 0 auto;
    max-width: 1068px;
    padding-inline: 10px;
}
header,
main {
    position: relative;
}
header .container {
    display: flex;
    flex-direction: column;
}
nav {
    margin-bottom: 40px;
    padding-top: 15px;
}
.nav-logo {
    height: 150px;
    width: 150px;
}
.nav-logo-wrap img {
    width: 200px;
    height: auto;
}
.nav-logo-wrap a {
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    text-decoration: none;
}
.nav-logo-wrap > div {
    align-items: center;
    display: flex;
    gap: 58px;
}
.header-bg {
    background-image: url("https://jeuxargentfr.com/wp-content/themes/jeuxargentfr-com/img/bg.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}
.main-bg {
    background-image: url("https://jeuxargentfr.com/wp-content/themes/jeuxargentfr-com/img/bg2.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}
@media (max-width: 1000px) {
    .header-bg {
        background-image: url("https://jeuxargentfr.com/wp-content/themes/jeuxargentfr-com/img/bg-mobile.png");
        background-position: bottom;
    }
}
.hero-text-block {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}
.hero-text-block h1 {
    color: #fff;
    font-size: 34px;
    font-weight: 600;
    font-style: normal;
    line-height: 50px;
    margin: 0;
    text-align: center;
    text-shadow: 0 4px 14px #0000001a;
}
.hero-text-block h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 26px;
    margin: 0;
    text-align: center;
    text-shadow: 0 4px 14px #0000001a;
    width: 70%;
}
.cards-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 80px;
    padding-top: 48px;
}
.card-wrapper {
    border-radius: 16px;
    display: flex;
    width: 100%;
}
.card-left {
    background: #000;
    border: 1px solid #282740;
    border-bottom: none;
    border-bottom-left-radius: 16px;
    border-right: none;
    border-top-left-radius: 16px;
    display: flex;
    flex-direction: column;
    width: 252px;
}
.card-top-bar {
    align-items: center;
    display: flex;
}
.card-rank {
    align-items: center;
    background-color: #fff;
    border-top-left-radius: 16px;
    color: #000;
    display: flex;
    font-size: 20px;
    font-weight: 700;
    height: 40px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 24px;
    width: 40px;
}
.card-top-bar .card-badge {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 15px;
    font-weight: 500;
    height: 40px;
    letter-spacing: 0;
    padding-inline: 8px;
}
.card-logo-block {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    justify-content: center;
    padding-bottom: 20px;
}
.mid {
    align-items: center;
    display: flex;
    justify-content: center;
}
.mid img {
    height: 109px;
    object-fit: contain;
    width: 166px;
}
.card-middle {
    background-color: #fff;
    border: 1px solid #282740;
    border-left: none;
    border-right: none;
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 16px 0 16px 16px;
    width: calc(100% - 471px);
}
.card-offer-block h3 {
    color: #282740;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 30px;
    margin: 0;
    word-break: break-word;
}
.offer-label {
    color: #282740;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 24px;
    margin-bottom: 4px;
}
.card-features {
    column-gap: 0;
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: repeat(2, 50%);
    row-gap: 8px;
}
.card-features div {
    align-items: start;
    display: flex;
    gap: 8px;
}
.card-features p {
    color: #282740;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 20px;
    margin: 0;
    word-break: break-word;
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
    color: #fff;
}
.positive-icon {
    background-color: #1a9e3f;
}
.negative-icon {
    background-color: #d93025;
}
.card-right {
    align-items: center;
    background: #efeff5;
    border: 1px solid #282740;
    border-bottom-right-radius: 16px;
    border-left: none;
    border-top-right-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
    padding: 10px 16px;
    width: 219px;
}
.offer-block-mobile {
    display: none;
}
.card-rating {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rating-score {
    color: #282740;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 47px;
}
.card-rating .star-rating,
.card-rating .star-rating:before {
    background-position-x: left;
    background-position-y: top;
    background-size: 20px;
    content: " ";
    display: block;
    max-width: 100px;
    min-height: 20px;
    min-width: 20px;
}
.card-rating .star-rating {
    background-image: url("https://jeuxargentfr.com/wp-content/themes/jeuxargentfr-com/img/star.png");
    width: 100px;
}
.card-rating .star-rating:before {
    background-image: url("https://jeuxargentfr.com/wp-content/themes/jeuxargentfr-com/img/star.png");
    margin: 0;
    padding: 0;
}
.card-rating .star-rating[dg="1"]:before    { width: 20px; }
.card-rating .star-rating[dg="1.5"]:before  { width: 30px; }
.card-rating .star-rating[dg="2"]:before    { width: 40px; }
.card-rating .star-rating[dg="2.5"]:before  { width: 50px; }
.card-rating .star-rating[dg="3"]:before    { width: 60px; }
.card-rating .star-rating[dg="3.5"]:before  { width: 70px; }
.card-rating .star-rating[dg="4"]:before    { width: 80px; }
.card-rating .star-rating[dg="4.5"]:before  { width: 90px; }
.card-rating .star-rating[dg="5"]:before    { width: 100px; }
.card-rating-desktop {
    display: flex;
}
.card-rating-mobile {
    display: none;
}
.btn-visit {
    align-items: center;
    background: linear-gradient(0deg, #da4b02, #ff5e0e);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    gap: 4px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 27px;
    padding: 16px 0;
    text-decoration: none;
    text-transform: capitalize;
    width: 187px;
}
footer {
    background: linear-gradient(180deg, #0b0915 29.58%, #0e2449 89.74%);
}
footer .container {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 90px;
}
.footer-top-spacing {
    margin-top: 90px;
}
.footer-disclaimer {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 20px;
    text-align: center;
}
.footer-disclaimer a {
    color: #fcdc5e;
}
.methodology-text {
    border-bottom: 1px solid #ffffff22;
    margin-bottom: 24px !important;
    padding-bottom: 24px;
}
.footer-logos {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 70px;
    justify-content: center;
    max-width: 900px;
}
.footer-logos img {
    max-height: 48px;
}
.footer-bottom {
    width: 100%;
}
.footer-divider {
    background-color: #757575;
    height: 1px;
    width: 100%;
}
.footer-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin: 32px 0;
}
.footer-links a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 20px;
    text-align: center;
}
.footer-copyright {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 20px;
    margin-bottom: 42px;
    margin-top: 32px;
    text-align: center;
}
.cookie-banner {
    background: #fff;
    border-radius: 16px;
    bottom: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    display: none;
    flex-direction: column;
    gap: 12px;
    left: 16px;
    max-width: 400px;
    outline: 1px solid #282740;
    padding: 16px;
    position: fixed;
    width: calc(100% - 32px);
    z-index: 100;
}
.cookie-banner p {
    color: #282740;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
}
.cookie-banner p a {
    color: #0e2449;
    text-decoration: underline;
}
.cookie-btn-group {
    align-items: center;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.cookie-btn {
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 700;
    height: 40px;
    padding-inline: 20px;
    transition: opacity 0.2s;
}
.cookie-btn:hover {
    opacity: 0.85;
}
.btn-cookie-accept {
    background: linear-gradient(0deg, #da4b02, #ff5e0e);
    color: #fff;
}
.btn-cookie-decline {
    background: #fff;
    color: #282740;
    outline: 1px solid #282740;
}
.cookie-learn-more {
    color: #282740;
    font-size: 13px;
    font-weight: 500;
    text-decoration: underline;
}
.content-card {
    background-color: #fff;
    border: 1px solid #e0dfec;
    border-radius: 16px;
    color: #282740;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 20px;
    margin-bottom: 3px;
    padding: 32px;
    text-align: left;
    margin-top: 48px;
    margin-bottom: 80px;
}
.content-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 0;
    color: #282740;
}
.content-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #282740;
    margin-top: 24px;
    margin-bottom: 8px;
}
.content-card p {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #282740;
    margin-bottom: 10px;
}
.content-block ol,
.content-block ul {
    margin: 0;
    margin-block: 5px;
    padding: 0;
}
@media (max-width: 1000px) {
    nav {
        margin-bottom: 35px;
    }
    .hero-text-block {
        gap: 8px;
    }
    .hero-text-block h1,
    .hero-text-block h2 {
        width: 100%;
    }
    .hero-text-block h1 {
        font-size: 20px;
        letter-spacing: 0;
        line-height: 24px;
    }
    .hero-text-block h2 {
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0;
        line-height: 17px;
    }
    .nav-logo {
        max-height: 40px;
    }
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
    .footer-logos img {
        max-height: 44px;
    }
    .cards-list {
        align-items: center;
        gap: 10px;
        padding-top: 16px;
    }
    .card-wrapper {
        justify-content: center;
        width: 343px;
    }
    .card-left {
        gap: 0;
        justify-content: center;
        position: relative;
        width: 170px;
    }
    .card-logo-block {
        gap: 12px;
        padding-bottom: 13px;
    }
    .card-top-bar {
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }
    .card-rank {
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        width: 24px;
    }
    .mid.card-img-wrap {
        padding-top: 32px;
    }
    .mid img {
        height: 76px;
        width: 109px;
    }
    .card-rating-mobile {
        display: flex;
        gap: 2px;
    }
    .card-rating-desktop {
        display: none;
    }
    .card-middle {
        display: none;
    }
    .card-right {
        background-color: #fff;
        border-bottom-color: #282740;
        gap: 12px;
        padding-top: 12px;
        padding-inline: 8px;
        padding-bottom: 8px;
    }
    .offer-block-mobile {
        align-items: center;
        display: flex;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    .offer-block-mobile .offer-label {
        color: #000;
        font-size: 13px;
        font-weight: 500;
        line-height: 20px;
        margin-bottom: 0;
    }
    .offer-block-mobile h3 {
        color: #282740;
        font-size: 16px;
        font-weight: 700;
        line-height: 24px;
        margin: 0;
        text-align: center;
    }
    .rating-score {
        color: #fff;
        font-size: 32px;
        font-weight: 700;
        line-height: 40px;
    }
    .btn-visit {
        font-size: 14px;
        padding: 8px;
        width: calc(100% - 16px);
    }
    .card-rating .star-rating,
    .card-rating .star-rating:before {
        background-size: 16px;
        max-width: 80px;
        min-height: 16px;
        min-width: 16px;
    }
    .card-rating .star-rating             { width: 80px; }
    .card-rating .star-rating[dg="1"]:before     { width: 16px; }
    .card-rating .star-rating[dg="1.5"]:before   { width: 24px; }
    .card-rating .star-rating[dg="2"]:before     { width: 31px; }
    .card-rating .star-rating[dg="2.5"]:before   { width: 40px; }
    .card-rating .star-rating[dg="3"]:before     { width: 48px; }
    .card-rating .star-rating[dg="3.5"]:before   { width: 56px; }
    .card-rating .star-rating[dg="4"]:before     { width: 63px; }
    .card-rating .star-rating[dg="4.5"]:before   { width: 72px; }
    .card-rating .star-rating[dg="5"]:before     { width: 80px; }
    .content-card {
        padding: 16px;
        font-size: 12px;
        margin-top: 16px;
        margin-bottom: 40px;
    }
}
@media (max-width: 768px) {
    .cookie-banner {
        left: 50%;
        transform: translateX(-50%);
        bottom: 12px;
        max-width: 360px;
    }
}
@media (max-width: 380px) {
    .footer-logos img {
        max-height: 40px;
    }
    .cookie-banner {
        left: 12px;
        transform: none;
        width: calc(100% - 24px);
    }
}