/*
 * HypeNetwork — thème Azuriom par HypeStudios
 * --hype-primary / --hype-accent sont injectées depuis la config du thème (layouts/base).
 * Palette tirée du logo : or, améthyste, vert menthe, brun du contour.
 */

/* Polices locales (licence OFL, voir assets/fonts) */
@font-face { font-family: 'Lilita One'; src: url('../fonts/lilita-one.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('../fonts/nunito.woff') format('woff'); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: 'Silkscreen'; src: url('../fonts/silkscreen.woff') format('woff'); font-weight: 400; font-display: swap; }

/* =========================================================
   Tokens
   ========================================================= */
:root,
[data-bs-theme=light] {
    --hype-bg: #fbf5e9;
    --hype-surface: #ffffff;
    --hype-surface-2: #f4ebd9;
    --hype-ink: #2b1a12;
    --hype-muted: #7a6153;
    --hype-edge: rgba(72, 37, 27, .16);
    --hype-edge-strong: #48251b;
    --hype-drop: rgba(72, 37, 27, .14);
    --hype-nav-bg: rgba(251, 245, 233, .86);
    --hype-mint: #3fc48a;
    --hype-mint-ink: #127a4c;
    --hype-sky-1: #6cc2f2;
    --hype-sky-2: #b9e4fb;
    --hype-sky-3: #fbf5e9;

    --hype-radius: 12px;
    --hype-radius-sm: 8px;
    --hype-font-display: 'Lilita One', 'Nunito', system-ui, sans-serif;
    --hype-font-body: 'Nunito', system-ui, sans-serif;
    --hype-font-pixel: 'Silkscreen', ui-monospace, monospace;
    --hype-ease: cubic-bezier(.22, 1, .36, 1);

    --bs-body-bg: var(--hype-bg);
    --bs-body-color: var(--hype-ink);
    --bs-secondary-bg: var(--hype-surface-2);
    --bs-tertiary-bg: var(--hype-surface-2);
    --bs-border-color: var(--hype-edge);
    --bs-border-radius: var(--hype-radius-sm);
    --bs-border-radius-lg: var(--hype-radius);
    --bs-body-font-family: var(--hype-font-body);
    --bs-emphasis-color: var(--hype-ink);
    --bs-secondary-color: var(--hype-muted);
    --bs-heading-color: var(--hype-ink);
}

[data-bs-theme=dark] {
    --hype-bg: #15111f;
    --hype-surface: #211a30;
    --hype-surface-2: #2b2340;
    --hype-ink: #fff8e7;
    --hype-muted: #b6abc9;
    --hype-edge: rgba(255, 255, 255, .08);
    --hype-edge-strong: #0b0812;
    --hype-drop: rgba(0, 0, 0, .45);
    --hype-nav-bg: rgba(21, 17, 31, .85);
    --hype-mint-ink: #6fe3ad;
    --hype-sky-1: #120d2b;
    --hype-sky-2: #2a1f5a;
    --hype-sky-3: #15111f;

    --bs-body-bg: var(--hype-bg);
    --bs-body-color: var(--hype-ink);
    --bs-secondary-bg: var(--hype-surface-2);
    --bs-tertiary-bg: var(--hype-surface-2);
    --bs-border-color: var(--hype-edge);
    --bs-emphasis-color: var(--hype-ink);
    --bs-secondary-color: var(--hype-muted);
    --bs-heading-color: var(--hype-ink);
}

/* =========================================================
   Base
   ========================================================= */
html { scroll-behavior: smooth; }

body.hype {
    background: var(--hype-bg);
    color: var(--hype-ink);
    font-family: var(--hype-font-body);
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--hype-font-display);
    font-weight: 400;
    letter-spacing: .01em;
    color: var(--hype-ink);
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(var(--hype-primary-rgb), .35); }
.min-w-0 { min-width: 0; }

.hype-muted { color: var(--hype-muted) !important; }

.hype-kicker {
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: var(--hype-font-pixel);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--hype-accent);
    margin-bottom: .35rem;
}
.hype-pixel-label { font-family: var(--hype-font-pixel); font-size: .8rem; color: var(--hype-muted); }

/* Têtes de joueurs Minecraft : rendu pixel net */
.hype-head, .hype-avatar, .hype-podium-head, .hype-slot img, .hype-package-media img, .hype-tier-slot img {
    image-rendering: pixelated;
}
.hype-head {
    width: 32px; height: 32px;
    border-radius: 4px;
    box-shadow: 0 0 0 2px var(--hype-edge-strong);
    flex-shrink: 0;
}
.hype-head.is-lg { width: 48px; height: 48px; }

/* =========================================================
   Bootstrap harmonisé (boutique, panier, profil, forum, autres plugins)
   ========================================================= */
.card {
    background: var(--hype-surface);
    border: 2px solid var(--hype-edge);
    border-radius: var(--hype-radius);
    box-shadow: 0 5px 0 var(--hype-drop);
}
.card-header, .card-footer { background: transparent; border-color: var(--hype-edge); }
.card-header { font-family: var(--hype-font-display); font-size: 1.1rem; }

.btn {
    --bs-btn-font-weight: 800;
    border-radius: var(--hype-radius-sm);
    border-width: 2px;
    padding: .55rem 1.1rem;
    transition: transform .12s, box-shadow .12s, filter .15s, background-color .15s;
}
.btn-lg { padding: .8rem 1.5rem; font-size: 1.05rem; }

/* Boutons « bloc » façon Minecraft : biseau + enfoncement au clic */
.btn-primary,
.hype-btn-secondary,
.hype-btn-discord,
.hype-btn-light {
    border: 2px solid var(--hype-edge-strong);
    box-shadow:
        inset 0 -4px 0 rgba(0, 0, 0, .22),
        inset 0 2px 0 rgba(255, 255, 255, .35),
        0 3px 0 var(--hype-drop);
}
.btn-primary:hover,
.hype-btn-secondary:hover,
.hype-btn-discord:hover,
.hype-btn-light:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-primary:active,
.hype-btn-secondary:active,
.hype-btn-discord:active,
.hype-btn-light:active {
    transform: translateY(2px);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .22), inset 0 2px 0 rgba(255, 255, 255, .25);
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--hype-primary) !important;
    border-color: var(--hype-edge-strong) !important;
    color: var(--hype-on-primary) !important;
}
.hype-btn-secondary, .hype-btn-secondary:hover { background: var(--hype-surface-2); color: var(--hype-ink); }
.hype-btn-discord, .hype-btn-discord:hover { background: #5865f2; color: #fff; }
.hype-btn-light, .hype-btn-light:hover { background: #fff8e7; color: #2b1a12; }
.btn-primary i, .hype-btn-discord i { margin-right: .15rem; }

.form-control, .form-select {
    background-color: var(--hype-surface);
    border: 2px solid var(--hype-edge);
    border-radius: var(--hype-radius-sm);
    padding: .65rem .9rem;
    font-weight: 600;
}
.form-control:focus, .form-select:focus {
    border-color: var(--hype-primary);
    box-shadow: 0 0 0 4px rgba(var(--hype-primary-rgb), .22);
}

.dropdown-menu {
    background: var(--hype-surface);
    border: 2px solid var(--hype-edge);
    border-radius: var(--hype-radius);
    box-shadow: 0 6px 0 var(--hype-drop);
    padding: .4rem;
}
.dropdown-item { border-radius: 6px; padding: .5rem .75rem; font-weight: 700; }
.dropdown-item i { margin-right: .35rem; opacity: .75; }
.dropdown-item.active, .dropdown-item:active { background: var(--hype-primary); color: var(--hype-on-primary); }

.table { --bs-table-bg: transparent; }
.table thead th { font-family: var(--hype-font-display); font-weight: 400; }
.list-group-item { background: var(--hype-surface); border-color: var(--hype-edge); }
.list-group-item.active { background: var(--hype-primary); border-color: var(--hype-primary); color: var(--hype-on-primary); }
.modal-content {
    background: var(--hype-surface);
    border-radius: var(--hype-radius);
    border: 2px solid var(--hype-edge-strong);
    box-shadow: 0 8px 0 var(--hype-drop);
}
.modal-header, .modal-footer { border-color: var(--hype-edge); }
.alert { border-radius: var(--hype-radius-sm); border: 2px solid transparent; font-weight: 700; }
.badge { font-family: var(--hype-font-pixel); font-weight: 400; }
.page-link { border-radius: 6px !important; border: 2px solid var(--hype-edge); background: var(--hype-surface); color: var(--hype-ink); margin: 0 .15rem; }
.page-item.active .page-link { background: var(--hype-primary); border-color: var(--hype-edge-strong); color: var(--hype-on-primary); }
.progress { --bs-progress-bg: var(--hype-surface-2); --bs-progress-bar-bg: var(--hype-mint); }

.hype-page { padding-top: 2.5rem !important; }
.hype-page > h1:first-child { margin-bottom: 1.5rem; }

/* =========================================================
   Navbar
   ========================================================= */
.hype-header { position: sticky; top: 0; z-index: 1030; }
/* Accueil : le menu flotte au-dessus du ciel (aucune bande de fond visible) */
.hype-home .hype-header { position: fixed; top: 0; left: 0; right: 0; }

.hype-navbar {
    padding-block: .55rem;
    background: var(--hype-nav-bg);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 2px solid var(--hype-edge);
    transition: padding .3s var(--hype-ease), background-color .3s, border-color .3s;
}
.hype-navbar.is-scrolled { padding-block: .3rem; }
.hype-home .hype-navbar:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

.hype-brand { display: inline-flex; align-items: center; }
.hype-brand-logo {
    height: 52px; width: auto;
    filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .18));
    transition: transform .35s var(--hype-ease), height .3s var(--hype-ease);
}
.hype-navbar.is-scrolled .hype-brand-logo { height: 42px; }
.hype-brand:hover .hype-brand-logo { transform: rotate(-3deg) scale(1.04); }

.hype-navbar .nav-link {
    font-weight: 800;
    color: var(--hype-ink);
    opacity: .78;
    padding: .5rem .85rem !important;
    border-radius: var(--hype-radius-sm);
    transition: opacity .2s, background-color .2s, color .2s;
}
.hype-navbar .nav-link:hover,
.hype-navbar .nav-link.show { opacity: 1; background: rgba(var(--hype-primary-rgb), .14); }
.hype-navbar .nav-link.active { opacity: 1; color: var(--hype-ink); background: rgba(var(--hype-primary-rgb), .22); box-shadow: inset 0 -3px 0 var(--hype-primary); }

.hype-btn-sm { padding: .4rem 1rem; font-size: .92rem; }

.hype-user { display: inline-flex !important; align-items: center; gap: .5rem; }
.hype-avatar { width: 28px; height: 28px; border-radius: 4px; box-shadow: 0 0 0 2px var(--hype-edge-strong); }

.hype-toggler { border: none; padding: .5rem; display: flex; flex-direction: column; gap: 5px; box-shadow: none !important; }
.hype-toggler span { display: block; width: 24px; height: 4px; background: var(--hype-ink); transition: transform .3s var(--hype-ease), opacity .2s; }
.hype-toggler[aria-expanded=true] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hype-toggler[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.hype-toggler[aria-expanded=true] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 991.98px) {
    .hype-navbar .navbar-collapse {
        margin-top: .6rem;
        padding: .75rem;
        background: var(--hype-surface);
        border: 2px solid var(--hype-edge);
        border-radius: var(--hype-radius);
        box-shadow: 0 6px 0 var(--hype-drop);
    }
    .hype-nav-actions { border-top: 2px dashed var(--hype-edge); margin-top: .5rem; padding-top: .5rem; }
    .hype-nav-actions .btn { width: 100%; margin-top: .25rem; }
    .hype-brand-logo { height: 44px; }
}

/* =========================================================
   Hero : ciel, nuages pixel, herbe
   ========================================================= */
.hype-hero {
    position: relative;
    padding: calc(84px + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(7rem, 11vw, 9rem);
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, var(--hype-sky-1) 0%, var(--hype-sky-2) 55%, var(--hype-sky-3) 100%);
}
.hype-hero.has-bg::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--hero-bg) center / cover no-repeat;
    opacity: .22;
    z-index: -1;
    mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
}

.hype-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hype-sun {
    position: absolute; top: 16%; right: 12%;
    width: 72px; height: 72px;
    background: #ffe36b;
    box-shadow: 0 0 0 10px rgba(255, 227, 107, .35), 0 0 0 22px rgba(255, 227, 107, .15);
}
[data-bs-theme=dark] .hype-sun {
    background: #e9e6f4;
    box-shadow: 0 0 0 10px rgba(233, 230, 244, .12), inset -14px -10px 0 #c9c4dc;
}

/* Nuage blocky : rectangle + 2 « marches » pixel */
.hype-cloud {
    position: absolute;
    width: 160px; height: 36px;
    background: #fff;
    opacity: .9;
    animation: hype-drift var(--t, 60s) linear infinite;
}
.hype-cloud::before, .hype-cloud::after { content: ''; position: absolute; background: inherit; }
.hype-cloud::before { width: 72px; height: 24px; top: -24px; left: 32px; }
.hype-cloud::after { width: 48px; height: 20px; top: -16px; left: 96px; }
.hype-cloud.cl1 { top: 18%; left: -10%; --t: 70s; }
.hype-cloud.cl2 { top: 44%; left: 30%; --t: 95s; transform: scale(.7); animation-delay: -40s; }
.hype-cloud.cl3 { top: 28%; left: 70%; --t: 80s; transform: scale(.85); animation-delay: -20s; }
[data-bs-theme=dark] .hype-cloud { background: #3b2f6e; opacity: .55; }

.hype-stars { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
[data-bs-theme=dark] .hype-stars {
    opacity: 1;
    background-image:
        radial-gradient(2px 2px at 12% 22%, #fff 99%, transparent),
        radial-gradient(2px 2px at 28% 12%, #fff 99%, transparent),
        radial-gradient(2px 2px at 42% 34%, #fff8 99%, transparent),
        radial-gradient(2px 2px at 58% 16%, #fff 99%, transparent),
        radial-gradient(2px 2px at 76% 40%, #fff8 99%, transparent),
        radial-gradient(2px 2px at 88% 10%, #fff 99%, transparent),
        radial-gradient(2px 2px at 6% 52%, #fff8 99%, transparent),
        radial-gradient(2px 2px at 94% 58%, #fff 99%, transparent);
}

/* Bande d'herbe + terre */
.hype-grass {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 56px;
    background:
        linear-gradient(180deg, transparent 0 14px, rgba(0, 0, 0, .08) 14px 16px, transparent 16px),
        repeating-linear-gradient(90deg, #6cc23d 0 16px, #5aaf31 16px 32px, #79cf47 32px 40px, #5aaf31 40px 56px) top / 100% 14px no-repeat,
        repeating-linear-gradient(90deg, transparent 0 24px, rgba(0, 0, 0, .1) 24px 32px) 0 26px / 100% 8px no-repeat,
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 8px, transparent 8px 40px) 0 40px / 100% 8px no-repeat,
        #8b5a33;
}
/* Petites « dents » d'herbe qui débordent sur la terre */
.hype-grass::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 14px; height: 8px;
    background: repeating-linear-gradient(90deg, #5aaf31 0 8px, transparent 8px 24px, #6cc23d 24px 32px, transparent 32px 56px);
}

.hype-hero-inner { max-width: 820px; margin-inline: auto; text-align: center; }

.hype-badge {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .45rem .9rem .45rem .7rem;
    background: var(--hype-surface);
    border: 2px solid var(--hype-edge-strong);
    border-radius: 6px;
    box-shadow: 0 3px 0 var(--hype-drop);
    font-family: var(--hype-font-pixel);
    font-size: .78rem;
    margin-bottom: 1rem;
}
.hype-badge .dot { width: 10px; height: 10px; background: var(--hype-mint); animation: hype-blink 1.4s steps(2) infinite; }

.hype-hero-logo { margin: 0 auto .75rem; max-width: 620px; }
.hype-hero-logo img {
    width: 100%; height: auto;
    filter: drop-shadow(0 10px 0 rgba(43, 26, 18, .18)) drop-shadow(0 18px 24px rgba(43, 26, 18, .25));
}
.hype-animated .hype-hero-logo img { animation: hype-bob 5s ease-in-out infinite; }

.hype-hero-title {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    line-height: .95;
    color: #fff8e7;
    -webkit-text-stroke: 3px #48251b;
    paint-order: stroke fill;
    text-shadow: 0 6px 0 #48251b;
    margin-bottom: 1rem;
}
.hype-hero-sub {
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    font-weight: 700;
    color: var(--hype-ink);
    max-width: 600px; margin: 0 auto 1.75rem;
}
.hype-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; align-items: center; }

/* IP copiable */
.hype-ip {
    display: inline-flex; align-items: center; gap: .8rem;
    padding: .55rem 1rem;
    background: #1e1b26;
    color: #fff8e7;
    border: 2px solid var(--hype-edge-strong);
    border-radius: var(--hype-radius-sm);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .35), 0 3px 0 var(--hype-drop);
    text-align: left;
    cursor: pointer;
    transition: transform .12s, filter .15s;
}
.hype-ip:hover { transform: translateY(-1px); filter: brightness(1.15); }
.hype-ip:active { transform: translateY(2px); }
.hype-ip-text { display: flex; flex-direction: column; line-height: 1.25; }
.hype-ip-text strong { font-family: var(--hype-font-pixel); font-weight: 400; font-size: .95rem; }
.hype-ip-text small { color: #b6abc9; font-size: .78rem; font-weight: 700; }
.hype-ip > i { color: var(--hype-primary); }
.hype-ip.is-copied { box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .35), 0 0 0 3px var(--hype-mint); }
.hype-ip.is-copied > i::before { content: '\F26E'; color: var(--hype-mint); }
.hype-ip-sm { justify-content: space-between; padding: .5rem .85rem; }

.hype-status { width: 10px; height: 10px; background: #8a8a8a; flex-shrink: 0; }
.hype-status.is-online { background: var(--hype-mint); animation: hype-blink 1.4s steps(2) infinite; }

/* =========================================================
   Stats
   ========================================================= */
.hype-stats-wrap { margin-top: -4.5rem; position: relative; z-index: 2; }
.hype-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    background: var(--hype-surface);
    border: 2px solid var(--hype-edge-strong);
    border-radius: var(--hype-radius);
    box-shadow: 0 6px 0 var(--hype-drop);
    max-width: 920px; margin-inline: auto;
    overflow: hidden;
}
.hype-stat { padding: 1.3rem 1rem; text-align: center; display: flex; flex-direction: column; gap: .15rem; }
.hype-stat + .hype-stat { border-left: 2px dashed var(--hype-edge); }
@media (max-width: 575.98px) { .hype-stat:nth-child(odd) { border-left: none; } .hype-stat:nth-child(n+3) { border-top: 2px dashed var(--hype-edge); } }
.hype-stat-value { font-family: var(--hype-font-display); font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--hype-primary); -webkit-text-stroke: 1px var(--hype-edge-strong); paint-order: stroke fill; font-variant-numeric: tabular-nums; line-height: 1.1; }
[data-bs-theme=dark] .hype-stat-value { -webkit-text-stroke: 0; }
.hype-stat-label { font-family: var(--hype-font-pixel); font-size: .72rem; color: var(--hype-muted); }

/* =========================================================
   Sections & cartes
   ========================================================= */
.hype-section { padding-block: clamp(3.5rem, 7vw, 5rem) 0; }
.hype-section-head { text-align: center; margin-bottom: 2rem; }
.hype-section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: .3rem; }
.hype-section-head p { color: var(--hype-muted); margin: 0; }
.hype-section-head-row { display: flex; align-items: end; justify-content: space-between; text-align: left; gap: 1rem; flex-wrap: wrap; }

.hype-link-arrow { font-weight: 800; color: var(--hype-accent); }
.hype-link-arrow i { display: inline-block; transition: transform .25s var(--hype-ease); }
.hype-link-arrow:hover i { transform: translateX(4px); }

.hype-message {
    display: flex; gap: 1rem; align-items: flex-start;
    margin-top: 3rem; padding: 1rem 1.25rem;
    border-radius: var(--hype-radius);
    background: rgba(var(--hype-primary-rgb), .15);
    border: 2px solid rgba(var(--hype-primary-rgb), .55);
    font-weight: 700;
}
.hype-message i { color: var(--hype-primary); font-size: 1.2rem; }

.hype-card, .hype-panel {
    display: block;
    position: relative;
    background: var(--hype-surface);
    border: 2px solid var(--hype-edge);
    border-radius: var(--hype-radius);
    box-shadow: 0 5px 0 var(--hype-drop);
    padding: 1.4rem;
    color: var(--hype-ink);
}
.hype-card { transition: transform .25s var(--hype-ease), box-shadow .25s var(--hype-ease), border-color .25s; }
.hype-card:hover { transform: translateY(-4px); box-shadow: 0 9px 0 var(--hype-drop); border-color: var(--hype-edge-strong); color: var(--hype-ink); }

.hype-panel-title {
    display: flex; align-items: center; gap: .55rem;
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
}
.hype-panel-title i { color: var(--hype-accent); }

.hype-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .2rem .55rem; border-radius: 4px;
    font-family: var(--hype-font-pixel); font-size: .7rem;
    background: var(--hype-surface-2); color: var(--hype-muted);
    border: 2px solid var(--hype-edge);
}
.hype-pill.is-online { color: var(--hype-mint-ink); border-color: rgba(63, 196, 138, .4); background: rgba(63, 196, 138, .12); }
.hype-pill.is-accent { background: var(--hype-primary); color: var(--hype-on-primary); border-color: var(--hype-edge-strong); align-self: flex-start; }
.hype-pill .hype-status { width: 7px; height: 7px; }

.hype-progress { height: 12px; background: #2b2b2b; border: 2px solid #111; border-radius: 3px; overflow: hidden; }
.hype-progress span {
    display: block; height: 100%; width: var(--w);
    background: linear-gradient(180deg, #a2f56d, #4fb52a);
    transform-origin: left;
}
.hype-animated .hype-progress span { transform: scaleX(0); transition: transform 1.2s var(--hype-ease) .2s; }
.hype-animated .is-visible .hype-progress span { transform: scaleX(1); }

.hype-feature-icon {
    display: inline-grid; place-items: center;
    width: 52px; height: 52px; margin-bottom: 1rem;
    border-radius: 8px;
    background: var(--hype-accent);
    color: #fff;
    border: 2px solid var(--hype-edge-strong);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25), inset 0 2px 0 rgba(255, 255, 255, .3);
    font-size: 1.35rem;
    transition: transform .35s var(--hype-ease);
}
.hype-feature:hover .hype-feature-icon { transform: rotate(-8deg) scale(1.08); }

/* Articles */
.hype-post { padding: 0; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.hype-post-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--hype-surface-2); border-bottom: 2px solid var(--hype-edge); }
.hype-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--hype-ease); }
.hype-post:hover .hype-post-img img { transform: scale(1.05); }
.hype-post-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.hype-post-title { font-size: 1.35rem; margin-bottom: .5rem; }
.hype-post-meta { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 800; color: var(--hype-muted); }
.hype-post-meta .hype-avatar { width: 24px; height: 24px; }
@media (min-width: 768px) {
    .hype-post.is-featured { flex-direction: row; }
    .hype-post.is-featured .hype-post-img { flex: 0 0 55%; aspect-ratio: auto; min-height: 300px; border-bottom: none; border-right: 2px solid var(--hype-edge); }
    .hype-post.is-featured .hype-post-body { padding: 2rem; justify-content: center; }
    .hype-post.is-featured .hype-post-title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
}

/* CTA Discord */
.hype-cta {
    margin-block: clamp(3.5rem, 7vw, 5rem);
    padding: clamp(1.75rem, 5vw, 3rem);
    border-radius: var(--hype-radius);
    border: 2px solid var(--hype-edge-strong);
    box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .2), 0 6px 0 var(--hype-drop);
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 24px, transparent 24px 48px),
        var(--hype-accent);
    color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.hype-cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .3rem; text-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.hype-cta p { margin: 0; opacity: .9; }

.hype-empty {
    text-align: center;
    padding: 2rem 1rem;
    border: 2px dashed var(--hype-edge);
    border-radius: var(--hype-radius);
    color: var(--hype-muted);
}
.hype-empty i { font-size: 2rem; display: block; margin-bottom: .4rem; color: var(--hype-accent); }

.hype-chip {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .4rem .8rem .4rem .45rem;
    background: var(--hype-surface);
    border: 2px solid var(--hype-edge);
    border-radius: var(--hype-radius-sm);
    box-shadow: 0 3px 0 var(--hype-drop);
    font-weight: 700;
}
.hype-chip .hype-head { width: 24px; height: 24px; }

/* =========================================================
   En-tête des pages plugin (Vote, Boutique)
   ========================================================= */
.hype-page-head {
    position: relative;
    margin-bottom: 2rem;
    padding: 2rem 0 1.75rem;
    border-bottom: 2px dashed var(--hype-edge);
}
.hype-page-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: .35rem; }
.hype-page-head p { max-width: 560px; margin-bottom: 1rem; }
.hype-page-head > :last-child { margin-bottom: 0; }

/* =========================================================
   Slot d'inventaire Minecraft
   ========================================================= */
.hype-slot {
    display: inline-grid; place-items: center;
    width: 52px; height: 52px; flex-shrink: 0;
    background: #8b8b8b;
    border: 3px solid;
    border-color: #373737 #ffffff #ffffff #373737;
    color: #fff;
    font-size: 1.3rem;
}
.hype-slot img { width: 36px; height: 36px; object-fit: contain; }

/* Barre d'XP Minecraft */
.hype-xp {
    position: relative;
    height: 20px;
    background: #2a2a2a;
    border: 2px solid #0f0f0f;
    border-radius: 3px;
    overflow: visible;
    box-shadow: inset 0 3px 0 rgba(0, 0, 0, .45);
}
.hype-xp::after {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), rgba(0, 0, 0, .45) calc(10% - 2px) 10%);
    pointer-events: none;
}
.hype-xp .hype-xp-fill,
.hype-xp .progress-bar {
    display: block;
    height: 100%;
    width: var(--w, 0);
    background: linear-gradient(180deg, #c6ff8a 0 25%, #80e83f 25% 70%, #4fb52a 70%) !important;
    border-radius: 1px;
    transition: width 1.4s var(--hype-ease);
}
.hype-animated .hype-xp .hype-xp-fill { width: 0; }
.hype-animated .is-visible .hype-xp .hype-xp-fill,
.hype-animated .hype-xp.is-visible .hype-xp-fill { width: var(--w, 0); }
.hype-xp.progress { --bs-progress-height: 20px; --bs-progress-bg: #2a2a2a; }

.hype-xp-mark {
    position: absolute; top: -6px; bottom: -6px; left: var(--x);
    width: 4px; margin-left: -2px;
    background: #6b6b6b;
    border: 1px solid #0f0f0f;
    z-index: 1;
}
.hype-xp-mark.is-reached { background: var(--hype-primary); }

/* =========================================================
   Podium (voteurs & acheteurs)
   ========================================================= */
.hype-podium {
    display: flex; align-items: flex-end; justify-content: center;
    gap: clamp(.5rem, 2vw, 1.25rem);
    padding-top: 2rem;
    margin-bottom: 1.25rem;
}
.hype-podium-place {
    flex: 1 1 0; max-width: 170px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    position: relative;
}
.hype-podium-crown {
    position: absolute; top: -2rem;
    font-size: 1.6rem; color: #f9d23c;
    filter: drop-shadow(0 3px 0 #48251b);
}
.hype-animated .hype-podium-crown { animation: hype-bob 2.6s ease-in-out infinite; }
.hype-podium-head {
    width: 64px; height: 64px;
    border-radius: 6px;
    box-shadow: 0 0 0 3px var(--hype-edge-strong), 0 6px 0 rgba(0, 0, 0, .2);
    margin-bottom: .55rem;
    transition: transform .3s var(--hype-ease);
}
.hype-podium-place:hover .hype-podium-head { transform: translateY(-6px) rotate(-4deg); }
.is-gold .hype-podium-head { width: 76px; height: 76px; }
.hype-podium-name { font-weight: 900; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hype-podium-value { font-family: var(--hype-font-pixel); font-size: .75rem; color: var(--hype-muted); margin-bottom: .55rem; }

/* Blocs : or / fer / cuivre */
.hype-podium-block {
    width: 100%;
    display: grid; place-items: center;
    border: 3px solid var(--hype-edge-strong);
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .28), inset 0 -10px 0 rgba(0, 0, 0, .18);
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, .18) 25%, transparent 25% 50%, rgba(255, 255, 255, .18) 50% 75%, transparent 75%);
    background-size: 16px 16px;
}
.is-gold .hype-podium-block { height: 130px; background-color: #f6c93a; }
.is-iron .hype-podium-block { height: 96px; background-color: #d9d9d9; }
.is-copper .hype-podium-block { height: 72px; background-color: #e07a46; }
.hype-podium-rank {
    font-family: var(--hype-font-display);
    font-size: 2.4rem;
    color: #fff;
    -webkit-text-stroke: 2px #48251b;
    paint-order: stroke fill;
    text-shadow: 0 3px 0 #48251b;
}
.hype-animated .hype-podium-place .hype-podium-block { transform-origin: bottom; }
.hype-animated .hype-podium-place[data-reveal] { transform: translateY(40px); }

/* Liste de classement */
.hype-rank-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.hype-rank-row {
    display: flex; align-items: center; gap: .75rem;
    padding: .55rem .75rem;
    background: var(--hype-surface-2);
    border: 2px solid var(--hype-edge);
    border-radius: var(--hype-radius-sm);
}
.hype-rank-list.is-plain .hype-rank-row { background: transparent; border: none; padding: .35rem 0; border-bottom: 2px dashed var(--hype-edge); border-radius: 0; }
.hype-rank-list.is-plain .hype-rank-row:last-child { border-bottom: none; }
.hype-rank-pos { font-family: var(--hype-font-pixel); font-size: .8rem; color: var(--hype-muted); min-width: 2.2rem; }
.hype-rank-name { flex: 1; min-width: 0; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.hype-rank-value { font-family: var(--hype-font-pixel); font-size: .78rem; white-space: nowrap; }

/* =========================================================
   Page Vote
   ========================================================= */
.hype-vote-panel { padding: clamp(1.5rem, 4vw, 2.5rem); }
.hype-step-label { font-family: var(--hype-font-pixel); font-size: .82rem; color: var(--hype-muted); margin-bottom: 1rem; }

/* Rappel « compte obligatoire » sur /vote, visiteurs non connectés uniquement */
.hype-vote-account {
    display: flex; gap: .85rem; align-items: flex-start; text-align: left;
    margin-bottom: 1.5rem; padding: 1rem 1.1rem;
    background: rgba(var(--hype-primary-rgb), .12);
    border: 2px solid var(--hype-edge-strong); border-radius: var(--hype-radius-sm);
    box-shadow: 0 3px 0 var(--hype-drop);
}
.hype-vote-account > i { font-size: 1.5rem; color: var(--hype-primary); line-height: 1; margin-top: .1rem; }
.hype-vote-account strong { display: block; font-family: var(--hype-font-display); font-weight: 400; font-size: 1.15rem; color: var(--hype-ink); }
.hype-vote-account span { display: block; color: var(--hype-muted); font-size: .92rem; margin-top: .15rem; }
.hype-vote-account-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }

.hype-input-group { position: relative; }
.hype-input-group > i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--hype-muted); }
.hype-input-group .form-control { padding-left: 2.5rem; height: 52px; }

.hype-vote-sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.hype-vote-site {
    display: flex; flex-direction: column; align-items: center; gap: .45rem;
    padding: 1.3rem 1rem 1.1rem;
    background: var(--hype-mint);
    color: #0f3d27;
    border: 2px solid var(--hype-edge-strong);
    border-radius: var(--hype-radius);
    box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .2), inset 0 3px 0 rgba(255, 255, 255, .35), 0 4px 0 var(--hype-drop);
    font-weight: 900;
}
.hype-vote-site:hover { background: var(--hype-mint); color: #0f3d27; filter: brightness(1.06); transform: translateY(-2px); }
.hype-vote-site:active { transform: translateY(2px); }
.hype-vote-site-icon {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    background: rgba(255, 255, 255, .45);
    border: 2px solid rgba(0, 0, 0, .25);
    border-radius: 6px;
}
.hype-vote-site-name { font-family: var(--hype-font-display); font-weight: 400; font-size: 1.2rem; }
.hype-vote-ready { font-family: var(--hype-font-pixel); font-size: .72rem; padding: .1rem .5rem; background: rgba(255, 255, 255, .5); border-radius: 3px; }
.vote-timer { font-family: var(--hype-font-pixel); font-size: .8rem; padding: .1rem .5rem; background: rgba(0, 0, 0, .55); color: #fff; border-radius: 3px; }
.vote-timer:empty { display: none; }
.hype-vote-site.disabled { background: var(--hype-surface-2); color: var(--hype-muted); opacity: 1; filter: grayscale(.2); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .1); }
.hype-vote-site.disabled .hype-vote-ready { display: none; }

.hype-vote-success { display: flex; flex-direction: column; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.1rem; }
.hype-vote-success i { font-size: 2.6rem; color: var(--hype-primary); }
.hype-animated .hype-vote-success i { animation: hype-bob 1.6s ease-in-out infinite; }

#server-select { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }

#vote-card .spinner-parent { display: none; }
#vote-card.voting .spinner-parent {
    position: absolute; inset: -1rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(21, 17, 31, .55);
    border-radius: var(--hype-radius);
    z-index: 10;
}
.hype-loader { display: flex; gap: 8px; }
.hype-loader span { width: 14px; height: 14px; background: var(--hype-primary); border: 2px solid #111; animation: hype-jump .9s ease-in-out infinite; }
.hype-loader span:nth-child(2) { animation-delay: .15s; background: var(--hype-mint); }
.hype-loader span:nth-child(3) { animation-delay: .3s; background: var(--hype-accent); }

.hype-reward-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.hype-reward { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center; }
.hype-reward .hype-slot { grid-row: span 2; }
.hype-reward-name { font-weight: 900; }
.hype-reward-chance { display: flex; align-items: center; gap: .55rem; font-family: var(--hype-font-pixel); font-size: .72rem; color: var(--hype-muted); }
.hype-mini-bar { flex: 1; max-width: 140px; height: 8px; background: var(--hype-surface-2); border: 2px solid var(--hype-edge); }
.hype-mini-bar span { display: block; height: 100%; background: var(--hype-accent); }

/* =========================================================
   Page Boutique
   ========================================================= */
.hype-cat-list { display: grid; gap: .3rem; }
.hype-cat {
    display: flex; align-items: center; gap: .6rem;
    padding: .55rem .75rem;
    border-radius: var(--hype-radius-sm);
    border: 2px solid transparent;
    font-weight: 800;
    color: var(--hype-ink);
    transition: background-color .15s, border-color .15s, transform .15s;
}
.hype-cat i { width: 1.2rem; text-align: center; color: var(--hype-accent); }
.hype-cat:hover { background: var(--hype-surface-2); color: var(--hype-ink); transform: translateX(3px); }
.hype-cat.active { background: var(--hype-primary); color: var(--hype-on-primary); border-color: var(--hype-edge-strong); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }
.hype-cat.active i { color: inherit; }
.hype-cat.is-child { padding-left: 2rem; font-weight: 700; font-size: .95rem; }

.hype-shop-user-name { font-family: var(--hype-font-display); font-size: 1.2rem; overflow: hidden; text-overflow: ellipsis; }

.hype-content > :last-child { margin-bottom: 0; }

/* Articles boutique */
.hype-package {
    display: flex; flex-direction: column;
    position: relative;
    background: var(--hype-surface);
    border: 2px solid var(--hype-edge);
    border-radius: var(--hype-radius);
    box-shadow: 0 5px 0 var(--hype-drop);
    overflow: hidden;
    transition: transform .25s var(--hype-ease), box-shadow .25s var(--hype-ease), border-color .25s;
}
.hype-package:hover { transform: translateY(-5px); box-shadow: 0 10px 0 var(--hype-drop); border-color: var(--hype-edge-strong); }
.hype-package-media {
    display: grid; place-items: center;
    aspect-ratio: 4 / 3;
    padding: 1rem;
    border-bottom: 2px solid var(--hype-edge);
    /* fond d'inventaire quadrillé */
    background:
        linear-gradient(90deg, var(--hype-edge) 2px, transparent 2px) 0 0 / 24px 24px,
        linear-gradient(var(--hype-edge) 2px, transparent 2px) 0 0 / 24px 24px,
        var(--hype-surface-2);
}
.hype-package-media img { max-height: 100%; object-fit: contain; transition: transform .45s var(--hype-ease); }
.hype-package:hover .hype-package-media img { transform: scale(1.08) rotate(-3deg); }
.hype-package-body { display: flex; flex-direction: column; flex-grow: 1; padding: 1.1rem 1.2rem 1.2rem; }
.hype-package-name { font-size: 1.3rem; margin-bottom: .2rem; }
.hype-package-price { font-family: var(--hype-font-display); font-size: 1.4rem; color: var(--hype-accent); margin-bottom: 1rem; }
.hype-package-price del { font-family: var(--hype-font-body); font-size: .9rem; color: var(--hype-muted); margin-right: .3rem; }
.hype-package-promo {
    position: absolute; top: .75rem; right: .75rem; z-index: 1;
    display: grid; place-items: center;
    width: 34px; height: 34px;
    background: #ff5b4a; color: #fff;
    border: 2px solid var(--hype-edge-strong);
    border-radius: 6px;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25);
}

/* =========================================================
   Paliers de récompenses
   ========================================================= */
.hype-tiers {
    position: relative;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background:
        radial-gradient(circle at 100% 0, rgba(var(--hype-accent-rgb), .18), transparent 45%),
        radial-gradient(circle at 0 100%, rgba(var(--hype-primary-rgb), .18), transparent 45%),
        var(--hype-surface);
    border: 2px solid var(--hype-edge-strong);
    border-radius: var(--hype-radius);
    box-shadow: 0 6px 0 var(--hype-drop);
}
.hype-tiers-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.hype-tiers-title { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: .25rem; }
.hype-tiers-head p { max-width: 520px; }
.hype-tiers-total { text-align: right; line-height: 1.1; }
.hype-tiers-amount { font-family: var(--hype-font-display); font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--hype-mint-ink); }
.hype-tiers-total small { display: block; font-family: var(--hype-font-pixel); font-size: .75rem; color: var(--hype-muted); }
.hype-tiers-next { margin: .9rem 0 1.25rem; font-weight: 700; }
.hype-tiers-next i { color: var(--hype-mint); margin-right: .25rem; }

.hype-tier-list {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: .8rem;
}
.hype-tier {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 1rem .75rem;
    background: var(--hype-surface-2);
    border: 2px solid var(--hype-edge);
    border-radius: var(--hype-radius-sm);
    transition: transform .25s var(--hype-ease), border-color .25s, box-shadow .25s;
}
.hype-tier:hover { transform: translateY(-3px); }
.hype-tier.is-unlocked {
    border-color: var(--hype-mint);
    box-shadow: 0 0 0 3px rgba(63, 196, 138, .2), 0 4px 0 var(--hype-drop);
    background: linear-gradient(180deg, rgba(63, 196, 138, .14), var(--hype-surface-2) 70%);
}
.hype-tier-slot {
    position: relative;
    display: grid; place-items: center;
    width: 64px; height: 64px;
    margin-bottom: .6rem;
    background: #8b8b8b;
    border: 3px solid;
    border-color: #373737 #fff #fff #373737;
}
.hype-tier-slot img { width: 44px; height: 44px; object-fit: contain; }
.hype-tier:not(.is-unlocked) .hype-tier-slot > img,
.hype-tier:not(.is-unlocked) .hype-tier-block { filter: grayscale(.85) brightness(.85); }

/* Bloc de matériau en CSS (faces avec reflets pixel) */
.hype-tier-block {
    width: 40px; height: 40px;
    background-color: var(--mat, #a0703c);
    box-shadow:
        inset 4px 4px 0 rgba(255, 255, 255, .35),
        inset -4px -4px 0 rgba(0, 0, 0, .28);
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, .12) 50%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, .1) 50%, transparent 50%);
    background-size: 10px 10px;
}
.is-wood .hype-tier-block { --mat: #a87b45; background-image: repeating-linear-gradient(180deg, rgba(0, 0, 0, .15) 0 3px, transparent 3px 10px); background-size: auto; }
.is-stone .hype-tier-block { --mat: #8f8f8f; }
.is-iron .hype-tier-block { --mat: #dcdcdc; }
.is-gold .hype-tier-block { --mat: #f9d23c; }
.is-diamond .hype-tier-block { --mat: #4fe0d8; }
.is-netherite .hype-tier-block { --mat: #4b3f48; }
.hype-tier-block.is-chest {
    width: 64px; height: 52px;
    --mat: #b9813f;
    background-image: linear-gradient(180deg, transparent 38%, #3a1f14 38% 46%, transparent 46%);
    background-size: auto;
    position: relative;
    border: 3px solid #3a1f14;
}
.hype-tier-block.is-chest::after {
    content: '';
    position: absolute; left: 50%; top: 32%;
    width: 10px; height: 14px; margin-left: -5px;
    background: #d9d9d9; border: 2px solid #3a1f14;
}

.hype-tier-state {
    position: absolute; right: -10px; bottom: -10px;
    display: grid; place-items: center;
    width: 24px; height: 24px;
    font-size: .8rem;
    background: #4b4b4b; color: #fff;
    border: 2px solid #111;
    border-radius: 4px;
}
.is-unlocked .hype-tier-state { background: var(--hype-mint); color: #0f3d27; }
.hype-animated .is-unlocked.is-visible .hype-tier-state { animation: hype-pop .5s var(--hype-ease) both; animation-delay: calc(var(--d, 0s) + .4s); }

.hype-tier-amount { font-family: var(--hype-font-pixel); font-size: .75rem; color: var(--hype-muted); }
.hype-tier-name { font-family: var(--hype-font-display); font-size: 1.1rem; line-height: 1.15; }
.hype-tier-reward { margin-top: .35rem; font-size: .85rem; font-weight: 700; color: var(--hype-muted); }
.is-unlocked .hype-tier-amount { color: var(--hype-mint-ink); }

.hype-tiers.is-compact .hype-tier-list { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
.hype-tiers.is-compact .hype-tier { padding: .7rem .5rem; }
.hype-tiers.is-compact .hype-tier-slot { width: 52px; height: 52px; }
.hype-tiers.is-compact .hype-tier-block { width: 30px; height: 30px; }
.hype-tiers.is-compact .hype-tier-name { font-size: .95rem; }

/* =========================================================
   Footer : terre
   ========================================================= */
.hype-footer {
    position: relative;
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-top: 4rem;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 16px, transparent 16px 48px),
        #2e1d14;
    color: #f4e7d3;
    --hype-ink: #f4e7d3;
    --hype-muted: #c4ab92;
    --hype-edge: rgba(255, 255, 255, .1);
    --hype-surface-2: rgba(255, 255, 255, .08);
}
.hype-footer::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 0;
    height: 18px;
    background:
        repeating-linear-gradient(90deg, #5aaf31 0 8px, transparent 8px 24px, #6cc23d 24px 32px, transparent 32px 56px) 0 10px / 100% 8px no-repeat,
        repeating-linear-gradient(90deg, #6cc23d 0 16px, #5aaf31 16px 32px, #79cf47 32px 40px, #5aaf31 40px 56px) top / 100% 10px no-repeat;
}
.hype-home .hype-cta + .hype-footer, .hype-home .hype-cta ~ .hype-footer { margin-top: 0; }
.hype-footer .hype-brand-logo { height: 72px; }
.hype-footer-title { font-family: var(--hype-font-pixel); font-size: .78rem; text-transform: uppercase; color: #c4ab92; margin-bottom: 1rem; }
.hype-footer-links li + li { margin-top: .45rem; }
.hype-footer-links a { color: #f4e7d3; font-weight: 700; transition: color .2s; }
.hype-footer-links a:hover { color: var(--hype-primary); }
.hype-social {
    --social: var(--hype-accent);
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 8px;
    background: rgba(255, 255, 255, .08); color: #f4e7d3;
    border: 2px solid rgba(0, 0, 0, .4);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3);
    font-size: 1.1rem;
    transition: transform .2s var(--hype-ease), background-color .2s;
}
.hype-social:hover { background: var(--social); color: #fff; transform: translateY(-3px); }
.hype-footer-bottom {
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    margin-top: 2.5rem; padding-block: 1.5rem;
    border-top: 2px dashed rgba(255, 255, 255, .12);
    font-size: .88rem; color: #c4ab92;
}

/* =========================================================
   Animations
   ========================================================= */
@keyframes hype-blink { 50% { opacity: .35; } }
@keyframes hype-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes hype-drift { from { translate: 0 0; } to { translate: 120vw 0; } }
@keyframes hype-jump { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-12px); } }
@keyframes hype-pop { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }

.hype-animated [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--hype-ease) var(--d, 0s), transform .7s var(--hype-ease) var(--d, 0s);
}
.hype-animated [data-reveal].is-visible { opacity: 1; transform: none; }

body:not(.hype-animated) .hype-cloud,
body:not(.hype-animated) .hype-status,
body:not(.hype-animated) .hype-badge .dot,
body:not(.hype-animated) .hype-podium-crown { animation: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hype-animated [data-reveal] { opacity: 1; transform: none; }
    .hype-animated .hype-progress span { transform: none; }
    .hype-animated .hype-xp .hype-xp-fill { width: var(--w, 0); }
}

@media (max-width: 575.98px) {
    .hype-sun { width: 44px; height: 44px; top: 9%; right: 6%; box-shadow: 0 0 0 6px rgba(255, 227, 107, .3); }
    .hype-cloud { opacity: .6; }
}

/* =========================================================
   Accueil v3 : blocs inspirés des grands serveurs
   ========================================================= */
.hype-hero-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1rem; }
.hype-hero-pills .hype-badge { margin-bottom: 0; }
.hype-hero-pills .hype-status { width: 10px; height: 10px; }
.hype-home .hype-hero { padding-bottom: clamp(5.5rem, 9vw, 7rem); }
.hype-section-head .hype-kicker { justify-content: center; }
.hype-section-head-row .hype-kicker { justify-content: flex-start; }

/* Palettes « biome » par mode */
.is-grass  { --biome-1: #7ccf4a; --biome-2: #3f8f2a; --biome-ink: #173d0d; }
.is-sky    { --biome-1: #8fd3ff; --biome-2: #4a9fe0; --biome-ink: #0b3556; }
.is-nether { --biome-1: #ff7a4d; --biome-2: #a3261f; --biome-ink: #3f0b06; }
.is-ocean  { --biome-1: #4fd6d0; --biome-2: #1c7c9c; --biome-ink: #08333f; }
.is-desert { --biome-1: #f7d77a; --biome-2: #d39b3a; --biome-ink: #4a300a; }
.is-end    { --biome-1: #c39bff; --biome-2: #6b3fc4; --biome-ink: #22104a; }
.is-snow   { --biome-1: #f2f7ff; --biome-2: #a9c3e6; --biome-ink: #1c3150; }
.is-cave   { --biome-1: #9a9a9a; --biome-2: #4b4b4b; --biome-ink: #151515; }

/* --- Modes de jeu --- */
.hype-modes {
    display: grid;
    grid-template-columns: minmax(230px, 300px) 1fr;
    gap: 1.25rem;
    align-items: start;
}
.hype-mode-list {
    display: grid; gap: .45rem;
    padding: 1rem;
    background: var(--hype-surface);
    border: 2px solid var(--hype-edge);
    border-radius: var(--hype-radius);
    box-shadow: 0 5px 0 var(--hype-drop);
}
.hype-mode-list-label { font-family: var(--hype-font-pixel); font-size: .72rem; color: var(--hype-muted); padding: 0 .25rem .25rem; }
.hype-mode-tab {
    display: flex; align-items: center; gap: .7rem;
    width: 100%;
    padding: .55rem .65rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--hype-radius-sm);
    color: var(--hype-ink);
    font-weight: 800;
    text-align: left;
    transition: background-color .15s, border-color .15s, transform .15s;
}
.hype-mode-tab:hover { background: var(--hype-surface-2); transform: translateX(3px); }
.hype-mode-tab.active {
    background: var(--hype-surface-2);
    border-color: var(--hype-edge-strong);
    box-shadow: inset 4px 0 0 var(--biome-2);
}
.hype-mode-tab-icon {
    display: grid; place-items: center;
    width: 36px; height: 36px; flex-shrink: 0;
    background: linear-gradient(180deg, var(--biome-1), var(--biome-2));
    color: var(--biome-ink);
    border: 2px solid var(--hype-edge-strong);
    border-radius: 6px;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2), inset 0 2px 0 rgba(255, 255, 255, .35);
}
.hype-mode-tab-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hype-mode-tab-count { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--hype-font-pixel); font-size: .72rem; color: var(--hype-mint-ink); }
.hype-mode-tab-count.is-off { color: var(--hype-muted); }
.hype-mode-tab-count .hype-status { width: 7px; height: 7px; }

.hype-mode-panel {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    background: var(--hype-surface);
    border: 2px solid var(--hype-edge-strong);
    border-radius: var(--hype-radius);
    box-shadow: 0 6px 0 var(--hype-drop);
    overflow: hidden;
    animation: hype-panel-in .45s var(--hype-ease);
}
.hype-mode-panel[hidden] { display: none; }
.hype-mode-media {
    position: relative;
    min-height: 300px;
    display: grid; place-items: center;
    background:
        linear-gradient(180deg, transparent 72%, rgba(0, 0, 0, .18) 72% 74%, transparent 74%),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 50%, transparent 50%) 0 0 / 32px 32px,
        linear-gradient(rgba(0, 0, 0, .06) 50%, transparent 50%) 0 0 / 32px 32px,
        linear-gradient(180deg, var(--biome-1), var(--biome-2));
    border-right: 2px solid var(--hype-edge-strong);
}
.hype-mode-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hype-mode-art {
    display: grid; place-items: center;
    width: 120px; height: 120px;
    font-size: 3.4rem;
    color: var(--biome-ink);
    background: rgba(255, 255, 255, .35);
    border: 3px solid rgba(0, 0, 0, .3);
    border-radius: 14px;
    box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .15), 0 10px 0 rgba(0, 0, 0, .15);
    transform: rotate(-6deg);
}
.hype-animated .hype-mode-art { animation: hype-bob 4s ease-in-out infinite; }
.hype-mode-live {
    position: absolute; left: 1rem; bottom: 1rem;
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .35rem .7rem;
    background: rgba(20, 16, 30, .82);
    color: #fff;
    border-radius: 6px;
    font-family: var(--hype-font-pixel); font-size: .75rem;
}
.hype-mode-body { padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; }
.hype-mode-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.hype-mode-name { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .5rem; }
.hype-mode-acts { list-style: none; padding: 0; margin: .5rem 0 1.5rem; display: grid; gap: .55rem; }
.hype-mode-acts li { display: flex; align-items: center; gap: .75rem; font-weight: 800; }
.hype-slot.is-sm { width: 38px; height: 38px; font-size: 1rem; border-width: 2px; }
.hype-mode-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; }

@keyframes hype-panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 991.98px) {
    .hype-modes { grid-template-columns: 1fr; }
    .hype-mode-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: .6rem; gap: .4rem; }
    .hype-mode-list-label { display: none; }
    .hype-mode-tab { width: auto; flex: 0 0 auto; scroll-snap-align: start; }
    .hype-mode-tab:hover { transform: none; }
    .hype-mode-tab.active { box-shadow: inset 0 -4px 0 var(--biome-2); }
    .hype-mode-panel { grid-template-columns: 1fr; }
    .hype-mode-media { min-height: 200px; border-right: none; border-bottom: 2px solid var(--hype-edge-strong); }
}

/* --- Chiffres de la communauté --- */
.hype-proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.hype-proof-card {
    position: relative;
    display: flex; flex-direction: column; align-items: flex-start; gap: .2rem;
    padding: 1.4rem 1.3rem 1.3rem;
    background: var(--hype-surface);
    border: 2px solid var(--hype-edge);
    border-radius: var(--hype-radius);
    box-shadow: 0 5px 0 var(--hype-drop);
    overflow: hidden;
    transition: transform .25s var(--hype-ease), border-color .25s;
}
.hype-proof-card:hover { transform: translateY(-4px) rotate(-.5deg); border-color: var(--hype-edge-strong); }
.hype-proof-card::after {
    content: '';
    position: absolute; right: -18px; bottom: -18px;
    width: 90px; height: 90px;
    background: var(--proof);
    opacity: .14;
    transform: rotate(12deg);
    border-radius: 10px;
}
.hype-proof-card.is-mint { --proof: #3fc48a; }
.hype-proof-card.is-gold { --proof: #f5a623; }
.hype-proof-card.is-sky { --proof: #4a9fe0; }
.hype-proof-card.is-blurple { --proof: #5865f2; }
.hype-proof-card.is-amethyst { --proof: #8b55f0; }
.hype-proof-icon {
    display: grid; place-items: center;
    width: 46px; height: 46px; margin-bottom: .6rem;
    background: var(--proof); color: #fff;
    border: 2px solid var(--hype-edge-strong);
    border-radius: 8px;
    font-size: 1.25rem;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2), inset 0 2px 0 rgba(255, 255, 255, .3);
}
.hype-proof-value { font-family: var(--hype-font-display); font-size: clamp(2rem, 3.6vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.hype-proof-label { font-weight: 800; color: var(--hype-muted); }

/* --- Rejoindre --- */
.hype-join {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    background:
        radial-gradient(circle at 0 0, rgba(var(--hype-primary-rgb), .18), transparent 40%),
        var(--hype-surface);
    border: 2px solid var(--hype-edge-strong);
    border-radius: calc(var(--hype-radius) + 4px);
    box-shadow: 0 6px 0 var(--hype-drop);
}
.hype-join-intro { position: relative; }
.hype-join-mascot {
    display: block;
    width: min(240px, 60%); height: auto;
    margin: -1rem 0 .5rem -.5rem;
    filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .12));
}
.hype-animated .hype-join-mascot { animation: hype-bob 5s ease-in-out infinite; }
.hype-join h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.hype-platforms { display: grid; gap: .6rem; margin-top: 1.25rem; }
.hype-platform {
    display: flex; align-items: center; gap: .85rem;
    padding: .75rem 1rem;
    background: var(--hype-surface-2);
    border: 2px solid var(--hype-edge);
    border-radius: var(--hype-radius-sm);
}
.hype-platform > i:first-child { font-size: 1.4rem; color: var(--hype-accent); }
.hype-platform span { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.hype-platform small { color: var(--hype-muted); font-weight: 700; }
.hype-platform-check { font-size: 1.25rem; }
.hype-platform.is-ok .hype-platform-check { color: var(--hype-mint); }
.hype-platform.is-no { opacity: .6; }
.hype-platform.is-no .hype-platform-check { color: var(--hype-muted); }

.hype-join-steps { display: flex; flex-direction: column; gap: 1.1rem; justify-content: center; }
.hype-address-label { display: block; font-family: var(--hype-font-pixel); font-size: .72rem; color: var(--hype-muted); margin-bottom: .4rem; }
.hype-address .hype-ip { padding: .8rem 1rem; justify-content: space-between; }
.hype-address .hype-ip-text strong { font-size: 1.05rem; }
.hype-ip-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem .7rem;
    background: var(--hype-primary); color: var(--hype-on-primary);
    border-radius: 5px;
    font-weight: 900; font-size: .85rem;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25);
}
.hype-ip.is-copied .hype-ip-btn { background: var(--hype-mint); color: #0f3d27; }
.hype-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.hype-steps li { display: flex; align-items: center; gap: .85rem; font-weight: 700; }
.hype-step-num {
    display: grid; place-items: center;
    width: 36px; height: 36px; flex-shrink: 0;
    background: var(--hype-accent); color: #fff;
    border: 2px solid var(--hype-edge-strong);
    border-radius: 6px;
    font-family: var(--hype-font-display); font-size: 1.2rem;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25);
}
@media (max-width: 991.98px) {
    .hype-join { grid-template-columns: 1fr; }
    .hype-join-mascot { width: 180px; }
}

/* --- Discord / Vote / Aide --- */
.hype-last-section { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.hype-hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.hype-hub-card {
    position: relative;
    display: flex; flex-direction: column;
    padding: 1.6rem;
    color: #fff;
    background: var(--hub);
    border: 2px solid var(--hype-edge-strong);
    border-radius: var(--hype-radius);
    box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .2), 0 5px 0 var(--hype-drop);
    overflow: hidden;
    transition: transform .25s var(--hype-ease);
}
.hype-hub-card::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 20px, transparent 20px 40px);
    pointer-events: none;
}
a.hype-hub-card:hover { color: #fff; transform: translateY(-4px); }
.hype-hub-card.is-discord { --hub: #5865f2; }
.hype-hub-card.is-vote { --hub: #2fa66f; }
.hype-hub-card.is-help { --hub: #8b55f0; }
.hype-hub-icon {
    display: grid; place-items: center;
    width: 52px; height: 52px; margin-bottom: 1rem;
    background: rgba(255, 255, 255, .2);
    border: 2px solid rgba(0, 0, 0, .25);
    border-radius: 10px;
    font-size: 1.5rem;
}
.hype-hub-card h3 { color: #fff; font-size: 1.5rem; text-shadow: 0 2px 0 rgba(0, 0, 0, .2); }
.hype-hub-card p { opacity: .9; margin-bottom: 1.2rem; font-weight: 700; }
.hype-hub-cta { margin-top: auto; font-weight: 900; }
.hype-hub-cta i { display: inline-block; transition: transform .25s var(--hype-ease); }
a.hype-hub-card:hover .hype-hub-cta i { transform: translateX(5px); }
.hype-hub-links { margin-top: auto; display: grid; gap: .45rem; position: relative; }
.hype-hub-links a {
    display: flex; align-items: center; gap: .5rem;
    padding: .55rem .8rem;
    background: rgba(255, 255, 255, .16);
    border: 2px solid rgba(0, 0, 0, .2);
    border-radius: 8px;
    color: #fff; font-weight: 800;
    transition: background-color .15s;
}
.hype-hub-links a:hover { background: rgba(255, 255, 255, .28); color: #fff; }

/* Corrections mobile : aucune largeur forcée, chiffres sur 2 colonnes */
.hype-join { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hype-join-steps, .hype-join-intro, .hype-address { min-width: 0; }
.hype-ip-text { min-width: 0; }
.hype-ip-text strong { overflow-wrap: anywhere; }
@media (max-width: 991.98px) {
    .hype-join { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
    .hype-join { padding: 1.25rem; }
    .hype-address .hype-ip-text strong { font-size: .85rem; }
    .hype-ip-btn { padding: .3rem .5rem; }
    .hype-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    .hype-proof-card { padding: 1rem; }
    .hype-proof-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .hype-proof-value { font-size: 1.7rem; }
    .hype-proof-label { font-size: .85rem; }
}
.hype-address-row { display: flex; gap: .5rem; }
.hype-address-row .hype-ip:last-child .hype-ip-text strong { white-space: nowrap; overflow-wrap: normal; }
@media (max-width: 575.98px) {
    .hype-address-row { flex-direction: column; }
    .hype-address-row .hype-ip { justify-content: space-between; }
}

/* =========================================================
   Bêta : bandeau d'annonce + section d'inscription
   ========================================================= */
.hype-beta-bar {
    position: relative;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 12px, transparent 12px 24px),
        var(--hype-accent);
    color: var(--hype-on-accent);
    border-bottom: 2px solid var(--hype-edge-strong);
    font-weight: 800;
    font-size: .92rem;
}
.hype-beta-bar .container {
    display: flex; align-items: center; justify-content: center; gap: .75rem;
    min-height: 40px; padding-block: .3rem;
    padding-right: 2.75rem;
}
.hype-beta-bar-tag {
    display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0;
    padding: .15rem .5rem;
    background: var(--hype-primary); color: var(--hype-on-primary);
    border: 2px solid var(--hype-edge-strong);
    border-radius: 4px;
    font-family: var(--hype-font-pixel); font-size: .7rem; text-transform: uppercase;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2);
}
.hype-beta-bar-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hype-beta-bar-link {
    flex-shrink: 0;
    color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px;
}
.hype-beta-bar-link:hover { color: inherit; opacity: .85; }
.hype-beta-bar-link i { transition: transform .2s var(--hype-ease); display: inline-block; }
.hype-beta-bar-link:hover i { transform: translateX(3px); }
.hype-beta-bar-close {
    position: absolute; right: .5rem; top: 50%; translate: 0 -50%;
    display: grid; place-items: center;
    width: 30px; height: 30px;
    background: transparent; color: inherit;
    border: 0; border-radius: 6px; opacity: .8;
}
.hype-beta-bar-close:hover, .hype-beta-bar-close:focus-visible { opacity: 1; background: rgba(0, 0, 0, .15); }
@media (max-width: 575.98px) {
    .hype-beta-bar { font-size: .84rem; }
    .hype-beta-bar .container { justify-content: flex-start; gap: .5rem; }
    .hype-beta-bar-tag i { display: none; }
}

/* L'accueil a un menu fixe : on décale la bannière de la hauteur du bandeau */
.hype-home.has-beta-bar .hype-hero { padding-top: calc(84px + 40px + clamp(2.5rem, 6vw, 4.5rem)); }
#beta, #rejoindre, #modes { scroll-margin-top: 90px; }

.hype-badge.is-beta { color: inherit; text-decoration: none; transition: transform .2s var(--hype-ease); }
.hype-badge.is-beta .dot { background: var(--hype-accent); }
.hype-badge.is-beta:hover { transform: translateY(-2px); }

.hype-beta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(var(--hype-primary-rgb), .35), transparent 45%),
        radial-gradient(circle at 0 100%, rgba(255, 255, 255, .12), transparent 40%),
        linear-gradient(160deg, var(--hype-accent), #3a1f78);
    border: 2px solid var(--hype-edge-strong);
    border-radius: calc(var(--hype-radius) + 4px);
    box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .2), 0 6px 0 var(--hype-drop);
    overflow: hidden;
    isolation: isolate;
}
/* Particules d'enchantement (carrés pixel qui montent) */
.hype-beta-sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hype-beta-sparks i {
    position: absolute; bottom: -12px;
    width: 8px; height: 8px;
    background: var(--hype-primary);
    box-shadow: 0 0 10px rgba(var(--hype-primary-rgb), .8);
    opacity: .7;
}
.hype-beta-sparks i:nth-child(1) { left: 56%; }
.hype-beta-sparks i:nth-child(2) { left: 64%; width: 6px; height: 6px; background: #fff; }
.hype-beta-sparks i:nth-child(3) { left: 71%; }
.hype-beta-sparks i:nth-child(4) { left: 80%; width: 6px; height: 6px; background: #c9f7e1; }
.hype-beta-sparks i:nth-child(5) { left: 88%; }
.hype-beta-sparks i:nth-child(6) { left: 92%; width: 6px; height: 6px; background: #fff; }
.hype-animated .hype-beta-sparks i { animation: hype-rise 7s linear infinite; }
.hype-animated .hype-beta-sparks i:nth-child(2) { animation-delay: -1.5s; animation-duration: 9s; }
.hype-animated .hype-beta-sparks i:nth-child(3) { animation-delay: -4s; }
.hype-animated .hype-beta-sparks i:nth-child(4) { animation-delay: -2.5s; animation-duration: 8s; }
.hype-animated .hype-beta-sparks i:nth-child(5) { animation-delay: -5.5s; animation-duration: 10s; }
.hype-animated .hype-beta-sparks i:nth-child(6) { animation-delay: -3s; }
@keyframes hype-rise {
    0% { transform: translateY(0); opacity: 0; }
    15% { opacity: .8; }
    100% { transform: translateY(-460px); opacity: 0; }
}

.hype-beta-tag {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .4rem .85rem .4rem .65rem;
    background: rgba(0, 0, 0, .22);
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 6px;
    font-family: var(--hype-font-pixel); font-size: .74rem; text-transform: uppercase;
    margin-bottom: .9rem;
}
.hype-beta-tag .dot { width: 10px; height: 10px; background: var(--hype-primary); }
.hype-animated .hype-beta-tag .dot { animation: hype-blink 1.4s steps(2) infinite; }
.hype-beta h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    text-shadow: 0 4px 0 rgba(0, 0, 0, .25);
    margin-bottom: .6rem;
}
.hype-beta-text { font-size: 1.08rem; color: rgba(255, 255, 255, .88); margin-bottom: 1.1rem; max-width: 34rem; }
.hype-beta-perks { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .45rem; }
.hype-beta-perks li { display: flex; align-items: center; gap: .6rem; font-weight: 800; }
.hype-beta-perks i { color: var(--hype-primary); filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .25)); }

.hype-countdown { margin-bottom: 1.4rem; }
.hype-countdown-label { display: block; font-family: var(--hype-font-pixel); font-size: .74rem; color: rgba(255, 255, 255, .8); margin-bottom: .5rem; }
.hype-countdown-units { display: flex; gap: .5rem; flex-wrap: wrap; }
.hype-countdown-units span {
    display: flex; flex-direction: column; align-items: center;
    min-width: 66px; padding: .5rem .4rem .4rem;
    background: #2a1658;
    border: 2px solid rgba(0, 0, 0, .45);
    border-radius: 6px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .08);
}
.hype-countdown-units strong { font-family: var(--hype-font-display); font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; }
.hype-countdown-units small { font-size: .72rem; font-weight: 800; opacity: .75; text-transform: uppercase; }
.hype-countdown.is-ended .hype-countdown-units { display: none; }
.hype-countdown.is-ended .hype-countdown-label { font-family: var(--hype-font-display); font-size: 1.3rem; color: #fff; }

.hype-beta-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hype-beta-spots { display: inline-flex; align-items: center; gap: .45rem; font-weight: 900; color: rgba(255, 255, 255, .9); }
.hype-beta-spots i { color: var(--hype-primary); }

.hype-beta-side { position: relative; display: flex; flex-direction: column; align-items: center; }
.hype-beta-mascot {
    display: block;
    width: min(220px, 60%); height: auto;
    margin-bottom: -1.6rem;
    position: relative; z-index: 1;
    filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .2));
}
.hype-animated .hype-beta-mascot { animation: hype-bob 5s ease-in-out infinite; }
.hype-beta-card {
    width: 100%;
    padding: 2rem 1.25rem 1.25rem;
    background: var(--hype-surface);
    color: var(--hype-ink);
    border: 2px solid var(--hype-edge-strong);
    border-radius: var(--hype-radius);
    box-shadow: 0 5px 0 rgba(0, 0, 0, .25);
}
.hype-beta-card .hype-steps li { align-items: flex-start; }
.hype-beta-card .hype-steps li > span:last-child { padding-top: .35rem; }
.hype-beta-card a { color: inherit; text-decoration: underline; text-decoration-color: var(--hype-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hype-channel {
    padding: .1rem .4rem;
    background: rgba(88, 101, 242, .15); color: #4752c4;
    border-radius: 4px;
    font-family: inherit; font-size: .95em; font-weight: 900;
}
[data-bs-theme=dark] .hype-channel { color: #aab2ff; background: rgba(88, 101, 242, .25); }

@media (max-width: 991.98px) {
    .hype-beta { grid-template-columns: minmax(0, 1fr); }
    .hype-beta-sparks { display: none; }
    .hype-beta-mascot { width: 170px; }
}
@media (max-width: 575.98px) {
    .hype-countdown-units span { min-width: 0; flex: 1; }
    .hype-beta-actions .btn { width: 100%; }
}

/* =========================================================
   Boutique : aide points, badges, bonus, grades, cadeau
   ========================================================= */
.hype-shop-hint {
    display: flex; align-items: center; gap: .85rem; flex-wrap: wrap;
    padding: .9rem 1.1rem;
    background: var(--hype-surface);
    border: 2px solid var(--hype-edge); border-radius: var(--hype-radius-sm);
}
.hype-shop-hint > i { font-size: 1.4rem; color: var(--hype-primary); }
.hype-shop-hint p { flex: 1 1 260px; color: var(--hype-muted); font-size: .95rem; }
.hype-shop-hint strong { color: var(--hype-ink); white-space: nowrap; }

.hype-package.is-best { border-color: var(--hype-primary); box-shadow: 0 5px 0 rgba(var(--hype-primary-rgb), .55); }
.hype-package-ribbon {
    position: absolute; top: .75rem; left: .75rem; z-index: 1;
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .25rem .6rem;
    font-family: var(--hype-font-pixel); font-size: .7rem; text-transform: uppercase;
    background: var(--hype-primary); color: #2b1a12;
    border: 2px solid var(--hype-edge-strong); border-radius: 6px;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.hype-package-bonus {
    display: inline-flex; align-items: center; gap: .4rem; flex-wrap: wrap;
    align-self: flex-start;
    margin-bottom: .5rem; padding: .2rem .55rem;
    font-weight: 800; font-size: .85rem;
    color: var(--hype-mint-ink); background: rgba(63, 196, 138, .14);
    border-radius: 999px;
}
.hype-package-bonus span { padding: 0 .4rem; background: var(--hype-mint); color: #fff; border-radius: 999px; }
.hype-package-euros { display: block; font-family: var(--hype-font-body); font-size: .85rem; font-weight: 700; color: var(--hype-muted); }

.hype-shop-welcome, .hype-shop-gift {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    padding: 1.1rem 1.25rem;
    border: 2px solid var(--hype-edge-strong); border-radius: var(--hype-radius);
    box-shadow: 0 4px 0 var(--hype-drop);
}
.hype-shop-welcome { background: linear-gradient(120deg, rgba(var(--hype-primary-rgb), .22), rgba(var(--hype-accent-rgb), .16)); }
.hype-shop-gift { background: var(--hype-surface); }
.hype-shop-welcome-icon, .hype-shop-gift-icon {
    display: grid; place-items: center; flex: none;
    width: 48px; height: 48px; font-size: 1.4rem;
    background: var(--hype-surface); color: var(--hype-accent);
    border: 2px solid var(--hype-edge-strong); border-radius: 10px;
}
.hype-shop-gift-icon { color: #ff5b4a; }
.hype-shop-welcome-title { font-size: 1.25rem; margin-bottom: .15rem; }
.hype-shop-welcome p, .hype-shop-gift p { color: var(--hype-muted); }
.hype-shop-code {
    display: flex; flex-direction: column; align-items: center;
    padding: .5rem 1rem;
    background: var(--hype-surface); color: var(--hype-ink);
    border: 2px dashed var(--hype-edge-strong); border-radius: var(--hype-radius-sm);
    cursor: pointer; transition: transform .2s var(--hype-ease);
}
.hype-shop-code:hover { transform: translateY(-2px); }
.hype-shop-code strong { font-family: var(--hype-font-pixel); font-size: 1rem; letter-spacing: .05em; }
.hype-shop-code small { font-size: .75rem; color: var(--hype-muted); }
.hype-shop-code.is-copied { border-style: solid; border-color: var(--hype-mint); }

.hype-grades { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 991.98px) { .hype-grades { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .hype-grades { grid-template-columns: 1fr; } }
.hype-grade {
    position: relative; display: flex; flex-direction: column;
    padding: 2.4rem 1.1rem 1.1rem;
    background: var(--hype-surface-2);
    border: 2px solid var(--hype-edge); border-radius: var(--hype-radius);
}
.hype-grade.is-highlight { border-color: var(--hype-primary); background: var(--hype-surface); box-shadow: 0 5px 0 rgba(var(--hype-primary-rgb), .45); }
.hype-grade-name { font-size: 1.4rem; margin-bottom: .1rem; }
.hype-grade-price { font-family: var(--hype-font-display); font-size: 1.2rem; color: var(--hype-accent); margin-bottom: .75rem; }
.hype-grade-perks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .35rem; font-size: .92rem; }
.hype-grade-perks i { color: var(--hype-mint-ink); margin-right: .2rem; }

/* =========================================================
   Page vote : vote party, prochain vote, gain du 1er
   ========================================================= */
.hype-vote-party-count { font-family: var(--hype-font-display); font-size: 2rem; line-height: 1; color: var(--hype-accent); }
.hype-vote-party-count small { font-size: 1rem; color: var(--hype-muted); }
.hype-next-vote {
    display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap;
    margin: .75rem 0 0 .5rem; padding: .4rem .5rem .4rem .8rem;
    background: var(--hype-surface);
    border: 2px solid var(--hype-edge); border-radius: 999px;
}
.hype-next-vote > i { color: var(--hype-accent); }
.hype-next-vote strong { font-variant-numeric: tabular-nums; }
.hype-next-vote.is-ready { border-color: var(--hype-mint); color: var(--hype-mint-ink); font-weight: 800; }
.hype-next-vote.is-ready > i { color: var(--hype-mint-ink); }
.hype-next-vote .btn { border-radius: 999px; }
.hype-vote-top-reward {
    display: flex; align-items: center; gap: .6rem;
    margin: -.25rem 0 1rem; padding: .6rem .85rem;
    background: rgba(var(--hype-primary-rgb), .14);
    border: 2px dashed rgba(var(--hype-primary-rgb), .6); border-radius: var(--hype-radius-sm);
}
.hype-vote-top-reward > i { color: var(--hype-primary); font-size: 1.2rem; }
