/* Page d'accueil */
#home-page {
    background: linear-gradient(135deg, #EEFBFF 0%, #E3F2FD 100%);
}

/* Header */
.app-header {
    background: linear-gradient(135deg, #0084FF 0%, #ADD8E6 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-left, .header-right {
    flex: 1;
}

.header-center {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.menu-btn {
    background: none;
    border: none;
    padding: 5px;
}

.menu-btn img {
    width: 30px;
    height: 30px;
}

.language-btn {
    background: none;
    border: none;
    font-size: 24px;
    padding: 5px;
}

/* Score et vies */
.score-container, .lives-container {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 3px solid rgba(41, 26, 74, 0.3);
}

.score-container {
    background: #A7A771;
}

.lives-container {
    background: #DB9090;
}

.star-icon, .heart-icon {
    font-size: 18px;
}

.score-container span, .lives-container span {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.add-life-btn {
    background: #4CAF50;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
}

/* Menu déroulant */
.menu-dropdown, .language-dropdown {
    position: absolute;
    top: 60px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    min-width: 200px;
}

.menu-dropdown {
    left: 20px;
}

.language-dropdown {
    right: 20px;
}

.menu-dropdown.active, .language-dropdown.active {
    display: block;
}

.menu-item, .language-option {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.menu-item:hover, .language-option:hover {
    background: #f5f5f5;
}

.menu-item span:first-child, .language-option span:last-child {
    color: #666;
}

/* Section principale */
.home-main {
    flex: 1;
    padding: 20px;
}

/* Hero section */
.hero-section {
    margin-bottom: 30px;
}

.hero-card {
    background: linear-gradient(135deg, #5B58EB 0%, #BB63FF 100%);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(91, 88, 235, 0.3);
}

.hero-image img {
    width: 120px;
    height: 120px;
    border-radius: 15px;
}

.hero-content h1 {
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Arial Black', sans-serif;
}

.hero-content p {
    color: white;
    font-size: 14px;
    line-height: 1.4;
}

/* Catégories */
.categories-section h2 {
    color: #333;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.category-card span {
    display: block;
    font-weight: bold;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-card {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image img {
        width: 100px;
        height: 100px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .header-center {
        flex-direction: column;
        gap: 5px;
    }
}
