/* Boutique New Western PVP — style encre de Red Dead Online (mêmes textures que l'interface du serveur) */

@font-face { font-family: 'Crock'; src: url('assets/fonts/crock.ttf') format('truetype'); font-display: swap; }

:root {
    --ink: #ffffff;
    --dim: rgba(255, 255, 255, .72);
    --faint: rgba(255, 255, 255, .45);
    --red: #e3342f;
    --red-soft: #fca5a5;
    --gold: #f5c542;
    --bg: #0b0907;
    --shadow: 0.5px 0.5px 2px rgba(0, 0, 0, .9);
    --title: 'Crock', Georgia, serif;
    --body: 'Roboto', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--body); text-shadow: var(--shadow); overflow-x: hidden; }
a { color: inherit; }
.hidden { display: none !important; }

/* ---------- fond : photos + étalonnage + grain ---------- */
#slides { position: fixed; inset: 0; z-index: -3; }
.slide {
    position: absolute; inset: -4%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 2.2s ease;
    filter: sepia(.3) saturate(.85) contrast(1.06) brightness(.6);
    animation: kb 16s linear infinite alternate;
}
.slide.show { opacity: 1; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1%, -1%); } }
.grade {
    position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(ellipse 85% 75% at 50% 40%, transparent 30%, rgba(0, 0, 0, .6) 78%, rgba(0, 0, 0, .92) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .85) 100%);
}
.grain {
    position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(3%, 3%); } }

/* ---------- textures d'encre ---------- */
.ink { background: url('assets/rdo/bg_cube.svg') no-repeat center / 100% 100%; filter: drop-shadow(0 15px 35px rgba(0, 0, 0, .95)); }
.rect { background: url('assets/rdo/bg_rect.svg') no-repeat center / 100% 100%; }
.rule { height: 3px; background: url('assets/rdo/header_border_divider.png') no-repeat center / 100% 100%; margin: 16px 0; }
.rule.short { width: 220px; margin: 12px auto 28px; }
.kicker { font-size: 12px; font-weight: 900; letter-spacing: .3em; text-transform: uppercase; color: var(--red-soft); }

/* ---------- boutons ---------- */
.btn {
    display: inline-block; border: none; cursor: pointer; text-decoration: none; color: var(--ink);
    font-family: var(--body); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; text-shadow: var(--shadow);
    padding: 15px 34px; font-size: 15px;
    background: url('assets/rdo/bg_rect_outline_white.svg') no-repeat center / 100% 100%;
    transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: scale(1.04); background-image: url('assets/rdo/bg_rect_hover.svg'); }
.btn-main { background-image: url('assets/rdo/bg_rect_select.svg'); }
.btn-main:hover { background-image: url('assets/rdo/bg_rect_select.svg'); filter: brightness(1.15); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- barre du haut ---------- */
.topbar {
    position: sticky; top: 0; z-index: 10;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 14px 5vw;
    background: linear-gradient(180deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0));
}
.brand img { height: 46px; display: block; }
.topbar nav { display: flex; gap: 6px; }
.topbar nav a {
    padding: 9px 16px; font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
    background: no-repeat center / 100% 100%;
}
.topbar nav a:hover { background-image: url('assets/rdo/bg_rect_hover.svg'); }

main { max-width: 1100px; margin: 0 auto; padding: 0 5vw; }

/* ---------- titre ---------- */
.hero { min-height: 72vh; display: flex; align-items: center; }
.hero-panel { max-width: 640px; padding: 48px 56px 44px; animation: rise 1s ease both; }
.hero h1 { margin-top: 10px; font-family: var(--title); font-weight: normal; font-size: clamp(48px, 7vw, 92px); line-height: .95; letter-spacing: .03em; text-transform: uppercase; text-shadow: 3px 3px 0 #000; }
.hero p { font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--dim); margin-bottom: 26px; }
.hero p b { color: var(--ink); }

/* ---------- carte VIP ---------- */
.vip { padding: 40px 0 70px; scroll-margin-top: 80px; }
.vip-card { max-width: 820px; margin: 0 auto; padding: 50px 58px 44px; }
.vip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.vip-head h2 { margin-top: 6px; font-family: var(--title); font-weight: normal; font-size: 56px; letter-spacing: .03em; text-transform: uppercase; line-height: 1; text-shadow: 3px 3px 0 #000; }
.price { text-align: right; }
.price b { display: block; font-family: var(--title); font-weight: normal; font-size: 48px; color: var(--gold); line-height: 1; text-shadow: 2px 2px 0 #000; }
.price small { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

.perks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 26px; }
.perk { display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px; background: url('assets/rdo/bg_rect.svg') no-repeat center / 100% 100%; }
.perk i { flex-shrink: 0; width: 9px; height: 9px; margin-top: 5px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 7px rgba(245, 197, 66, .6); }
.perk b { display: block; font-size: 15px; font-weight: 800; }
.perk span { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--dim); }
.perk em {
    margin-left: auto; flex-shrink: 0; align-self: center; font-style: normal;
    padding: 4px 9px; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
    background: url('assets/rdo/bg_rect_outline_white.svg') no-repeat center / 100% 100%;
}
.perk.soon i { background: rgba(255, 255, 255, .35); box-shadow: none; }
.perk.soon b { color: var(--dim); }

.buy { display: flex; align-items: center; gap: 26px; }
.buy .btn { flex-shrink: 0; font-size: 18px; padding: 18px 46px; }
.buy-note { font-size: 13px; font-weight: 600; line-height: 1.55; color: var(--dim); }
.buy-note b { color: var(--ink); }
.status { margin-top: 18px; padding: 12px 18px; text-align: center; font-size: 13.5px; font-weight: 800; background: url('assets/rdo/bg_rect.svg') no-repeat center / 100% 100%; }
.status.err { color: var(--red-soft); }

/* ---------- étapes ---------- */
.section-title { text-align: center; font-family: var(--title); font-weight: normal; font-size: 46px; letter-spacing: .04em; text-transform: uppercase; text-shadow: 3px 3px 0 #000; }
.steps, .faq { padding: 40px 0; scroll-margin-top: 80px; }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 30px 26px 26px; }
.step-n { position: absolute; top: 10px; right: 20px; font-family: var(--title); font-size: 44px; color: rgba(255, 255, 255, .14); text-shadow: none; }
.step b { display: block; font-size: 16px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.step p { font-size: 13.5px; font-weight: 600; line-height: 1.55; color: var(--dim); }
code { font-family: var(--body); font-weight: 900; color: var(--gold); }

/* ---------- questions ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: url('assets/rdo/bg_rect.svg') no-repeat center / 100% 100%; }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 22px; font-size: 15px; font-weight: 800; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-weight: 900; color: var(--red-soft); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 22px 18px; font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--dim); }

/* ---------- pied de page ---------- */
.footer { max-width: 1100px; margin: 30px auto 0; padding: 0 5vw 34px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.7; color: var(--faint); }
.footer a { color: var(--dim); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- téléphone ---------- */
@media (max-width: 760px) {
    .topbar nav { display: none; }
    .hero { min-height: 60vh; }
    .hero-panel, .vip-card { padding: 34px 28px 30px; }
    .perks { grid-template-columns: 1fr; }
    .buy { flex-direction: column; align-items: stretch; text-align: center; }
    .steps-row { grid-template-columns: 1fr; }
    .vip-head h2 { font-size: 42px; }
    .price { text-align: left; }
}
