:root {
    --primary-bg: #000000;
    --accent-pink: #59A0CF;
    --text-white: #ffffff;
    --input-bg: #2a2a2a;
    --card-bg: #ffffff;
    --text-dark: #1a1a1a;
    --main-font: 'Kanit', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: var(--main-font);
    background-color: var(--primary-bg);
    color: var(--text-white);
    height: 100%;
    overflow-x: hidden;
    position: relative;
}

.img-token {
    position: absolute;
    top: 0;
    left: 0;
    height: 300px;
    width: 100%;
    z-index: 1;
    background-repeat: no-repeat;
}

.token-music {
    background-image: url(https://www.playzer.fr/landing-assets/images/music_token.webp);
    background-position: right 95%;
}

.token-origin {
    background-image: url(https://www.playzer.fr/landing-assets/images/more_token.webp);
    background-position: -240px 50%;
    top: 120px;
}

.token-comedy {
    background-image: url(https://www.playzer.fr/landing-assets/images/origin_token.webp);
    background-position: right 50%;
    top: 400px;
}

.hero-section {
    z-index: 2;
    position: relative;
    padding: 24px 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-repeat: no-repeat;
    background-position: 100% -15%;
}

.width-inner-section { width: 100%; }

.logo {
    font-weight: 800;
    font-size: 24px;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 50px;
}

.title-container {
    background-repeat: no-repeat;
    background-position: 0% -15%;
}

.wrap {
    background-repeat: no-repeat;
    background-position: 0% 35%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

p.xs {
    font-size: 14px;
    color: #676767;
    font-weight: 200;
    text-align: left;
}

p.xs > a {
    color: #676767;
    font-weight: 400;
}

.highlight { color: var(--accent-pink); }

.contain-rules {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.contain-rules p {
    margin: 0;
}

.form-container {
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

input {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    border: none;
    background: var(--input-bg);
    color: white;
    font-family: var(--main-font);
    font-size: 16px;
    margin-bottom: 15px;
    box-sizing: border-box;
    text-align: center;
}

.btn-primary {
    width: 100%;
    padding: 18px 0;
    border-radius: 12px;
    border: none;
    background: var(--accent-pink);
    color: white;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: opacity 0.3s;
    font-family: var(--main-font);
}

.wrap-presentation {
    width: 100%;
    max-width: 500px;
    padding: 80px 20px 40px 20px;
}

.secondary-title {
    text-align: left;
    line-height: 1.2em;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.35) 100%);
    display: none;
    justify-content: center;
    align-items: flex-end;
    z-index: 1000;
}

.modal-content {
    max-height: 82%;
    overflow: scroll;
    background: var(--card-bg);
    color: var(--text-dark);
    width: 100%;
    max-width: 500px;
    border-radius: 30px 30px 0 0;
    padding: 24px 20px;
    text-align: center;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-content h2 {
    font-weight: 800;
    font-size: 22px;
    margin: 0 0 20px 0;
}

.offer-badge .promo {
    font-size: 18px;
}
.offer-badge {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
}
.offer-badge>strong {
    font-size: 18px;
    margin-bottom: 4px;
}
.tag-price>small {
    font-size: 14px;
    margin: 6px 0 0 0;
}

.payment-box {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    margin-bottom: 15px;
}

.modal-input {
    background: #f0f0f0;
    color: #000;
    margin-top: 10px;
}

.hidden { display: none; }
.visible { display: flex; }

.back-btn {
    font-family: var(--main-font);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 10px 10px 10px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    display: none;
    margin: 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

.btn-loading .btn-text { display: none; }
.btn-loading .loader { display: block; }

.marquee-container {
    width: 100%;
    position: relative;
    user-select: none;
    -webkit-transform: translateZ(0);
}

.marquee-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: defilement-infini 30s linear infinite;
    align-items: center;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.marquee-item-img {
    width: 260px;
    height: auto;
    display: block;
    object-fit: contain;
    -webkit-user-drag: none;
}

@keyframes defilement-infini {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

footer {
    padding: 0 20px 64px 20px;
}

ul { padding: 0; }

ul li {
    padding: 0;
    list-style: none;
    display: flex;
}

.foot-link { padding: 0 0 24px 0; }

.foot-link ul li a {
    font-size: 14px;
    color: #A8A8A8;
    padding: 4px 0;
    text-decoration: none;
    font-weight: 400;
}

.foot-link ul li:last-child { padding: 12px 0; }

.foot-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
}

@media screen and (min-width: 500px) {
    .foot-link ul li {
        justify-content: center;
    }
}

#cookie_dialog {
    z-index: 999;
    position: fixed;
    width: 100%;
    bottom: 0;
    padding: 4px 12px;
    background-color: var(--primary-bg);
    font-family: var(--main-font);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    border-top: 1.5px solid;
    box-sizing: border-box;
    color: #A8A8A8;
    line-height: 12px;
    gap: 8px;
}

#cookie_dialog > p { margin: 0; }
#cookie_dialog > p > a { color: #A8A8A8; }

@media screen and (max-width: 480px) {
    #cookie_dialog { font-size: 12px; }
}

#cookie_dialog_close {
    width: 40px;
    height: 40px;
    background-color: var(--input-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 3px;
    cursor: pointer;
}

.payment-section {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}

.payment-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 500;
    color: #1a1a1a;
    user-select: none;
}

.payment-section-header .header-left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    flex-direction: column;
}

.payment-section-header .payment-logos {
    display: flex;
    align-items: center;
    gap: 6px;
}
.payment-logos svg {
    display: flex;
    height: auto;
    width: 2rem;
    flex-direction: row;
}

.chevron {
    font-size: 18px;
    color: #999;
    transition: transform 0.25s;
    display: inline-block;
}

.chevron.open {
    transform: rotate(180deg);
}

.payment-section-body {
    padding: 0 16px 16px;
    display: none;
}

.payment-section-body.open {
    display: block;
}

.operator-badge {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background: #FF7900;
    display: inline-block;
    flex-shrink: 0;
}

#express-checkout-element,
#payment-element {
    margin-bottom: 12px;
}

#express-checkout-element.hidden,
#payment-element.hidden {
    display: none;
}

#payment-element {
    min-height: 58px;
}

.stripe-elements-loader {
    display: none;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fafafa;
    padding: 16px;
    margin-bottom: 12px;
}

.stripe-elements-loader.visible {
    display: block;
}

.stripe-loader-head {
    font-size: 13px;
    color: #6f6f6f;
    margin-bottom: 14px;
    text-align: center;
}

.stripe-loader-skeleton {
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(90deg, #f1f1f1 25%, #f8f8f8 50%, #f1f1f1 75%);
    background-size: 200% 100%;
    animation: stripeSkeleton 1.2s ease-in-out infinite;
    margin-bottom: 12px;
}

.stripe-loader-skeleton.small {
    height: 44px;
    width: calc(50% - 6px);
    display: inline-block;
}

.stripe-loader-row {
    display: flex;
    gap: 12px;
}

@keyframes stripeSkeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

#stripe-elements-errors {
    color: #e74c3c;
    font-size: 13px;
    min-height: 18px;
    margin-bottom: 8px;
}
