body {
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

h1 {
    margin-top: 20px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.showcase {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: nowrap;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Carousel container */
.carousel-container {
    width: 30%;
    min-width: 300px;
    height: 600px;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.carousel {
    display: flex;
    gap: 20px;
    height: 100%;
    align-items: center;
    padding: 10px 0;
    min-width: max-content;
}

.carousel img {
    width: 260px;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 3px solid transparent;
}

.carousel img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 204, 0, 0.3);
    border-color: #ffcc00;
}

.carousel img.active {
    border-color: #ff4655;
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 70, 85, 0.4);
}

.info {
    width: 70%;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-grow: 1;
}

.info h2 {
    margin-top: 0;
    color: #ffcc00;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.info small {
    color: #ccc;
    font-size: 1rem;
}

.info p {
    margin: 10px 0;
    line-height: 1.5;
}

.info em {
    color: #ffcc00;
    font-style: italic;
}

.ability {
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #ff4655;
}

.ability strong {
    color: #ffcc00;
    display: inline-block;
    margin-bottom: 5px;
}

/* Controls - Hidden */
.controls {
    display: none;
}

/* Scrollbar styling for carousel */
.carousel-container::-webkit-scrollbar {
    height: 8px;
}

.carousel-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.carousel-container::-webkit-scrollbar-thumb {
    background: #ff4655;
    border-radius: 4px;
}

.carousel-container::-webkit-scrollbar-thumb:hover {
    background: #e63e4c;
}

/* Responsive design */
@media (max-width: 768px) {
    .showcase {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
        flex-wrap: wrap;
    }

    .carousel-container {
        width: 100%;
        min-width: unset;
        height: 450px;
    }

    .carousel img {
        width: 180px;
        height: 260px;
    }

    .info {
        width: 100%;
    }

    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .carousel img {
        width: 150px;
        height: 220px;
    }

    .carousel {
        gap: 15px;
    }

    .info {
        padding: 20px;
        width: 100%;
    }

    .carousel-container {
        height: 350px;
    }
}

/* Loading animation */
.carousel img {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Additional styling for better visual hierarchy */
.info p strong {
    color: #ff4655;
}

.info div {
    margin: 8px 0;
}

.info div strong {
    color: #ffcc00;
}

/* Make the legends container responsive if needed */
.legends-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.legend-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 1rem;
    width: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.legend-card:hover {
    transform: scale(1.05);
}

.legend-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.legend-info {
    margin-top: 1rem;
    text-align: left;
    color: white;
}

.legend-info h2 {
    font-size: 1.2rem;
}

.legend-info p {
    margin: 0.3rem 0;
}
