/*
 * 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; }

.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; }
}
