/*
Theme Name: LastWar Tuto Child
Theme URI: https://lastwar.com/
Description: Thème enfant pour tutoriels.
Author: Gemini
Template: hello-elementor
Version: 1.0.0
*/

/* Vos styles commencent ici */
body {
    background-color: #ffffff !important;
    color: #c5c6c7;
}
/* --- STYLE DES CARTES DE TUTORIELS --- */
.tuto-card {
    background: #1a1a1d; /* Gris très sombre */
    border: 1px solid #333;
    border-left: 5px solid #ff4d4d; /* La fameuse touche rouge */
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.tuto-card:hover {
    transform: translateY(-5px);
    border-left: 5px solid #ffffff;
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.2);
}

/* --- STYLE DE LA BARRE LATÉRALE --- */
.tuto-widget {
    background: #111;
    padding: 15px;
    border: 1px solid #444;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 1.2rem;
    color: #ff4d4d;
    border-bottom: 2px solid #ff4d4d;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* --- BADGE DE DIFFICULTÉ (Optionnel) --- */
.tuto-badge {
    display: inline-block;
    padding: 2px 10px;
    background: #ff4d4d;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}
/* --- HEADER DESIGN --- */
#lastwar-header {
    background: rgba(11, 12, 16, 0.95);
    border-bottom: 1px solid #1f2833;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

.red-tuto {
    color: #ff4d4d;
}

/* --- BOUTON REJOINDRE L'ALLIANCE --- */
.btn-alliance {
    background: #ff4d4d;
    color: #fff !important;
    padding: 10px 20px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 0px; /* Look carré militaire */
    border: none;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    align-items: center;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); /* Forme biseautée */
}

.btn-alliance:hover {
    background: #ffffff;
    color: #ff4d4d !important;
    box-shadow: 0 0 15px #ff4d4d;
}

.header-border-bottom {
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff4d4d, transparent);
    width: 100%;
    margin-top: 15px;
    opacity: 0.5;
}

/* Style du menu simple */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

.main-navigation a {
    color: #c5c6c7;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}
/* --- FOOTER DESIGN --- */
#lastwar-footer {
    background: #0f1014;
    border-top: 3px solid #ff4d4d;
    padding: 50px 0 20px 0;
    margin-top: 80px;
    color: #888;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ff4d4d;
}

/* --- LIENS RÉSEAUX SOCIAUX --- */
.social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 15px;
    background: #1a1a1d;
    border-left: 3px solid #333;
    transition: 0.3s;
}

.social-link:hover {
    background: #ff4d4d;
    color: #fff !important;
    border-left: 3px solid #fff;
    transform: translateX(10px);
}

/* --- NAVIGATION FOOTER --- */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    font-size: 0.9rem;
    color: #888;
}

.footer-nav a:hover {
    color: #ff4d4d;
}

/* --- DISCLAIMER --- */
.fan-notice {
    font-size: 0.75rem;
    line-height: 1.4;
    font-style: italic;
    margin-top: 15px;
}

.footer-bottom-bar {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 40px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; }
}
/* Ajoute une petite flèche aux menus qui ont des enfants */
.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 12px;
    vertical-align: middle;
}