/* =========================================
   ACCUEIL - HERO & BENTO GRID
   ========================================= */
.home-wrapper {
    flex: 1; width: 100%; max-width: 1200px; margin: 40px auto 80px;
    padding: 0 20px; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 10;
}

/* Section Hero (Titre Principal) */
.home-hero { text-align: center; margin-bottom: 60px; animation: fadeInDown 0.6s ease-out; }
.home-hero h1 { font-size: 4.5rem; font-weight: 900; margin-bottom: 15px; letter-spacing: -2px; text-shadow: 0 15px 40px rgba(0,0,0,0.9), 0 0 30px rgba(139, 92, 246, 0.3); line-height: 1.1; }
.home-hero h1 span { color: var(--twitch-purple); }
.home-hero p { color: var(--text-muted); font-weight: 600; font-size: 1.2rem; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* La Grille Bento */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 25px; width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

/* Les Cartes Communes */
.bento-card {
    background: var(--card-bg); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--nav-border); border-radius: 24px; padding: 35px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    text-decoration: none; color: var(--text-main); display: flex; flex-direction: column;
    justify-content: flex-end; position: relative; overflow: hidden; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-card:hover { transform: translateY(-10px); border-color: rgba(255,255,255,0.15); box-shadow: 0 30px 60px rgba(0,0,0,0.8); }

/* Icônes de fond (décoration) */
.bento-bg-icon { position: absolute; top: -20px; right: -20px; font-size: 10rem; opacity: 0.03; transition: 0.4s; z-index: 0; }
.bento-card:hover .bento-bg-icon { transform: scale(1.1) rotate(-10deg); opacity: 0.08; }

/* Contenu des cartes */
.bento-content { position: relative; z-index: 10; }
.bento-icon { font-size: 2.5rem; margin-bottom: 20px; display: inline-block; }
.bento-title { font-size: 1.8rem; font-weight: 900; margin-bottom: 10px; letter-spacing: -1px; }
.bento-desc { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; line-height: 1.5; }

/* --- CARTES SPÉCIFIQUES --- */

/* Coaching (Prend 2 colonnes) */
.card-coaching { grid-column: span 2; background: linear-gradient(135deg, rgba(244, 63, 94, 0.1) 0%, rgba(19, 20, 28, 0.8) 100%); border-color: rgba(244, 63, 94, 0.2); }
.card-coaching:hover { border-color: var(--recruit-red); box-shadow: 0 30px 60px rgba(244, 63, 94, 0.2); }
.card-coaching .bento-icon { color: var(--recruit-red); text-shadow: 0 0 20px rgba(244, 63, 94, 0.5); }

/* Roulette (Prend 1 colonne) */
.card-roulette { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(19, 20, 28, 0.8) 100%); border-color: rgba(59, 130, 246, 0.2); }
.card-roulette:hover { border-color: var(--primary-blue); box-shadow: 0 30px 60px rgba(59, 130, 246, 0.2); }
.card-roulette .bento-icon { color: var(--primary-blue); text-shadow: 0 0 20px rgba(59, 130, 246, 0.5); }

/* Humanity Check (Prend 1 colonne) */
.card-humanity { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(19, 20, 28, 0.8) 100%); border-color: rgba(16, 185, 129, 0.2); }
.card-humanity:hover { border-color: var(--success-green); box-shadow: 0 30px 60px rgba(16, 185, 129, 0.2); }
.card-humanity .bento-icon { color: var(--success-green); text-shadow: 0 0 20px rgba(16, 185, 129, 0.5); }

/* Tierlist & Guides (Prend 1 colonne) */
.card-guides { background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(19, 20, 28, 0.8) 100%); border-color: rgba(139, 92, 246, 0.2); }
.card-guides:hover { border-color: var(--twitch-purple); box-shadow: 0 30px 60px rgba(139, 92, 246, 0.2); }
.card-guides .bento-icon { color: var(--twitch-purple); text-shadow: 0 0 20px rgba(139, 92, 246, 0.5); }

/* Équipe (Prend 1 colonne) */
.card-equipe { border-color: rgba(255,255,255,0.1); }
.card-equipe:hover { border-color: rgba(255,255,255,0.3); }
.card-equipe .bento-icon { color: #f8fafc; }

/* Animations de chargement */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1000px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .card-coaching { grid-column: span 2; }
    .home-hero h1 { font-size: 3.5rem; }
}

@media (max-width: 700px) {
    .bento-grid { grid-template-columns: 1fr; }
    .card-coaching { grid-column: span 1; }
    .bento-card { grid-auto-rows: auto; min-height: 220px; }
    .home-hero h1 { font-size: 2.8rem; }
}