       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
            color: #ffffff;
            min-height: 100vh;
        }

        header {
            background: rgba(0, 0, 0, 0.95);
            padding: 20px 0;
            box-shadow: 0 4px 30px rgba(255, 140, 0, 0.4);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 3px solid #ff8c00;
        }
         .user-balance {
          width: 220px;
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
         justify-content: space-evenly;
         align-items: center;
		 font-weight: bold;
         font-size: 22px;
        }
        .header-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-mascot {
            width: 60px;
            height: 60px;
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        .logo-text {
            font-size: 36px;
            font-weight: bold;
            background: linear-gradient(135deg, #ff8c00, #ffa500, #ffb733);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 30px rgba(255, 140, 0, 0.5);
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        .user-podium {
            display: flex;
            align-items: center;
            gap: 20px;
			font-weight: bold;
            font-size: 22px;
        }
		.user-podium-container {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            padding: 8px 15px;
            border-radius: 30px;
            transition: all 0.3s;
        }

        .contests {
            background: linear-gradient(135deg, #ff8c00, #ffa500);
            padding: 12px 25px;
            border-radius: 30px;
            font-weight: bold;
            font-size: 18px;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
        }

        .btn-shop {
            /* background: linear-gradient(135deg, #4caf50, #66bb6a); */
            /* padding: 12px 25px; */
            border-radius: 30px;
            color: white;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
            /* box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4); */
			display: flex;
            flex-direction: row;
            align-items: center;
            font-size: 24px;
        }

        .btn-shop:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
        }

        /* ✨ NOUVEAU : Menu utilisateur avec dropdown */
        .user-menu {
            position: relative;
        }

        .user-avatar-container {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            padding: 8px 15px;
            border-radius: 30px;
            transition: all 0.3s;
        }

        .user-avatar-container:hover {
            background: rgba(255, 140, 0, 0.1);
        }

        .user-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 3px solid #ff8c00;
            transition: all 0.3s;
        }

        .user-name {
            font-weight: bold;
            color: #ff8c00;
        }

        .dropdown-arrow {
            color: #ff8c00;
            font-size: 12px;
            transition: transform 0.3s;
        }

        .user-menu.active .dropdown-arrow {
            transform: rotate(180deg);
        }
/* Style pour le bouton admin */
.dropdown-item.admin-item {
    background: linear-gradient(135deg, #cc0000, #8b0000);
    color: white !important;
    font-weight: bold;
    margin: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dropdown-item.admin-item:hover {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
}

.dropdown-item.admin-item i {
    font-size: 18px;
}
        /* ✨ NOUVEAU : Menu déroulant */
        .dropdown-menu {
            position: absolute;
            top: 70px;
            right: 0;
            background: rgba(26, 26, 26, 0.98);
            border: 2px solid #ff8c00;
            border-radius: 15px;
            min-width: 250px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s;
            overflow: hidden;
        }

        .user-menu.active .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-header {
            padding: 20px;
            border-bottom: 1px solid #333;
            text-align: center;
        }

        .dropdown-header .username {
            font-size: 18px;
            font-weight: bold;
            color: #ff8c00;
            margin-bottom: 5px;
        }

        .dropdown-header .user-status {
            font-size: 12px;
            color: #888;
        }

        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 15px 20px;
            color: #fff;
            text-decoration: none;
            transition: all 0.3s;
            cursor: pointer;
        }

        .dropdown-item:hover {
            background: rgba(255, 140, 0, 0.1);
            color: #ff8c00;
        }

        .dropdown-item i {
            width: 20px;
            font-size: 16px;
        }

        .dropdown-divider {
            height: 1px;
            background: #333;
            margin: 5px 0;
        }

        .dropdown-item.logout {
            color: #ff4444;
        }

        .dropdown-item.logout:hover {
            background: rgba(255, 68, 68, 0.1);
            color: #ff6666;
        }

        /* Boutons de connexion pour les invités */
        .auth-buttons {
            display: flex;
            gap: 15px;
        }

        .btn-login, .btn-register {
            padding: 12px 25px;
            border-radius: 30px;
            font-weight: bold;
            text-decoration: none;
            transition: all 0.3s;
        }

        .btn-login {
            background: transparent;
            border: 2px solid #ff8c00;
            color: #ff8c00;
        }

        .btn-login:hover {
            background: #ff8c00;
            color: white;
        }

        .btn-register {
            background: linear-gradient(135deg, #ff8c00, #ffa500);
            color: white;
            box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
        }

        .btn-register:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 140, 0, 0.6);
        }

        /* Reste du CSS inchangé... */
        .hero {
            text-align: center;
            /* padding: 80px 20px 60px; */
            background: linear-gradient(180deg, transparent, rgba(255, 140, 0, 0.05));
        }

        .hero h1 {
            font-size: 56px;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #ff8c00, #ffa500, #ffb733);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 40px rgba(255, 140, 0, 0.3);
            animation: glow 2s ease-in-out infinite alternate;
        }

        @keyframes glow {
            from { filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.5)); }
            to { filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.8)); }
        }

        .hero p {
            font-size: 18px;
            color: #cccccc;
            /* max-width: 900px; */
            margin:20px;
            /* line-height: 1.6; */
			text-align: center;
        }

        .stats-bar {
            background: rgba(26, 26, 26, 0.9);
            padding: 25px;
            margin: 0 auto 60px;
            max-width: 1400px;
            border-radius: 20px;
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 30px;
            border: 2px solid #333;
			height: 80px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-value {
            font-size: 30px;
            font-weight: bold;
            background: linear-gradient(135deg, #ff8c00, #ffa500);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
			margin-top: -20px;
        }

        .stat-label {
            color: #fff7f7b5;
            margin-top: -8px;
            font-size: 20px;
			font-weight: bold;
        }

        /* Onglets catégories */
        .category-tabs {
            display: flex; gap: 10px; justify-content: center;
            flex-wrap: wrap; padding: 15px 20px 5px;
            max-width: 1200px; margin: 0 auto;
        }
        .cat-tab {
            padding: 10px 20px; border: 2px solid #333; border-radius: 25px;
            background: rgba(255,255,255,0.05); color: #aaa;
            cursor: pointer; font-size: 14px; font-weight: bold;
            transition: all 0.2s;
        }
        .cat-tab:hover { border-color: #ff8c00; color: #ff8c00; }
        .cat-tab.active {
            background: linear-gradient(135deg, #ff8c00, #ff6600);
            border-color: #ff8c00; color: #fff;
        }
        .game-card.hidden { display: none; }

        .games-container {
            max-width: 100%;
            margin: 0 auto;
            padding: 0 20px 60px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 35px;
        }

        .game-card {
            background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
            border-radius: 25px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.4s ease;
            border: 3px solid transparent;
            position: relative;
            width: 310px;
            display: flex;
            flex-direction: column;
        }
        .game-card .game-visual {
            width: 100%;
            height: 180px;
            overflow: hidden;
            flex-shrink: 0;
        }
        .game-card .game-visual img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .game-card .game-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 15px;
        }

        .game-card:hover {
            transform: translateY(-15px) scale(1.02);
            border-color: #ff8c00;
            box-shadow: 0 15px 50px rgba(255, 140, 0, 0.5);
        }

        .game-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), transparent);
            opacity: 0;
            transition: opacity 0.4s;
            pointer-events: none;
        }

        .game-card:hover::before {
            opacity: 1;
        }

        .game-visual {
            height: 240px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #222, #333);
            overflow: hidden;
        }

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

        .game-info {
            padding: 30px;
        }

        .game-title {
            font-size: 32px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #ff8c00;
        }

        .game-description {
            color: #aaaaaa;
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .game-variants {
            display: flex;
            /* flex-wrap: wrap; */
            gap: 2px;
            margin-bottom: 20px;
        }

        .variant-tag {
            background: rgba(255, 140, 0, 0.2);
            color: #ff8c00;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            border: 1px solid rgba(255, 140, 0, 0.3);
        }

        .game-players {
            color: #888;
            margin-bottom: 25px;
            font-size: 15px;
        }

        .play-button {
            width: 100%;
            background: linear-gradient(135deg, #ff8c00, #ffa500);
            color: white;
            border: none;
            padding: 15px;
            border-radius: 12px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
        }

        .play-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(255, 140, 0, 0.6);
        }