/* Carousel */
        .carousel-container {
            margin-top: 70px;
            margin-left: auto;
            margin-right: auto;
            position: relative;
            width: 95%;
            height: 75vh;
            min-height: 400px;
            overflow: hidden;
            border-radius: 30px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .carousel {
            display: flex;
            transition: transform 0.8s ease-in-out;
            height: 100%;
        }

        .carousel-slide {
            min-width: 100%;
            height: 100%;
            position: relative;
            background-size: cover;
            background-position: center;
        }

        .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slide-content {
            text-align: center;
            color: #fff;
            padding: 2rem;
            max-width: 800px;
            animation: fadeInUp 0.8s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .slide-content h2 {
            color: red;
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            font-weight: 600;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
        }

        .slide-content p {
            font-size: 1.2rem;
            line-height: 1.8;
            text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
        }

        .carousel-indicators {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.8);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background: red;
            width: 30px;
            border-radius: 6px;
        }

           .discovery-section {           
            margin: 2rem auto;
            text-align: center;
        }

        .discover-btn {
            position: relative;
            width: 60%;
            margin-top: -20px;
            padding: 1rem ;
            font-size: 1.3rem;
            font-weight: 800;
            color: rgb(255, 0, 0);
            background: linear-gradient(135deg, #e6e6e6 0%, #ffffff 100%);
            border: none;
            border-radius: 30px;
            cursor: pointer;
            box-shadow: 0 20px 60px rgba(255, 255, 255, 0.4);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }

        .discover-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.6s;
        }

        .discover-btn:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 30px 80px rgba(255, 107, 107, 0.6);
        }

        .discover-btn:hover::before {
            left: 100%;
        }

        .discover-btn:active {
            transform: translateY(-5px) scale(1) ;
        }

        /* Animation de chargement */
        .discover-btn.loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .discover-btn.loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 50px;
            height: 50px;
            margin: -25px 0 0 -25px;
            border: 5px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Carte Pokémon */
        .pokemon-card {
            max-width: 80%;
            margin: 1.3rem auto;
            margin-top: -15px;
            background: white;
            border-radius: 30px;
            padding: 1.5rem;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .pokemon-card.show {
            opacity: 1;
            transform: translateY(0);
        }

        .pokemon-header {
            display: flex;
            align-items: flex-start;
            gap: 2rem;
            margin-bottom: 2rem;
            flex-wrap: nowrap;
        }

        .pokemon-image-container {
            position: relative;
            width: 160px;
            height: 160px;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .pokemon-image {
            width: 120px;
            height: 120px;
            object-fit: contain;
            filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
        }

        .pokemon-id {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.5);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.7rem;
        }

        .pokemon-info {
            flex: 1;
            min-width: 200px;
        }

        .pokemon-name {
            font-size: 2rem;
            font-weight: 800;
            color: #2c3e50;
            margin-bottom: 1rem;
            text-transform: capitalize;
        }

        .pokemon-types {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        .type-badge {
            padding: 0.5rem 1.5rem;
            border-radius: 20px;
            font-weight: 600;
            color: white;
            text-transform: uppercase;
            font-size: 0.9rem;
        }

        .pokemon-description {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #555;
            margin-bottom: 2rem;
        }

        /* Statistiques */
        .pokemon-stats {
            margin-top: -20px;
        }

        .pokemon-stats h3 {
            font-size: 1.8rem;
            color: #2c3e50;
            margin-bottom: 1.3rem;
        }

        .stat-row {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            gap: 1rem;
        }

        .stat-name {
            min-width: 150px;
            font-weight: 600;
            color: #555;
            text-transform: uppercase;
            font-size: 0.9rem;
        }

        .stat-value {
            min-width: 40px;
            font-weight: 700;
            color: #2c3e50;
            font-size: 1rem;
        }

        .stat-bar-container {
            flex: 1;
            height: 10px;
            background: #e0e0e0;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
        }

        .stat-bar {
            height: 100%;
            background: linear-gradient(90deg, #FF6B6B 0%, #FF8E53 100%);
            border-radius: 15px;
            transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: 10px;
            box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
        }

        /* Types de Pokémon couleurs */
        .type-normal { background: #A8A878; }
        .type-fire { background: #F08030; }
        .type-water { background: #6890F0; }
        .type-electric { background: #F8D030; }
        .type-grass { background: #78C850; }
        .type-ice { background: #98D8D8; }
        .type-fighting { background: #C03028; }
        .type-poison { background: #A040A0; }
        .type-ground { background: #E0C068; }
        .type-flying { background: #A890F0; }
        .type-psychic { background: #F85888; }
        .type-bug { background: #A8B820; }
        .type-rock { background: #B8A038; }
        .type-ghost { background: #705898; }
        .type-dragon { background: #7038F8; }
        .type-dark { background: #705848; }
        .type-steel { background: #B8B8D0; }
        .type-fairy { background: #EE99AC; }

        /* Responsive */
        @media (max-width: 768px) {
            .discover-btn {
                font-size: 2rem;
                padding: 3rem 1.5rem;
            }

            .pokemon-card {
                padding: 2rem 1.5rem;
            }

            .pokemon-header {
                flex-direction: column;
                text-align: center;
            }

            .pokemon-name {
                font-size: 2rem;
            }

            .pokemon-image-container {
                width: 200px;
                height: 200px;
            }

            .pokemon-image {
                width: 160px;
                height: 160px;
            }

            .stat-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }

            .stat-name {
                min-width: auto;
            }

            .stat-bar-container {
                width: 100%;
            }
        }     