/* LeboncoinRP website - charte V3.3 (lbc_ui): orange #FF6E14, navy #1F2D3D, white cards, Lilita / Fredoka. */

@font-face { font-family: "Lilita"; src: url("../fonts/lilita.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-600.ttf") format("truetype"); font-weight: 600 700; font-display: swap; }
/* Nunito variable 200-1000, latin subset (SIL OFL, fonts/OFL-nunito.txt) */
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-var.woff") format("woff"); font-weight: 200 1000; font-display: swap; }

:root {
    --primary: #FF6E14;
    --primary-hover: #FF802E;
    --primary-dark: #C9530C;
    --peach: #FFF1E8;
    --navy: #1F2D3D;
    --navy-dark: #121C27;
    --bg: #F6F6F8;
    --surface: #FFFFFF;
    --surface-alt: #F1F1F4;
    --border: #E4E4EA;
    --ink: #1A1A1A;
    --ink-soft: #3A3A40;
    --muted: #5C5C66;
    --success: #0B7A3E;
    --success-soft: #E5F6EC;
    --danger: #B42318;
    --danger-soft: #FDECEC;
    --gold: #FFC21A;
    --gold-dark: #C99700;
    --gold-soft: #FFF4CC;
    --info: #2F6FD6;
    --info-soft: #E8F0FD;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(26, 26, 26, .04), 0 6px 20px rgba(26, 26, 26, .06);
    --font-display: "Lilita", "Fredoka", system-ui, sans-serif;
    --font-head: "Fredoka", system-ui, sans-serif;
    --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.65 var(--font-body); overflow-x: hidden;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
strong, b { font-weight: 800; }
::selection { background: #FFD3B5; color: var(--ink); }
img { max-width: 100%; height: auto; }
a { color: var(--primary-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 860px; }
.section { padding-top: 48px; padding-bottom: 48px; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 28px; }
.section__title { margin-top: 32px; }
.center { text-align: center; }
.more { margin-top: 28px; }
.muted { color: var(--muted); font-weight: 500; }
.small { font-size: .875rem; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; }
.is-hidden { display: none !important; }
.eyebrow { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--primary-dark); margin-bottom: .4em; }
.eyebrow--light { color: rgba(255, 255, 255, .85); }

/* Buttons: raised like the in-game V3.3 buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.3em; border: 0; border-radius: 12px;
    font: 600 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; transition: transform .08s, background .15s, box-shadow .08s; }
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transition: transform .5s ease; }
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); }
.btn--primary { background: var(--primary); color: var(--ink); box-shadow: 0 4px 0 var(--primary-dark); }
.btn--primary:hover { background: var(--primary-hover); color: var(--ink); }
.btn--primary:active { box-shadow: 0 2px 0 var(--primary-dark); }
.btn--dark { background: var(--navy); color: #fff; box-shadow: 0 4px 0 var(--navy-dark); }
.btn--dark:hover { background: #2A3B4F; color: #fff; }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 4px 0 rgba(0, 0, 0, .18); }
.btn--light:hover { background: var(--peach); color: var(--ink); }
.btn--ghost { background: var(--surface); color: var(--ink); border: 2px solid var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--ink); }
.btn--danger { background: var(--danger-soft); color: var(--danger); border: 2px solid #F3C4C4; }
.btn--paypal { background: #FFC439; color: #111; box-shadow: 0 4px 0 #D9A31F; }
.btn--paypal:hover { background: #FFD25F; color: #111; }
.btn--lg { padding: .85em 1.6em; font-size: 1.1rem; }
.btn--sm { padding: .45em .9em; font-size: .9rem; }
.btn--block { display: flex; width: 100%; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.topbar { transition: box-shadow .2s, background .2s; }
.topbar.is-scrolled { box-shadow: 0 8px 24px rgba(26, 26, 26, .08); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.brand__name { font: 1.6rem/1 var(--font-display); color: var(--ink); }
.brand__rp { font: 1.05rem/1 var(--font-display); background: var(--navy); color: #fff; padding: 5px 8px 3px; border-radius: 8px; transform: rotate(-4deg); }
.menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.menu a:not(.btn) { padding: 8px 12px; border-radius: 10px; color: var(--ink-soft); font: 600 .98rem var(--font-head); text-decoration: none; }
.menu a:not(.btn):hover { background: var(--peach); color: var(--ink); }
.menu a[aria-current="page"] { background: var(--peach); color: var(--primary-dark); }
.menu__account { display: inline-flex !important; align-items: center; gap: 8px; }
.menu__account img { border-radius: 50%; }
.navtoggle { display: none; width: 44px; height: 44px; border: 2px solid var(--border); background: var(--surface); border-radius: 12px; cursor: pointer; position: relative; }
.navtoggle__bar, .navtoggle__bar::before, .navtoggle__bar::after { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--ink); content: ""; }
.navtoggle__bar { top: 20px; }
.navtoggle__bar::before { top: -6px; left: 0; }
.navtoggle__bar::after { top: 6px; left: 0; }

@media (max-width: 900px) {
    .navtoggle { display: block; }
    .menu { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; box-shadow: var(--shadow); }
    .menu.is-open { display: flex; }
    .menu a { padding: 12px !important; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 170px; text-align: center;
    background:
        radial-gradient(rgba(255, 255, 255, .09) 1.5px, transparent 1.5px) 0 0 / 22px 22px,
        linear-gradient(180deg, #FF9A3C 0%, var(--primary) 42%, #E9580B 72%, #C9470A 100%); }
.hero__sun { position: absolute; width: 760px; height: 760px; border-radius: 50%; left: 50%; top: 30px; transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 236, 200, .55) 0%, rgba(255, 200, 120, .28) 38%, rgba(255, 170, 80, .12) 58%, transparent 70%); }
.hero__city { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; background: url("../img/skyline.svg") bottom center / auto 100% repeat-x; }
.hero__city--back { height: 240px; opacity: .35; background-position: 380px bottom; filter: saturate(.6); }
.hero__city:not(.hero__city--back) { filter: brightness(.82); }
.hero__inner { position: relative; }
.hero__inner > * { animation: lbc-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.hero__inner > :nth-child(2) { animation-delay: .08s; }
.hero__inner > :nth-child(3) { animation-delay: .16s; }
.hero__inner > :nth-child(4) { animation-delay: .22s; }
.hero__inner > :nth-child(5) { animation-delay: .28s; }
.hero__inner > :nth-child(6) { animation-delay: .34s; }
.hero__rp { animation: lbc-wobble 4s ease-in-out 1s infinite; }
.hero__sun { animation: lbc-breathe 7s ease-in-out infinite; }
.hero__city--back { will-change: transform; }
@keyframes lbc-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lbc-breathe { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; } 50% { transform: translateX(-50%) scale(1.06); opacity: .85; } }
@keyframes lbc-wobble { 0%, 86%, 100% { transform: rotate(-5deg); } 90% { transform: rotate(-9deg) scale(1.05); } 95% { transform: rotate(-2deg); } }
.hero__title { margin: 18px 0 8px; display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__name { font: clamp(3rem, 11vw, 6.5rem)/1 var(--font-display); color: #fff; text-shadow: 0 6px 0 var(--navy), 0 18px 40px rgba(18, 28, 39, .35); }
.hero__rp { font: clamp(2rem, 7vw, 4rem)/1 var(--font-display); background: var(--navy); color: #fff; padding: 10px 18px 6px; border-radius: 18px; transform: rotate(-5deg); box-shadow: 0 6px 0 var(--navy-dark); }
.hero__tagline { font: 600 clamp(1.15rem, 2.6vw, 1.5rem)/1.3 var(--font-head); margin: 18px auto 8px; text-shadow: 0 2px 0 rgba(18, 28, 39, .25); }
.hero__lead { max-width: 640px; margin: 0 auto 26px; color: rgba(255, 255, 255, .92); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__ip { margin-top: 18px; color: rgba(255, 255, 255, .9); font-size: .95rem; }
.copy { font: 600 .95rem var(--font-head); background: rgba(31, 45, 61, .85); color: #fff; border: 0; border-radius: 8px; padding: 4px 10px; cursor: pointer; }
.copy.is-copied::after { content: " ✓ copiée"; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font: 600 .95rem var(--font-head); }
.pill--light { background: #fff; color: var(--ink); box-shadow: 0 3px 0 rgba(0, 0, 0, .15); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #9A9AA5; }
.dot--on { background: #22B573; box-shadow: 0 0 0 4px rgba(34, 181, 115, .2); animation: lbc-pulse 2s ease-out infinite; }
@keyframes lbc-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 181, 115, .55); } 70% { box-shadow: 0 0 0 10px rgba(34, 181, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 181, 115, 0); } }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -64px; position: relative; }
.figure { text-align: center; padding: 22px 12px; border-top: 4px solid var(--primary); box-shadow: 0 12px 30px rgba(26, 26, 26, .10); }
.figure__value { display: block; font: 2rem/1.1 var(--font-display); color: var(--primary); }
.figure__label { color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .figures { grid-template-columns: repeat(2, 1fr); } }

.job { transition: transform .15s, box-shadow .15s, border-color .15s; }
.job:hover { transform: translateY(-4px); border-color: #FFC9A6; box-shadow: 0 14px 32px rgba(255, 110, 20, .14); }
.job__icon { font-size: 2rem; display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; margin-bottom: 12px;
    background: linear-gradient(145deg, #FFF6EF, #FFE1CC); box-shadow: inset 0 -3px 0 rgba(201, 83, 12, .12); transition: transform .15s; }
.job:hover .job__icon { transform: rotate(-6deg) scale(1.06); }
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.vipcards { max-width: 900px; margin: 0 auto; }
.vipcard { position: relative; display: flex; flex-direction: column; gap: 14px; border-width: 2px; padding: 26px; transition: transform .15s, box-shadow .15s; }
.vipcard:hover { transform: translateY(-4px); }
.vipcard .price { font-size: 2.3rem; }
.vipcard .price .muted { font: 600 1rem var(--font-head); }
.vipcard--gold { border-color: var(--gold); background: linear-gradient(180deg, #FFFBEB 0%, #fff 55%); box-shadow: 0 14px 36px rgba(201, 151, 0, .14); }
.vipcard--orange { border-color: #2C3E54; color: #fff; background:
    radial-gradient(circle at 85% 0%, rgba(255, 194, 26, .22), transparent 45%),
    linear-gradient(160deg, #2A3B4F 0%, var(--navy) 50%, var(--navy-dark) 100%);
    box-shadow: 0 18px 44px rgba(18, 28, 39, .35); }
.vipcard--orange h3, .vipcard--orange .price { color: #fff; }
.vipcard--orange .price .muted { color: rgba(255, 255, 255, .7); }
.vipcard--orange .checks li { color: rgba(255, 255, 255, .92); }
.vipcard--orange .checks li::before { background: rgba(255, 194, 26, .18); color: var(--gold); }
.vipcard--orange .btn--primary { background: var(--gold); box-shadow: 0 4px 0 var(--gold-dark); }
.vipcard--orange .btn--primary:hover { background: #FFD24D; }
.vipcard--orange::before { background-size: 200% 100% !important; animation: lbc-shimmer 3s linear infinite; }
@keyframes lbc-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.vipcard--orange::before { content: "Le plus complet"; position: absolute; top: -14px; right: 22px; padding: 5px 14px; border-radius: 999px;
    background: linear-gradient(90deg, var(--gold) 0%, #FFE680 25%, var(--gold) 50%, #FFE680 75%, var(--gold) 100%);
    color: var(--ink); font: 600 .85rem var(--font-head); box-shadow: 0 3px 0 var(--gold-dark); }
.vipcard__head { display: flex; align-items: center; gap: 14px; }
.vipcard__head h3 { margin: 0; }
.vipcard__icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; font-size: 1.9rem; flex-shrink: 0;
    background: linear-gradient(145deg, #FFE38A, var(--gold)); color: var(--ink); box-shadow: 0 4px 0 var(--gold-dark); }
.vipcard--orange .vipcard__icon { background: linear-gradient(145deg, #FFD24D, #FF9A3C); color: var(--ink); box-shadow: 0 4px 0 #B86A00; }
.vipcard .checks, .vipcard .perks { flex: 1; }
.vipcard__in { margin: 4px 0 -4px; font: 600 .95rem var(--font-head); color: var(--muted); }
.vipcard--orange .vipcard__in { color: rgba(255, 255, 255, .7); }
/* Perks with an icon, a title and a subtitle (partials/perks.php) */
.perks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; align-content: start; }
.perk { display: flex; align-items: center; gap: 12px; }
.perk__icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 1.5rem;
    background: linear-gradient(145deg, #FFF6EF, #FFE1CC); box-shadow: inset 0 -3px 0 rgba(201, 83, 12, .12); }
.perk__text { display: flex; flex-direction: column; line-height: 1.3; }
.perk__text strong { font: 600 1rem var(--font-head); color: var(--ink); }
.perk__text span { font-size: .88rem; color: var(--muted); }
.vipcard--gold .perk__icon { background: linear-gradient(145deg, #FFFBEB, #FFEBA8); }
.vipcard--orange .perk__icon { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.vipcard--orange .perk__text strong { color: #fff; }
.vipcard--orange .perk__text span { color: rgba(255, 255, 255, .65); }
.price__per { font: 600 .9rem var(--font-head); color: var(--muted); margin-left: 4px; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 28px; margin: 6px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--success-soft); color: var(--success); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }

.steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: var(--ink); font: 1.4rem var(--font-display); margin-bottom: 10px; box-shadow: 0 3px 0 var(--primary-dark); }
.discord { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 0; color: #fff; padding: 36px;
    background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .18), transparent 40%), linear-gradient(135deg, #6B77F7, #4752C4); box-shadow: 0 16px 40px rgba(71, 82, 196, .3); }
.discord h2, .discord p { color: #fff; }
.discord > div { max-width: 620px; }

/* Page heads */
.pagehead { position: relative; overflow: hidden; color: #fff; padding: 44px 0 40px;
    background: radial-gradient(circle at 85% -20%, rgba(255, 110, 20, .35), transparent 50%), linear-gradient(160deg, #2A3B4F, var(--navy) 60%, var(--navy-dark)); }
.pagehead > .wrap { position: relative; }
.pagehead__city { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; opacity: .45; background: url("../img/skyline.svg") bottom center / auto 100% repeat-x; }
.pagehead h1 { color: #fff; }
.pagehead p { color: rgba(255, 255, 255, .85); max-width: 680px; }
.pagehead--store { padding-bottom: 72px; background: radial-gradient(circle at 80% 0%, rgba(255, 236, 200, .45), transparent 45%), linear-gradient(180deg, #FF9A3C, var(--primary) 60%, #E9580B); }
.pagehead--store p { color: rgba(26, 26, 26, .85); }
.pagehead--store h1, .pagehead--store .eyebrow--light { color: var(--ink); }
.crumbs { color: var(--muted); font-size: .92rem; }

.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin: 16px 0; border: 1px solid transparent; }
.flash--success { background: var(--success-soft); color: var(--success); border-color: #BFE6CF; }
.flash--error { background: var(--danger-soft); color: var(--danger); border-color: #F3C4C4; }
.flash--info { background: var(--info-soft); color: #1D4E9E; border-color: #C9DBF7; }
form.flash { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Store */
.store { padding-top: 24px; padding-bottom: 48px; }
.pagehead--store + .store .tabs { margin-top: -58px; position: relative; padding: 10px; background: var(--surface); border-radius: 18px; box-shadow: 0 12px 30px rgba(26, 26, 26, .10); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 12px; scrollbar-width: thin; }
.tab { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 2px solid var(--border); color: var(--ink-soft); font: 600 .95rem var(--font-head); text-decoration: none; }
.tab:hover { border-color: var(--primary); color: var(--ink); }
.tab[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 3px 0 var(--navy-dark); }
.tabs--small .tab { padding: 6px 12px; font-size: .88rem; }
/* "1 mois / 1 an" switch of the VIP cards (home, store VIP tab): not the floating store tab bar. */
.store .tabs.tabs--period, .tabs--period { justify-content: center; margin: 0 0 16px; padding: 4px 2px; position: static; background: none; box-shadow: none; }
.store__layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.store__side { display: grid; gap: 16px; position: sticky; top: 84px; }
@media (max-width: 960px) { .store__layout { grid-template-columns: 1fr; } .store__side { position: static; } }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.product { padding: 0; overflow: hidden; transition: transform .12s, box-shadow .12s; }
.product:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(26, 26, 26, .12); }
.product__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.product__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.product .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
.product .price::after { content: "→"; margin-left: auto; align-self: center; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
    background: var(--peach); color: var(--primary-dark); font: 600 1rem var(--font-head); transition: background .15s, color .15s; }
.product:hover .price::after { background: var(--primary); color: var(--ink); }
.product__name { font-size: 1.05rem; margin-bottom: 4px; }
.product__desc { font-size: .9rem; flex: 1; }
.price { font: 1.45rem/1.1 var(--font-display); color: var(--ink); margin: 0; }
.price--lg { font-size: 2rem; margin: 12px 0; }
.price__old { font: 600 .95rem var(--font-head); color: var(--muted); margin-right: 6px; }
.tile { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--peach); overflow: hidden; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .45), transparent 55%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 14px, transparent 14px 28px); }
.tile img { width: 72%; height: 88%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .28)); transition: transform .2s; }
.tile img[src$=".svg"] { width: 62%; }
.tile__icon { font-size: 4.2rem; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .22)); transition: transform .2s; }
.product:hover .tile img, .product:hover .tile__icon, .sale:hover .tile img, .sale:hover .tile__icon { transform: scale(1.08) rotate(-3deg); }
.tile--orange { background: linear-gradient(135deg, #FFB37E, var(--primary)); }
.tile--gold { background: linear-gradient(135deg, #FFE699, var(--gold)); }
.tile--navy { background: linear-gradient(135deg, #3C5370, var(--navy)); }
.tile--green { background: linear-gradient(135deg, #8DE0B5, #22B573); }
.tile--purple { background: linear-gradient(135deg, #C9A7FF, #7B4BD6); }
.tile--red { background: linear-gradient(135deg, #FF9A9A, #D9363E); }
.tile--blue { background: linear-gradient(135deg, #A9C8FF, var(--info)); }
.tile--big { border-radius: var(--radius); aspect-ratio: 1; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--navy); color: #fff; font: 600 .78rem var(--font-head); padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.badge--sale { background: var(--danger); }
.badge--inline { position: static; display: inline-block; margin-bottom: 10px; }
.sale { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; margin-bottom: 20px; color: inherit; text-decoration: none; border: 2px solid var(--primary);
    background: linear-gradient(90deg, #FFF4EC, #fff 60%); box-shadow: 0 14px 34px rgba(255, 110, 20, .16); transition: transform .15s; }
.sale:hover { transform: translateY(-3px); color: inherit; }
.sale__tile { border-radius: 12px; aspect-ratio: 1; }
@media (max-width: 560px) { .sale { grid-template-columns: 1fr; } }
.side__title { font-size: 1.1rem; margin-bottom: 10px; }
.side__sub { font-size: .9rem; color: var(--muted); margin: 14px 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.mini-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.mini-steps li { counter-increment: step; position: relative; padding-left: 40px; min-height: 28px; line-height: 1.45; font-weight: 600; color: var(--ink-soft); }
.mini-steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 9px;
    display: grid; place-items: center; background: var(--primary); color: var(--ink); font: 1rem/1 var(--font-display); box-shadow: 0 3px 0 var(--primary-dark); }
.donors { list-style: none; counter-reset: d; padding: 0; margin: 0; }
.donors li { counter-increment: d; display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--surface-alt); font-weight: 600; }
.donors li::before { content: counter(d); width: 22px; height: 22px; border-radius: 50%; background: var(--peach); color: var(--primary-dark); display: grid; place-items: center; font-size: .78rem; flex-shrink: 0; }
.donors li:first-child::before { background: var(--gold); color: var(--ink); }
.donors img, .donors__ph { width: 24px; height: 24px; border-radius: 50%; }
.donors__ph { display: grid; place-items: center; background: var(--surface-alt); color: var(--muted); font-size: .75rem; }
.empty { text-align: center; color: var(--muted); }

.productpage { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .productpage { grid-template-columns: 1fr; } .tile--big { max-width: 360px; width: 100%; margin: 0 auto; } }
.productpage .tile__icon { font-size: 7rem; }
.buy { display: grid; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 8px; }
.buy__buttons { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 6px; }
.buy__for { margin: 0; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font: 500 .95rem/1.55 var(--font-head); color: var(--ink-soft); cursor: pointer; }
.checkbox a { font-weight: 600; }
.buy__for { font-family: var(--font-head); }
.buy__secure { margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed var(--border); text-align: center; font: 500 .85rem/1.5 var(--font-head); color: var(--ink-soft); }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--primary); flex-shrink: 0; }

.thanks__icon { font-size: 3.4rem; margin: 0; }
.status { display: inline-block; padding: 6px 14px; border-radius: 999px; font: 600 .92rem var(--font-head); }
.status--ok { background: var(--success-soft); color: var(--success); }
.status--wait { background: var(--gold-soft); color: #7A5A00; }
.status--err { background: var(--danger-soft); color: var(--danger); }
.status--off { background: var(--surface-alt); color: var(--muted); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font: 600 .78rem var(--font-head); background: var(--surface-alt); color: var(--ink-soft); }
.tag--delivered, .tag--paid { background: var(--success-soft); color: var(--success); }
.tag--delivering, .tag--created { background: var(--gold-soft); color: #7A5A00; }
.tag--error, .tag--failed, .tag--disputed, .tag--refunded { background: var(--danger-soft); color: var(--danger); }
.error-text { color: var(--danger); }

/* Store home ("À la une", partials/store_home.php): category tiles, cards band, weekly offer, best sellers, donors */
.pagehead__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pagehead__row h1 { margin: 0; }
.howto { list-style: none; counter-reset: how; display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 0; }
.howto li { counter-increment: how; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); color: var(--ink); font: 600 .92rem var(--font-head); box-shadow: 0 3px 0 rgba(0, 0, 0, .12); }
.howto li::before { content: counter(how); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
    background: var(--gold); color: var(--ink); font: .95rem/1 var(--font-display); }

.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 var(--gold-dark); }
.btn--gold:hover { background: #FFD24D; color: var(--ink); }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 8px 0 34px; }
.cats > .cat:first-child { grid-column: span 2; }
@media (max-width: 1100px) { .cats { grid-template-columns: repeat(3, 1fr); } .cats > .cat:first-child { grid-column: span 1; } }
@media (max-width: 960px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cats { grid-template-columns: 1fr; } }
.cat { --accent: var(--primary); position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 132px;
    padding: 20px 18px 20px 22px; border-radius: 20px; overflow: hidden; text-decoration: none; color: #fff;
    background: radial-gradient(circle at 85% 50%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%),
        linear-gradient(150deg, #2A3B4F, var(--navy) 55%, var(--navy-dark));
    border-top: 4px solid var(--accent); box-shadow: 0 14px 30px rgba(18, 28, 39, .22); transition: transform .18s, box-shadow .18s; }
.cat:hover { transform: translateY(-4px); color: #fff; box-shadow: 0 20px 40px rgba(18, 28, 39, .3); }
.cat--gold { --accent: var(--gold); } .cat--red { --accent: #E5484D; } .cat--blue { --accent: #4C8DFF; }
.cat--orange { --accent: var(--primary); } .cat--green { --accent: #22B573; } .cat--purple { --accent: #9B6BFF; }
.cat__text { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; }
.cat__title { font: 1.75rem/1 var(--font-display); letter-spacing: .01em; }
.cat__line { color: rgba(255, 255, 255, .78); font-weight: 600; font-size: .92rem; }
.cat__from { margin-top: 6px; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.cat__from b { color: var(--gold); font: 1.05rem var(--font-display); }
.cat__from small { color: rgba(255, 255, 255, .6); }
.cat__art { flex-shrink: 0; width: 44%; max-width: 170px; display: grid; place-items: center; transition: transform .25s; }
.cat__art img { width: 100%; height: auto; max-height: 110px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); }
.cat:hover .cat__art { transform: scale(1.08) rotate(-4deg); }
.cat__emoji { font-size: 4.2rem; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .4)); }

/* Credit-card style VIP cards (pure CSS until real artwork) */
.vcard { position: relative; display: block; width: 220px; aspect-ratio: 1.586; border-radius: 14px; overflow: hidden; color: rgba(0, 0, 0, .7);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .35); transform: rotate(-4deg); transition: transform .25s; }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 45%, transparent 60%);
    background-size: 250% 100%; animation: lbc-shine 4s ease-in-out infinite; }
@keyframes lbc-shine { 0%, 60% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.vcard--gold { background: radial-gradient(circle at 20% 15%, #FFF3B0, transparent 40%), linear-gradient(135deg, #F7C948, #D99A00 55%, #F2C14E); }
.vcard--black { color: rgba(255, 255, 255, .8);
    background: radial-gradient(circle at 80% 20%, rgba(255, 194, 26, .35), transparent 45%), linear-gradient(135deg, #2A3B4F, #0D141C 60%, #1F2D3D); border: 1px solid rgba(255, 194, 26, .5); }
.vcard__brand { position: absolute; top: 12px; left: 14px; font: .85rem var(--font-display); letter-spacing: .04em; }
.vcard__tier { position: absolute; top: 10px; right: 14px; font: 1.1rem var(--font-display); }
.vcard--black .vcard__tier { color: var(--gold); }
.vcard__chip { position: absolute; left: 16px; top: 42%; width: 34px; height: 25px; border-radius: 5px; background: linear-gradient(135deg, #FFE38A, #C99700); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.vcard__holder { position: absolute; left: 16px; bottom: 12px; font: 600 .72rem var(--font-head); letter-spacing: .12em; }
.vcard--mini { width: 150px; }
.vcard--mini .vcard__brand { font-size: .8rem; }

.cardband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: center; margin-bottom: 34px;
    padding: 34px; border-radius: 26px; color: #fff;
    background: radial-gradient(circle at 10% 0%, rgba(255, 110, 20, .35), transparent 45%), linear-gradient(150deg, #2A3B4F, var(--navy) 50%, var(--navy-dark));
    box-shadow: 0 18px 44px rgba(18, 28, 39, .28); }
.cardband h2 { color: #fff; font: clamp(2rem, 4vw, 2.6rem)/1 var(--font-display); margin-bottom: 12px; }
.cardband p { color: rgba(255, 255, 255, .82); margin-bottom: 20px; }
.cardband__cards { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.cardband__item { display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.cardband__item:hover { color: #fff; }
.cardband__item:hover .vcard { transform: rotate(0) translateY(-6px) scale(1.04); }
.cardband__item:nth-child(2) .vcard { transform: rotate(4deg); }
.cardband__price { font: 1.1rem var(--font-display); }
.cardband__price b { color: var(--gold); margin-right: 4px; }
.cardband__price small { font: 600 .8rem var(--font-head); color: rgba(255, 255, 255, .65); }
@media (max-width: 860px) { .cardband { grid-template-columns: 1fr; padding: 26px 20px; } }

.weekly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 28px; align-items: center; margin-bottom: 40px;
    padding: 34px; border-radius: 26px; border: 2px solid #FFD3B5; background: linear-gradient(110deg, #FFF4EC, #fff 70%); box-shadow: 0 14px 34px rgba(255, 110, 20, .14); }
.weekly h2 { font: clamp(1.8rem, 3.6vw, 2.4rem)/1 var(--font-display); margin-bottom: 16px; }
.countdown { display: flex; gap: 10px; margin-bottom: 14px; }
.countdown span { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 8px 6px 6px; border-radius: 14px;
    background: var(--navy); color: rgba(255, 255, 255, .7); font: 600 .72rem var(--font-head); text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 4px 0 var(--navy-dark); }
.countdown b { color: var(--gold); font: 1.9rem/1 var(--font-display); margin-bottom: 2px; }
.weekly__item { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 20px; background: var(--surface);
    border-top: 4px solid var(--gold); box-shadow: 0 12px 30px rgba(26, 26, 26, .12); text-decoration: none; color: inherit; transition: transform .18s; }
.weekly__item:hover { transform: translateY(-4px); color: inherit; }
.weekly__pic { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 14px; margin-bottom: 6px; overflow: hidden; }
.weekly__pic img { width: 60%; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .3)); }
.weekly__item strong { font: 1.2rem var(--font-head); font-weight: 600; }
.weekly__price { font: 1.6rem var(--font-display); }
.weekly__price s { font: 600 .95rem var(--font-head); color: var(--muted); margin-left: 6px; }
.badge--week { top: 26px; left: 26px; z-index: 1; background: var(--gold); color: var(--ink); }
@media (max-width: 760px) { .weekly { grid-template-columns: 1fr; padding: 24px 18px; } .countdown span { min-width: 54px; } }

.best { margin-bottom: 44px; }
.best__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.best__head h2 { font: clamp(1.8rem, 3.6vw, 2.3rem)/1 var(--font-display); margin: 0; }
.best__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1100px) { .best__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .best__grid { grid-template-columns: repeat(2, 1fr); } }
.rank { display: flex; flex-direction: column; gap: 4px; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow); text-decoration: none; color: inherit; padding-bottom: 14px; transition: transform .18s, box-shadow .18s; }
.rank:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(26, 26, 26, .14); color: inherit; }
.rank__pic { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 8px; }
.rank__pic img { width: 62%; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .28)); }
.rank__pic .tile__icon { font-size: 3.4rem; }
.rank__num { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
    background: #fff; color: var(--ink); font: 1.05rem/1 var(--font-display); box-shadow: 0 3px 0 rgba(0, 0, 0, .2); }
.rank__num--1 { background: var(--gold); } .rank__num--2 { background: #E4E7EC; } .rank__num--3 { background: #F0A86C; }
.rank__off { position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 600 .82rem var(--font-head); }
.rank__name, .rank__desc, .rank__price { padding: 0 14px; }
.rank__name { font: 600 1.02rem var(--font-head); }
.rank__desc { font-size: .86rem; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rank__price { font: 1.25rem var(--font-display); margin-top: 6px; }
.rank__price s, .rank__price small { font: 600 .82rem var(--font-head); color: var(--muted); }

.donorboard { margin-bottom: 20px; }
.donorboard h1, .donorboard h2 { font: clamp(1.6rem, 3.2vw, 2.1rem)/1.1 var(--font-display); margin-bottom: 18px; }
.donorboard__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 10px; }
@media (max-width: 760px) { .donorboard__cols { grid-template-columns: 1fr; } }
.donorcol { padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.donorcol h3 { font: 600 .82rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--primary-dark); margin-bottom: 6px; }
.donorcol__empty { color: var(--muted); margin: 8px 0 0; }
.donorlist { list-style: none; padding: 0; margin: 0; }
.donorlist li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--border); }
.donorlist li:first-child { border-top: 0; }
.donorlist__rank { width: 18px; text-align: center; font: 1.05rem var(--font-display); color: var(--muted); }
.donorlist__rank--1 { color: var(--gold-dark); } .donorlist__rank--2 { color: #8A94A6; } .donorlist__rank--3 { color: #C46A2A; }
.donorlist img, .donorlist__ph { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; }
.donorlist__ph { display: grid; place-items: center; background: var(--surface-alt); color: var(--muted); }
.donorlist__name { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.donorlist__tag { margin-left: 4px; padding: 1px 7px; border-radius: 6px; background: var(--gold-soft); color: #7A5A00; font: 600 .72rem var(--font-head); }
.donorlist__total { font: 1.02rem var(--font-display); }

/* Store category pages (partials/store_tab.php) and the VIP showcase (partials/store_vip.php) */
.cat--teal { --accent: #14B8A6; }
.catband { --accent: var(--primary); position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
    margin: 6px 0 24px; padding: 30px 32px; border-radius: 24px; overflow: hidden; color: #fff; border-top: 5px solid var(--accent);
    background: radial-gradient(circle at 85% 50%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 55%),
        linear-gradient(150deg, #2A3B4F, var(--navy) 55%, var(--navy-dark));
    box-shadow: 0 16px 36px rgba(18, 28, 39, .24); }
.catband h2 { color: #fff; font: clamp(2.1rem, 4.5vw, 3rem)/1 var(--font-display); margin: 4px 0 10px; }
.catband p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 560px; }
.catband__art { flex-shrink: 0; width: 220px; display: grid; place-items: center; }
.catband__art img { width: 100%; height: auto; max-height: 150px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45));
    animation: lbc-float 5s ease-in-out infinite; }
.catband .cat__emoji { font-size: 5.6rem; animation: lbc-float 5s ease-in-out infinite; }
@media (max-width: 640px) { .catband { flex-direction: column; align-items: flex-start; padding: 24px 20px; } .catband__art { width: 150px; align-self: center; } }

.items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
@media (max-width: 1100px) { .items { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .items { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .items { grid-template-columns: 1fr; } }
.item { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--surface);
    border: 1px solid var(--border); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.item:hover { color: inherit; box-shadow: 0 18px 38px rgba(26, 26, 26, .16); }
.item__pic { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; }
.item__pic::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .45), transparent 58%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 14px, transparent 14px 28px); }
.item__pic img { width: 66%; height: 80%; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .3)); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.item__pic img[src$=".svg"] { width: 60%; }
.item__pic .tile__icon { font-size: 4.4rem; transition: transform .3s; }
.item:hover .item__pic img, .item:hover .item__pic .tile__icon { transform: scale(1.1) rotate(-3deg); }
.item--photo .item__pic { aspect-ratio: 4 / 5; }
.item--photo .item__pic img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.item--photo:hover .item__pic img { transform: scale(1.06); }
.item__flag { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 999px; background: var(--navy); color: #fff;
    font: 600 .78rem var(--font-head); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.item__flag--sale { background: var(--gold); color: var(--ink); }
.item__off { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px; background: var(--danger); color: #fff; font: 600 .8rem var(--font-head); }
.item__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 14px 16px 16px; }
.item__name { font: 600 1.08rem var(--font-head); }
.item__desc { flex: 1; color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.item__price { font: 1.35rem var(--font-display); }
.item__price s { font: 600 .85rem var(--font-head); color: var(--muted); margin-left: 4px; }
.item__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--peach); color: var(--primary-dark);
    font: 600 1rem var(--font-head); transition: background .2s, color .2s, transform .2s; }
.item:hover .item__go { background: var(--primary); color: var(--ink); transform: translateX(3px); }

/* VIP showcase */
.vipshow { position: relative; overflow: hidden; margin: 6px 0 26px; padding: 40px 34px; border-radius: 28px; color: #fff;
    background: radial-gradient(circle at 15% 0%, rgba(255, 194, 26, .28), transparent 40%), radial-gradient(circle at 90% 100%, rgba(255, 110, 20, .3), transparent 45%),
        linear-gradient(160deg, #22324A, var(--navy) 50%, #0B121A); box-shadow: 0 22px 50px rgba(18, 28, 39, .3); }
.vipshow__glow { position: absolute; inset: -40% -10% auto; height: 120%; background: conic-gradient(from 0deg, transparent, rgba(255, 194, 26, .12), transparent 30%);
    animation: lbc-spin 18s linear infinite; pointer-events: none; }
@keyframes lbc-spin { to { transform: rotate(360deg); } }
.vipshow__head { position: relative; text-align: center; max-width: 640px; margin: 0 auto 28px; }
.vipshow__head h2 { color: #fff; font: clamp(2.3rem, 5vw, 3.4rem)/1 var(--font-display); margin: 4px 0 12px; }
.vipshow__head p { color: rgba(255, 255, 255, .8); }
.vipshow .tabs--period { justify-content: center; }
.vipshow .tabs--period .tab { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.vipshow .tabs--period .tab[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--ink); box-shadow: 0 3px 0 var(--gold-dark); }
.vipshow__cards { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
@media (max-width: 820px) { .vipshow__cards { grid-template-columns: 1fr; } .vipshow { padding: 28px 16px; } }
.vipoffer { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 24px;
    background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
.vipoffer--plus { background: linear-gradient(170deg, #1B2838, #0D141C); color: #fff; border: 1px solid rgba(255, 194, 26, .45); }
.vipoffer--plus h3, .vipoffer--plus .vipoffer__price b { color: #fff; }
.vipoffer__ribbon { position: absolute; top: -13px; right: 22px; padding: 5px 14px; border-radius: 999px; color: var(--ink); font: 600 .85rem var(--font-head);
    background: linear-gradient(90deg, var(--gold), #FFE680, var(--gold)); background-size: 200% 100%; animation: lbc-shimmer 3s linear infinite; box-shadow: 0 3px 0 var(--gold-dark); }
.vipoffer__card { display: grid; place-items: center; padding: 10px 0 6px; }
.vipoffer__card img { width: 100%; max-width: 320px; height: auto; border-radius: 16px; }
.vcard--big { width: min(100%, 300px); }
.vcard--big .vcard__brand { font-size: 1rem; top: 16px; left: 18px; }
.vcard--big .vcard__tier { font-size: 1.5rem; top: 12px; right: 18px; }
.vcard--big .vcard__chip { width: 44px; height: 32px; left: 20px; }
.vcard__date { position: absolute; right: 16px; bottom: 14px; font: 600 .7rem var(--font-head); letter-spacing: .1em; opacity: .8; }
.vipoffer:hover .vcard { transform: rotate(0) scale(1.04); }
.vipoffer h3 { margin: 0; font-size: 1.25rem; }
.vipoffer__price { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.vipoffer__price b { font: 2.6rem/1 var(--font-display); color: var(--ink); }
.vipoffer__price span { font: 600 .95rem var(--font-head); opacity: .7; }
.vipoffer__price s { font: 600 1rem var(--font-head); opacity: .55; }
.vipoffer__in { margin: 6px 0 -2px; font: 600 .95rem var(--font-head); opacity: .7; }
.vipoffer--plus .perk__icon { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.vipoffer--plus .perk__text strong { color: #fff; }
.vipoffer--plus .perk__text span { color: rgba(255, 255, 255, .65); }
.vipoffer .perk__icon { background: linear-gradient(145deg, #FFFBEB, #FFEBA8); }

.vipfaq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
@media (max-width: 1000px) { .vipfaq { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vipfaq { grid-template-columns: 1fr; } }
.vipfaq__item { padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.vipfaq__item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.vipfaq__item p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Account / admin */
.account__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.account__head h1 { margin: 0; }
.account__head p { margin: 0; }
.account__logout { margin-left: auto; }
.avatar { border-radius: 16px; }
.orders { display: grid; gap: 12px; }
.order__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.order__head h3 { margin: 0; }
.order__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.order__items { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid var(--surface-alt); }
.order__items li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.tablewrap { overflow-x: auto; padding: 0; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--surface-alt); }
.table thead th { background: var(--surface-alt); font-family: var(--font-head); }
.table--plain th { width: 34%; font-family: var(--font-head); color: var(--ink-soft); }
.actions form { margin-bottom: 6px; }

/* Content pages */
.rule-essential .tag { margin-top: 4px; }
.rules { display: grid; grid-template-columns: 260px 1fr; gap: 24px; margin-top: 32px; align-items: start; }
.rules__toc { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; }
.rules__toc a { padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); font-size: .92rem; }
.rules__toc a:hover { background: var(--peach); }
.rules__cat { margin-bottom: 16px; scroll-margin-top: 84px; }
.rule { padding: 12px 0; border-top: 1px solid var(--surface-alt); }
.rule h3 { margin-bottom: 4px; }
.rule p { margin: 0; }
.rule__tag { display: inline-block; min-width: 40px; padding: 1px 8px; border-radius: 6px; background: var(--peach); color: var(--primary-dark); font-size: .85rem; text-align: center; }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr; } .rules__toc { position: static; } }

.search { display: flex; gap: 8px; max-width: 620px; margin-top: 16px; }
.search input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 12px; border: 2px solid transparent; font: inherit; }
.search input:focus { outline: none; border-color: var(--primary); }
.guide-card { display: flex; gap: 14px; color: inherit; text-decoration: none; transition: transform .12s; }
.guide-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 12px 28px rgba(255, 110, 20, .12); }
.guide-card__title { font-size: 1.08rem; margin-bottom: 4px; }
.guide-card p { margin: 0; font-size: .92rem; }
.guide-card__emoji { flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 1.6rem; background: var(--peach); }
.tint--blue { background: var(--info-soft); }
.tint--green { background: var(--success-soft); }
.tint--red { background: var(--danger-soft); }
.tint--purple { background: #F1E9FF; }
.tint--gold, .tint--yellow { background: var(--gold-soft); }
.tint--gray { background: var(--surface-alt); }
.guide__head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.guide__head h1 { margin: 0; }
.guide__head p { margin: 0; }
.guide__start, .guide__section { margin-bottom: 16px; }
.guide__list { margin: 0; padding-left: 22px; }
.guide__list li { margin: 6px 0; }
.guide__section--risks { border-left: 4px solid var(--danger); }
.guide__section--tips { border-left: 4px solid var(--success); }

.faq { padding: 0; margin-bottom: 10px; }
.faq summary { padding: 16px 20px; cursor: pointer; font: 600 1.02rem var(--font-head); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 20px 16px; margin: 0; color: var(--ink-soft); }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }

/* Footer */
.footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding: 40px 0 20px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer__grid a:not(.brand) { display: block; color: rgba(255, 255, 255, .85); text-decoration: none; padding: 3px 0; }
.footer__grid a:not(.brand):hover { color: var(--primary); }
.footer .muted { color: rgba(255, 255, 255, .65); }
.footer__title { color: #fff; font-size: 1rem; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__rp { background: var(--primary); color: var(--ink); }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 24px; padding-top: 16px; font-size: .85rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

.product .tile__icon, .product .tile img { animation: lbc-float 5s ease-in-out infinite; }
.product:nth-child(2n) .tile__icon, .product:nth-child(2n) .tile img { animation-delay: -2.5s; }
@keyframes lbc-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ===================== v2 home page + site-wide motion ===================== */

/* Page transitions between pages (browsers with cross-document View Transitions; others just navigate) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: lbc-page-out .22s ease both; }
::view-transition-new(root) { animation: lbc-page-in .38s cubic-bezier(.2, .8, .2, 1) both; }
.topbar { view-transition-name: topbar; }
@keyframes lbc-page-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes lbc-page-in { from { opacity: 0; transform: translateY(14px); } }

/* Top bar hides when scrolling down, comes back when scrolling up (site.js) */
.topbar { transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, background .2s; }
.topbar.is-hidden-up { transform: translateY(-100%); }
.menu a:not(.btn) { position: relative; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.menu a:not(.btn):hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }

/* Pastel tiles of the F1 menu */
.tint-tile { display: inline-grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; font-size: 1.7rem;
    background: var(--peach); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .06); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.tint-tile--peach { background: #FFE6D5; } .tint-tile--blue { background: #E2ECFF; } .tint-tile--green { background: #DDF5E7; }
.tint-tile--purple { background: #ECE3FF; } .tint-tile--gold { background: #FFF1C2; } .tint-tile--pink { background: #FFE2EE; }
.tint-tile--red { background: #FFE1E1; } .tint-tile--teal { background: #D9F4F1; }

/* Hero extras: floating icons and a glowing play button */
.hero__floaters span { position: absolute; left: var(--x); top: var(--y); font-size: clamp(1.6rem, 3vw, 2.6rem); opacity: .55;
    filter: drop-shadow(0 8px 10px rgba(120, 40, 0, .25)); animation: lbc-drift 9s ease-in-out var(--d) infinite; }
@keyframes lbc-drift { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 33% { transform: translate(10px, -14px) rotate(4deg); } 66% { transform: translate(-8px, 8px) rotate(-2deg); } }
@media (max-width: 700px) { .hero__floaters { display: none; } }
.btn--glow { box-shadow: 0 4px 0 var(--navy-dark), 0 0 0 0 rgba(31, 45, 61, .45); animation: lbc-glow 2.6s ease-out infinite; }
@keyframes lbc-glow { 0% { box-shadow: 0 4px 0 var(--navy-dark), 0 0 0 0 rgba(255, 255, 255, .55); } 70%, 100% { box-shadow: 0 4px 0 var(--navy-dark), 0 0 0 16px rgba(255, 255, 255, 0); } }

/* Infinite scrolling band */
.marquee { overflow: hidden; margin: 36px 0 0; padding: 14px 0; background: var(--navy); transform: rotate(-1.2deg); box-shadow: 0 12px 30px rgba(18, 28, 39, .2); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: lbc-marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; color: #fff; font: 1.15rem var(--font-display); letter-spacing: .02em; white-space: nowrap; }
.marquee span::after { content: "✦"; margin: 0 22px; color: var(--primary); }
@keyframes lbc-marquee { to { transform: translateX(-50%); } }

/* Section titles: underline drawn when revealed */
.title-draw { display: inline-block; position: relative; }
.title-draw::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -8px; height: 6px; border-radius: 6px;
    background: linear-gradient(90deg, var(--primary), var(--gold)); transform: scaleX(0); transition: transform .8s cubic-bezier(.2, .8, .2, 1) .2s; }
.is-in .title-draw::after, .title-draw.is-in::after, html:not(.js) .title-draw::after { transform: scaleX(1); }
.section__head h2 { margin-bottom: .7em; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { position: relative; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
    transition: box-shadow .2s, border-color .2s; overflow: hidden; }
.feature::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 110, 20, .12), transparent 70%); transition: transform .4s; }
.feature:hover { border-color: #FFC9A6; box-shadow: 0 18px 38px rgba(255, 110, 20, .14); }
.feature:hover::before { transform: scale(1.6); }
.feature:hover .tint-tile { transform: rotate(-8deg) scale(1.1); }
.feature h3 { margin: 14px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* First hour timeline */
.band--soft { background: linear-gradient(180deg, #FFF6EF, var(--bg)); border: 0; }
.firsthour { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .firsthour { grid-template-columns: 1fr; } }
.firsthour__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: linear-gradient(var(--primary), var(--gold)); }
.timeline__item { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--surface);
    border: 1px solid var(--border); box-shadow: var(--shadow); }
.timeline__item::before { content: ""; position: absolute; left: -26px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); }
.timeline__time { flex-shrink: 0; min-width: 68px; padding: 6px 10px; border-radius: 10px; background: var(--navy); color: #fff; text-align: center; font: .95rem var(--font-display); }
.timeline__item h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.timeline__item p { margin: 0; font-size: .93rem; }

/* Job filter chips */
.chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: -6px 0 22px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 2px solid var(--border); background: var(--surface); color: var(--ink-soft);
    font: 600 .95rem var(--font-head); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.chip:hover { border-color: var(--primary); transform: translateY(-2px); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 3px 0 var(--navy-dark); }
.job { position: relative; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s, box-shadow .15s, border-color .15s; }
.job.is-filtered { opacity: .18; transform: scale(.94); filter: grayscale(1); pointer-events: none; }
.job__kind { position: absolute; top: 18px; right: 18px; padding: 2px 9px; border-radius: 999px; font: 600 .74rem var(--font-head); }
.job__kind--legal { background: var(--success-soft); color: var(--success); }
.job__kind--illegal { background: var(--danger-soft); color: var(--danger); }
.job__kind--service { background: var(--info-soft); color: #1D4E9E; }

/* Golden rules on a dark band */
.band--dark { position: relative; overflow: hidden; border: 0; color: #fff;
    background: radial-gradient(circle at 90% 0%, rgba(255, 110, 20, .28), transparent 45%), linear-gradient(160deg, #2A3B4F, var(--navy) 55%, var(--navy-dark)); }
.band--dark h2, .band--dark h3 { color: #fff; }
.band--dark .section__head p:not(.eyebrow) { color: rgba(255, 255, 255, .78); }
.rulesgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .rulesgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rulesgrid { grid-template-columns: 1fr; } }
.rulecard { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(4px); transition: background .2s, transform .2s; }
.rulecard:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.rulecard h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.rulecard p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .93rem; }

/* News */
.news { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .news { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news { grid-template-columns: 1fr; } }
.news__item { position: relative; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
    border-top: 4px solid var(--primary); transition: transform .2s, box-shadow .2s; }
.news__item:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(26, 26, 26, .12); }
.news__date { font: 1.05rem var(--font-display); color: var(--primary-dark); }
.news__tag { float: right; padding: 2px 9px; border-radius: 999px; background: var(--peach); color: var(--primary-dark); font: 600 .74rem var(--font-head); }
.news__item h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.news__item p { margin: 0; font-size: .92rem; }

/* 3D tilt (site.js sets --rx / --ry / --mx / --my on [data-tilt]) */
[data-tilt] { transform-style: preserve-3d; }
[data-tilt].is-tilting { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); transition: transform .08s linear; }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 45%); }
[data-tilt].is-tilting::after { opacity: 1; }
.figure, .job, .feature, .vipcard, .product, .cat, .rank { position: relative; }

/* Reveal variants (site.js): fade-up by default, data-reveal="left|right|zoom", children of [data-stagger] in sequence */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal--left { transform: translateX(-36px); }
.reveal--right { transform: translateX(36px); }
.reveal--zoom { transform: scale(.92); }
.reveal.is-in { opacity: 1; transform: none; }

/* FAQ: smooth opening where supported */
.faq { interpolate-size: allow-keywords; }
.faq::details-content { height: 0; overflow: hidden; transition: height .35s ease, content-visibility .35s allow-discrete; }
.faq[open]::details-content { height: auto; }
.faq summary::after { transition: transform .3s; }
.faq[open] summary::after { transform: rotate(180deg); }

/* Store tabs and chips: a little bounce */
.tab { transition: transform .15s, background .2s, border-color .2s, color .2s; }
.tab:hover { transform: translateY(-2px); }

/* ===================== v3: top bar, hero, VIP emblem, store head, smoother motion ===================== */

/* Performance (Chrome): nothing animates box-shadow / filter / backdrop-filter any more; only transform and
   opacity move, on their own layers. */
.topbar { background: rgba(255, 255, 255, .97); backdrop-filter: none; }
.dot--on { animation: none; position: relative; }
.dot--on::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(34, 181, 115, .45);
    animation: lbc-ping 2s ease-out infinite; will-change: transform, opacity; }
@keyframes lbc-ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(2.2); opacity: 0; } }
.btn--glow { animation: none; box-shadow: 0 4px 0 var(--navy-dark); }
.btn--glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -2; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6);
    animation: lbc-ring 2.6s ease-out infinite; will-change: transform, opacity; }
@keyframes lbc-ring { 0% { transform: scale(1); opacity: .7; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); } 80%, 100% { transform: scale(1.18, 1.5); opacity: 0; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); } }
.btn--glow { overflow: visible; }
.hero__city, .hero__city--back, .hero__city:not(.hero__city--back) { filter: none; }
.vipshow__glow, .marquee__track, .hero__blob, .phone, .hud { will-change: transform; }
.product .tile__icon, .product .tile img { animation: none; }
.product:hover .tile__icon, .product:hover .tile img { animation: lbc-float 2.4s ease-in-out infinite; }
.reveal { will-change: opacity, transform; }
.reveal.is-in { will-change: auto; }

/* Top bar */
.topbar__inner { min-height: 72px; }
.brand { gap: 10px; }
.brand__logo { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 3px 0 var(--primary-dark); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: inline-flex; align-items: center; gap: 5px; }
.menu { flex: 1; justify-content: space-between; margin-left: 28px; }
.menu__links { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 14px; background: var(--surface-alt); }
.menu__links a { padding: 8px 14px !important; border-radius: 10px !important; color: var(--ink-soft); font: 600 .96rem var(--font-head); text-decoration: none; transition: background .2s, color .2s; }
.menu__links a::after { display: none; }
.menu__links a:hover { background: #fff; color: var(--ink); }
.menu__links a[aria-current="page"] { background: #fff; color: var(--primary-dark); box-shadow: 0 2px 6px rgba(26, 26, 26, .08); }
.menu__side { display: flex; align-items: center; gap: 10px; }
.livechip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--success-soft); color: var(--success); font: 600 .88rem var(--font-head); }
.livechip[hidden] { display: none; }
.btn--discord { background: #5865F2; color: #fff; box-shadow: 0 4px 0 #3C45A5; }
.btn--discord:hover { background: #6B77F7; color: #fff; }
@media (max-width: 1060px) { .livechip { display: none !important; } }
@media (max-width: 900px) {
    .menu { margin-left: 0; flex-direction: column; align-items: stretch; gap: 10px; }
    .menu__links { flex-direction: column; align-items: stretch; background: transparent; padding: 0; }
    .menu__side { flex-wrap: wrap; }
}

/* Hero v3: copy on the left, our in-game interface on the right */
.hero { padding: 54px 0 120px; text-align: left; background: linear-gradient(160deg, #FF8A2E 0%, var(--primary) 45%, #E4560A 100%); }
.hero__sun { display: none; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__blob { position: absolute; border-radius: 50%; }
.hero__blob--a { width: 680px; height: 680px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(255, 226, 180, .55), rgba(255, 190, 120, .18) 45%, transparent 70%);
    animation: lbc-blob 14s ease-in-out infinite; }
.hero__blob--b { width: 520px; height: 520px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(140, 40, 0, .35), transparent 70%);
    animation: lbc-blob 18s ease-in-out -6s infinite reverse; }
@keyframes lbc-blob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 24px) scale(1.08); } }
.hero__city { height: 150px; opacity: .9; }
.hero__city--back { height: 210px; opacity: .3; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero__copy > * { animation: lbc-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; } .hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .22s; } .hero__copy > :nth-child(5) { animation-delay: .28s; } .hero__copy > :nth-child(6) { animation-delay: .34s; }
.hero__inner > * { animation: none; }
.hero__title { justify-content: flex-start; margin: 18px 0 6px; }
.hero__name { font-size: clamp(3rem, 8vw, 5.6rem); }
.hero__rp { font-size: clamp(2rem, 5vw, 3.4rem); }
.hero__tagline { margin: 14px 0 8px; font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.hero__lead { margin: 0 0 24px; max-width: 540px; }
.hero__actions { justify-content: flex-start; }
.hero__ip { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
@media (max-width: 960px) {
    .hero { text-align: center; padding-bottom: 150px; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__title, .hero__actions, .hero__ip { justify-content: center; }
    .hero__lead { margin-left: auto; margin-right: auto; }
    .hero__show { display: none; }
}

.hero__show { position: relative; height: 430px; }
.phone { position: absolute; left: 50%; top: 50%; width: 220px; height: 420px; margin: -210px 0 0 -110px; border-radius: 38px; padding: 10px;
    background: linear-gradient(160deg, #2A3B4F, #0D141C); box-shadow: 0 30px 60px rgba(90, 30, 0, .45), inset 0 0 0 2px rgba(255, 255, 255, .12);
    animation: lbc-phone 7s ease-in-out infinite; }
@keyframes lbc-phone { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(-2deg); } }
.phone__notch { position: absolute; left: 50%; top: 16px; width: 70px; height: 20px; margin-left: -35px; border-radius: 12px; background: #05080C; z-index: 1; }
.phone__screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; padding: 50px 14px 14px;
    background: radial-gradient(circle at 30% 0%, #FFB37E, transparent 55%), linear-gradient(170deg, #FF8A2E, #C9470A 70%, #1F2D3D); }
.phone__time { display: block; color: #fff; text-align: center; font: 2.4rem/1 var(--font-display); }
.phone__city { display: block; color: rgba(255, 255, 255, .8); text-align: center; font: 600 .82rem var(--font-head); margin-bottom: 22px; }
.phone__apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
.phone__apps span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.app--orange { --c: #FF6E14; } .app--blue { --c: #2F6FD6; } .app--green { --c: #22B573; } .app--gold { --c: #FFC21A; }
.app--red { --c: #D9363E; } .app--purple { --c: #7B4BD6; } .app--navy { --c: #1F2D3D; } .app--teal { --c: #0D766E; }
.phone__apps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--c); font-size: 1.15rem;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.phone__apps i { font: 600 .55rem var(--font-head); font-style: normal; color: #fff; }
.hud { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: #fff; color: var(--ink);
    box-shadow: 0 14px 30px rgba(90, 30, 0, .3); font-family: var(--font-head); }
.hud b { display: block; font: 600 .95rem var(--font-head); }
.hud small { display: block; color: var(--muted); font-size: .76rem; }
.hud__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--peach); font-size: 1.1rem; }
.hud--money { right: 2%; bottom: 14%; flex-direction: column; align-items: flex-end; gap: 0; padding: 12px 18px; border: 2px solid var(--primary);
    animation: lbc-hud 6s ease-in-out -1s infinite; }
.hud--money b { font: 1.6rem/1 var(--font-display); }
.hud--money small { color: var(--success); font-weight: 700; }
.hud--notif { left: 0; top: 10%; animation: lbc-hud 7s ease-in-out -3s infinite; }
.hud--job { left: 4%; bottom: 8%; animation: lbc-hud 8s ease-in-out -5s infinite; }
.hud--job .hud__icon { background: var(--info-soft); }
.hud--level { right: 6%; top: 6%; flex-direction: column; align-items: flex-start; gap: 6px; animation: lbc-hud 6.5s ease-in-out -2s infinite; }
.hud__bar { width: 120px; height: 6px; border-radius: 6px; background: var(--surface-alt); overflow: hidden; }
.hud__bar i { display: block; width: 62%; height: 100%; border-radius: 6px; background: var(--primary); animation: lbc-xp 4s ease-in-out infinite; transform-origin: left; }
@keyframes lbc-hud { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lbc-xp { 0% { transform: scaleX(.4); } 70%, 100% { transform: scaleX(1); } }

/* VIP emblem (a medal: VIP are ranks, not cards) */
.emblem { position: relative; display: inline-grid; place-items: center; width: 150px; height: 150px; }
.emblem--sm { width: 104px; height: 104px; }
.emblem--lg { width: 200px; height: 200px; }
.emblem__rays { position: absolute; inset: 0; border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(255, 194, 26, .32) 0 10deg, transparent 10deg 20deg);
    -webkit-mask: radial-gradient(circle, transparent 42%, #000 43%, #000 70%, transparent 71%); mask: radial-gradient(circle, transparent 42%, #000 43%, #000 70%, transparent 71%);
    animation: lbc-spin 24s linear infinite; will-change: transform; }
.emblem__medal { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 66%; height: 66%; border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #FFF1B0, #F7C948 40%, #C99700 100%); color: var(--ink);
    box-shadow: 0 6px 0 #A07800, 0 16px 30px rgba(0, 0, 0, .3), inset 0 0 0 4px rgba(255, 255, 255, .35); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.emblem--plus .emblem__medal { background: radial-gradient(circle at 35% 25%, #4A5B70, #1F2D3D 45%, #0B121A 100%); color: var(--gold);
    box-shadow: 0 6px 0 #05080C, 0 16px 30px rgba(0, 0, 0, .4), inset 0 0 0 4px rgba(255, 194, 26, .55); }
.emblem--plus .emblem__rays { background: repeating-conic-gradient(from 0deg, rgba(255, 194, 26, .5) 0 10deg, transparent 10deg 20deg); animation-direction: reverse; }
.emblem__crown { font-size: 1.6em; line-height: 1; margin-bottom: 2px; }
.emblem__tier { font: 1.9rem/1 var(--font-display); letter-spacing: .02em; }
.emblem--sm .emblem__tier { font-size: 1.3rem; } .emblem--sm .emblem__crown { font-size: 1.1rem; }
.emblem--lg .emblem__tier { font-size: 2.6rem; } .emblem--lg .emblem__crown { font-size: 2.2rem; }
.emblem__sub { font: 600 .7rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
a:hover .emblem__medal, .vipoffer:hover .emblem__medal, .cat:hover .emblem__medal { transform: scale(1.07) rotate(-4deg); }
.cardband__item .emblem { margin-bottom: -4px; }
.tile--big .emblem--lg { width: 78%; height: 78%; }
.tile--big .emblem--lg .emblem__tier { font-size: 3.6rem; } .tile--big .emblem--lg .emblem__crown { font-size: 3rem; } .tile--big .emblem--lg .emblem__sub { font-size: .9rem; }

/* Store head: navy band with an orange glow (no flat orange any more) */
.pagehead--store { padding: 40px 0 74px; color: #fff;
    background: radial-gradient(circle at 85% -10%, rgba(255, 110, 20, .55), transparent 50%), radial-gradient(circle at 0% 120%, rgba(255, 194, 26, .25), transparent 45%),
        linear-gradient(160deg, #2A3B4F, var(--navy) 55%, var(--navy-dark)); }
.pagehead--store h1, .pagehead--store .eyebrow--light { color: #fff; }
.pagehead--store h1 { font: clamp(2.4rem, 5vw, 3.4rem)/1 var(--font-display); }
.pagehead--store p { color: rgba(255, 255, 255, .8); }
.pagehead--store .pagehead__city { opacity: .18; }
.pagehead--store .btn--dark { background: var(--primary); color: var(--ink); box-shadow: 0 4px 0 var(--primary-dark); }
.howto li { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }

/* ===================== v4 (owner's mockup): status card, figures, rules band, trust strip, donor banner ===================== */
.hero { padding-bottom: 110px; }
.hero__show { height: auto; display: flex; justify-content: center; }
.statuscard { width: min(100%, 400px); padding: 22px; border-radius: 24px; background: #fff; color: var(--ink);
    box-shadow: 0 6px 0 rgba(120, 45, 0, .35), 0 30px 60px rgba(90, 30, 0, .35); border: 2px solid rgba(31, 45, 61, .9);
    animation: lbc-rise .8s cubic-bezier(.2, .8, .2, 1) .3s both; }
.statuscard__top { display: flex; justify-content: space-between; align-items: center; }
.statuscard__state { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem var(--font-head); }
.statuscard__city { color: var(--muted); font: 600 .85rem var(--font-head); }
.statuscard__count { margin: 14px 0 10px; display: flex; align-items: baseline; gap: 8px; }
.statuscard__count b { font: 3.4rem/1 var(--font-display); }
.statuscard__count > span { color: var(--muted); font: 600 1.15rem var(--font-head); }
.statuscard__bar { display: block; height: 10px; border-radius: 10px; background: var(--surface-alt); overflow: hidden; margin-bottom: 16px; }
.statuscard__bar i { display: block; height: 100%; width: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--primary), #FF9A3C);
    transform: scaleX(.03); transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.statuscard__ip { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px;
    background: var(--surface-alt); margin-bottom: 12px; }
.statuscard__ip small, .statuscard__perk small { display: block; color: var(--muted); font: 600 .78rem var(--font-head); }
.statuscard__ip b { font: 600 1.05rem var(--font-head); letter-spacing: .02em; }
.statuscard__ip .btn.is-copied::after { content: " ✓"; }
.statuscard__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.statuscard__perk { padding: 12px 14px; border-radius: 14px; }
.statuscard__perk b { font: 600 1rem var(--font-head); }
.statuscard__perk--peach { background: #FFE6D5; } .statuscard__perk--peach small { color: var(--primary-dark); }
.statuscard__perk--blue { background: #E2ECFF; } .statuscard__perk--blue small { color: #1D4E9E; }
@media (max-width: 960px) { .hero__show { display: flex; margin-top: 10px; } }

/* Scrolling band right under the hero */
.marquee { margin: -26px 0 0; position: relative; z-index: 2; }

/* Key figures: horizontal cards with a pastel icon */
.figures { margin-top: 34px; gap: 16px; }
.figure { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px; border-radius: 20px; background: var(--surface);
    border: 2px solid var(--navy); box-shadow: 0 5px 0 var(--navy); border-top-width: 2px; }
.figure__icon { width: 48px; height: 48px; border-radius: 14px; font-size: 1.4rem; }
.figure__text { display: flex; flex-direction: column; }
.figure__value { font-size: 1.7rem; color: var(--ink); }
.figure__label { font-size: .88rem; }

/* Golden rules band */
.rulesband__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.rulesband__head h2 { margin: 0; font: clamp(1.8rem, 3.6vw, 2.4rem)/1.05 var(--font-display); }
.rulesgrid { list-style: none; padding: 0; margin: 0; }
.rulecard { align-items: flex-start; }
.rulecard__num { flex-shrink: 0; width: 40px; color: var(--primary); font: 2.6rem/1 var(--font-display); text-align: center; text-shadow: 0 3px 0 rgba(0, 0, 0, .25); }

/* Store: trust strip and donor banner */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: -14px 0 34px; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }
.trust__item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.trust__item .tint-tile { width: 40px; height: 40px; border-radius: 12px; font-size: 1.15rem; }
.trust__item b { display: block; font: 600 .98rem var(--font-head); }
.trust__item small { display: block; color: var(--muted); font-size: .84rem; }
.donorbanner { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; padding: 18px 22px; border-radius: 20px; text-decoration: none; color: var(--ink);
    background: #FFF6D8; border: 2px solid var(--navy); box-shadow: 0 5px 0 var(--navy); transition: transform .15s; }
.donorbanner:hover { color: var(--ink); transform: translateY(-2px); }
.donorbanner__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--gold); font-size: 1.6rem; box-shadow: 0 3px 0 var(--gold-dark); flex-shrink: 0; }
.donorbanner__text { flex: 1; }
.donorbanner__text b { display: block; font: 600 1.12rem var(--font-head); }
.donorbanner__text small { color: var(--ink-soft); }
@media (max-width: 640px) { .donorbanner { flex-wrap: wrap; } }

/* Reduced motion (Windows "animation effects" off, followed by Chrome): keep the gentle effects (fades, the
   scrolling band, counters), drop the large movements only (parallax, 3D tilt, floating, sliding reveals). */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .phone, .hud, .hero__blob, .catband__art img, .catband .cat__emoji, .product:hover .tile__icon, .product:hover .tile img { animation: none; }
    .marquee__track { animation-duration: 70s; }
}

/* Product pictures (owner's images, /assets/img/products/*.webp): cut out on the tile colour, the few with a
   real background (Chiron, 4 M, 10 M) full-bleed. */
.item__pic img[src*="/img/products/"], .rank__pic img[src*="/img/products/"], .tile img[src*="/img/products/"] {
    width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .28)); }
.item__pic img[src$="veh_chiron.webp"], .item__pic img[src$="money_4m.webp"], .item__pic img[src$="money_10m.webp"],
.rank__pic img[src$="veh_chiron.webp"], .rank__pic img[src$="money_4m.webp"], .rank__pic img[src$="money_10m.webp"],
.tile img[src$="veh_chiron.webp"], .tile img[src$="money_4m.webp"], .tile img[src$="money_10m.webp"] {
    width: 100%; height: 100%; object-fit: cover; filter: none; border-radius: inherit; }
.item__pic:has(img[src*="/img/products/"]), .rank__pic:has(img[src*="/img/products/"]), .tile:has(img[src*="/img/products/"]) { overflow: hidden; }
.item:hover .item__pic img[src*="/img/products/"] { transform: scale(1.06); }

/* Home VIP cards: the rank emblem instead of the star tile */
.vipcard__head .emblem { flex-shrink: 0; margin: -8px 0 -8px -10px; }
