/* 
 * Design Moderne & Agressif pour Podcast MMA
 * Palette: Dark Black / Neon Red / Concrete Grey
 */

:root {
    --bg-dark: #050505;
    --bg-card: #101010;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;

    /* Rouge MMA "Fight Night" */
    --accent-primary: #ff1f1f;
    --accent-gradient: linear-gradient(135deg, #ff1f1f, #b91c1c);

    /* Or pour les stats/champions */
    --accent-gold: #fbbf24;

    --spotlight-color: rgba(255, 31, 31, 0.15);
    /* Rouge léger */

    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-snappy: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Animé - Style Lave/Orbes */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, transparent 30%, var(--bg-dark) 70%),
        conic-gradient(from 0deg at 50% 50%,
            var(--bg-dark) 0deg,
            rgba(212, 175, 55, 0.08) 120deg,
            rgba(139, 92, 246, 0.05) 240deg,
            var(--bg-dark) 360deg);
    animation: rotateBg 30s linear infinite;
    z-index: -2;
    pointer-events: none;
    opacity: 1;
    will-change: transform;
}

@keyframes rotateBg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
/* Navigation Flottante */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1200px;
    z-index: 1000;
    padding: 0.8rem 2rem;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 60px;
    /* Style Pilule */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    width: 88%;
    top: 15px;
    /* Se remonte légèrement */
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 80px;
    /* Taille optimisée */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1) rotate(2deg);
}

/* Lien du logo */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-snappy);
    font-size: 1.1rem;
}

.nav-item:hover,
.nav-item.active {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 31, 31, 0.5);
    /* Glow rouge */
}

/* Bouton CTA navigation */
.cta-nav {
    padding: 0.6rem 1.5rem;
    background: var(--accent-primary);
    color: white !important;
    border-radius: 4px;
    /* Bordures nettes style MMA */
    font-weight: 600;
    border: 1px solid transparent;
}

.cta-nav:hover {
    background: transparent;
    border-color: var(--accent-primary);
    color: var(--accent-primary) !important;
    box-shadow: 0 0 15px rgba(255, 31, 31, 0.3);
}


/* Hero Section */
.hero-section {
    min-height: 90vh;
    /* Un peu plus compact */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(20, 20, 20, 1), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(20, 20, 20, 1), transparent 50%);
}

.hero-content {
    z-index: 2;
    max-width: 900px;
}

.hero-logo {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 24px rgba(212,175,55,0.35));
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 31, 31, 0.1);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 9vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.gradient-text {
    color: var(--text-primary);
    -webkit-text-stroke: 1px var(--text-secondary);
    /* Effet Outline */
    /* Alternative style: color fill */
    /*
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0;
    */
}

.subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    border-radius: 4px;
    /* Angles droits = Tough */
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-snappy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(255, 31, 31, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
}

/* Glow Decorations */
.glow-spot {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 31, 31, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.spot-left {
    top: -100px;
    left: -200px;
}

.spot-right {
    bottom: -100px;
    right: -200px;
}

/* Organisations Strip */
.orgs-section {
    padding: 56px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}
.orgs-label {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    letter-spacing: 3px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 40px;
}
.orgs-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 3.5rem;
    padding: 0 20px;
}
.org-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 160px;
    height: 120px;
    opacity: 0.6;
    transition: opacity 0.25s, filter 0.25s, transform 0.25s;
    filter: grayscale(100%) brightness(1.8);
}
.org-item:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.08);
}
.org-item img {
    max-height: 110px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    padding: 0;
}
.org-fallback {
    display: none;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 6px;
}

/* Section Athlètes */
.athletes-section,
.platform-section {
    padding: 8rem 0;
    background: var(--bg-dark);
    position: relative;
    border-top: 1px solid #1a1a1a;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Cartes Combattants */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.fighter-card {
    background: var(--bg-card);
    border: 1px solid #222;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-snappy);
    position: relative;
}

.fighter-card::after {
    /* Bordure rouge au survol */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.fighter-card:hover {
    transform: translateY(-5px);
    border-color: #333;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.fighter-card:hover::after {
    transform: scaleX(1);
}

.card-image {
    height: 250px;
    background: #1a1a1a;
    /* Placeholder gris foncé */
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #222;
    color: #333;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.stats span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.fighter-bio {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-text {
    color: var(--accent-primary);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Catégories d'invités */
.category-block {
    margin-bottom: 3rem;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.guests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.guest-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid #222;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    transition: var(--transition-snappy);
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.guest-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.guest-card:hover {
    transform: translateY(-3px);
    border-color: #333;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.guest-card:hover::after {
    transform: scaleX(1);
}

.guest-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    flex-shrink: 0;
}

.guest-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.guest-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.guest-tag {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Plateformes */
.platforms-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-snappy);
}

.platform-item i {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

.platform-item:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(to top, #101010, #050505);
}

.contact-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Footer */
footer {
    padding: 3rem 0;
    background: #000;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    color: #555;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

.social-links a {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.social-links a:hover {
    color: var(--accent-primary);
}

/* Mobile Menu & Animations (Gardés identiques mais ajustés au style) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 30px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 0;
    transition: var(--transition-snappy);
    transform-origin: center;
}

/* Animation Burger -> Croix */
.bar.active:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.bar.active:nth-child(2) {
    opacity: 0;
}

.bar.active:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive */
/* --- Responsive & Améliorations Mobile --- */

/* Texture subtile de bruit pour éviter le "banding" sur les dégradés sombres */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 3.5rem;
        /* Réduction pour tablettes */
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    /* Menu Mobile "Off-Canvas" */
    .menu-toggle {
        display: flex;
        z-index: 1001;
        /* Au-dessus du menu */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 85%;
        /* Largeur du tiroir */
        max-width: 400px;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        /* Caché par défaut */
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        /* Animation fluide */
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
        padding-bottom: 2rem;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-item {
        font-size: 1.5rem;
        /* Plus gros pour le tactile */
    }

    /* Ajustements Héro */
    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
        background-position: center;
    }

    h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Ajustements Sections */
    .athletes-section,
    .platform-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .cards-grid,
    .podcast-grid {
        grid-template-columns: 1fr;
        /* Une seule colonne */
        gap: 2rem;
    }

    /* Pages spécifiques */
    .story-section {
        grid-template-columns: 1fr;
    }

    .story-image {
        height: 300px;
        order: -1;
        /* Image en premier */
    }

    /* Logos organisations */
    .orgs-strip {
        gap: 1.5rem 2rem;
    }
    .org-item {
        flex: 0 1 120px;
        height: 90px;
    }
    .org-item img {
        max-height: 80px;
        max-width: 120px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}