/* Heroes page - dark theme */
.heroes-header {
    background: var(--bg-surface-elevated);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin-bottom: 25px;
}

.heroes-filter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-section {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 140px;
}

.filter-group label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
}

.filter-group select {
    padding: 12px 16px;
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    background: var(--bg-surface);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
}

.filter-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-muted);
}

.filter-group select:hover {
    border-color: var(--accent);
}

.heroes-submit-btn {
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.heroes-submit-btn:hover {
    background: var(--accent-hover);
}

.season-info {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.heroes-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hero-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border-color: var(--accent);
}

.hero-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hero-card img {
    width: 120px;
    height: 67px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

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

.hero-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.hero-abilities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
    margin-top: 8px;
}

.hero-abilities img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid var(--border-primary);
    transition: transform 0.2s ease;
}

.hero-abilities img:hover {
    transform: scale(1.3);
    border-color: var(--accent);
    z-index: 1;
}

.hero-stats {
    background: var(--bg-surface-elevated);
    border-radius: 6px;
    padding: 8px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-stats div {
    white-space: nowrap;
}

.stats-value {
    color: var(--accent);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        min-width: auto;
        width: 100%;
    }

    .heroes-submit-btn {
        align-self: stretch;
        margin-top: 10px;
    }

    .heroes-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}
