@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;700&display=swap');

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

body {
    background-color: #121212; /* A slightly darker background */
    color: #e0e0e0;
    font-family: 'Inter', sans-serif; /* Use Inter for all standard text */
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2 {
    font-family: 'Bebas Neue', sans-serif; /* Use Bebas Neue ONLY for headings */
    color: #ffffff;
}

h1 {
    text-align: center;
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

h2 {
    font-size: 2rem;
    margin-top: 15px;
    margin-bottom: 10px;
}

p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #a0a0a0; /* Lighter grey for better readability */
}

.anime-list {
    display: grid;
    /* Responsive columns: 3 on large screens, 2 on medium, 1 on small */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.anime-item {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #2d2d2d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.anime-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.anime-item img {
    width: 100%; /* Make image fill the container width */
    height: 450px; /* Give it a fixed height */
    object-fit: cover; /* Important: Prevents image from stretching */
    border-radius: 4px;
}