:root {
    --bg: #06070d;
    --surface: #0d0e1a;
    --surface2: #12142a;
    --border: rgba(255, 255, 255, 0.07);
    --gold: #f0c040;
    --gold-dim: #b08a20;
    --blue-glow: #3b8ff5;
    --purple-glow: #9b5cf5;
    --cyan: #00d4ff;
    --text: #e8eaf0;
    --text-dim: #bec3e2;
    --red: #e03060;
    --green: #4adf8a;
    --header-h: 50px;
}

@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/cinzel-v26-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cinzel-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/cinzel-v26-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cinzel-800 - latin */
@font-face {
    font-display: swap;
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 800;
    src: url('/fonts/cinzel-v26-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cinzel-900 - latin */
@font-face {
    font-display: swap;
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 900;
    src: url('/fonts/cinzel-v26-latin-900.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('/fonts/inter-v20-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('/fonts/inter-v20-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/inter-v20-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/inter-v20-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    src: url('/fonts/inter-v20-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

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

html {
    scroll-behavior: smooth;
}

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

li {
    list-style-type: none;
}

img {
    -webkit-user-drag: none;
    user-select: none;
}

strong {
    /* font-weight: 00; */
    color: var(--text);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-weight: 300;
    min-height: 100vh;
    overflow-x: hidden;
}

#header-page {
    /* height: 100%; */
    position: fixed;
    width: 100%;
    height: var(--header-h);
    z-index: 100;
}

.navbar {
    /* position: sticky;
  top: 0; */
    /* z-index: 100; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    background: rgba(6, 7, 13, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: "Cinzel", serif;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    background: linear-gradient(118deg, #ffc21f 25%, var(--cyan));
    /* background: linear-gradient(135deg, #c25cfc, #1a0cc2); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text);
}

.nav-cart.adder {
    /* border-color:var(--gold); */
    animation: adder 0.5s ease;
}

.nav-cart img {
    width: 16px;
    height: 16px;
    will-change: transform, top;
}

.nav-cart img.brrr {
    position: relative;
    animation: brrr 1.5s ease-in infinite,
        bzzz 1.52s ease-in infinite;
}

@keyframes brrr {
    0% {
        transform: rotate(0) translateX(0);
    }

    15% {
        transform: rotate(10deg) translateX(2px);
    }

    20% {
        transform: rotate(0deg) translateX(0px);
    }

    35% {
        transform: rotate(-10deg) translateX(-2px);
    }

    50% {
        transform: rotate(0) translateX(0);
    }

    100% {
        transform: rotate(0) translateX(0);
    }
}

@keyframes bzzz {
    0% {
        top: 0px
    }

    15% {
        top: 1px
    }

    20% {
        top: 0
    }

    35% {
        top: 1px
    }

    /* 40%{top:-1px} */
    50% {
        top: 0px
    }

    100% {
        top: 0px
    }
}

@keyframes adder {
    0% {
        border-color: var(--border);
    }

    100% {
        border-color: var(--gold);
    }
}

#cart-count {
    color: var(--gold);
}

.nav-cart:hover {
    border-color: var(--gold);
}

.deco {
    font-style: normal;
    background: linear-gradient(90deg, var(--gold), var(--cyan));
    /* background: linear-gradient(135deg, #c25cfc, #2125f0 60%, #1a0cc2); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@supports (aspect-ratio: 1) {
    .main-img-wrap {
        max-height: calc(100vh - var(--header-h, 50px) - 48px - 100px - 12px);
    }
}

@keyframes popImg {
    from {
        transform: translateY(-110%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes popB {
    from {
        transform: translateX(-110%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 50px 0 var(--glow);
    }

    50% {
        box-shadow: 0 0 50px 7px var(--glow);
    }

    100% {
        box-shadow: 0 0 50px 0 var(--glow);
    }

}

#cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dim);
    animation: cookieSlideUp 0.4s ease-out;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#cookie-banner .cb-text {
    flex: 1 1 380px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 640px;
}

#cookie-banner .cb-text a {
    color: var(--cyan);
    text-decoration: underline;
}

#cookie-banner .cb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#cookie-banner button {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

#cookie-banner .cb-accept-all {
    background: #c9a84c;
    color: #0f0f14;
}

#cookie-banner .cb-accept-all:hover {
    background: #ddbb5a;
}

#cookie-banner .cb-refuse {
    background: transparent;
    color: #f0f0f0;
    border-color: rgba(255, 255, 255, 0.25);
}

#cookie-banner .cb-refuse:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

#cookie-banner .cb-settings {
    background: transparent;
    /* color: #00e5ff; */
    /* border-color: rgba(0, 229, 255, 0.35); */
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text);

}

#cookie-banner .cb-settings:hover {}

#cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#cookie-modal .cm-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    max-width: 480px;
    width: 100%;
    font-family: 'Inter', sans-serif;
    color: var(--text);
}

#cookie-modal h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold-dim);
    margin: 0 0 16px;
    font-size: 18px;
}

#cookie-modal .cm-necessary-text {
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.2;
}

#cookie-modal .cm-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#cookie-modal .cm-row:last-of-type {
    border-bottom: none;
}

#cookie-modal .cm-row-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

#cookie-modal .cm-row-desc {
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.4;
}

#cookie-modal .btn-modal {
    padding: 5px 6px;
    border: var(--border) 1px solid;
    font-family: 'inter', serif;
    border-radius: 5px;
    font-size: 13px;
    background-color: var(--surface2);
    color: var(--text-dim);
    cursor: pointer;
}

#cookie-modal .cb-accept-all {
    background-color: var(--gold);
    color: rgb(11, 11, 11);
}

#cookie-modal .cm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}


.cb-switch {
    position: relative;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

.cb-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cb-switch .slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    cursor: pointer;
    transition: 0.2s;
}

.cb-switch .slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.2s;
}

.cb-switch input:checked+.slider {
    background: #c9a84c;
}

.cb-switch input:checked+.slider::before {
    transform: translateX(18px);
}

.cb-switch input:disabled+.slider {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    #cookie-banner {
        justify-content: flex-start;
        padding: 18px;
    }

    #cookie-banner .cb-actions {
        width: 100%;
    }

    #cookie-banner button {
        flex: 1;
    }
}

/*  */
main {
    padding-top: calc(var(--header-h) + 30px);
    width: 100%;
}

.sect {
    max-width: 1080px;
    margin: 0 auto;
    padding: 80px 40px 80px;
}

.title-sect {
    font-size: 2rem;
    font-family: "Cinzel", serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 70px;
    display: grid;
    place-items: center;
    text-align: center;

    line-height: 2.5rem;
}


.footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 60px 40px 32px;
    margin-top: 80px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo-wrap {
    width: 120px;


}

.footer-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-width: 100%;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}


.social-wrap {
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.social-wrap a {
    width: 26px;
    height: 26px;
}

.footer-tagline {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-dim);

}

.footer-pay {
    display: flex;
    gap: 12px;
}

.pay-badge {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-align: center;
    display: grid;
    place-items: center;
}

.pay-badge svg {
    height: 16px;
    width: auto;
    fill: currentColor;
}

.info-page-wrapper {
    /* display: none; */
    position: fixed;
    right: 25px;
    top: calc(var(--header-h) + 20px);
    /* background-color: #05060a93; */
}

.info-page-card {
    min-width: 150px;
    max-width: 250px;
    position: relative;
    z-index: 2;
    background-color: var(--surface2);
    border: var(--border) 1px solid;
    padding: 15px 10px;
    border-radius: 5px;
    animation: addCard 0.5s ease;

    margin: 12px 0;
}

.info-page-card.card_error {
    border-color: rgba(110, 0, 0, 0.787);
}

.info-page-card.card_good {
    border-color: var(--blue-glow);
}

.info-page-card.card_warning {
    border-color: rgba(251, 202, 41, 0.804);
}

.info-page-card.card_info {
    border-color: rgba(208, 208, 208, 0.655);
}

.info-page-card.removing {
    animation: remCard 0.5s ease;
}

@keyframes addCard {
    from {
        left: 100%;
    }

    to {
        left: 0;
    }
}

@keyframes remCard {
    from {
        left: 0
    }

    to {
        left: 100%
    }
}

.info-card-timer {
    display: block;
    position: absolute;
    height: 2px;
    background-color: var(--blue-glow);
    width: 100%;
    bottom: -5px;
    left: 0;
    opacity: 0.7;
    transition: none;
    will-change: width;

}

.info-page-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    color: rgba(132, 132, 132, 0.716);
}

.info-page-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 5px;
    text-transform: capitalize;
}

.info-page-card-body-wrap p {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.info-page-wrapper.visible {
    display: block;
}

@media(max-width:1024px) {
    .navbar {
        padding: 14px 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-inner>*:first-child {
        grid-column: 1 / 3;
    }

    /* ----- SECT ----- */
    .sect {
        padding: 60px 24px 60px;
    }

    .title-sect {
        line-height: 2.2rem;
    }
}

@media(max-width:768px) {
    main {
        padding-top: calc(var(--header-h) + 10px);
    }

    .navbar {
        padding: 12px 20px;
    }

    .nav-links {
        display: none;
    }

    .sect {
        padding: 48px 16px 48px;
        /* padding: 48px 40px 48px; */
        /* pas sur du plav*/

    }

    .title-sect {
        font-size: 1.6rem;
        margin-bottom: 48px;
    }

    .footer {
        padding: 40px 20px 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-inner>*:first-child {
        grid-column: 1 / 2;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media(max-width:600px) {

    /* ----- SECT ----- */
    .sect {
        padding: 36px 12px 36px;
    }

    /* ----- TITLE SECT ----- */
    .title-sect {
        font-size: 1.4rem;
        margin-bottom: 36px;
        line-height: 1.7rem;
    }

    .footer-pay {
        justify-content: center;
        align-items: center;
        align-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .footer-logo-wrap {
        width: 100px;


    }
}

@media(max-width:480px) {
    .navbar {
        padding: 10px 16px;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-cart {
        padding: 7px 14px;
        font-size: 0.76rem;
    }

    .sect {
        padding: 28px 10px 28px;
    }

    .title-sect {
        font-size: 1.3rem;
        margin-bottom: 28px;
    }

    .sect {
        padding: 28px 10px 28px;
    }

    .title-sect {
        font-size: 1.3rem;
        margin-bottom: 28px;
        line-height: 1.6rem;
    }

    .footer {
        padding: 32px 16px 20px;
        margin-top: 48px;
    }

    .footer-pay {
        flex-wrap: wrap;
    }

    .footer-logo-wrap {
        width: 90px;


    }
}

@media(max-width:360px) {
    .nav-logo {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }

    .nav-cart {
        padding: 6px 10px;
        font-size: 0.72rem;
    }

    .title-sect {
        font-size: 1.15rem;
        line-height: 1.5rem;
    }

    .footer-inner {
        gap: 18px;
    }
}