/* Home hub — maquette fidèle, branchée sur les vraies données */

.page-home .fx-grid,
.page-home .fx-orb,
.page-home .fx-particles { display: none !important; }

.page-home {
    --hub-bg: #090817;
    --hub-surface: #17122e;
    --hub-border: #3d2869;
    --hub-muted: #c7bddb;
    --hub-pink: #ed36ec;
    --hub-purple: #a33bff;
}

body.page-home {
    background:
        radial-gradient(ellipse at 78% 12%, #3d146b55, transparent 35%),
        var(--hub-bg);
}

body.page-home > header,
body.page-home .site-header {
    background: #0c091cf2;
    border-bottom: 1px solid #ffffff12;
    backdrop-filter: blur(16px);
}

.page-home .container {
    width: min(1280px, calc(100% - 48px));
}

.page-home .navbar {
    gap: 18px;
}

.page-home .nav-links {
    gap: 22px;
    height: 100%;
}

.page-home .nav-links a {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

@media (min-width: 701px) {
    .page-home .nav-links a {
        height: 100%;
    }
}

.page-home .nav-links .nav-home-account {
    display: none;
}

.page-home .nav-actions {
    align-items: center;
    gap: 12px;
}

.page-home .logo img {
    height: 38px;
}

.page-home .hub {
    width: 100%;
    margin: 0;
    padding: 92px 0 48px;
}

.page-home .hub-inner {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.page-home .hub-hero {
    position: relative;
    min-height: 535px;
    display: grid;
    grid-template-columns: 47% 53%;
    isolation: isolate;
    overflow: hidden;
}

.page-home .hub-hero:before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, #0b0819 0%, #0d0a1e 38%, #0e0a20aa 52%, transparent 76%);
    pointer-events: none;
}

.page-home .hub-hero__image {
    position: absolute;
    z-index: 0;
    right: -60px;
    top: 0;
    width: 68%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
}

.page-home .hub-hero__copy {
    position: relative;
    z-index: 2;
    padding: 58px 0 28px;
}

.page-home .hub-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0;
    color: #f0d5ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-home .hub-eyebrow:before,
.page-home .hub-eyebrow:after {
    content: "";
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, var(--hub-pink), #36d9ff);
}

.page-home .hub-hero h1 {
    font: italic 900 clamp(56px, 6.1vw, 88px) / 0.86 "Bebas Neue", sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 20px 0 18px;
    max-width: 640px;
    text-shadow: 0 4px 22px #0007;
}

.page-home .hub-hero h1 span {
    color: #e34df4;
    text-shadow: 0 0 22px #e34df455;
}

.page-home .hub-hero__desc {
    margin: 0;
    max-width: 52ch;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
    color: #f0eaf9;
}

.page-home .hub-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.page-home .hub-hero__actions .btn {
    height: 51px;
    padding: 0 22px;
    border-radius: 12px;
}

.page-home .hub-btn-icon {
    font-size: 19px;
    line-height: 1;
}

.page-home .hub-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 8px;
}

.page-home .hub-feature {
    min-height: 124px;
    padding: 17px 18px;
    border: 1px solid #57347e;
    border-radius: 14px;
    background: linear-gradient(135deg, #22183fef, #17112bef);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px #0005;
    transition: 0.2s;
    position: relative;
    overflow: hidden;
}

.page-home .hub-feature:before {
    content: "";
    position: absolute;
    inset: auto 15% -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hub-pink), transparent);
    opacity: 0.8;
}

.page-home .hub-feature__icon {
    width: 64px;
    min-width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 16px;
    filter: drop-shadow(0 0 12px #9b4dff88);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.page-home .hub-feature:hover {
    transform: translateY(-4px);
    border-color: #c34aff;
}

.page-home .hub-feature:hover .hub-feature__icon {
    filter: drop-shadow(0 0 18px #c77dffcc);
    transform: scale(1.05);
}

.page-home .hub-feature h3 {
    font: 800 21px/1 "Bebas Neue", sans-serif;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.page-home .hub-feature p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #e3dced;
}

.page-home .hub-feature__go {
    margin-left: auto;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #6e27c8;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.page-home .hub-free {
    margin: 28px 0 8px;
}

.page-home .hub-free__lead {
    margin: 0 0 16px;
    color: var(--hub-muted);
    font-size: 14px;
}

.page-home .hub-free__source {
    font-size: 11px;
    font-weight: 700;
    color: #dd77ff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-home .hub-giveaways {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.page-home .hub-giveaway {
    position: relative;
    min-width: 0;
    padding-bottom: 10px;
    border: 1px solid #39275d;
    border-radius: 14px;
    background: linear-gradient(145deg, #17132b, #120f23);
    overflow: hidden;
    transition: 0.2s;
}

.page-home .hub-giveaway:hover {
    transform: translateY(-3px);
    border-color: #e34aff;
}

.page-home .hub-giveaway img,
.page-home .hub-giveaway__fallback {
    display: block;
    width: 100%;
    height: 148px;
    object-fit: cover;
    background: #120d26;
}

.page-home .hub-giveaway__fallback {
    display: grid;
    place-items: center;
    font: 800 42px/1 "Bebas Neue", sans-serif;
    color: #fff;
}

.page-home .hub-giveaway__platform {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #120e08cc;
    border: 1px solid #d4b36a66;
    color: #e8d5a4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.page-home .hub-giveaway strong {
    display: block;
    margin: 10px 12px 4px;
    font-size: 14px;
    line-height: 1.3;
}

.page-home .hub-giveaway__meta {
    display: block;
    margin: 0 12px;
    font-size: 11px;
    color: #c7bad9;
}

.page-home .hub-lower {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr;
    gap: 18px;
    margin: 28px 0 36px;
}

.page-home .hub-panel {
    border: 1px solid #39275d;
    border-radius: 17px;
    background: linear-gradient(145deg, #17132b, #120f23);
    padding: 16px 17px;
    min-height: 250px;
}

.page-home .hub-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #ffffff0d;
    padding: 0 0 13px;
    margin-bottom: 13px;
}

.page-home .hub-panel__head h2 {
    margin: 0;
    font: 800 23px/1 "Bebas Neue", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 9px;
}

.page-home .hub-picon {
    font-size: 22px;
    color: #f5ecff;
}

.page-home .hub-online-dot {
    width: 10px;
    height: 10px;
    background: #16ed72;
    border-radius: 50%;
    box-shadow: 0 0 10px #16ed72;
    flex-shrink: 0;
}

.page-home .hub-panel__head a {
    font-size: 11px;
    font-weight: 700;
    color: #dd77ff;
    white-space: nowrap;
}

.page-home .hub-games {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.page-home .hub-game {
    min-width: 0;
    text-align: center;
}

.page-home .hub-game img,
.page-home .hub-game__fallback {
    width: 100%;
    height: 128px;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
    border: 1px solid #60418d;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, color-mix(in srgb, var(--accent, #a33bff) 45%, #120d26), #120d26);
}

.page-home .hub-game:hover img,
.page-home .hub-game:hover .hub-game__fallback {
    transform: translateY(-3px);
    border-color: #e34aff;
}

.page-home .hub-game__fallback {
    font: 800 22px/1 "Bebas Neue", sans-serif;
    color: #fff;
}

.page-home .hub-game span {
    display: block;
    margin-top: 8px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-home .hub-events {
    display: grid;
    gap: 9px;
}

.page-home .hub-event {
    display: flex;
    gap: 11px;
    align-items: center;
    background: #21193a;
    border: 1px solid #332451;
    border-radius: 11px;
    padding: 7px;
}

.page-home .hub-event__thumb {
    width: 100px;
    height: 70px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    flex-shrink: 0;
}

.page-home .hub-event__thumb--fallback {
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--accent, #a33bff) 40%, #21193a);
    font: 800 16px "Bebas Neue", sans-serif;
}

.page-home .hub-event__info { min-width: 0; flex: 1; }

.page-home .hub-event__tag {
    display: inline-block;
    background: #7524be;
    border-radius: 5px;
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.page-home .hub-event__info strong {
    display: block;
    font-size: 12px;
    line-height: 1.35;
}

.page-home .hub-event__meta {
    font-size: 10px;
    color: #c7bad9;
    margin-top: 4px;
}

.page-home .hub-event__go {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #37225e;
    flex-shrink: 0;
}

.page-home .hub-members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 9px;
    padding: 6px 4px;
}

.page-home .hub-member {
    position: relative;
    width: 52px;
    height: 52px;
    margin: auto;
    border-radius: 50%;
    border: 2px solid #bd62ff;
    background: linear-gradient(135deg, #5330a0, #174e75);
    display: grid;
    place-items: center;
    font: 800 16px "Bebas Neue", sans-serif;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 0 12px #8d36ff33;
}

.page-home a.hub-member {
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.page-home a.hub-member:hover,
.page-home a.hub-member:focus-visible {
    transform: scale(1.08);
    border-color: #e8c6ff;
    box-shadow: 0 0 18px #bd62ff88;
    color: #fff;
    outline: none;
}

.page-home .hub-member.is-online:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    bottom: 0;
    right: -1px;
    background: #15ed70;
    border: 2px solid #17132b;
    border-radius: 50%;
}

.page-home .hub-member--more { font-size: 14px; }

.page-home .hub-empty {
    margin: 8px 0;
    color: var(--hub-muted);
    font-size: 13px;
    line-height: 1.5;
}

.page-home .hub-cta {
    margin: 8px 0 24px;
    padding: 28px 34px;
    border-radius: 16px;
    border: 1px solid #63338b;
    background:
        radial-gradient(ellipse at 80% 0%, #6f2cba55, transparent 45%),
        linear-gradient(100deg, #211639, #120d26);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.page-home .hub-cta h2 {
    font: 900 36px/1 "Bebas Neue", sans-serif;
    font-style: italic;
    text-transform: uppercase;
    margin: 0;
}

.page-home .hub-cta p {
    margin: 6px 0 0;
    font-size: 13px;
    color: #c9bedb;
}

.page-home .hub-ad {
    position: relative;
    width: 100%;
    margin: 28px 0 8px;
    overflow: hidden;
    background: #05040a;
    border-radius: 18px;
    border: 1px solid #8a6a2e88;
    box-shadow:
        0 0 0 1px #e8c97a22 inset,
        0 18px 50px #0008;
}

.page-home .reco-occult {
    display: block;
    position: relative;
    color: inherit;
    overflow: hidden;
}

.page-home .reco-occult__art {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    transition: transform 0.7s ease;
}

.page-home .reco-occult__kicker {
    position: absolute;
    left: 18px;
    top: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px 0 6px;
    border-radius: 999px;
    border: 1px solid #e8c97a99;
    background: #140f08cc;
    color: #f0d58a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 0 18px #d4b36a33;
}

.page-home .reco-occult__kicker img {
    width: 22px;
    height: 20px;
    object-fit: contain;
}

.page-home .reco-occult__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-home .reco-occult__cta {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid #e8c97a;
    background: linear-gradient(100deg, #ead08a, #c49a3e 55%, #8d6820);
    color: #140f08;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 24px #0008, 0 0 18px #d4b36a44;
}

.page-home .reco-occult:hover .reco-occult__art {
    transform: scale(1.04);
}

.page-home .reco-occult:hover .reco-occult__cta {
    filter: brightness(1.08);
}

.page-home .site-header .home-search {
    width: 265px;
    height: 42px;
    border: 1px solid #4b3477;
    border-radius: 13px;
    background: #1b1432;
    color: #f7f3ff;
    padding: 0 14px;
    font-size: 11px;
    outline: none;
}

.page-home .site-header .home-search:focus {
    border-color: #c151ff;
}

.page-home .nav-links a.is-active {
    color: #fff;
    position: relative;
}
.page-home .nav-links a.is-active:after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 3px;
    left: -8px;
    right: -8px;
    background: linear-gradient(90deg, var(--hub-purple), var(--hub-pink));
    box-shadow: 0 0 15px #d244ff;
}

.page-home .hub-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #c95dff;
    background: linear-gradient(135deg, #5330a0, #174e75);
    display: grid;
    place-items: center;
    font: 800 16px "Bebas Neue", sans-serif;
    box-shadow: 0 0 15px #a03eff66;
}

@media (max-width: 1150px) {
    .page-home .hub-inner,
    .page-home .container { width: min(1280px, calc(100% - 32px)); }
    .page-home .hub-hero { grid-template-columns: 50% 50%; }
    .page-home .hub-hero__image { width: 72%; right: -30px; }
    .page-home .hub-features { grid-template-columns: repeat(2, 1fr); }
    .page-home .hub-feature__icon { width: 52px; min-width: 52px; height: 52px; border-radius: 14px; }
    .page-home .hub-giveaways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .page-home .hub-lower { grid-template-columns: 1fr 1fr; }
    .page-home .hub-members { grid-template-columns: repeat(8, 1fr); }
    .page-home .site-header .home-search { width: 210px; }
    .page-home .nav-links { gap: 16px; }
}

@media (max-width: 850px) {
    .page-home .hub-hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    .page-home .hub-hero__image {
        position: relative;
        width: calc(100% + 32px);
        height: 240px;
        right: auto;
        margin: 0 -16px -40px;
        mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    }
    .page-home .hub-hero:before { background: linear-gradient(180deg, transparent 20%, #0b0819 58%); }
    .page-home .hub-hero__copy { padding-top: 8px; }
    .page-home .hub-hero h1 { font-size: 56px; max-width: none; }
    .page-home .hub-giveaways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-home .hub-lower { grid-template-columns: 1fr; }
    .page-home .hub-cta { display: block; }
    .page-home .hub-cta .btn { margin-top: 16px; }
    .page-home .reco-occult__kicker { left: 12px; top: 12px; }
    .page-home .reco-occult__cta { left: 12px; bottom: 12px; height: 40px; }
    .page-home .site-header .home-search { display: none; }
}

@media (max-width: 700px) {
    body.page-home .site-header {
        background: #0c091cf2;
        border-bottom: 1px solid #ffffff14;
    }

    .page-home .nav-links {
        background: #100b22f7;
        border-bottom-color: #3d2869;
    }

    .page-home .nav-links a.is-active {
        color: #ed9bff;
    }

    .page-home .hub-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

@media (max-width: 580px) {
    .page-home .hub-features { grid-template-columns: 1fr; }
    .page-home .hub-giveaways { grid-template-columns: 1fr; }
    .page-home .hub-members { grid-template-columns: repeat(4, 1fr); }
    .page-home .hub-feature__go { display: none; }
}
