* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #1a1a2e;
    color: #eee;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    color: #ffd700;
    margin-bottom: 20px;
}

#search {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #444;
    border-radius: 8px;
    background: #2a2a3e;
    color: #eee;
}

#search:focus {
    outline: none;
    border-color: #ffd700;
}

.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.season-card {
    background: #2a2a3e;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #444;
}

.season-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

.season-card h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.season-card p {
    color: #aaa;
    font-size: 14px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    background: #2a2a3e;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #444;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
}

.card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #1a1a2e;
}

.card-info {
    padding: 15px;
}

.card-name {
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 8px;
    font-size: 14px;
}

.card-type {
    color: #aaa;
    font-size: 12px;
    margin-bottom: 8px;
}

.card-stats {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #ccc;
}

.card-stats span {
    background: #1a1a2e;
    padding: 4px 8px;
    border-radius: 4px;
}

#loading {
    text-align: center;
    padding: 40px;
    color: #ffd700;
    font-size: 18px;
    display: none;
}

#loading.show {
    display: block;
}

@media (max-width: 768px) {
    .seasons-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}