/* ============================================================
   HOME.CSS — Landing page Luvreizel
   Pattern: Bento Grid Showcase (Modern Dark / Cinematic)
   Palette: --luv-orange (gold) sur --luv-bg (marine)
   ============================================================ */

/* ====================== AMBIENT BACKGROUND ====================== */
body.theme-luv .luv-ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
body.theme-luv .luv-ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    will-change: transform;
}
body.theme-luv .luv-ambient-blob--1 {
    /* Le blob est collé au top du viewport, son pic d'intensité tombe
       juste sous la navbar (≈120px) pour que la pill semble flotter
       au cœur du glow. Comme `top: 0`, le glow couvre aussi la bande
       au-dessus de la navbar — pas de cassure visible. */
    top: 0;
    left: 50%;
    width: 130vw;
    height: 70vh;
    max-width: 2000px;
    max-height: 820px;
    background: radial-gradient(ellipse 55% 100% at 50% 14%,
        rgba(255, 188, 90, 0.95) 0%,
        rgba(255, 138, 31, 0.65) 14%,
        rgba(255, 122, 31, 0.32) 35%,
        rgba(216, 58, 8, 0.12) 60%,
        transparent 78%);
    transform: translateX(-50%);
    filter: blur(40px);
    animation: luvBlobA 22s ease-in-out infinite alternate;
}
body.theme-luv .luv-ambient-blob--2 {
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    max-width: 640px;
    max-height: 640px;
    background: radial-gradient(circle, rgba(112, 13, 221, 0.22), transparent 70%);
    animation: luvBlobB 28s ease-in-out infinite alternate;
}
body.theme-luv .luv-ambient-blob--3 {
    top: 35%;
    right: -8%;
    width: 40vw;
    height: 40vw;
    max-width: 520px;
    max-height: 520px;
    background: radial-gradient(circle, rgba(20, 196, 106, 0.16), transparent 70%);
    animation: luvBlobC 26s ease-in-out infinite alternate;
}
body.theme-luv .luv-ambient-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
/* Grain de matière — très subtil, casse l'aspect "numérique lisse" (refresh) */
body.theme-luv .luv-ambient::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.045;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes luvBlobA {
    0%   { transform: translate(-50%, 0) scale(1); }
    100% { transform: translate(-48%, -1%) scale(1.04); }
}
@keyframes luvBlobB {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(6%, -6%) scale(1.12); }
}
@keyframes luvBlobC {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-6%, 6%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
    body.theme-luv .luv-ambient-blob { animation: none; }
}

/* ====================== SHARED BUTTONS ====================== */
body.theme-luv .home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: var(--luv-r-md);
    font-family: var(--luv-font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    border: 1px solid transparent;
    line-height: 1;
}
body.theme-luv .home-btn--lg { padding: 16px 28px; font-size: 14px; }

body.theme-luv .home-btn--primary {
    background: var(--luv-orange);
    color: #1a0a00;
    box-shadow: 0 8px 28px -8px rgba(255, 138, 31, 0.55);
}
body.theme-luv .home-btn--primary:hover {
    background: var(--luv-orange-2);
    color: #1a0a00;
    transform: translateY(-1px);
    box-shadow: 0 12px 36px -8px rgba(255, 138, 31, 0.65);
}

body.theme-luv .home-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--luv-line-strong);
    color: var(--luv-text);
    backdrop-filter: blur(6px);
}
body.theme-luv .home-btn--ghost:hover {
    border-color: var(--luv-orange);
    color: var(--luv-orange);
    background: rgba(255, 138, 31, 0.08);
}

/* ====================== SECTION HEADER ====================== */
body.theme-luv .home-section-head {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
    padding: 0 24px;
}
body.theme-luv .home-section-title {
    font-family: var(--luv-font-display);
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05;
    font-weight: 400;
    color: var(--luv-text);
    margin: 0;
    letter-spacing: 0.3px;
}
body.theme-luv .home-section-title .text-accent {
    color: var(--luv-orange);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: var(--luv-orange);
}
body.theme-luv .home-section-sub {
    color: var(--luv-text-dim);
    font-size: 15px;
    line-height: 1.55;
    margin: 14px auto 0;
    max-width: 540px;
}

/* ====================== HERO ====================== */
/* La carte as-de-pique (luv-hero.css : top 40% / left 6%) passait sous le
   sous-titre du hero → texte clair sur carte blanche, illisible. Sur la home
   (home.css chargé après luv-hero.css), on la descend dans le coin bas-gauche. */
body.theme-luv .luv-deco-card-spade {
    top: 76%;
    left: 1%;
}
body.theme-luv .home-hero {
    position: relative;
    padding: 72px 24px 56px;
    isolation: isolate;
}
body.theme-luv .home-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
    animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

body.theme-luv .home-hero-headline { min-width: 0; }

body.theme-luv .home-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    background: rgba(20, 196, 106, 0.10);
    border: 1px solid rgba(20, 196, 106, 0.40);
    border-radius: 999px;
    color: var(--luv-green);
    font-family: var(--luv-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 22px;
}
body.theme-luv .home-hero-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--luv-green);
    box-shadow: 0 0 12px var(--luv-green);
    animation: heroPulse 2s ease-in-out infinite;
}
body.theme-luv .home-hero-status-sep { opacity: 0.4; }
body.theme-luv .home-hero-status-meta {
    color: var(--luv-text-dim);
    letter-spacing: 0.10em;
}

@keyframes heroPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(0.85); }
}

body.theme-luv .home-hero-title {
    font-family: var(--luv-font-display);
    font-size: clamp(54px, 9vw, 104px);
    line-height: 0.92;
    letter-spacing: 0.5px;
    font-weight: 400;
    color: var(--luv-text);
    margin: 0 0 12px;
    text-shadow: 0 0 50px rgba(255, 138, 31, 0.25);
}
body.theme-luv .home-hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--luv-font-mono);
    font-size: 12px;
    color: var(--luv-orange);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0 0 22px;
    padding-left: 38px;
    position: relative;
}
body.theme-luv .home-hero-tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 1px;
    background: var(--luv-orange);
    opacity: 0.65;
}

body.theme-luv .home-hero-subtitle {
    font-family: var(--luv-font-body);
    color: var(--luv-text-dim);
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 30px;
    max-width: 480px;
}
body.theme-luv .home-hero-subtitle strong {
    color: var(--luv-text);
    font-weight: 600;
}

body.theme-luv .home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero visual : logo + KPIs */
body.theme-luv .home-hero-visual {
    display: grid;
    gap: 24px;
}
body.theme-luv .home-hero-logo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
    isolation: isolate;
}
body.theme-luv .home-hero-aura {
    position: absolute;
    inset: -10%;
    z-index: 0;
    pointer-events: none;
}
body.theme-luv .home-hero-aura-blob {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    will-change: transform, opacity;
}
body.theme-luv .home-hero-aura-blob--outer {
    background: radial-gradient(circle at 50% 56%, rgba(216, 58, 8, 0.45) 0%, rgba(216, 58, 8, 0.15) 35%, transparent 70%);
    filter: blur(32px);
    animation: heroAuraOuter 6s ease-in-out infinite alternate;
}
body.theme-luv .home-hero-aura-blob--mid {
    inset: 14%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 122, 31, 0.50) 0%, rgba(255, 100, 20, 0.18) 40%, transparent 72%);
    filter: blur(22px);
    animation: heroAuraMid 4.5s ease-in-out infinite alternate;
}
body.theme-luv .home-hero-aura-blob--core {
    inset: 28%;
    background: radial-gradient(circle at 50% 48%, rgba(255, 200, 110, 0.55) 0%, rgba(255, 162, 70, 0.28) 35%, transparent 72%);
    filter: blur(14px);
    animation: heroAuraCore 3.2s ease-in-out infinite alternate;
}
body.theme-luv .home-hero-logo-grain {
    position: absolute;
    inset: -10%;
    width: 120%;
    height: 120%;
    z-index: 1;
    mix-blend-mode: overlay;
    opacity: 0.30;
    pointer-events: none;
    animation: heroGrainShift 0.9s steps(2) infinite;
}
body.theme-luv .home-hero-logo {
    position: relative;
    z-index: 2;
    width: 70%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(255, 138, 31, 0.45));
}
@keyframes heroAuraOuter {
    0%   { transform: translate(-3%, -2%) scale(0.92); opacity: 0.6; }
    100% { transform: translate(2%, 3%) scale(1.12); opacity: 0.95; }
}
@keyframes heroAuraMid {
    0%   { transform: translate(3%, 2%) scale(0.90) scaleY(1.04); opacity: 0.7; }
    100% { transform: translate(-3%, -3%) scale(1.14) scaleY(1.10); opacity: 1; }
}
@keyframes heroAuraCore {
    0%   { transform: translate(-2%, 2%) scale(0.82); opacity: 0.75; }
    100% { transform: translate(3%, -2%) scale(1.18); opacity: 1; }
}
@keyframes heroGrainShift {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(-3%, 2%); }
    100% { transform: translate(2%, -2%); }
}
@media (prefers-reduced-motion: reduce) {
    body.theme-luv .home-hero-aura-blob,
    body.theme-luv .home-hero-logo-grain { animation: none; }
}

body.theme-luv .home-hero-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
body.theme-luv .home-kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 6px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--luv-line);
    border-radius: var(--luv-r-md);
    transition: border-color .2s ease, background-color .2s ease;
}
body.theme-luv .home-kpi:hover {
    border-color: rgba(255, 138, 31, 0.40);
    background: rgba(255, 138, 31, 0.05);
}
body.theme-luv .home-kpi-value {
    font-family: var(--luv-font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--luv-orange);
    line-height: 1;
    letter-spacing: 0.5px;
}
body.theme-luv .home-kpi-label {
    font-family: var(--luv-font-mono);
    font-size: 9.5px;
    color: var(--luv-text-dim);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 6px;
}

@media (max-width: 900px) {
    body.theme-luv .home-hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    body.theme-luv .home-hero-subtitle { margin-left: auto; margin-right: auto; }
    body.theme-luv .home-hero-actions { justify-content: center; }
    body.theme-luv .home-hero-visual { order: -1; }
    body.theme-luv .home-hero-logo-wrap { max-width: 220px; }
    body.theme-luv .home-hero-tagline { padding-left: 0; }
    body.theme-luv .home-hero-tagline::before { display: none; }
}
@media (max-width: 600px) {
    body.theme-luv .home-hero { padding: 48px 16px 32px; }
    body.theme-luv .home-hero-kpis { gap: 8px; }
    body.theme-luv .home-kpi-value { font-size: 18px; }
}

/* ====================== PLANNING LIVE ====================== */
body.theme-luv .home-schedule {
    position: relative;
    z-index: 1;
    padding: 42px 24px 58px;
}
body.theme-luv .home-schedule-shell {
    max-width: 980px;
    margin: 0 auto;
    display: block;
    padding: 0;
    background: rgba(13, 27, 46, 0.62);
    border: 1px solid var(--luv-line-strong);
    border-radius: var(--luv-r-lg);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}
body.theme-luv .home-schedule-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, auto) auto;
    align-items: center;
    gap: 22px;
    padding: 24px 28px;
    list-style: none;
    cursor: pointer;
    transition: background-color .18s ease;
}
body.theme-luv .home-schedule-summary::-webkit-details-marker {
    display: none;
}
body.theme-luv .home-schedule-summary:hover {
    background: rgba(255, 255, 255, 0.025);
}
body.theme-luv .home-schedule-copy {
    display: block;
    min-width: 0;
}
body.theme-luv .home-schedule-title {
    display: block;
    color: var(--luv-text);
    font-family: var(--luv-font-heading);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.05;
}
body.theme-luv .home-schedule-lead {
    display: block;
    max-width: none;
    margin: 8px 0 0;
    color: var(--luv-text-dim);
    font-size: 14px;
    line-height: 1.55;
}
body.theme-luv .home-schedule-next {
    display: grid;
    gap: 6px;
    justify-self: end;
    min-width: 260px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--luv-line);
    border-radius: var(--luv-r-md);
}
body.theme-luv .home-schedule-next-label {
    color: var(--luv-text-dim);
    font-family: var(--luv-font-mono);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
body.theme-luv .home-schedule-next-day {
    color: var(--luv-text);
    font-size: 16px;
    line-height: 1.1;
}
body.theme-luv .home-schedule-next-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--luv-orange);
    font-weight: 800;
}
body.theme-luv .home-schedule-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--luv-line-strong);
    border-radius: 999px;
    color: var(--luv-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
body.theme-luv .home-schedule-toggle::after {
    content: '+';
    color: var(--luv-orange);
    font-family: var(--luv-font-mono);
}
body.theme-luv .home-schedule-shell[open] .home-schedule-toggle::after {
    content: '-';
}
body.theme-luv .home-schedule-shell[open] .home-schedule-summary {
    border-bottom: 1px solid var(--luv-line);
}
body.theme-luv .home-schedule-shell[open] .home-schedule-toggle {
    color: var(--luv-orange);
    border-color: rgba(255, 138, 31, 0.34);
}
body.theme-luv .home-schedule-board {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.theme-luv .home-schedule-board-head,
body.theme-luv .home-schedule-card {
    display: grid;
    grid-template-columns: 150px 150px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}
body.theme-luv .home-schedule-board-head {
    margin: 0;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.025);
    border-bottom: 1px solid var(--luv-line);
    color: var(--luv-text-dim);
    font-size: 10px;
    letter-spacing: 0.12em;
}
body.theme-luv .home-schedule-board-head span:first-child {
    color: var(--luv-text-dim);
}
body.theme-luv .home-schedule-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}
body.theme-luv .home-schedule-card {
    min-height: 0;
    padding: 17px 28px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--luv-line);
    border-radius: 0;
    overflow: visible;
    justify-content: initial;
    isolation: auto;
    transition: background-color .18s ease;
}
body.theme-luv .home-schedule-card:last-child {
    border-bottom: 0;
}
body.theme-luv .home-schedule-card:hover {
    transform: none;
    border-color: var(--luv-line);
    background: rgba(255, 255, 255, 0.025);
}
body.theme-luv .home-schedule-card-top {
    display: block;
}
body.theme-luv .home-schedule-day {
    color: var(--luv-text);
    font-family: var(--luv-font-body);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
}
body.theme-luv .home-schedule-time,
body.theme-luv .home-schedule-offline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--luv-text);
    font-family: var(--luv-font-body);
    font-size: 14px;
    font-weight: 700;
}
body.theme-luv .home-schedule-time span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--luv-green);
    box-shadow: none;
}
body.theme-luv .home-schedule-perk,
body.theme-luv .home-schedule-note,
body.theme-luv .home-schedule-program {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--luv-text-dim);
    font-family: var(--luv-font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    align-self: center;
    justify-self: start;
}
body.theme-luv .home-schedule-program svg {
    flex: 0 0 auto;
}
body.theme-luv .home-schedule-next-program {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    font-size: 12px;
    font-weight: 800;
}
body.theme-luv .home-schedule-program--call {
    color: var(--luv-orange);
}
body.theme-luv .home-schedule-program--live {
    color: #ffc46b;
}
body.theme-luv .home-schedule-program--hunt {
    color: #ff8a92;
}
body.theme-luv .home-schedule-program--tournament {
    color: #caa3ff;
}
body.theme-luv .home-schedule-program--off {
    color: var(--luv-text-dim);
}
body.theme-luv .home-schedule-card--off {
    justify-content: initial;
    background: transparent;
}
body.theme-luv .home-schedule-card--off .home-schedule-day {
    opacity: 1;
}
body.theme-luv .home-schedule-offline {
    color: #ff8a8a;
}

@media (max-width: 760px) {
    body.theme-luv .home-schedule-summary {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 22px;
    }
    body.theme-luv .home-schedule-next {
        justify-self: stretch;
        min-width: 0;
    }
    body.theme-luv .home-schedule-toggle {
        justify-self: start;
    }
    body.theme-luv .home-schedule-board-head {
        display: none;
    }
    body.theme-luv .home-schedule-card {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px 22px;
    }
    body.theme-luv .home-schedule-copy {
        padding: 0;
    }
    body.theme-luv .home-schedule-perk,
    body.theme-luv .home-schedule-note,
    body.theme-luv .home-schedule-program {
        align-self: flex-start;
    }
}
@media (max-width: 600px) {
    body.theme-luv .home-schedule {
        padding: 34px 16px 46px;
    }
    body.theme-luv .home-schedule-shell {
        padding: 0;
        border-radius: 18px;
    }
}

/* ====================== BENTO GRID ====================== */
body.theme-luv .home-bento {
    padding: 64px 24px;
    position: relative;
    z-index: 1;
}
body.theme-luv .home-bento-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 16px;
}

body.theme-luv .bento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px;
    background: var(--luv-card);
    border: 1px solid var(--luv-line);
    border-radius: var(--luv-r-lg);
    overflow: hidden;
    color: var(--luv-text);
    text-decoration: none;
    isolation: isolate;
    transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
body.theme-luv .bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--bento-glow, rgba(255, 138, 31, 0.18)), transparent 60%);
    opacity: 0.85;
    z-index: -1;
    transition: opacity .25s ease;
}
body.theme-luv .bento-card:hover {
    transform: translateY(-3px);
    border-color: var(--bento-border, var(--luv-orange));
}
body.theme-luv .bento-card:hover::before { opacity: 1; }

body.theme-luv .bento-card--xl   { grid-column: span 4; grid-row: span 2; }
body.theme-luv .bento-card--lg   { grid-column: span 2; grid-row: span 2; }
body.theme-luv .bento-card--md   { grid-column: span 3; }
body.theme-luv .bento-card--sm   { grid-column: span 3; }

body.theme-luv .bento-card-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
}
body.theme-luv .bento-card-title {
    font-family: var(--luv-font-display);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 400;
    color: var(--luv-text);
    margin: 0 0 8px;
    letter-spacing: 0.4px;
    line-height: 1.05;
}
body.theme-luv .bento-card--xl .bento-card-title {
    font-size: clamp(28px, 3vw, 40px);
}
body.theme-luv .bento-card-desc {
    font-size: 14px;
    color: var(--luv-text-dim);
    line-height: 1.5;
    margin: 0;
    max-width: 36ch;
}
body.theme-luv .bento-card--xl .bento-card-desc {
    font-size: 15px;
    max-width: 44ch;
}

body.theme-luv .bento-card-icon {
    position: absolute;
    top: 22px;
    right: 22px;
    color: var(--bento-accent, var(--luv-orange));
    opacity: 0.55;
    transition: transform .3s ease, opacity .25s ease;
    z-index: 1;
}
body.theme-luv .bento-card:hover .bento-card-icon {
    opacity: 0.9;
    transform: scale(1.08) rotate(-3deg);
}

body.theme-luv .bento-card-arrow {
    position: absolute;
    bottom: 22px;
    right: 22px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--luv-line-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--luv-text);
    transition: transform .25s ease, background-color .25s ease, color .25s ease;
    z-index: 2;
}
body.theme-luv .bento-card:hover .bento-card-arrow {
    background: var(--bento-accent, var(--luv-orange));
    color: #1a0a00;
    transform: translateX(3px);
}

body.theme-luv .bento-card-tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 11px;
    background: rgba(20, 196, 106, 0.12);
    border: 1px solid rgba(20, 196, 106, 0.45);
    border-radius: 999px;
    color: var(--luv-green);
    font-family: var(--luv-font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    z-index: 2;
    margin-bottom: auto;
}
body.theme-luv .bento-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--luv-green);
    box-shadow: 0 0 10px var(--luv-green);
    animation: heroPulse 1.6s ease-in-out infinite;
}

/* Per-card colorways */
body.theme-luv .bento-card--calls       { --bento-glow: rgba(230, 57, 70, 0.22);  --bento-accent: #ff6b6b; --bento-border: rgba(230, 57, 70, 0.55); }
body.theme-luv .bento-card--leaderboard { --bento-glow: rgba(255, 138, 31, 0.28); --bento-accent: var(--luv-orange); --bento-border: rgba(255, 138, 31, 0.55); }
body.theme-luv .bento-card--tournois    { --bento-glow: rgba(112, 13, 221, 0.25); --bento-accent: #b97bff; --bento-border: rgba(165, 102, 255, 0.55); }
body.theme-luv .bento-card--bonus       { --bento-glow: rgba(20, 196, 106, 0.22); --bento-accent: #2ee29a; --bento-border: rgba(20, 196, 106, 0.55); }
body.theme-luv .bento-card--discord     { --bento-glow: rgba(88, 101, 242, 0.25); --bento-accent: #8a92ff; --bento-border: rgba(88, 101, 242, 0.55); }
body.theme-luv .bento-card--rumble      { --bento-glow: rgba(133, 199, 66, 0.22); --bento-accent: #b6e07f; --bento-border: rgba(133, 199, 66, 0.55); }

@media (max-width: 900px) {
    body.theme-luv .home-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    body.theme-luv .bento-card--xl,
    body.theme-luv .bento-card--lg,
    body.theme-luv .bento-card--md,
    body.theme-luv .bento-card--sm {
        grid-column: span 2;
        grid-row: auto;
    }
    body.theme-luv .bento-card { min-height: 180px; }
}
@media (max-width: 520px) {
    body.theme-luv .home-bento-grid { grid-template-columns: 1fr; }
    body.theme-luv .bento-card--xl,
    body.theme-luv .bento-card--lg,
    body.theme-luv .bento-card--md,
    body.theme-luv .bento-card--sm {
        grid-column: span 1;
    }
}

/* ====================== PARTENAIRES (refined) ====================== */
body.theme-luv .home-partners {
    padding: 64px 24px;
    position: relative;
    z-index: 1;
}
body.theme-luv .home-partners-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

body.theme-luv .home-partner-card {
    position: relative;
    background: var(--luv-card);
    border: 1px solid var(--luv-line-strong);
    border-radius: var(--luv-r-lg);
    overflow: hidden;
    transition: border-color .25s ease, transform .25s ease;
    isolation: isolate;
}
body.theme-luv .home-partner-card:hover {
    transform: translateY(-3px);
}

body.theme-luv .home-partner-bg {
    position: relative;
    height: 120px;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 138, 31, 0.4), transparent 60%),
        linear-gradient(135deg, #4d2200 0%, #1a0a00 100%);
    border-bottom: 1px solid var(--luv-line);
    display: flex;
    align-items: flex-end;
    padding: 16px 18px;
    overflow: hidden;
}
body.theme-luv .home-partner-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, black, transparent);
    -webkit-mask-image: linear-gradient(180deg, black, transparent);
    pointer-events: none;
}
body.theme-luv .home-partner-bg--crazybet {
    background:
        radial-gradient(ellipse 80% 100% at 50% 10%, rgba(165, 102, 255, 0.30) 0%, transparent 70%),
        linear-gradient(160deg, #2a0f4d 0%, #0a0420 100%);
    height: 160px;
}
/* violet ambient glow behind banner */
body.theme-luv .home-partner-bg--crazybet::before {
    content: '';
    display: block;
    position: absolute;
    inset: auto;
    width: 220px;
    height: 140px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    border-radius: 50%;
    background-image: radial-gradient(circle, rgba(165, 102, 255, 0.40) 0%, transparent 70%);
    background-size: auto;
    background-repeat: no-repeat;
    mask-image: none;
    -webkit-mask-image: none;
    filter: blur(22px);
    pointer-events: none;
    z-index: 0;
}
body.theme-luv .home-partner-banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 1;
    pointer-events: none;
    display: block;
}
body.theme-luv .home-partner-bg--crazybet .home-partner-banner {
    padding: 18px 22px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
}
/* smooth fade into card body */
body.theme-luv .home-partner-bg--crazybet::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(10, 4, 32, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}
body.theme-luv .home-partner-bg--dbot {
    background:
        radial-gradient(ellipse 70% 100% at 50% 10%, rgba(241, 181, 85, 0.28) 0%, transparent 70%),
        linear-gradient(160deg, #2a1d08 0%, #0e0b04 100%);
    height: 160px;
    justify-content: center;
    align-items: center;
}
body.theme-luv .home-partner-bg--dbot::before { display: none; }
/* golden ambient glow behind logo */
body.theme-luv .home-partner-bg--dbot::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241, 181, 85, 0.22) 0%, transparent 70%);
    filter: blur(18px);
    pointer-events: none;
    z-index: 0;
}
body.theme-luv .home-partner-banner--dbot {
    position: relative;
    width: auto;
    height: 110px;
    left: auto;
    top: auto;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    z-index: 2;
    filter: drop-shadow(0 0 18px rgba(241, 181, 85, 0.45));
}
/* bottom fade into card body */
body.theme-luv .home-partner-bg--dbot .home-partner-bg-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 55%, rgba(14, 11, 4, 0.90) 100%);
    pointer-events: none;
    z-index: 3;
}

body.theme-luv .home-partner-major-badge {
    position: absolute;
    bottom: 14px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    background: rgba(10, 4, 32, 0.40);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 20px;
    font-family: var(--luv-font-body);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    z-index: 3;
}
body.theme-luv .home-partner-major-badge--crazybet { background: rgba(112, 13, 221, 0.55); color: #e0c8ff; border-color: rgba(160, 90, 255, 0.45); }
body.theme-luv .home-partner-major-badge--dbot     { background: rgba(241, 181, 85, 0.22); color: #f1d080; border-color: rgba(241, 181, 85, 0.45); }

body.theme-luv .home-partner-body {
    padding: 24px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body.theme-luv .home-partner-name {
    font-family: var(--luv-font-display);
    font-size: 30px;
    font-weight: 400;
    color: var(--luv-orange);
    margin: 0;
    letter-spacing: 0.5px;
}
body.theme-luv .home-partner-name--crazybet { color: #a566ff; }
body.theme-luv .home-partner-name--dbot     { color: #f1b555; }

body.theme-luv .home-partner-fineprint {
    font-size: 11px;
    color: var(--luv-text-dim);
    opacity: 0.65;
    margin: 4px 0 0;
    line-height: 1.4;
    font-style: italic;
}
body.theme-luv .home-partner-tagline {
    font-size: 14px;
    color: var(--luv-text-dim);
    line-height: 1.55;
    margin: 0;
}
body.theme-luv .home-partner-tagline strong {
    color: var(--luv-orange);
    font-weight: 700;
}
body.theme-luv .home-partner--crazybet .home-partner-tagline strong { color: #c89aff; }
body.theme-luv .home-partner--dbot .home-partner-tagline strong     { color: #f1b555; }

body.theme-luv .home-partner-perks {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 0;
    border-top: 1px solid var(--luv-line);
    border-bottom: 1px solid var(--luv-line);
}
body.theme-luv .home-partner-perks span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--luv-font-mono);
    font-size: 12px;
    color: var(--luv-text-dim);
}
body.theme-luv .home-partner-perks svg { color: var(--luv-green); flex-shrink: 0; }

body.theme-luv .home-partner-code-btn {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 138, 31, 0.10);
    border: 1.5px dashed rgba(255, 138, 31, 0.55);
    border-radius: var(--luv-r-md);
    color: var(--luv-orange);
    font-family: var(--luv-font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: var(--transition);
}
body.theme-luv .home-partner-code-btn:hover {
    background: rgba(255, 138, 31, 0.18);
    border-color: var(--luv-orange);
}
body.theme-luv .home-partner-code-btn--crazybet {
    color: #c89aff;
    background: rgba(112, 13, 221, 0.12);
    border-color: rgba(112, 13, 221, 0.60);
}
body.theme-luv .home-partner-code-btn--crazybet:hover {
    background: rgba(112, 13, 221, 0.22);
    border-color: #a566ff;
}
body.theme-luv .home-partner-code-btn--dbot {
    color: #f1b555;
    background: rgba(241, 181, 85, 0.10);
    border-color: rgba(241, 181, 85, 0.55);
}
body.theme-luv .home-partner-code-btn--dbot:hover {
    background: rgba(241, 181, 85, 0.20);
    border-color: #f1b555;
}

body.theme-luv .home-partner-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 18px;
    background: var(--luv-orange);
    color: #1a0a00;
    border-radius: var(--luv-r-md);
    font-family: var(--luv-font-body);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background-color .15s, transform .15s;
}
body.theme-luv .home-partner-cta:hover {
    color: #1a0a00;
    background: var(--luv-orange-2);
    transform: translateY(-1px);
}
body.theme-luv .home-partner-cta--crazybet { background: #700ddd; color: #fff; }
body.theme-luv .home-partner-cta--crazybet:hover { color: #fff; background: #7e1ce0; }
body.theme-luv .home-partner-cta--dbot     { background: #f1b555; color: #2a1d05; }
body.theme-luv .home-partner-cta--dbot:hover     { color: #2a1d05; background: #f5c573; }

body.theme-luv .home-partner--crazybet:hover { border-color: #a566ff; }
body.theme-luv .home-partner--dbot:hover     { border-color: #f1b555; }

/* ====================== HOW IT WORKS ====================== */
body.theme-luv .home-howto {
    padding: 64px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}
body.theme-luv .home-howto-steps {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1180px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    counter-reset: howto;
}
body.theme-luv .home-howto-step {
    position: relative;
    background: var(--luv-card);
    border: 1px solid var(--luv-line);
    border-radius: var(--luv-r-lg);
    padding: 28px 24px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    overflow: hidden;
    isolation: isolate;
}
body.theme-luv .home-howto-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(255, 138, 31, 0.08), transparent 55%);
    pointer-events: none;
    z-index: -1;
}
body.theme-luv .home-howto-step:hover {
    border-color: var(--luv-line-strong);
    transform: translateY(-2px);
}
body.theme-luv .home-howto-num {
    font-family: var(--luv-font-display);
    font-size: 40px;
    line-height: 1;
    color: var(--luv-orange);
    letter-spacing: 0.04em;
    opacity: 0.95;
}
body.theme-luv .home-howto-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
body.theme-luv .home-howto-title {
    font-family: var(--luv-font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--luv-text);
    margin: 0;
    letter-spacing: 0.2px;
    line-height: 1.15;
}
body.theme-luv .home-howto-desc {
    color: var(--luv-text-dim);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}
body.theme-luv .home-howto-desc code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(255, 138, 31, 0.12);
    color: var(--luv-orange);
    border: 1px solid rgba(255, 138, 31, 0.2);
}
body.theme-luv .home-howto-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--luv-text);
    text-decoration: none;
    margin-top: 4px;
    align-self: flex-start;
    transition: var(--transition);
}
body.theme-luv .home-howto-cta:hover {
    color: var(--luv-orange);
    gap: 10px;
}

@media (max-width: 900px) {
    body.theme-luv .home-howto-steps { grid-template-columns: 1fr; }
}

/* ====================== CTA FINALE ====================== */
body.theme-luv .home-cta-final {
    padding: 64px 24px 96px;
    position: relative;
    z-index: 1;
}
body.theme-luv .home-cta-final-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 56px 28px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 138, 31, 0.18), transparent 60%),
        var(--luv-card);
    border: 1px solid var(--luv-line-strong);
    border-radius: var(--luv-r-lg);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
body.theme-luv .home-cta-final-inner::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 138, 31, 0.45), transparent 40%, rgba(255, 138, 31, 0.25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
body.theme-luv .home-cta-final-title {
    font-family: var(--luv-font-display);
    font-size: clamp(28px, 4.4vw, 44px);
    font-weight: 400;
    color: var(--luv-text);
    margin: 0 0 12px;
    letter-spacing: 0.3px;
    line-height: 1.05;
}
body.theme-luv .home-cta-final-sub {
    color: var(--luv-text-dim);
    font-size: 15px;
    margin: 0 0 28px;
}
body.theme-luv .home-cta-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (max-width: 600px) {
    body.theme-luv .home-partners { padding: 48px 16px; }
    body.theme-luv .home-bento { padding: 48px 16px; }
    body.theme-luv .home-howto { padding: 48px 16px; }
    body.theme-luv .home-cta-final { padding: 48px 16px 64px; }
    body.theme-luv .home-cta-final-inner { padding: 40px 20px; }
}

/* ====================================================================
   REFRESH — matière sur les cards (highlight interne + liseré dégradé)
   Lumière blanche neutre : cohérente avec tous les coloris (bento, etc.)
   ==================================================================== */
body.theme-luv .bento-card,
body.theme-luv .home-partner-card,
body.theme-luv .home-howto-step {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* schedule-shell garde son ombre portée + on ajoute le highlight interne */
body.theme-luv .home-schedule-shell {
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
/* Liseré dégradé (relief "verre") — subtil au repos, légèrement plus marqué au survol */
body.theme-luv .bento-card::after,
body.theme-luv .home-schedule-shell::after,
body.theme-luv .home-partner-card::after,
body.theme-luv .home-howto-step::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    pointer-events: none;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.16),
        transparent 38%,
        transparent 88%,
        rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.7;
    transition: opacity .25s ease;
    z-index: 1;
}
body.theme-luv .bento-card:hover::after,
body.theme-luv .home-partner-card:hover::after,
body.theme-luv .home-howto-step:hover::after {
    opacity: 1;
}


/* ====================================================================
   HUB DASHBOARD — tableau de bord communautaire (home)
   ==================================================================== */
/* ===== HUB DASHBOARD ===== */
body.theme-luv .home-hub{padding:64px 24px;position:relative;z-index:1}
body.theme-luv .hub-grid{max-width:1180px;margin:0 auto;display:flex;flex-direction:column;gap:16px}
body.theme-luv .hub-main{display:grid;grid-template-columns:2fr 1fr;gap:16px;align-items:stretch}
body.theme-luv .hub-side{display:flex;flex-direction:column;gap:16px}
/* Les cartes de la colonne droite remplissent la hauteur du héros (croissance
   répartie) : seule → toute la hauteur ; à deux → partage sans rognage. */
body.theme-luv .hub-side>.hub-mod{flex:1 1 auto}
/* Colonne droite vide (ni tournoi ni wager) → le héros prend toute la largeur */
body.theme-luv .hub-main--solo{grid-template-columns:1fr}
body.theme-luv .hub-main--solo .hub-side{display:none}
body.theme-luv .hub-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
body.theme-luv .hub-mod{position:relative;border-radius:var(--luv-r-lg);background:var(--luv-card);border:1px solid var(--luv-line-strong);padding:20px 22px;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.06);transition:transform .22s ease,border-color .22s ease;--a:var(--luv-orange);text-decoration:none;display:flex;flex-direction:column;color:var(--luv-text)}
body.theme-luv .hub-mod::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.14),transparent 42%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.65}
body.theme-luv .hub-mod:hover{transform:translateY(-3px);border-color:var(--a)}
body.theme-luv .hub-head{display:flex;align-items:center;gap:11px;margin-bottom:14px}
body.theme-luv .hub-ttl{font-family:var(--luv-font-mono);font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--a)}
body.theme-luv .hub-more{margin-left:auto;font-family:var(--luv-font-mono);font-size:11px;color:var(--luv-text-mute)}
body.theme-luv .hub-lead{color:var(--luv-text-dim);font-size:13.5px;line-height:1.55;margin:0 0 16px}
body.theme-luv .hub-cta{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:var(--luv-r-md);background:rgba(255,255,255,.05);border:1px solid var(--luv-line-strong);color:var(--luv-text);font-weight:700;font-size:12px;transition:.18s}
body.theme-luv .hub-mod:hover .hub-cta{border-color:var(--a);color:var(--a)}
body.theme-luv .hub-cta svg{width:15px;height:15px}

/* Héros */
/* Le héros s'étire à la hauteur de la colonne droite (tournoi + wager) et
   répartit son contenu (titre en haut, planning au centre, CTAs en bas) au
   lieu de laisser un vide en dessous. */
body.theme-luv .hub-hero{--a:var(--luv-orange);justify-content:space-between;background:radial-gradient(ellipse 60% 70% at 90% 6%,rgba(255,138,31,.16),transparent 60%),var(--luv-card)}
body.theme-luv .hub-hero-big{font-family:var(--luv-font-display);font-size:clamp(32px,4.6vw,52px);color:var(--luv-text);line-height:.96;margin:14px 0 8px;font-weight:400}
body.theme-luv .hub-live{display:inline-flex;align-items:center;gap:14px}
body.theme-luv .hub-livedot{width:14px;height:14px;border-radius:50%;background:#ff4d4d;box-shadow:0 0 16px #ff4d4d;animation:hubPulse 1.6s infinite}
@keyframes hubPulse{50%{opacity:.4}}
body.theme-luv .hub-hero-prog{display:inline-flex;align-items:center;gap:9px;color:var(--luv-orange);font-weight:700;font-size:15px;font-family:var(--luv-font-body)}
body.theme-luv .hub-hero-prog svg{width:18px;height:18px;flex:0 0 auto}
body.theme-luv .hub-week{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin:24px 0}
body.theme-luv .hub-day{text-align:center;padding:11px 4px 9px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid var(--luv-line)}
body.theme-luv .hub-dn{display:block;font-family:var(--luv-font-mono);font-size:9.5px;color:var(--luv-text-dim);letter-spacing:.06em;margin-bottom:8px}
body.theme-luv .hub-pic{display:flex;justify-content:center;color:#cfd6e4;min-height:17px}
body.theme-luv .hub-pic svg{width:17px;height:17px}
body.theme-luv .hub-day--off{opacity:.4}
body.theme-luv .hub-day--off .hub-pic{color:var(--luv-text-mute)}
body.theme-luv .hub-day--today{border-color:var(--luv-orange);background:rgba(255,138,31,.10)}
body.theme-luv .hub-day--today .hub-dn{color:var(--luv-orange)}
/* Couleurs des programmes par type (comme l'ancien planning) */
body.theme-luv .hub-day--call .hub-pic{color:var(--luv-orange)}
body.theme-luv .hub-day--live .hub-pic{color:#ffc46b}
body.theme-luv .hub-day--hunt .hub-pic{color:#ff8a92}
body.theme-luv .hub-day--tournament .hub-pic{color:#caa3ff}
body.theme-luv .hub-hero-ctas{display:flex;gap:10px;margin-top:auto;flex-wrap:wrap}
body.theme-luv .hub-b{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:var(--luv-r-md);font-weight:800;font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;font-family:var(--luv-font-body)}
body.theme-luv .hub-b svg{width:15px;height:15px}
body.theme-luv .hub-b-p{background:var(--luv-orange);color:#1a0a00}
body.theme-luv .hub-b-g{border:1px solid var(--luv-line-strong);color:var(--luv-text)}

/* Tournoi */
body.theme-luv .hub-tour{--a:#b97bff;background:radial-gradient(ellipse 70% 90% at 92% 10%,rgba(165,102,255,.16),transparent 62%),var(--luv-card)}
body.theme-luv .hub-alert{display:inline-flex;align-items:center;gap:7px;font-family:var(--luv-font-mono);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#caa3ff}
body.theme-luv .hub-alert svg{width:15px;height:15px}
body.theme-luv .hub-tn{font-family:var(--luv-font-display);font-size:24px;color:var(--luv-text);margin:6px 0 0;font-weight:400;line-height:1.05}
body.theme-luv .hub-ti{font-family:var(--luv-font-mono);font-size:12px;color:var(--luv-text-dim);margin-bottom:5px}
body.theme-luv .hub-ti b{color:#caa3ff}
body.theme-luv .hub-tdesc{color:var(--luv-text-dim);font-size:13px;line-height:1.5;margin:9px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
/* Bloc central qui occupe la hauteur libre quand la carte est étirée */
body.theme-luv .hub-tstats{flex:1;display:flex;flex-direction:column;justify-content:center;gap:18px;margin:18px 0}
body.theme-luv .hub-tprog-head{display:flex;justify-content:space-between;align-items:baseline;font-family:var(--luv-font-mono);font-size:11.5px;color:var(--luv-text-dim);margin-bottom:9px}
body.theme-luv .hub-tprog-head b{color:#caa3ff;font-size:14px}
body.theme-luv .hub-tbar{height:7px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden}
body.theme-luv .hub-tbar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8a4dff,#caa3ff);box-shadow:0 0 12px rgba(165,102,255,.5)}
body.theme-luv .hub-tdl{display:flex;align-items:center;gap:12px}
body.theme-luv .hub-tdl svg{width:26px;height:26px;color:#caa3ff;flex:0 0 auto;opacity:.85}
body.theme-luv .hub-tdl-t{display:flex;flex-direction:column;gap:2px;min-width:0}
body.theme-luv .hub-tdl-l{font-family:var(--luv-font-mono);font-size:9.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--luv-text-mute)}
body.theme-luv .hub-tdl-v{font-size:14px;font-weight:700;color:var(--luv-text)}

/* Wager race */
body.theme-luv .hub-lb{--a:var(--luv-orange)}
body.theme-luv .hub-lbrows{flex:1;display:flex;flex-direction:column;justify-content:space-evenly;margin:2px 0}
body.theme-luv .hub-lrow{display:flex;align-items:center;gap:11px;padding:6px 0}
body.theme-luv .hub-lrk{font-family:var(--luv-font-display);font-size:13px;width:16px;color:var(--luv-text-dim)}
body.theme-luv .hub-lrow--1 .hub-lrk{color:var(--luv-orange)}
body.theme-luv .hub-lav{width:26px;height:26px;border-radius:7px;background:linear-gradient(135deg,var(--luv-surface3,#1a3350),var(--luv-card));flex:0 0 auto}
body.theme-luv .hub-lnm{flex:1;min-width:0;font-weight:600;font-size:13px;color:var(--luv-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.theme-luv .hub-lam{font-family:var(--luv-font-mono);color:var(--luv-orange);font-size:12.5px}
body.theme-luv .hub-pool{margin-top:auto;padding-top:10px;border-top:1px solid var(--luv-line);font-family:var(--luv-font-mono);font-size:11.5px;color:var(--luv-text-dim)}
body.theme-luv .hub-pool b{color:var(--luv-orange)}

/* Wager race — variante bande horizontale (tournoi + wager) */
body.theme-luv .hub-wstrip{flex-direction:row;align-items:center;flex-wrap:wrap;gap:14px 22px;padding:16px 22px}
body.theme-luv .hub-wstrip-head{display:flex;align-items:center;gap:11px;flex:0 0 auto;margin:0}
body.theme-luv .hub-wmore{margin:0}
body.theme-luv .hub-wstrip-rows{display:flex;gap:10px;flex:1 1 320px;min-width:0}
body.theme-luv .hub-wcol{display:flex;flex-direction:column;align-items:flex-start;gap:3px;flex:1 1 0;min-width:0;padding:9px 14px;border-radius:11px;background:rgba(255,255,255,.04);border:1px solid var(--luv-line)}
body.theme-luv .hub-wcol--1{border-color:rgba(255,138,31,.42);background:rgba(255,138,31,.08)}
body.theme-luv .hub-wcol-top{display:flex;align-items:center;gap:8px;width:100%;min-width:0}
body.theme-luv .hub-wcol .hub-lam{font-size:14px;white-space:nowrap}
body.theme-luv .hub-wpool{margin:0;padding:0;border:0;flex:0 0 auto}
@media (max-width:680px){
  body.theme-luv .hub-wstrip-rows{flex-wrap:wrap}
  body.theme-luv .hub-wcol{flex:1 1 140px}
}

/* Calls */
body.theme-luv .hub-calls{--a:#ff6b6b}
body.theme-luv .hub-crow{display:flex;align-items:center;gap:10px;padding:6px 0}
body.theme-luv .hub-cth{width:34px;height:34px;border-radius:8px;background:linear-gradient(135deg,#3a1230,#170a22);border:1px solid rgba(255,255,255,.1);flex:0 0 auto;overflow:hidden;display:grid;place-items:center}
body.theme-luv .hub-cth img{width:100%;height:100%;object-fit:cover}
body.theme-luv .hub-cmeta{flex:1;min-width:0}
body.theme-luv .hub-cn{display:block;font-weight:600;font-size:12.5px;color:var(--luv-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.theme-luv .hub-cp{display:block;font-family:var(--luv-font-mono);font-size:9.5px;color:var(--luv-text-dim)}
body.theme-luv .hub-cb{margin-left:auto;font-family:var(--luv-font-mono);font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:3px 7px;border-radius:999px;background:rgba(230,57,70,.16);color:#ff6b6b;border:1px solid rgba(230,57,70,.42);flex:0 0 auto}

body.theme-luv .hub-pts{--a:#ffb84a}
body.theme-luv .hub-rumble{--a:#b6e07f}
body.theme-luv .hub-bonus{--a:#2ee29a}

@media (max-width:820px){
  body.theme-luv .hub-main{grid-template-columns:1fr}
}
@media (max-width:560px){
  body.theme-luv .home-hub{padding:48px 16px}
}

/* --- Identité visuelle par module : glow teinté + icône (logo) visible --- */
body.theme-luv .hub-lb{background:radial-gradient(ellipse 62% 78% at 94% 2%, rgba(255,138,31,0.17), transparent 60%), var(--luv-card)}
body.theme-luv .hub-calls{background:radial-gradient(ellipse 62% 78% at 94% 2%, rgba(230,57,70,0.18), transparent 60%), var(--luv-card)}
body.theme-luv .hub-pts{background:radial-gradient(ellipse 62% 78% at 94% 2%, rgba(255,184,74,0.18), transparent 60%), var(--luv-card)}
body.theme-luv .hub-rumble{background:radial-gradient(ellipse 62% 78% at 94% 2%, rgba(133,199,66,0.16), transparent 60%), var(--luv-card)}
body.theme-luv .hub-bonus{background:radial-gradient(ellipse 62% 78% at 94% 2%, rgba(46,226,154,0.16), transparent 60%), var(--luv-card)}

body.theme-luv .hub-mod-ic{
  flex:0 0 auto;
  width:36px;
  height:36px;
  border-radius:10px;
  display:grid;
  place-items:center;
  color:var(--a);
  background:color-mix(in srgb, var(--a) 14%, transparent);
  border:1px solid color-mix(in srgb, var(--a) 30%, transparent);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  transition:transform .25s ease;
}
body.theme-luv .hub-mod-ic svg{width:19px;height:19px}
body.theme-luv .hub-mod-ic--img{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.12);
}
body.theme-luv .hub-mod-ic--img img{width:24px;height:24px;display:block}
body.theme-luv .hub-mod:hover .hub-mod-ic{transform:scale(1.07)}

/* ===== Popup Planning ===== */
.planning-modal{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:24px}
.planning-modal[hidden]{display:none}
.planning-modal-backdrop{position:absolute;inset:0;background:rgba(5,10,20,.72);backdrop-filter:blur(6px);animation:planFade .25s ease}
.planning-modal-card{position:relative;width:100%;max-width:560px;max-height:86vh;overflow:auto;
  background:var(--luv-card);border:1px solid var(--luv-line-strong);border-radius:var(--luv-r-lg);
  box-shadow:0 30px 70px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.07);
  padding:26px 28px;animation:planPop .3s cubic-bezier(.16,1,.3,1)}
@keyframes planFade{from{opacity:0}to{opacity:1}}
@keyframes planPop{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.planning-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
.planning-modal-eyebrow{font-family:var(--luv-font-mono);font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--luv-orange)}
.planning-modal-title{font-family:var(--luv-font-display);font-size:26px;font-weight:400;color:var(--luv-text);margin:8px 0 4px;line-height:1.05}
.planning-modal-sub{color:var(--luv-text-dim);font-size:13.5px;margin:0}
.planning-modal-close{flex:0 0 auto;width:36px;height:36px;border-radius:10px;border:1px solid var(--luv-line-strong);
  background:rgba(255,255,255,.04);color:var(--luv-text-dim);font-size:15px;cursor:pointer;transition:.18s}
.planning-modal-close:hover{color:var(--luv-text);border-color:var(--luv-orange)}
.planning-modal-list{list-style:none;margin:0;padding:0}
.planning-row{display:grid;grid-template-columns:120px 60px 1fr;align-items:center;gap:14px;
  padding:14px 8px;border-bottom:1px solid var(--luv-line)}
.planning-row:last-child{border-bottom:none}
.planning-day{font-family:var(--luv-font-body);font-weight:800;font-size:14px;color:var(--luv-text)}
.planning-time{font-family:var(--luv-font-body);font-weight:700;font-size:13px;color:var(--luv-text)}
.planning-prog{display:inline-flex;align-items:center;gap:9px;font-family:var(--luv-font-body);font-weight:700;font-size:13.5px;color:var(--luv-orange)}
.planning-prog svg{width:17px;height:17px;flex:0 0 auto}
.planning-row--call .planning-prog{color:var(--luv-orange)}
.planning-row--live .planning-prog{color:#ffc46b}
.planning-row--hunt .planning-prog{color:#ff8a92}
.planning-row--tournament .planning-prog{color:#caa3ff}
.planning-row--off{opacity:.5}
.planning-row--off .planning-prog{color:var(--luv-text-dim)}
@media (max-width:480px){
  .planning-row{grid-template-columns:1fr auto;gap:6px 12px}
  .planning-row .planning-prog{grid-column:1/-1}
}

/* ── Carte stream : lien principal étendu (audit UI/UX 06/2026) ──
   La carte n'est plus un <a> englobant (HTML invalide avec le bouton
   Planning imbriqué) : le CTA principal s'étire sur toute la carte via
   ::after, le bouton Planning reste cliquable au-dessus. */
body.theme-luv .hub-hero .hub-b-main::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
}
body.theme-luv .hub-hero .hub-b {
    position: relative;
    z-index: 1;
    text-decoration: none;
}
body.theme-luv button.hub-b {
    background: none;
    cursor: pointer;
}
