/* ================================================================
   NU UPDATE — Thème Cyberpunk / Neon (maquette officielle)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
    --nu-bg: #050510;
    --nu-bg-elevated: #0a0a18;
    --nu-surface: rgba(12, 16, 36, 0.72);
    --nu-surface-solid: #0c1024;
    --nu-cyan: #00d2ff;
    --nu-blue: #3b82f6;
    --nu-magenta: #ff00ff;
    --nu-purple: #a855f7;
    --nu-pink: #ff4fd8;
    --nu-text: #ffffff;
    --nu-text-muted: #a8b0c8;
    --nu-border: rgba(0, 210, 255, 0.28);
    --nu-border-strong: rgba(255, 0, 255, 0.45);
    --nu-glow-cyan: 0 0 18px rgba(0, 210, 255, 0.45);
    --nu-glow-magenta: 0 0 18px rgba(255, 0, 255, 0.4);
    --nu-gradient: linear-gradient(90deg, #00d2ff 0%, #7c3aed 50%, #ff00ff 100%);
    --nu-radius: 18px;
    --nu-font-display: 'Orbitron', sans-serif;
    --nu-font-body: 'Rajdhani', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body.nu-theme {
    margin: 0;
    padding: 0;
    font-family: var(--nu-font-body);
    background:
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0, 210, 255, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 20%, rgba(255, 0, 255, 0.1), transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 100%, rgba(124, 58, 237, 0.12), transparent 55%),
        var(--nu-bg);
    color: var(--nu-text);
    min-height: 100vh;
    overflow-x: hidden;
    letter-spacing: 0.02em;
}

body.nu-theme a { color: inherit; text-decoration: none; }
body.nu-theme img { max-width: 100%; display: block; }

.nu-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
}

/* ---------- Glass / Neon helpers ---------- */
.nu-glass {
    background: var(--nu-surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--nu-border);
    border-radius: var(--nu-radius);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 30px rgba(0, 210, 255, 0.08),
        0 0 40px rgba(255, 0, 255, 0.05);
}

.nu-gradient-text {
    background: var(--nu-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: var(--nu-font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.75rem 1.4rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.nu-btn:hover { transform: translateY(-2px); }

.nu-btn-primary {
    background: var(--nu-gradient);
    color: #fff;
    box-shadow: var(--nu-glow-cyan), var(--nu-glow-magenta);
    border: none;
}

.nu-btn-primary:hover {
    box-shadow: 0 0 28px rgba(0, 210, 255, 0.65), 0 0 28px rgba(255, 0, 255, 0.45);
}

.nu-btn-ghost {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
}

.nu-btn-ghost:hover {
    border-color: var(--nu-cyan);
    box-shadow: var(--nu-glow-cyan);
}

.nu-btn-outline-magenta {
    background: transparent;
    border: 1px solid var(--nu-magenta);
    color: #fff;
    box-shadow: 0 0 12px rgba(255, 0, 255, 0.25);
    border-radius: 10px;
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
}

.nu-btn-outline-magenta:hover {
    background: rgba(255, 0, 255, 0.12);
    box-shadow: var(--nu-glow-magenta);
}

/* ---------- HEADER ---------- */
.nu-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 16, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 210, 255, 0.18);
}

.nu-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 78px;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.nu-logo {
    display: flex;
    flex-direction: column;
    line-height: 0.95;
    font-family: var(--nu-font-display);
    flex-shrink: 0;
}

.nu-logo-nu {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: var(--nu-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.55));
}

.nu-logo-update {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: #fff;
    margin-left: 2px;
}

.nu-logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.4));
}

.nu-nav {
    display: none;
    align-items: center;
    gap: 0.15rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 1100px) {
    .nu-nav { display: flex; }
}

.nu-nav a {
    font-family: var(--nu-font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    padding: 0.45rem 0.65rem;
    position: relative;
    transition: color 0.2s ease;
}

.nu-nav a:hover,
.nu-nav a.is-active {
    color: #fff;
}

.nu-nav a.is-active::after {
    content: '';
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 0;
    height: 2px;
    background: var(--nu-magenta);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.9);
    border-radius: 2px;
}

.nu-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.nu-header-cta {
    display: none;
}

@media (min-width: 900px) {
    .nu-header-cta { display: inline-flex; }
}

.nu-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.nu-icon-btn:hover {
    border-color: var(--nu-cyan);
    box-shadow: var(--nu-glow-cyan);
}

.nu-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--nu-magenta);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: var(--nu-glow-magenta);
}

.nu-burger {
    display: inline-flex;
}

@media (min-width: 1100px) {
    .nu-burger { display: none; }
}

/* Mobile drawer */
.nu-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(5, 5, 16, 0.96);
    backdrop-filter: blur(12px);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.nu-mobile-nav.is-open { transform: translateX(0); }

.nu-mobile-nav a {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nu-mobile-close {
    align-self: flex-end;
    margin-bottom: 1rem;
}

/* ---------- HERO ---------- */
.nu-hero {
    position: relative;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.nu-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.nu-hero-bg img,
.nu-hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.nu-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 5, 16, 0.92) 0%, rgba(5, 5, 16, 0.55) 48%, rgba(5, 5, 16, 0.35) 100%),
        linear-gradient(180deg, rgba(5, 5, 16, 0.25) 0%, rgba(5, 5, 16, 0.15) 50%, rgba(5, 5, 16, 0.85) 100%);
}

.nu-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: stretch;
    padding-block: clamp(2rem, 6vh, 4rem);
    min-height: calc(100vh - 78px);
}

.nu-hero-side {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    padding-bottom: 2rem;
    width: 48px;
}

@media (min-width: 900px) {
    .nu-hero-side { display: flex; }
}

.nu-scroll-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
}

.nu-social-rail {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.nu-social-rail a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.nu-social-rail a:hover {
    border-color: var(--nu-cyan);
    color: var(--nu-cyan);
    box-shadow: var(--nu-glow-cyan);
}

.nu-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 640px;
    padding-block: 2rem;
}

.nu-hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.85rem;
}

.nu-hero-title {
    font-family: var(--nu-font-display);
    font-size: clamp(2.8rem, 8vw, 5.2rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin: 0 0 1rem;
    text-shadow: 0 0 40px rgba(0, 210, 255, 0.25);
}

.nu-hero-title .nu-part-nu { color: #fff; }
.nu-hero-title .nu-part-update { background: var(--nu-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nu-hero-tagline {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.92);
}

.nu-hero-tagline .unity {
    color: var(--nu-pink);
    text-shadow: 0 0 12px rgba(255, 79, 216, 0.6);
}

.nu-hero-desc {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--nu-text-muted);
    max-width: 34rem;
    margin: 0 0 1.75rem;
}

.nu-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.nu-hero-dots {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    padding-right: 0.25rem;
}

@media (min-width: 900px) {
    .nu-hero-dots { display: flex; }
}

.nu-hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.nu-hero-dots button.is-active {
    background: var(--nu-cyan);
    border-color: var(--nu-cyan);
    box-shadow: var(--nu-glow-cyan);
    transform: scale(1.2);
}

/* Hero mobile : coller le contenu juste sous le nav */
@media (max-width: 899px) {
    .nu-header-inner {
        min-height: 64px;
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }

    .nu-hero {
        min-height: auto;
        align-items: flex-start;
    }

    .nu-hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 0.75rem;
        padding-bottom: 1.75rem;
        gap: 0;
    }

    .nu-hero-content {
        justify-content: flex-start;
        padding-block: 0.35rem 1rem;
        max-width: 100%;
    }

    .nu-hero-eyebrow {
        margin-bottom: 0.45rem;
        font-size: 0.7rem;
        letter-spacing: 0.2em;
    }

    .nu-hero-title {
        font-size: clamp(2.35rem, 12vw, 3.4rem);
        margin-bottom: 0.55rem;
    }

    .nu-hero-tagline {
        margin-bottom: 0.55rem;
        font-size: 0.92rem;
        letter-spacing: 0.12em;
    }

    .nu-hero-desc {
        margin-bottom: 1.1rem;
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .nu-hero-actions {
        gap: 0.65rem;
    }

    .nu-hero-actions .nu-btn {
        padding: 0.65rem 1.15rem;
        font-size: 0.85rem;
    }

    .nu-home-grid {
        margin-top: 0.5rem;
    }
}

/* ---------- HOME GRID ---------- */
.nu-home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: -2.5rem;
    position: relative;
    z-index: 5;
    padding-bottom: 2rem;
}

@media (min-width: 1024px) {
    .nu-home-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.35rem;
    }
}

.nu-panel {
    padding: 1.25rem 1.35rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.nu-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.nu-panel-title {
    margin: 0;
    font-family: var(--nu-font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nu-panel-link {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nu-cyan);
    opacity: 0.9;
}

.nu-panel-link:hover { text-shadow: 0 0 10px rgba(0, 210, 255, 0.7); }

/* New track card */
.nu-track {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.1rem;
}

.nu-track-cover {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(0, 210, 255, 0.35);
    box-shadow: var(--nu-glow-cyan);
    background: #111;
}

.nu-track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nu-track-meta h3 {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.nu-track-meta p {
    margin: 0;
    color: var(--nu-text-muted);
    font-size: 0.95rem;
}

.nu-player {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.nu-play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--nu-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: var(--nu-glow-cyan);
}

.nu-wave {
    flex: 1;
    height: 36px;
    display: flex;
    align-items: center;
    gap: 2px;
    overflow: hidden;
}

.nu-wave span {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--nu-cyan), var(--nu-magenta));
    opacity: 0.55;
    height: var(--h, 40%);
    transition: opacity 0.2s;
}

.nu-player.is-playing .nu-wave span {
    animation: nuWave 0.9s ease-in-out infinite alternate;
    opacity: 0.95;
}

.nu-player.is-playing .nu-wave span:nth-child(odd) { animation-delay: 0.1s; }
.nu-player.is-playing .nu-wave span:nth-child(3n) { animation-delay: 0.25s; }

@keyframes nuWave {
    from { transform: scaleY(0.45); }
    to { transform: scaleY(1); }
}

.nu-time {
    font-size: 0.8rem;
    color: var(--nu-text-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.nu-platforms-btn {
    margin-top: auto;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0, 210, 255, 0.4);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    padding: 0.85rem 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.nu-platforms-btn:hover {
    border-color: var(--nu-magenta);
    box-shadow: var(--nu-glow-magenta);
}

/* Events list */
.nu-event-list,
.nu-news-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}

.nu-event-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.nu-date-box {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.05;
}

.nu-date-box .d {
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--nu-font-display);
}

.nu-date-box .m {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nu-text-muted);
}

.nu-event-info strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nu-event-info span {
    font-size: 0.8rem;
    color: var(--nu-text-muted);
}

.nu-news-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.nu-news-thumb {
    width: 64px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: #151528;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nu-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nu-news-body strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
}

.nu-news-body p {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: var(--nu-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nu-news-date {
    font-size: 0.72rem;
    color: var(--nu-text-muted);
    white-space: nowrap;
}

.nu-empty {
    color: var(--nu-text-muted);
    font-size: 0.95rem;
    padding: 1rem 0;
}

/* ---------- COMMUNITY ---------- */
.nu-community {
    margin: 2.5rem 0 1rem;
    padding: 1.75rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.5), rgba(255, 0, 255, 0.5), transparent) 1;
}

@media (min-width: 900px) {
    .nu-community {
        grid-template-columns: 1.1fr 1fr;
        align-items: center;
        padding: 2rem 2rem;
    }
}

.nu-community-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
}

@media (min-width: 600px) {
    .nu-community-actions {
        grid-template-columns: repeat(4, 1fr);
    }
}

.nu-comm-item {
    text-align: center;
}

.nu-comm-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 0.65rem;
    border-radius: 50%;
    border: 1px solid rgba(0, 210, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nu-cyan);
    font-size: 1.2rem;
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.2);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.nu-comm-item:hover .nu-comm-icon {
    border-color: var(--nu-magenta);
    color: var(--nu-magenta);
    box-shadow: var(--nu-glow-magenta);
}

.nu-comm-item h4 {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}

.nu-comm-item p {
    margin: 0.25rem 0 0;
    font-size: 0.72rem;
    color: var(--nu-text-muted);
}

.nu-newsletter h3 {
    margin: 0 0 0.4rem;
    font-family: var(--nu-font-display);
    font-size: clamp(1rem, 2vw, 1.2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nu-newsletter p {
    margin: 0 0 1rem;
    color: var(--nu-text-muted);
    font-size: 0.95rem;
}

.nu-newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.nu-newsletter-form input[type="email"] {
    flex: 1;
    min-width: 180px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: #fff;
    font-family: var(--nu-font-body);
    font-size: 1rem;
}

.nu-newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.nu-newsletter-form input:focus {
    outline: none;
    border-color: var(--nu-cyan);
    box-shadow: var(--nu-glow-cyan);
}

/* ---------- FOOTER ---------- */
.nu-footer {
    border-top: 1px solid rgba(0, 210, 255, 0.15);
    background: rgba(5, 5, 16, 0.95);
    margin-top: 2rem;
}

.nu-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.35rem;
    font-size: 0.85rem;
}

.nu-footer-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.25rem;
}

.nu-footer-copy {
    color: var(--nu-text-muted);
}

.nu-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.nu-footer-links a {
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.nu-footer-links a:hover { color: var(--nu-cyan); }

.nu-footer-right {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.nu-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.nu-top-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #7c3aed, #ff00ff);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--nu-glow-magenta);
}

.nu-top-btn:hover { transform: translateY(-2px); }

/* ---------- MAIN CONTENT (autres pages) ---------- */
.nu-main {
    min-height: 50vh;
}

.nu-main > .nu-page-pad {
    padding-block: clamp(1.5rem, 4vw, 3rem);
}

/* Flash messages */
.nu-flash {
    max-width: 1280px;
    margin: 1rem auto 0;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.nu-flash-item {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(0, 210, 255, 0.35);
    background: rgba(12, 16, 36, 0.9);
}

.nu-flash-item.success { border-color: rgba(34, 197, 94, 0.5); }
.nu-flash-item.error { border-color: rgba(239, 68, 68, 0.5); }

/* Animations */
@keyframes nuFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.nu-animate {
    animation: nuFadeUp 0.7s ease both;
}

.nu-animate-delay-1 { animation-delay: 0.12s; }
.nu-animate-delay-2 { animation-delay: 0.24s; }
.nu-animate-delay-3 { animation-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    .nu-animate,
    .nu-player.is-playing .nu-wave span {
        animation: none !important;
    }
}

/* Override marketify light leftovers on this theme */
body.nu-theme .page-container-wide,
body.nu-theme .page-container,
body.nu-theme main {
    color: var(--nu-text);
}

/* Compatibilité pages internes (Tailwind / cartes blanches) */
body.nu-theme .bg-white {
    background: rgba(12, 16, 36, 0.85) !important;
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: #fff;
}

body.nu-theme .text-gray-800,
body.nu-theme .text-gray-900,
body.nu-theme .text-gray-700 {
    color: #f3f4f6 !important;
}

body.nu-theme .text-gray-600,
body.nu-theme .text-gray-500,
body.nu-theme .text-gray-400 {
    color: #a8b0c8 !important;
}

body.nu-theme .shadow,
body.nu-theme .shadow-lg,
body.nu-theme .shadow-xl {
    box-shadow: 0 0 24px rgba(0, 210, 255, 0.08) !important;
}

body.nu-theme .rounded-lg.shadow,
body.nu-theme .section-card,
body.nu-theme .product-card {
    backdrop-filter: blur(10px);
}

body.nu-theme .bg-gray-200 {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* ================================================================
   PAGES INTERNES — composants NU
   ================================================================ */

.nu-page-hero {
    text-align: center;
    padding: 1.5rem 0 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.nu-page-hero::after {
    content: '';
    display: block;
    width: min(280px, 60%);
    height: 2px;
    margin: 1.25rem auto 0;
    background: var(--nu-gradient);
    box-shadow: var(--nu-glow-cyan);
    border-radius: 2px;
}

.nu-page-hero h1 {
    font-family: var(--nu-font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.65rem;
    background: var(--nu-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nu-page-hero p {
    margin: 0 auto;
    max-width: 36rem;
    color: var(--nu-text-muted);
    font-size: 1.1rem;
}

.nu-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--nu-cyan);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.nu-back-link:hover {
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.7);
}

.nu-media-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .nu-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .nu-media-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nu-media-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.nu-media-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--nu-radius);
    background: var(--nu-surface);
    backdrop-filter: blur(14px);
    border: 1px solid var(--nu-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    color: inherit;
    height: 100%;
}

.nu-media-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 0, 255, 0.45);
    box-shadow: var(--nu-glow-magenta), 0 12px 32px rgba(0, 0, 0, 0.35);
}

.nu-media-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #0a0a18;
    overflow: hidden;
}

.nu-media-card__media.is-video {
    aspect-ratio: 16 / 10;
}

.nu-media-card__media.is-event {
    aspect-ratio: 3 / 4;
}

.nu-media-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nu-media-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 5, 16, 0.35);
    color: #fff;
    font-size: 2.75rem;
    transition: background 0.2s;
}

.nu-media-card:hover .nu-media-card__play {
    background: rgba(0, 210, 255, 0.2);
}

.nu-media-card__body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.nu-media-card__body h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.nu-media-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    font-size: 0.85rem;
    color: var(--nu-text-muted);
    margin-top: auto;
    padding-top: 0.5rem;
}

.nu-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: var(--nu-cyan);
    background: rgba(0, 210, 255, 0.08);
}

.nu-badge--magenta {
    border-color: rgba(255, 0, 255, 0.45);
    color: #ff9df5;
    background: rgba(255, 0, 255, 0.1);
}

.nu-empty-state {
    text-align: center;
    padding: 3.5rem 1rem;
    color: var(--nu-text-muted);
}

.nu-empty-state i {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--nu-cyan);
    opacity: 0.6;
}

.nu-detail-card {
    background: var(--nu-surface);
    backdrop-filter: blur(14px);
    border: 1px solid var(--nu-border);
    border-radius: var(--nu-radius);
    padding: clamp(1rem, 3vw, 1.75rem);
    margin-bottom: 1.25rem;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.06);
}

.nu-detail-layout {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nu-detail-layout.is-split {
        grid-template-columns: 240px 1fr;
        align-items: start;
    }
}

.nu-cover {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 210, 255, 0.35);
    box-shadow: var(--nu-glow-cyan);
    aspect-ratio: 1;
    background: #0a0a18;
}

.nu-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nu-detail-title {
    font-family: var(--nu-font-display);
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    letter-spacing: 0.04em;
}

.nu-detail-subtitle {
    font-size: 1.15rem;
    color: var(--nu-text-muted);
    margin: 0 0 1rem;
}

.nu-player-shell {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 210, 255, 0.25);
    background: rgba(0, 0, 0, 0.45);
}

.nu-player-shell audio,
.nu-player-shell video {
    width: 100%;
    display: block;
}

.video-responsive-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-responsive-container iframe,
.video-responsive-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.nu-section-title {
    font-family: var(--nu-font-display);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
    color: #fff;
}

.nu-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

body.nu-theme .nu-pagination nav,
body.nu-theme .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
}

body.nu-theme .nu-pagination a,
body.nu-theme .nu-pagination span,
body.nu-theme .pagination a,
body.nu-theme .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(12, 16, 36, 0.8);
    color: #fff !important;
    font-size: 0.9rem;
}

body.nu-theme .nu-pagination [aria-current="page"] span,
body.nu-theme .pagination .active span {
    background: var(--nu-gradient);
    border-color: transparent;
}

/* Forms (contact, newsletter-like) */
body.nu-theme input:not([type="checkbox"]):not([type="radio"]),
body.nu-theme textarea,
body.nu-theme select {
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    border-radius: 12px;
}

body.nu-theme input::placeholder,
body.nu-theme textarea::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

body.nu-theme label {
    color: rgba(255, 255, 255, 0.85);
}

/* About / Contact light bg overrides */
body.nu-theme .hero-section {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(255, 0, 255, 0.25)) !important;
    border-bottom: 1px solid rgba(0, 210, 255, 0.25);
}

body.nu-theme [style*="background-color: #f8fafc"],
body.nu-theme [style*="background-color:#f8fafc"] {
    background: transparent !important;
}

body.nu-theme .text-slate-600,
body.nu-theme .text-slate-700 {
    color: var(--nu-text-muted) !important;
}

body.nu-theme .prose,
body.nu-theme .prose p {
    color: var(--nu-text-muted);
}

.nu-donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #ff4fd8, #ff00aa);
    box-shadow: 0 0 18px rgba(255, 0, 170, 0.35);
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nu-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(255, 0, 170, 0.55);
}

/* Éviter double padding container dans pages */
body.nu-theme .nu-page-pad > .container.mx-auto,
body.nu-theme .nu-page-pad > .page-container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

body.nu-theme .nu-page-pad > .container.mx-auto.px-4,
body.nu-theme .nu-page-pad > .page-container.px-4 {
    padding-left: 0;
    padding-right: 0;
}

body.nu-theme .blog-card {
    background: rgba(12, 16, 36, 0.85) !important;
    border: 1px solid rgba(0, 210, 255, 0.22);
    color: #fff;
}

body.nu-theme .blog-card:hover {
    box-shadow: 0 0 28px rgba(255, 0, 255, 0.2) !important;
    border-color: rgba(255, 0, 255, 0.4);
}

body.nu-theme .marketify-product-card,
body.nu-theme .marketify-card {
    background: rgba(12, 16, 36, 0.85) !important;
    border-color: rgba(0, 210, 255, 0.25) !important;
    color: #fff;
}

body.nu-theme .border-slate-200,
body.nu-theme .border-gray-200 {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body.nu-theme .bg-slate-50,
body.nu-theme .bg-gray-50,
body.nu-theme .bg-green-50,
body.nu-theme .bg-red-50 {
    background: rgba(12, 16, 36, 0.7) !important;
}

body.nu-theme .feature-card,
body.nu-theme .team-member-card {
    background: rgba(12, 16, 36, 0.85) !important;
    border: 1px solid rgba(0, 210, 255, 0.22) !important;
    color: #fff;
}
